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?

Q-v-n-s-Q 07-03-2008 08:52 AM

thanks

pammy 07-03-2008 09:01 AM

thank you..

TheInsaneManiac 07-03-2008 01:55 PM

Quote:

Originally Posted by Scarface Claw (Post 1565469)
Doesnt work for me.

nothing is displayed

You have to edit your image/link locations in the AdminCP.

Quote:

Originally Posted by XnaMe (Post 1565516)
How to move the box up?

Where would you like it?

Scarface Claw 07-03-2008 06:56 PM

Quote:

Originally Posted by TheInsaneManiac (Post 1565827)
You have to edit your image/link locations in the AdminCP.


Yep I know this, and I did that.

I copied the default code over to the edit box, replaced the image locations and link targets and saved it.

Still displays nothing, in either my default style or my custom styles.

TheInsaneManiac 07-03-2008 07:58 PM

Quote:

Originally Posted by Scarface Claw (Post 1566076)
Yep I know this, and I did that.

I copied the default code over to the edit box, replaced the image locations and link targets and saved it.

Still displays nothing, in either my default style or my custom styles.

Download the hook version from the attachments and place $affiliation anywhere in the FORUMHOME template where you wish for your affiliates to be displayed.

Quote:

Originally Posted by XnaMe (Post 1565516)
How to move the box up?

By doing what I told Scarface Claw you can position it anywhere you wish.

chronoshift 07-03-2008 08:15 PM

is there anyway to get the links to not scroll and just appear normally?

Scarface Claw 07-04-2008 03:42 AM

Cheers bro

I'll let you know how I get on.

One think though, do I uninstall the previous version and then install the hook version.

Or do I install both?

TheInsaneManiac 07-04-2008 04:07 AM

Quote:

Originally Posted by chronoshift (Post 1566158)
is there anyway to get the links to not scroll and just appear normally?

I added a new product just for you. It is called product-affiliationnomarquee. You could also download product-affiliationnomarqueehook if you wish to display it in a different position on the FORUMHOME.

Quote:

Originally Posted by Scarface Claw (Post 1566396)
Cheers bro

I'll let you know how I get on.

One think though, do I uninstall the previous version and then install the hook version.

Or do I install both?

Uninstall the previous version then install the hook version, if you installed both you would have two affiliation areas :D.

Scarface Claw 07-04-2008 04:10 AM

That's what I thought, bit it never hurts to check.

Good one bro, cheers.

Theoretically the var can be placed anywhere you wish, not just forum home, correct?

TheInsaneManiac 07-04-2008 03:23 PM

Quote:

Originally Posted by Scarface Claw (Post 1566411)
That's what I thought, bit it never hurts to check.

Good one bro, cheers.

Theoretically the var can be placed anywhere you wish, not just forum home, correct?

Correct, but it would stand out a little, considering I coded it for the FORUMHOME.

fattony69 07-04-2008 03:26 PM

I didn't put anything and there are two x's marqueeing only in IE nothing shows up in firefox.

TheInsaneManiac 07-04-2008 04:03 PM

Quote:

Originally Posted by fattony69 (Post 1566751)
I didn't put anything and there are two x's marqueeing only in IE nothing shows up in firefox.

As I have said. You must change the link/image in the adminCP. How can you expect something to show up? It can't read your mind on what your affiliates are. You have to link to them.

murdoc 07-18-2008 05:58 PM

Hey man :P i installed your plugin and it will only work on 1 of the themes i have can you plz help

here is the EG http://gamerswastelands.co.za/index.php?styleid=20 there it is working but our main theme doesnt have the affiliates

murdoc 07-28-2008 05:45 PM

bump ? :P

theforumist 07-30-2008 03:51 PM

How do I change Affiliation to Affiliates? Also, how do I change the default image to a custom one?

ExTincTi0N 07-31-2008 08:39 PM

How to I add the images to this?

Cloverfield 08-07-2008 07:31 PM

Doesn't work :(

Installed correctly but won't show up.

murdoc 08-08-2008 07:35 AM

Same problem im having it will only show on 1 theme

TheInsaneManiac 08-08-2008 01:32 PM

Quote:

Originally Posted by murdoc (Post 1593908)
Same problem im having it will only show on 1 theme

It's searches for specific code and adds the affiliation after it. Some custom templates may not have this code, so download this:
https://vborg.vbsupport.ru/attachmen...1&d=1215118708

and place $affiliation anywhere in the FORUMHOME template where you wish for your affiliates to be displayed.


Quote:

Originally Posted by ExTincTi0N (Post 1588658)
How to I add the images to this?

AdminCP -> VBulletin Options -> Affiliation.


Quote:

Originally Posted by theforumist (Post 1587534)
How do I change Affiliation to Affiliates?

Do a search for it in the phrases and change it.

ExTincTi0N 08-08-2008 06:37 PM

When I go to Acp -> vBulletin Options -> and Affiliation all that shows up is enable hack.

BucWiLd 08-09-2008 01:45 AM

great hack thanks

TheInsaneManiac 08-19-2008 05:19 PM

Quote:

Originally Posted by ExTincTi0N (Post 1594227)
When I go to Acp -> vBulletin Options -> and Affiliation all that shows up is enable hack.

There should be a description that says "Click HERE" Click it and you will see where to change the information.

ExTincTi0N 09-25-2008 12:39 AM

Could you add a topsite section? So I can add it to another bar instead of the affiliates bar.

zombietom 11-24-2008 05:20 AM

can't get this to show up --i even tried the $affiliation and still a no show ...any suggestions

zombietom 11-24-2008 01:47 PM

Ok, got it to work --not showing on all themes but i can fix that --thanks and i marked installed.

Nintendo-Daily 11-30-2008 08:27 PM

I was referred here in hope of getting a solution to my problem:

https://vborg.vbsupport.ru/


By default, the statistics image shows and I don't want to use that one for the affiliation. I want to make my own and use that one instead; I just don't know where to edit that.

Also, where it says "Affiliation" I want to change that to something else as well...something more customized for my board.

Nintendo-Daily 12-01-2008 09:34 PM

Would someone please try assisting me in this matter? I really need help with this issue :)

Nintendo-Daily 12-02-2008 09:34 PM

Please...someone...I am going nuts here...

Nintendo-Daily 12-03-2008 09:40 PM

Bueller?...Bueller?...

Well, I figured part of it out myself...the image, which is edited in the "affiliation" template. If any of you know how to edit the text part (see image in post #36), that would be great.

24hourForum.com 12-04-2008 05:11 AM

Thank You installed


All times are GMT. The time now is 10:17 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.01300 seconds
  • Memory Usage 1,828KB
  • 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
  • (16)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
  • (40)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