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 |
#12
|
|||
|
|||
Thanks, this is something that looks very useufl.
|
#13
|
||||
|
||||
Well I used to pay for that script how come is distributed as free?
|
#14
|
||||
|
||||
Now that is pretty darn cool! Cheers.
|
#15
|
|||
|
|||
If there's anyway to make it viewable to certain usergroups only, that would be great!
|
#16
|
||||
|
||||
Quote:
Give me a bit of time and I will update this for guys that work long hours and don't have the time for coding... I will see what I can do... ************************************************** ******* Phooey If there's anyway to make it viewable to certain usergroups only, that would be great! Let me see what I can do l8ter Phooey... ************************************************** ******* If anybody needs images resized to the 500 by 500 or 73 by73 its best to use Photoshop or Fireworks for better options... I can do them for ya if you upload pics... YES ,,, this should work with 3.7 Good luck 2 ya!!! |
#17
|
|||
|
|||
its nt showing up
|
#18
|
|||
|
|||
" For those that have problems setting up... Its easy to fix... First thing is to know the path where you uploaded the js folder and next you must edit the templates and the js files..."
which js folder? |
#19
|
|||
|
|||
Nice mod, usergroup permissions would be very nice...I have premium members and I wouldn't want to force this on them.
|
#20
|
|||
|
|||
can't get this to work... dont understand the instructions, very poorly written tbh
|
#21
|
||||
|
||||
Quote:
Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)"> $cornerpeeler1 $cornerpeeler2 $cornerpeeler3 </if> Oh, and you have to change the folder name to peelers instead of peeler, otherwise the hack doesn't work. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|