The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
VB Banner Control 1.2 Details »» | |||||||||||||||||||||||||
Hi,
with the allowance of Firefly I repost this hack. At first I want to mention that I used PPNs ads hack only for one file in the adminoptions as a template. He made this file so perfect that I looked how he solved the adminconfigurations file for his hack. The rest is without viewing on other hacks coded by me. This hack has the following features: - allows you to create banners dynamicly - you can view stats: -> guestclicks ( how many not logged in guests clicked on the banner ) -> userclicks ( which user has clicked how often on which banner ) -> views ( how often is the banner viewed ) - control theses stats over an admin cp script which let you: -> add new banners -> edit banners -> remove banners -> view the stats -> remove the stats - NEW in 1.1: Useroverview: -> you can give a user of your forum the possibility to view the stats via ACP -> he can see the views, userclicks and guestclicks - NEW in 1.2: Put Banners between categories -> you can assign each category via phpmyadmin an banner which is under this category shown -> therefor you've to split the categories, that you have space between them For an example, you can have a view on www.kampfkunst-board.info. The 2 banners in the middle are created dynamicly by my scripts Here in this post I add the hack, in the next post, the screenshots Show Your Support
|
Comments |
#72
|
|||
|
|||
is there any way to put certain banners on certain sections of the forum? for instance, if i had a section about computers could i have a hosting company banner on that section only??
thanks. |
#73
|
||||
|
||||
yes it should work,
try it out, assign the banner you want a category and so, it will only be shown above this category |
#74
|
|||
|
|||
Quote:
|
#75
|
||||
|
||||
Hi,
there is no possibility for assign banners with the CP, you have to do bei Step 5 from the installationinstructions. Then it's a bit clearer KK |
#76
|
|||
|
|||
ok i did step 5 and dont see anything new in the CP. what did that step do?
|
#77
|
||||
|
||||
*lol*
you won't see anything more in your acp. Now you only have the possibility to put a bannerid into your sqldb into the specified field, which will show then the particular banner above the defined category |
#78
|
||||
|
||||
Hi,
Please be warned that I have never coded a line of PHP before tonight, but have come up with a solution to the rotation for VB Banner Control 1.2. (Through much hacking of other people code and testing) I have installed and tested both the Ad Management and VB Banner Control on my site but found the VB Banner Control to be the better (for my needs), but lacking a rotation facility. So I have removed the Ad Management one completely, installed VB Banner Control 1.2 from scratch again and made the following changes to get rotation working. I do not know whether I am allowed to post this modification, if not please feel free to delete this post immediately. I can confirm that I have been testing this for the past 4 hours and its working fine but - USE THIS AT YOUR OWN RISK - I cannot be held responsible if anything goes wrong. 1. So, do a complete installation of VB Banner Control 1.2 (I am using VBulletin 2.2.7 and its working great.). 2. Open /global.php 3. Find: PHP Code:
PHP Code:
4. Normally with the VB Banner Control hack you would go through the Control Panel and use the getcode link and copy and paste that text into wherever you would want the banner to appear. Normally the Header template. If you are using this tweak you will not have to do this again. Just replace it with the following: <a target='blank' href='http://www.yourdomain.com/click.php?bannerid=$bannerid'><img border='0' width='$bannerwidth' heigth='$bannerheight' alt='$banner_text' src='http://www.yourdomain.com/view.php?bannerid=$bannerid'></a> Change the www.yourdomain.com with your sites correct domain name. And that's it. Now you will have a fully operational banner rotation with all the banners you have in the banners table. |
#79
|
|||
|
|||
springbok - i did your rotation hack and my banners just disappeared. is there anything special i need to do after i put in the rotation code in the templates?
|
#80
|
||||
|
||||
Which template did you put the
<a target='blank' href='http://www.yourdomain.com/click.php?bannerid=$bannerid'><img border='0' width='$bannerwidth' heigth='$bannerheight' alt='$banner_text' src='http://www.yourdomain.com/view.php?bannerid=$bannerid'></a> link into? Please confirm that you did the mai hack install as per normal and then made the changes I have suggested. |
#81
|
||||
|
||||
so this hack shows diff banners doing it auto and show how the clicks?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|