PDA

View Full Version : Add-On Releases - Affiliation Display


TheInsaneManiac
07-01-2008, 10:00 PM
3.8.x version can be found HERE (https://vborg.vbsupport.ru/showthread.php?t=202853).

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:
<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:
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>

Add after:
$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 (https://vborg.vbsupport.ru/showthread.php?t=152350)

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
What's the difference
Affiliate Box - Scrolling and Fading Affiliate Buttons (https://vborg.vbsupport.ru/showthread.php?t=152350)
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.

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
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
Doesnt work for me.

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

How to move the box up?
Where would you like it?

Scarface Claw
07-03-2008, 06:56 PM
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
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.

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
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.

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
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
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
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/attachment.php?attachmentid=83471&d=1215118708

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


How to I add the images to this?
AdminCP -> VBulletin Options -> Affiliation.


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
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

Nintendo-Daily
12-06-2008, 10:02 AM
Bump.

Nintendo-Daily
12-09-2008, 09:33 PM
Bump

Il Pompa
12-10-2008, 03:38 PM
Can I have a module for vbadvanced pls??

Nintendo-Daily
12-10-2008, 09:35 PM
bump...

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.

rajosing
12-11-2008, 12:43 PM
can you update this for version 3.8.0

Monkey D Luffy
12-11-2008, 04:10 PM
bump...

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

http://img361.imageshack.us/img361/8229/affqi9.png


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.
Go to your admincp>>language and phrase>>phrase manager>> and look for Affiliation and put w/e you want in it hope I helped you...
THIS DOES NOT APPLY TO THE IMAGE THOUGH

TheInsaneManiac
12-12-2008, 02:32 PM
bump...

Sorry about that, I thought I was subscribed to this thread, but for some reason no emails? Anyway it seems Luffy has helped you out with that.

can you update this for version 3.8.0
Are you sure it doesn't work on 3.8? I do not run 3.8, however if you contribute a test board I will be more than happy to bring it to 3.8.

Nintendo-Daily
12-13-2008, 10:53 AM
Go to your admincp>>language and phrase>>phrase manager>> and look for Affiliation and put w/e you want in it hope I helped you...
THIS DOES NOT APPLY TO THE IMAGE THOUGH

YAY!!! Thank you so much Monkey D Luffy :) I went to AdminCP => Languages & Phrases => Phrase Manager => Searched for the phrase "Affiliation" When I seached it, a global phrase for affiliation came up and I edited that to say what I wanted and it worked. Thanks again. This is exactly what I was looking for.


Sorry about that, I thought I was subscribed to this thread, but for some reason no emails? Anyway it seems Luffy has helped you out with that.

Thank you for your effort TheInsaneManiac :)

tlwwolfseye
12-13-2008, 12:02 PM
Well, however you guys made it, i can see the Affiliates row in the footer no problem but in the settings there is only one thing to enable the hack. Nothing to add affiliates. And the Mod Author didn?t really explain why it might not shows up.
:confused:
I am using the latest vB 3.7.4 PL1 btw.

ExTincTi0N
12-14-2008, 10:10 PM
Anyway you can make a modification to this mod so I could have two of them one for affilaites another for gfx voting sites like phototop sites etc?

ExTincTi0N
12-20-2008, 09:49 PM
Hey insane any way you could do what I said in the post above?

TheInsaneManiac
12-29-2008, 11:34 PM
Hey insane any way you could do what I said in the post above?
I could pull it off, but I kind of have my own website to worry about right now. IDK what's going on with it, but its lagging like mad crazy. I'll try to work on it somewhat soon.

EDIT:
Version 2.0 has been released and I added your request as a feature.

militarytuners
12-31-2008, 01:35 AM
Pretty cool. I will try this out

TheInsaneManiac
12-31-2008, 08:34 PM
Pretty cool. I will try this out

Let me know if there are any issues.

DarkGizmo
01-01-2009, 06:28 PM
I get an SQL error when I try to update the script:
Database error in vBulletin 3.7.4:

Invalid SQL:
INSERT INTO datastore (title,data) VALUES ('affiliation','');

MySQL Error : Duplicate entry 'affiliation' for key 1
Error Number : 1062
Request Date : Thursday, January 1st 2009 @ 01:28:01 PM
Error Date : Thursday, January 1st 2009 @ 01:28:01 PM
Script : http://zeroboards.net/forums/XXXXX/plugin.php?do=productimport
Referrer : http://zeroboards.net/forums/XXXX/plugin.php?do=productadd
IP Address : 98.116.107.149
Username : Smoke
Classname : vB_Database
MySQL Version : 5.0.67-log

Tried importing both XML files and allowing the overwrite, same stuff happens...

TheInsaneManiac
01-01-2009, 08:59 PM
I get an SQL error when I try to update the script

Uninstall the old one and then install the new one. Your affiliation is saved in a phrase, so you will lose no data by uninstalling.

donald200
01-06-2009, 07:13 PM
id would be better if there opens a new window, clicking the linkpic instead in the same window could this be changed and how? thanks

jlew24asu
01-07-2009, 12:18 PM
great hack. it would be nice to be able to install both xml's.

also, how can I move this above the forums? (and be able to move it back if I dont like the look or get negative feedback)

TheInsaneManiac
01-07-2009, 06:43 PM
great hack. it would be nice to be able to install both xml's.

also, how can I move this above the forums? (and be able to move it back if I dont like the look or get negative feedback)
Why would there be a need for both XMLs at the same time?

Trust me, I've tried it in many different positions lol. It just doesn't work anywhere else as it looks out of place.

id would be better if there opens a new window, clicking the linkpic instead in the same window could this be changed and how? thanks
Yes this is quite simple actually, just add target="_blank" after the link like so:
<a href="http://www.yourdomain.com" target="_blank">

jlew24asu
01-07-2009, 06:56 PM
Why would there be a need for both XMLs at the same time?

well maybe not both. but I would like to be able to turn on/off the scrolling feature.


Trust me, I've tried it in many different positions lol. It just doesn't work anywhere else as it looks out of place.

LOL ok but do you mind if I give it a try? or are we stuck putting this where you think is best?

DawnsWebDesigns
01-09-2009, 06:41 AM
I didn't see you'd updated this so I had your old version installed. Even though I upgraded to 3.8.0 it still worked fine but I see you updated so I tried to update & now it won't accept this product at all. :(

TheInsaneManiac
01-14-2009, 03:53 AM
I didn't see you'd updated this so I had your old version installed. Even though I upgraded to 3.8.0 it still worked fine but I see you updated so I tried to update & now it won't accept this product at all. :(

Uninstall and reinstall.

AtomicFPS
01-17-2009, 12:22 AM
Hi,


The following dependencies were not met:

1. This product is not compatible with version 3.8.0 of vBulletin. (Compatible starting with 3.7.0 / Incompatible with 3.7.9 and greater)

Do you have a vb 3.8.0 version?

Eneswar
01-17-2009, 10:00 AM
This is not working for me, 1.1 version worked, but i got SQL error so i upgraded to 2.0 and it just isnt showing up. It does show up on the default style but not the one we use, I did try to add the $affiliation but still no go, still doesnt show up... What to do?

Eneswar
01-22-2009, 11:25 AM
Anyone about the issue above? or can you just give me the version 1.1, cuz that worked...

TheInsaneManiac
01-23-2009, 01:33 AM
Anyone about the issue above? or can you just give me the version 1.1, cuz that worked...
I'm working on the 3.8 version and will implement the $affiliation back in once I have some free time. I have plans this weekend so here's a temporary fix. In your custom style make sure you have the following hook in your FORUMHOME:
$template_hook[forumhome_wgo_pos5]

If you do not find:
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>

Add after:
$template_hook[forumhome_wgo_pos5]

Freddy.k
01-23-2009, 01:44 PM
Merci cool

TheInsaneManiac
01-23-2009, 07:13 PM
This is not working for me, 1.1 version worked, but i got SQL error so i upgraded to 2.0 and it just isnt showing up. It does show up on the default style but not the one we use, I did try to add the $affiliation but still no go, still doesnt show up... What to do?

I have updated the plugin to support $affiliation again. If it does not work for you PM me and I will provide you with the 1.1 version.

Eneswar
01-23-2009, 10:17 PM
Thanks alot now it works :)

