vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Great Affiliate Page for your Forum! (https://vborg.vbsupport.ru/showthread.php?t=212593)

mikey1991 04-30-2009 10:00 PM

Great Affiliate Page for your Forum!
 
1 Attachment(s)
Hello there!

Finally, my Great Affiliate Template Modification has been made into an easy to use product!

INSTALL INFO

1) Import the Product using "vBulletin AdminCP ->Plugins & Products -> Manage Products -> Add/Import Product"

2) Using Your Style Manager, Navigate to the template "custom_Affiliates" and edit your affiliates from my pre made ones. *1

3) Upload the images to http://yoursite.com/yourforumdir/images *2

3) You are free to remove the copyright notice, If you remove the Copyright notice, Please consider donating (donate link coming soon)

CLICK INSTALL IF YOU LIKE THIS HACK


*1: More Info, See the next post for how to edit your templates.
*2: if you don't have your forum based at yoursite.com/forum then upload the images to yoursite.com/images

Thanks alot to BlueNinjaGo For enlightening me on how to create a product.

Known Bugs:

If you have more than one template installed, it doesn't seem to work with the Default vBulletin template (from reports, It worked fine for mine)

mikey1991 05-01-2009 03:30 AM

Welcome to the readme for the Great Affiliate Page for your Forum hack.

------------------------------------------------------------------------------------------------------------------------------------------------------------
************************************************** ************************************************** ******************************
------------------------------------------------------------------------------------------------------------------------------------------------------------
*1: Just customise the template to your liking now, so, lets be sure, here is how the tag works:

Code:


<a href="HTTP://YOUR LINK GOES HERE.COM" target="_blank" title="THIS IS WHAT VISITORS WITHOUT IMAGES ENABLED WILL SEE">This is the link that people click to access your affiliates site.</a><br>

Thats it..
------------------------------------------------------------------------------------------------------------------------------------------------------------
************************************************** ************************************************** ******************************
------------------------------------------------------------------------------------------------------------------------------------------------------------
OPTIONAL
------------------------------------------------------------------------------------------------------------------------------------------------------------
************************************************** ************************************************** ******************************
------------------------------------------------------------------------------------------------------------------------------------------------------------
Adding a Link into your NavBar.

Go to AdminCP -> Styles & Templates -> YourSkin -> Navigation & Breadcrumb Templates -> navbar

find:
HTML Code:


<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

Add below:

HTML Code:


<td class="vbmenu_control"><a href="misc.php?do=page&template=Affiliates"><abbr title="visit our affiliates today, click here!">Affiliates</abbr></a></td>

Now there should be a link on your navbar called "Affiliates" and when you hover your mouse over it, it will say in a little popup

hoverbox thingy (yes, I know, that name is too awesome) "visit our affiliates today, click here!"... Feel free to customise that.

Woot, All finished! you can access your finished page from this link:

http://yoursite.com/yourforumdir/misc.php?do=page&template=Affiliate

Hornstar 05-01-2009 05:42 AM

Do you have any screenshots or a demo?

mikey1991 05-01-2009 06:06 AM

Screenshot:

https://vborg.vbsupport.ru/attachmen...5&d=1240282155

Demo:
http://parlancia.com/forums/misc.php...ate=Affiliates

nomoreturn 05-01-2009 06:13 AM

1 Attachment(s)
Installed on 3.8.2 but when i click Affiliates link in my navbar the page open blank nothing in it i add links in but can't see any thing in it its just empty blank ( i just add one more link the rest of page as it is as you creat )
http://www.mydomain.com/misc.php?do=...ate=Affiliates

please help me to fix it thanks

mikey1991 05-01-2009 07:30 AM

hmm

It might be a skin thing?

The product should be creating that template for you in all skins... is it there in all skins? as I only have the default skin on my testboard and it works fine...

nomoreturn 05-01-2009 07:33 AM

Thanks for reply , its not working with default but its works with my 2nd skin but in 2nd skin images are not showed up

mikey1991 05-01-2009 07:44 AM

go to the skin it works on, and right click "Copy Image Location"

If its anything other than yoursite.com/yourforum/images/aff1.png (or jpg) yoursite.com/yourforum/images/aff2.png then you'll need to upload it again to where it says the image is.

nomoreturn 05-01-2009 07:53 AM

i chnage images from jpg to png and they showed up now

I uninstall product file and its still working in my other skin but not in default and now i install product file and upload images again and still same problem help me to fix it with default style please

mikey1991 05-01-2009 10:31 AM

for your default syle I suggest that you do it manually, details on how to do it are here:

https://vborg.vbsupport.ru/showthread.php?t=211791


All times are GMT. The time now is 07:12 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.01189 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete