Very Short description:
"This Component and Module make it possible to use Sobi2 instead of the Joomla Banner Component an Module."
-----
Dear m8's,
We are using SOBI2 so all our Sponsors have an entry. As Sobi2 Image we use their Banner.
At the same time we are displaying their banners by the standard joomla Banner component.
So we have to enter all data twice and upload the banners twice.
I wrote a little component and a module to make it possible to display the sobi2 image (or icon) as a banner.
The Component ist only accessible from the backend and shows views and clicks of the banners.
All the entrys in the component listing are created by the module.. So it is not neccesary to enter anything in the component. (Its for statistics only)
Well the webfield ID has to be set in the component configuration.
Usually if the field was never deleted an re crerated the field ID of this field will be "8"
If the field was deleted from SOBI2 an recreated the ID will be different and it's kind of
hard to find out what ist is. (I used phpmyadmîn)
It's the field id of the field containing the URL of the SOBI2 Entry in the table #__sobi2_fields_data
The Module displays the banners and creates an entry in the component if it does not exist.
Each time the banner is displayed the module increases the view counter by 1.
When a banner is clicked the module forwards the "click" to the component ..the component
increases the "click" counter by one and forwards the client to the website.
What Banners are displayed is configured in the module. It is possible to use all SOBI2 categorys or defined SOBI2 categorys.
(Showcat=0 means All Categorys, Showcat=1 menas only category 1, showcat 1,2 means category 1 and 2.)
From the Backend of the component it is possible to reset the counters or delete entrys.
Maybe this is usefull for some of you..
By the way it is for Joomla 1.5 Native only!
Package contains com_s2banner and mod_s2banner
Please make sure to install the component first, before you activate the module!!Greez and a happy new year
Aspi
Moderator note: added the description and latest file from post Reply #13.Download:
com_s2banner_v1_0_1_unzip_first.zip 18KB, ZIP