PDA

View Full Version : Forum Affiliates


Marky
30 Dec 2006, 11:17
Hey all,

My vBulletin licence has now run dry and so I'll have to wait until I have enough cash to purchase a new one before I continue / start production on new and previous modifications.

But before it run out, I managed to finish this modification which I thought you might find useful.

Easy installation as per usual, just upload the product and install :)

See screenshots for description, since it says it itself.

I will try my best to give support on the mod.

Thanks and enjoy ;)

- Marky

---------------------------------------

Installed this modification? Click Install (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=135099)
Want to see even more? Vote this mod for MOTM (http://www.vbulletin.org/forum/vborg_miscactions.php?do=nominate&type=1&t=135099)!

---------------------------------------

Modification Information

Modification Name: Forum Affiliates
Version: 1.0
Created By: Mark Spiers (Marky)

What does it do?

It adds a box below the stats at the bottom of your forums (See screenshot) that allows you to add up to 10 different affiliates, and completely customize the box, such as box title and even the affiliates image to blend well into the forum.

Installation

Installation is simple, and should take around a minute (if that).
Just upload the product given, and follow the instruction given for the template edit. Then you can customize the options straight from the vBulletin Options.

Products: 1
Plugins: 2
Template Edits: 1 (FORUMHOME)
Time to Install: Less than 1 Minute

Donations

I create vBulletin modifications for the vBulletin community, and of course I do not get paid to do it. I would be very grateful if you donated to me if you like my modifications. But of course this is optional :)

To donate, use the paypal image below:

https://www.paypal.com/en_US/i/btn/x-click-but04.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=m_spiers_%40hotmail%2ecom&item_name=Marky%20Donation&no_shipping=1&cn=Your%20Email%20%2f%20Website%20%2f%20Notes&tax=0&currency_code=GBP&bn=PP%2dDonationsBF&charset=UTF%2d8)

Other

This modification must not be redistributed without consent from me, Mark Spiers (Marky).

---------------------------------------
Changelog
---------------------------------------

V 1.0
====
Mod Birth

V 1.0.1
======
Added feature to allow user to add a "Target Window" to all links.

projectego
30 Dec 2006, 11:51
Looks cool, I'll definitely check this out. Thanks!

/me clicks install :)

extreme-mobile
30 Dec 2006, 13:06
nice, but how would i get it to display a SWF file?

i want this to be shown at the bottom

http://www.extreme-mobile.co.uk/mylogos/dean.swf

many thanks

Ufgy.com
30 Dec 2006, 16:51
Installed, Thanks

UltimateOreo!
30 Dec 2006, 20:02
I was looking for one of these. Thanks!

Brew
30 Dec 2006, 20:42
Worked without a hitch in vb3.6.4

You do good work Mark...Thanks! :smoke:

Brew
30 Dec 2006, 20:48
One request for this mod:

Give some instructions on putting the block in other areas. Like near the header.

Make the number of available input boxes for different affiliates configurable. Maybe using AJAX to open up new boxes?

Dead End Society
30 Dec 2006, 21:03
Thank you, this will be handy.

*clicks install*

leo1977
30 Dec 2006, 21:07
What does exactly this mod do? Can you include more screenshots or better explanation. Thanks

Snake
30 Dec 2006, 22:25
Thanks man! :)

bada_bing
31 Dec 2006, 04:47
What does this mod do except a box with some writting?

Marky
31 Dec 2006, 17:29
I've updated the modification thread in reflection to the questions about what it does :)

- Marky

AzH
01 Jan 2007, 21:28
Marky, I like this. I have it implemented. Two suggestions if I may.

1) The URL to the image for your affiliate box should be a standard image such as misc/stats.gif or statusicon/forum_link.gif for example. Many forums use different themes and having an image which fits the theme in question would improve the look.

2) There needs to be an option for target="_blank" as many forum admins would prefer to not have users leave their forums.

Do you think these are things you'll consider for an update?

extreme-mobile
02 Jan 2007, 14:26
nice, but how would i get it to display a SWF file?

i want this to be shown at the bottom

http://www.extreme-mobile.co.uk/mylogos/dean.swf

many thanks

any feedback on this?

Dead End Society
02 Jan 2007, 15:34
2) There needs to be an option for target="_blank" as many forum admins would prefer to not have users leave their forums.
I 2nd this.

Marky
02 Jan 2007, 16:53
nice, but how would i get it to display a SWF file?

i want this to be shown at the bottom

http://www.extreme-mobile.co.uk/mylogos/dean.swf

many thanks

Currently due to the additions that swf files need in html, version 1.0 doesn't support swf files for affiliates. BUT - I've edited the product (See attached file) and in the admin control part, where you put the image you must add the swf html equivilent. For example, if you want an image there you must put:
<img border="0" src="image.gif">
For swf:
<object width="xx" height="xx"><param name="movie" value="movie.swf"></param><param name="wmode" value="transparent"></param><embed src="movie.swf" type="application/x-shockwave-flash" wmode="transparent" width="xx" height="xx"></embed></object>

Marky, I like this. I have it implemented. Two suggestions if I may.

1) The URL to the image for your affiliate box should be a standard image such as misc/stats.gif or statusicon/forum_link.gif for example. Many forums use different themes and having an image which fits the theme in question would improve the look.

2) There needs to be an option for target="_blank" as many forum admins would prefer to not have users leave their forums.

Do you think these are things you'll consider for an update?

1) How about the option to have either one from the theme folder and a custom one?

2) That's a definate. I'll be going back to school tommorow, but if I don't have too much on, I'll get this done by tommorow :)

One request for this mod:

Give some instructions on putting the block in other areas. Like near the header.

Make the number of available input boxes for different affiliates configurable. Maybe using AJAX to open up new boxes?

Yes sorry the instructions are rushed I agree. I will update them soon to make them clearer and of course give you different places to stick the affiliates box ;)

And on the AJAX front, unfortunatly I can't do AJAX :p But I'll definatly consider an alternative way...

- Marky

Marky
02 Jan 2007, 17:09
Version 1.0.1 Released
Changes in this version:
*Added feature to allow user to add a "Target Window" to all links.

--------

Had a bit of spare time, thought I'd throw it up instead of tommorow ;)

Enjoy!

- Marky

Dead End Society
02 Jan 2007, 17:15
Thank you, works perfect.

DarthRevo
02 Jan 2007, 22:28
awesome hack..thanks for making this

MustangLisa
03 Jan 2007, 14:22
This looks neat, I'll give it a shot. :) Thanks!

extreme-mobile
03 Jan 2007, 18:09
Currently due to the additions that swf files need in html, version 1.0 doesn't support swf files for affiliates. BUT - I've edited the product (See attached file) and in the admin control part, where you put the image you must add the swf html equivilent. For example, if you want an image there you must put:
<img border="0" src="image.gif">
For swf:
<object width="xx" height="xx"><param name="movie" value="movie.swf"></param><param name="wmode" value="transparent"></param><embed src="movie.swf" type="application/x-shockwave-flash" wmode="transparent" width="xx" height="xx"></embed></object>



1) How about the option to have either one from the theme folder and a custom one?

2) That's a definate. I'll be going back to school tommorow, but if I don't have too much on, I'll get this done by tommorow :)



Yes sorry the instructions are rushed I agree. I will update them soon to make them clearer and of course give you different places to stick the affiliates box ;)

And on the AJAX front, unfortunatly I can't do AJAX :p But I'll definatly consider an alternative way...

- Marky

thanks marky,

but im having slight problem with getting it to show, maynbe im editing the code wrong???

<object width="xx" height="xx"><param name="movie" value="movie.swf"></param><param name="wmode" value="transparent"></param><embed src="movie.swf" type="application/x-shockwave-flash" wmode="transparent" width="xx" height="xx"></embed></object>

how would i edit the above?

many thanks

dean

Marky
04 Jan 2007, 00:13
thanks marky,

but im having slight problem with getting it to show, maynbe im editing the code wrong???

<object width="xx" height="xx"><param name="movie" value="movie.swf"></param><param name="wmode" value="transparent"></param><embed src="movie.swf" type="application/x-shockwave-flash" wmode="transparent" width="xx" height="xx"></embed></object>

how would i edit the above?

many thanks

dean
Change xx with the width and height, and movie.swf with the swf file url.

extreme-mobile
04 Jan 2007, 07:06
Change xx with the width and height, and movie.swf with the swf file url.

yeh have tried that but with no luck

<object width="60" height="50"><param name="movie" value="http://www.extreme-mobile.co.uk/mylogos/movie.swf"></param><param name="wmode" value="transparent"></param><embed src="http://www.extreme-mobile.co.uk/mylogos/movie.swf" type="application/x-shockwave-flash" wmode="transparent" width="60" height="50"></embed></object>

thats what ive used

any ideas?

extreme-mobile
04 Jan 2007, 18:34
ignore last post

all working now :D

DollarBill
08 Jan 2007, 05:44
Target="_blank" is not xhtml compliant last time I checked.

Nice mod anyhow.

Mr Morningstarr
06 Apr 2007, 19:29
Any idea how I can use ALT tags with this hack?

iogames
08 Apr 2007, 03:49
Version 1.0.1 Released
Changes in this version:
*Added feature to allow user to add a "Target Window" to all links.

--------

Had a bit of spare time, thought I'd throw it up instead of tommorow ;)

Enjoy!

- Marky

I can't communicate with you Marky :confused: [about Bizness]

deezelpope
19 Apr 2007, 09:51
Very nice! Installed, thank you!:up:

jimnyc
03 May 2007, 11:33
Love the hack, thank you!

If I use up all 10 links, how can I add more? I have all ten filled already and need to add more but can't figure out how. I'm actually not using for affiliates, but for board contributors, that's why I need more than 10.

Thanks for any advice!

-Jim

Devil Woman
11 Jul 2007, 02:08
Hi, I am looking for an affiliates box that just has text rather than images does this support text aswell as images if so how would I get just text in?

Thanks

Namaless
29 Dec 2007, 13:14
This script work correctly in vBulletin 3.7.0 Beta 3 :cool:

Thanks for your hack ^_^