vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - Affiliation Display (https://vborg.vbsupport.ru/showthread.php?t=184198)

TheInsaneManiac 07-01-2008 10:00 PM

Affiliation Display
 
3.8.x version can be found HERE.

Do you have so many affiliates that you just can't keep them all together on one line? Then this modification is for you! It uses a marquee to display your affiliates in it's own box in the "What's Going On?" area. The marquee is set up to stop when you hover over an affiliate and start back up when you are no longer hovering over an affiliate.

Edit your affiliate links and images via the AdminCP.


Installation
1.) Upload the contents of the "upload" folder to your forums root directory.
2.) Import the product-adblockalert.xml.
3.) Use this code as a guideline to displaying your affiliates:
Code:

<a href="http://www.yourdomain.com"><img src="http://www.yourimagelink.com/imagelink.gif" border="0"></a>&nbsp;<a href="http://www.yourdomain.com"><img src="http://www.yourimagelink.com/imagelink.gif" border="0"></a>
4.) Mark Installed. =]


Upgrade
For 4.5 and above import the product and select Allow Overwrite.

For anything previous to 4.5 you need to copy your affiliation_code and gfxaffiliation_code somewhere safe, then uninstall the old product, and install the latest. From there just transfer your codes to the AdminCP.


Display Issues
Some styles may not display the product correctly or you may wish to move it to a completely different area of the FORUMHOME. If this is the case import the disable automatic template edits via the AdminCP.

You then will need to find the following code in your FORUMHOME template:
Code:

                <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
        </tr>
</tbody>
</if>

Add after:
Code:

$affiliation
If you wish to display it somewhere else within your FORUMHOME template then just place $affiliation anywhere you wish inside your FORUMHOME template.


Changelog
4.5
Code rewritten.
Upgrading is now simpler.
Version checking is now enabled.
Option added to AdminCP to allow you to edit the affiliation code.
Option added to AdminCP to allow you to edit the gfx affiliation code.
Option added to AdminCP to allow you to enable/disable the marquee.
Option added to AdminCP to allow you to set the speed of the marquee.
Option added to AdminCP to allow you to set the speed of the marquee when hovering.
Option added to AdminCP to allow you to enable/disable automatic template edits.
AdminCP screenshot added.

4.0
Now works on both 3.7.x and 3.8.x.

3.5
Loads only on FORUMHOME now to reduce non needed queries from executing.

3.0
Added the hooks back.

2.0
Added an option for an extra affiliate bar for GFX affiliates (Requested).

1.5
Recoded the way the script is inserted.

1.2
Created new icons.

1.1
Fixed a spacing issue.

1.0
Released.

veenuisthebest 07-02-2008 05:56 PM

What's the difference
Affiliate Box - Scrolling and Fading Affiliate Buttons

macc 07-02-2008 06:08 PM

hello!

have instaled this hack and put 2 images... works fine ...but how get some space between images ?

some help?

regards

macc

TheInsaneManiac 07-02-2008 08:21 PM

Quote:

Originally Posted by veenuisthebest (Post 1565083)

I've never heard of that one. I don't know what his looks like, but mine is for 3.7 and it is just something simple to install.

Quote:

Originally Posted by macc (Post 1565091)
hello!

have instaled this hack and put 2 images... works fine ...but how get some space between images ?

some help?

regards

macc

How much space are you wanting?

iPodHacking.com 07-02-2008 08:23 PM

thanks

macc 07-02-2008 08:56 PM

Hello!

i do not want much space ..now is those images close to each another - maybe 2 mm ... will more space ... maybe 1 cm or 1.5 cm !

regards

macc

TheInsaneManiac 07-02-2008 09:04 PM

Quote:

Originally Posted by macc (Post 1565223)
Hello!

i do not want much space ..now is those images close to each another - maybe 2 mm ... will more space ... maybe 1 cm or 1.5 cm !

regards

macc

I updated it. Just uninstall the old version, download the new one, and install it. If you want more space just add more &nbsp; to the code.

fattony69 07-02-2008 09:21 PM

This is exactly what I was looking for! Thanks!

Scarface Claw 07-03-2008 03:40 AM

Doesnt work for me.

nothing is displayed

XnaMe 07-03-2008 06:33 AM

How to move the box up?


All times are GMT. The time now is 07:19 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.01047 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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