TheInsaneManiac
01-24-2009, 03:49 AM
Thanks alot now it works :)
Np dude.

freewilley
02-07-2009, 06:46 AM
how to stop the marquee text?

GeekStep
02-08-2009, 07:54 PM
How to make it presist through out all the pages

I need this on all pages

benny92000
02-17-2009, 01:11 AM
Thanks, installed! i was on the old 1.1 version, and when i upgraded it didnt work cause the templates were still on 1.1, then vbulletin said to revert the templates and it works good now.. Great modification.

Crystal Shards
03-22-2009, 01:47 PM
The following dependencies were not met:
This product is not compatible with version 3.8.1 of vBulletin. (Compatible starting with 3.7.0 / Incompatible with 3.7.9 and greater)Ummmm.

Tophon
03-24-2009, 10:04 PM
Same here..

The following dependencies were not met:

1. This product is not compatible with version 3.8.1 of vBulletin. (Compatible starting with 3.7.0 / Incompatible with 3.7.9 and greater)

TheLastSuperman
03-24-2009, 10:08 PM
The following dependencies were not met:
This product is not compatible with version 3.8.1 of vBulletin. (Compatible starting with 3.7.0 / Incompatible with 3.7.9 and greater)Ummmm.

See below...

Same here..




UmmmmHmmmm :D

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

ALWAYS click the coders/authors name and view his/her mods released to see if they have it for the version you need ;) you can change that value in the xml install manually HOWEVER I would always look for your version 1st and then if none do a database backup and give it a go... if you want it that bad of course but regardless that is not a recommendation for inexperienced owners.

S-MAN

Tophon
03-24-2009, 10:16 PM
:) whoops, Google brought me to this one and then this threw me 4.0 - Now works on both 3.7.X and 3.8.X

Thanks for that :)

TheLastSuperman
03-24-2009, 10:20 PM
:) whoops, Google brought me to this one and then this threw me

Thanks for that :)

No prob!

Just remember sometimes us coders unless it's a very drastic change will copy & paste the details from 3.6.x to 3.7.x to 3.8.x for the mods we put up... would be nice if someone would finally make a mod to streamline it all but we can wait can't we? Besides it seems if the details state that it works in 3.7 and 3.8 the author could have simply forgot to upload the new file or in fact it is similar but some code had to be revised for a newer version of vb.

Either way enjoy as this is a great hack IMO and I have found many uses for it and ways to incorporate into vB not just the what's going on area :D

S-MAN

Gamelobby
10-13-2009, 06:42 PM
This is what i get when i try to install..
The following dependencies were not met:
This product is not compatible with version 3.8.3 of vBulletin. (Compatible starting with 3.7.0 / Incompatible with 3.7.9 and greater)

Also why are there 4 xml files..?
Which one do we use & for what.?

Thanks

Gamelobby
10-13-2009, 07:59 PM
But this one worked.. :)
https://vborg.vbsupport.ru/showthread.php?t=202853

TheInsaneManiac
12-25-2009, 09:56 PM
4.5 Released! I made all the 4 products in one, so that it's not as complicated for people to figure out which one they need.