Corner Peeler
This modification is in the archives.
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... ************************************************************* http://www.theadminzone.com/forums/ 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! Download
This modification is archived, downloads are still allowed. Addons Screenshots |
Similar Mods
Mini Mods Corner Peeler {2} | vBulletin 3.7 Add-ons |