Hi,
I'd like to insert a very simple custom code in banners position of my site, if anyone is good with Joomla coding, perhaps you could give me a hand :
General code objective:
If a banner is clicked and if the user is a registered member, the code should record the ArtBanners banner ID, username and other additionnal information. The output should be saved in a csv file (one line per record)
Here's the Pseudocode:
If banner clicked then
{
Record Banner ID
If user is a member
{
Record username
Record user's gender (from CB)
Record user's IP (to identify the user's country of origin)
Record date & time of click
}
}
Append all recorded info in csv file
Help with VERY SIMPLE custom code
Moderators: tjay, seadap, Rogue4ngel, matthewhayashida
Forum rules
Re: Help with VERY SIMPLE custom code
Hi,
For those of you who are looking for something similar to what I am looking for (i.e. banner tracking) here is a solution to my problem:
- Use OpenX (http://www.openx.org)
--This is a complete banner tracking system
-- Once you have created your clients (called "advertisers"), a client "campaign" and the banners associated with the campaign, OpenX creates a custom code (called "invocation code")
- Use Joomla Mod PHP extension (http://extensions.joomla.org/component/ ... Itemid,35/) to include the custom code into the position where the module is published
PS: OpenX gives you the possibility to permit your clients to manage their own campaign and/or banners through a login/pass session system!! OpenX can also manage multiple sites...
This is really great to convince your clients to advertise in your website because you are given them an added value (Stat reports - you can even have them sent automatically by email directly to your clients -, banner display limitations, etc...)
For those of you who are looking for something similar to what I am looking for (i.e. banner tracking) here is a solution to my problem:
- Use OpenX (http://www.openx.org)
--This is a complete banner tracking system
-- Once you have created your clients (called "advertisers"), a client "campaign" and the banners associated with the campaign, OpenX creates a custom code (called "invocation code")
- Use Joomla Mod PHP extension (http://extensions.joomla.org/component/ ... Itemid,35/) to include the custom code into the position where the module is published
PS: OpenX gives you the possibility to permit your clients to manage their own campaign and/or banners through a login/pass session system!! OpenX can also manage multiple sites...
This is really great to convince your clients to advertise in your website because you are given them an added value (Stat reports - you can even have them sent automatically by email directly to your clients -, banner display limitations, etc...)
Re: Help with VERY SIMPLE custom code
One more thing,
I have yet to figure out how to identify a specific website CB member who has clicked on a banner... so if anyone has any suggestions, thanx in advance...
Slaoui
I have yet to figure out how to identify a specific website CB member who has clicked on a banner... so if anyone has any suggestions, thanx in advance...
Slaoui