The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Corner Peeler Details »» | |||||||||||||||||||||||||
What this minor mod does is allows you to add specials,,, ads and other revenue generating fields to the upper right corner of most forum templates...
ATTENTION: download tutorial if you need help installing. I tested on vBadvanced,,, Gallery,,, Form hack mod and other templates and it works beauts... Primary setup consists of uploading peelers folder to your domain location... If you want to add to your CMPS,,, You must upload peelers folder to your domain root... http://yoursite.com/peelers/ Also you must add $var to CMPS globals... If you want to add to your Gallery,,, You must upload peelers folder to your gallery root... http://yoursite.com/gallery/peelers/ If you want to add to your Forum,,, You must upload peelers folder to your Forum root... http://yoursite.com/forums/peelers/ ************************************************** *********** Step {2}
************************************************** *********** Step {3} Setting up your Javascript file...>>> Here is where some may have a issue... Your javascript file has several lines that require changes only if your FOLDER location is different... Open javascript file with nopepad ++ and find code below and edit to match path of your PEELERS folder... HTML Code:
jaaspeel.small_path = 'peelers/small.swf'; jaaspeel.small_image = escape('peelers/small.jpg'); jaaspeel.big_path = 'peelers/large.swf'; jaaspeel.big_image = escape('peelers/large.jpg'); One line of code in the javascript file must be changed so that when someone clicks on your ad image,,, it will redirect to the page of your choice... Find this code in the javascript file and change the link to your link url... HTML Code:
jaaspeel.ad_url = escape('http://vbulletin.org'); ************************************************** *********** Step {4} Here is the javascript main file that loads the flash and images onto your page... HTML Code:
<script src="peelers/peel1.js" type="text/javascript"></script>
Why would i have to edit these? only if you have a different path location where the peelers folder is located... ************************************************** *********** Step {5} Placement of Corner peelers... Add $vars where you want them to show up... $cornerpeeler1 $cornerpeeler2 $cornerpeeler3 {Important} You must place $vars in the BODY area of your templates... Where is the Body area at? Here...>>> HTML Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <!-- no cache headers --> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> <meta http-equiv="Cache-Control" content="no-cache" /> <!-- end no cache headers --> $headinclude <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title> </head> <body> $header $navbar $cornerpeeler3 HTML Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <!-- no cache headers --> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> <meta http-equiv="Cache-Control" content="no-cache" /> <!-- end no cache headers --> $headinclude <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title> </head> <body> $header $navbar $cornerpeeler1 $cornerpeeler2 $cornerpeeler3 Control them from the admin options... ************************************************** *********** Demo Ver...>>>0.1.1
************************************************** *********** Ver...>>>0.1.2
************************************************** *********** Ver...>>>0.1.3
Download updated Pack file FOLKS im testin the left side,,, if all goes well I will update left side corner peeler... Good Luck 2 ya! Show Your Support
|
Comments |
#22
|
||||
|
||||
Good job, I actually have been using this for quite some time!
|
#23
|
|||
|
|||
There are bunch of free scripts for this effect out there.
|
#24
|
|||
|
|||
Do i have to manually edit the $cornerpeelerX into a template to get this to work? Mine is steadfastly refusing to show lovely adverts at the moment.
a : Yes - edited into the header template. Happy happy joy joy. |
#25
|
|||
|
|||
Very nice mod. Do you happen to have ever made a Full Page advertisement mod "in between" ?
|
#26
|
|||
|
|||
cant use google adsense code with this can we?
|
#27
|
|||
|
|||
working on rc4 by the way
|
#28
|
|||
|
|||
i am resizing the banner to 500x500 in pixels and it is 2 big. the ad is not showing correctly. ideas?
|
#29
|
|||
|
|||
so the ad has to fit that curved area, half of the 500x500 on the top right, so...we cant just use a regular banner, we have to modify it or create our own ads to go there....
|
#30
|
|||
|
|||
Quote:
THANKS man ... Im waiting |
#31
|
||||
|
||||
Cool .
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|