PDA

View Full Version : Forum Home Enhancements - Add your own affiliate box for buttons


Sp32
12-09-2008, 10:00 PM
I just made this myself, I couldn't find it anywhere and it is so basic and I am pretty sure it has flaws but it is working for me so to save the trouble of someone else doing this I thought I would post it here, sorry if this has already been done ^-^'

go to FORUMHOME and search for:


</table>
<br />
<!-- end what's going on box -->


above that add:


<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions">Affilliates</phrase>
</td>
</tr>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">





</div>
</td>
</tr>
</tbody>






[B]under 'small font' add the code for the button







I am sure you can rip some of the code out of it to suit your needs and change where your picture is etc, this is my first ever edit so I am sorry if this is 'crap' but I am only doing this so less people have to find it, thanks :)

Sp32
12-10-2008, 09:49 AM
If you can fix/make this mod better just post here saying how to and I will make correct changes :)

SEOvB
12-10-2008, 12:05 PM
Nice work ;) I'm sure someone will be able to use it.

Sp32
12-10-2008, 12:47 PM
thanks, your words are much appreciated :)

fattony69
12-10-2008, 02:42 PM
Is this an addon or a template modification?

Sp32
12-10-2008, 03:14 PM
template modification, why?

AzzidReign
12-10-2008, 08:48 PM
I just made this myself, I couldn't find it anywhere and it is so basic and I am pretty sure it has flaws but it is working for me so to save the trouble of someone else doing this I thought I would post it here, sorry if this has already been done ^-^'

How did you not find any? There's at least 3 or 4 of these mods that I know of...one of which I made myself:
https://vborg.vbsupport.ru/showthread.php?t=152350

Just pointing that out.

Sp32
12-11-2008, 06:25 AM
I found that one and only that one but that wasn't what I was looking for and there wern't screenshots so I didn't want to install something which might not of been what I wanted.

CodingMonkey
12-12-2008, 11:12 AM
I would suggest using plugins, product and template hooks.

macc
12-12-2008, 11:21 AM
nice - thanks - installed

regards

macc

TheInsaneManiac
12-12-2008, 02:29 PM
It's been made and God made a search feature for a reason:
https://vborg.vbsupport.ru/showthread.php?t=184198

fattony69
12-12-2008, 02:33 PM
template modification, why?

It is in the wrong section, that is why? I thought there was just a missing file.

Sp32
12-12-2008, 09:40 PM
It's been made and God made a search feature for a reason:
https://vborg.vbsupport.ru/showthread.php?t=184198

alright calm down its not like I am raining on your parade... Jesus...

Also mine is done differently to yours and yes I do know how to use search but funnily enough I didn't search for "affiliation display" I wonder why I didn't automatically know the name of the mod...

skol
12-12-2008, 09:57 PM
Don't let em upset you Sp keep up the good work...It's far better than that search feature thats for sure..

TheInsaneManiac
12-13-2008, 02:19 AM
alright calm down its not like I am raining on your parade... Jesus...

Also mine is done differently to yours and yes I do know how to use search but funnily enough I didn't search for "affiliation display" I wonder why I didn't automatically know the name of the mod...

lol a simple topic search for affiliation would have found it. Yours seems more simple than mine, I have a bunch of option with mine and it confuses people lol.

Don't let em upset you Sp keep up the good work...It's far better than that search feature thats for sure..

I'm not trying to upset him. I was just letting him know that it was already created. Actually it's been made before a couple of times, most of them were just template edits though.

Jaiibee
12-13-2008, 07:12 AM
Very nice, thanks for sharing this code :)

secrtagnt
12-13-2008, 07:24 AM
Thanks for sharing.

On another note, who cares if it has been done or not? It's nice having alternatives.

Sp32
12-13-2008, 10:09 AM
lol a simple topic search for affiliation would have found it. Yours seems more simple than mine, I have a bunch of option with mine and it confuses people lol.



I'm not trying to upset him. I was just letting him know that it was already created. Actually it's been made before a couple of times, most of them were just template edits though.

Sorry I took it the wrong way buddy, your one is very good :)