Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Corner Peeler Details »»
Corner Peeler
Version: 0.1.3, by Deepdog009 Deepdog009 is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.x Rating:
Released: 04-27-2008 Last Update: 06-18-2008 Installs: 59
Uses Plugins Template Edits
Additional Files  
No support by the author.

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}
  • Goto admincp and open products and install plugin...
  • After loading plugin goto vbsettings and find Corner Peeler and adjust admin on/off and js options...
  • Check path of javascript in admin options ...>>> peelers/peel1.js <<<
  • Check path of javascript in admin options ...>>> peelers/peel2.js <<<
  • Check path of javascript in admin options ...>>> peelers/peel3.js <<<


************************************************** ***********

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>
The plugin will automatically load this for you,,, If you need to edit this info please goto the Corner peeler group in styles and edit templates below...>>>

  • corner_peeler_showme1
  • corner_peeler_showme2
  • corner_peeler_showme3


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
OR

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
  • Corrected errors in help file and folder...
  • Added fla files so that user can edit...
  • Added Swf url redirect folder to zip...
  • Made minor correction to xml file... overwrite old...


************************************************** ***********


Ver...>>>0.1.2
  • Added Tutorial to help newbies...


************************************************** ***********


Ver...>>>0.1.3
  • Added usergroups...
  • Added two more $var for more templates...


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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 05-06-2008, 08:40 PM
segwayon segwayon is offline
 
Join Date: Mar 2008
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question: I added a second peeler and enabled it, but in the corner I see both activate at the same time, and only the 2nd peeler seems to get used by the mouse-hover. Is there a way to alternate the peelers on alternate page loads?

In the header I added both names:
$cornerpeeler1
$cornerpeeler2
Reply With Quote
  #43  
Old 05-07-2008, 01:09 AM
segwayon segwayon is offline
 
Join Date: Mar 2008
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nectons View Post
You are the best my friend.. I was looking long time to find a solution for that I have installed (pain in the @ss to find how to) some months ago and i have it working inside the same window but the damn thing it have a certain swf file for that and when you hover the mouse on it it goes transparent Look at my site to see what i mean www.bytheway.gr

THANKS man ...

Im waiting
If you look at your website with a lower screen resolution (so that you see a horizontal scrollbar), you'll see that the corner peeler resides away from the edge of your forum.
Reply With Quote
  #44  
Old 05-08-2008, 01:43 AM
segwayon segwayon is offline
 
Join Date: Mar 2008
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I notice that when I upload a new version of small.jpg that it never gets seen on the forum - for some reason the old file is cached. I even tried to rename it 'small1.jpg' and altered the peeler1.js file to point to the new filename, but still the old small image shows.

I've also tried to close the mod and re-enable it, again to no avail.

Any suggestions on how to get past this caching issue?

Update: Looks like the file came up after a while.
Reply With Quote
  #45  
Old 05-08-2008, 11:30 PM
csoroner's Avatar
csoroner csoroner is offline
 
Join Date: Apr 2008
Location: Los Angeles, CA USA
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deepdog009 View Post
Csoroner try the images already there and if all goes well which it should...

Next replace images with your own and its a done deal...


If U need more help,,, give me temp access and I will resolve 4 U...
Thanks for your reply. What I did was replace my images with the originals and it worked perfect. I then re-did mine and instead of over writing and deleted and replace. I'm guessing both smart and ws sometimes won't copy/replace very well cause once I did this, it's all good. I was even able to come up with a perfect small.jpg using the original size corner of the large.jpg and it's outstanding.

This is some outstanding work! What else you got?

Thank you so very much for all your efforts and support!
Reply With Quote
  #46  
Old 05-09-2008, 02:04 AM
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nectons View Post
You are the best my friend.. I was looking long time to find a solution for that I have installed (pain in the @ss to find how to) some months ago and i have it working inside the same window but the damn thing it have a certain swf file for that and when you hover the mouse on it it goes transparent Look at my site to see what i mean www.bytheway.gr

THANKS man ...

Im waiting
************************************************** ***********

nectons I see your issue,,, its that fisheye menu next to the flash window thats causing the problem...

Also the width of your forumhome seems to have set the flash file offline from the corner...

I will look into it further and post about it L8ter...

************************************************** ***********

Folks If you want to enhance this mod more,,, U will have to edit the FLASH files...

Moving peeler to other areas of page can be done by editing the fla files placed in folder...


************************************************** ***********

segwayon I setup the three vars$ so that you can add to frontpage,,,forumhome and other page,,, But you can place all three on same page and activate by alternating one on only...

************************************************** ***********


Here's another link that my B helpful... >>> Peeler Helper <<<
Reply With Quote
  #47  
Old 05-09-2008, 07:04 AM
bu3nood bu3nood is offline
 
Join Date: Jun 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx alot

will dawnload later
Reply With Quote
  #48  
Old 05-09-2008, 10:12 AM
ezurick ezurick is offline
 
Join Date: Mar 2007
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by archaosus View Post
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.
What exactly does that mean? Sheesh! You edited what into the header template? I know how to edit the header template, but what did you edit? What did you insert?

I am like a few others here... installed it to the root, imported the product, refreshed, turned it on... and I see nothing... I opened each .js file and I really don't see anything to modify because the peelers folder is under the root. Any help please?
Reply With Quote
  #49  
Old 05-10-2008, 01:13 AM
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ezurick View Post
What exactly does that mean? Sheesh! You edited what into the header template? I know how to edit the header template, but what did you edit? What did you insert?

I am like a few others here... installed it to the root, imported the product, refreshed, turned it on... and I see nothing... I opened each .js file and I really don't see anything to modify because the peelers folder is under the root. Any help please?
Ezurick I feel your pain

Upload peelers folder to your forum root...>>> http://yoursite.com/forums/peelers/

Install plugin and switch on Mod...
Place var$ in the BODY area of any template including form hack forms...>>>

HTML Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $formtitle</title>
</head>
<body>  <<<..........here is the start of the body area in html
$header
$navbar

$cornerpeeler1
$cornerpeeler2
$cornerpeeler3
<!-- main -->

************************************************** ***


After that ,,, turn on one of the JS cornerpeelers so that it shows in the right top corner...

I added three options because some folks may want 2 setup frontpage,,, forumhome and gallery or other pages...



************************************************** ***


Edit JS and Fla files to change redirect link and path to your forum if needed...

Edit images with any Graphics software...
I use Adobephotoshop and Fireworks...

I hope this helps?
Reply With Quote
  #50  
Old 05-11-2008, 12:09 PM
ezurick ezurick is offline
 
Join Date: Mar 2007
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deepdog009 View Post
Ezurick I feel your pain

I hope this helps?
The directions to this mod is about the worst I EVER seen written... and no, it did not help... I followed the instructions and still have nothing... I give up! UNINSTALLED!
Reply With Quote
  #51  
Old 05-11-2008, 05:25 PM
Harley D's Avatar
Harley D Harley D is offline
 
Join Date: Jan 2003
Location: WagnerTech.net
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DeepDog009,
Thanks for the instructions! I finally got it working.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04898 seconds
  • Memory Usage 2,337KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_html
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete