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

s8glive 05-01-2009 11:20 AM

Quote:

Originally Posted by nomoreturn@hotm (Post 1802353)
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


same thing happened to me

nomoreturn 05-01-2009 08:50 PM

Quote:

Originally Posted by mikey1991 (Post 1802415)
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

mikey Thanks alot i did manually and now its working properly with my default style thanks
:up:

tafreeh 05-02-2009 12:29 AM

great way.... but can we change the location? instead of top i rather have them at the bottom

mikey1991 05-02-2009 02:04 PM

Easily done, go to your custom_Affiliate template, and find the:

PHP Code:

<div class="spacer"></div

and copy until:

PHP Code:

</tbody>
</
table>
<
a href="http://parlancia.com"><div class="smallfont">Affiliates Page created by Mad Mikey</a></div>
</
div

and put it all under

PHP Code:

$footer 


ReadOrDie 05-05-2009 05:02 PM

Bugged add-on. It's a blank page for me as well.

therogueforums 06-17-2009 03:43 PM

Cool hack, I'll check it out!

blake247 08-15-2009 07:08 AM

Quote:

Originally Posted by ReadOrDie (Post 1805195)
Bugged add-on. It's a blank page for me as well.

Same

RTMdotORG 09-07-2009 01:04 PM

That's because there is no plugin in the product....

Winter Sonata 07-19-2010 05:50 AM

I have a private forum which registeration require a payment to be done first ...
Is this affiliate page will enable my current users to edit their friends and earn a commission ?

Lon 09-30-2010 09:46 AM

This modification does indeed work.

You just left a portion of information out, or rather "phrased" it incorrectly.

Instead of

Code:

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

Code:

http://yoursite.com/yourforumdir/misc.php?do=page&template=Affiliate
Without the "s" at the end and then you will get the page you are looking for.

You are basically calling for the wrong template each time because of the template name confusion.

Nice job by the way, I love this quick Mod.

Please do edit the last line in your opening post to inform readers.


All times are GMT. The time now is 03:28 AM.

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.01153 seconds
  • Memory Usage 1,775KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete