PDA

View Full Version : Forum Display Enhancements - Affiliate Box on Homepage


Millenium IT
06-29-2007, 10:00 PM
Put a scrolling affiliate box on your forum's home page. This cleans up yor forums overall apearances since you can ad more immages and use up less space.

Installation:
1.)Upload the attached image file to your skin's 'misc' folder.
2.)Go to AdminCP=> Styles & Templates=> Style Manager=> Specified Style=> Edit Templates=> FORUMHOME

Find:

<if condition="$show['birthdays']">
<!-- today's birthdays -->


Add Above:

<tbody>
<tr>
<td class="thead" colspan="2">
<img id="collapseimg_forumhome_online" style="float:$stylevar[right]" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_online].gif" alt="" border="0" />Affiliates
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_online" style="$vbcollapse[collapseobj_forumhome_online]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" border="0" alt="Our Affiliates" />
</td>
<td class="alt1" width="100%">
<style>
.imgfade{filter:alpha(opacity=30); -moz-opacity:1;margin-left:3px}
.imgfull{filter:alpha(opacity=100); -moz-opacity:1;margin-left:3px}
</style>
<!-- Start Marquee -->
<marquee width="700" valign="center" direction="right" scrolldelay="0" scrollamount="3" onmouseover="this.stop()" onmouseout="this.start()">
<!-- Start Enter Images Here -->




<!-- end Enter Images Here -->
</Marquee>
<!-- End Marquee -->
</td>
</tr>
<tr>
<td class="alt2" colspan="2" align="center">
<center><a href="http://www.yourdomain.com/forum/private.php?do=newpm&u=1" target="_top" title="Request affiliation!"><img src="$stylevar[imgdir_misc]/affiliate.gif" border="0" /></a></center>
</td>
</tr>
</tbody>


Please note: On the 6th last line there is a change that must be made to this code.

http://www.yourdomain.com/forum/private.php?do=newpm&u=1

Replace the yourdomain part with...well...your domain :p

Save and done.

Screenshot:
Attached (https://vborg.vbsupport.ru/attachment.php?attachmentid=66351&stc=1&d=1183237974)



--[--Mark As Installed--]-- (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=151053)

Millenium IT
06-30-2007, 08:19 PM
-Reserved

Edit#1
A .txt file has been added with all the info that can be found in the first post.

rjmjr69
06-30-2007, 08:28 PM
Reserved.... Nice Idea

Brandon Sheley
06-30-2007, 08:39 PM
Reserved .-.-.-.-.-. live demo ?

also, can you please make a text file with instructions and attach it :)

cheers

Millenium IT
06-30-2007, 08:47 PM
Reserved.... Nice Idea
If you like it please click install ;)

Reserved .-.-.-.-.-. live demo ?

also, can you please make a text file with instructions and attach it :)

cheers
As far as the demo is ill have to set up a test forum for that. The info has been attached and hope you decide to click install ;)

DinarMet
07-03-2007, 01:48 PM
Installed! Great work!

I modified it to place it at the top on my forum, but it works like a charm!

I've got about 20-30 affiliate links I will be putting up and this save me a lot of real estate. I will probably use it for link exchanges as well.

Thanks so much. This is going to save me a lot of main page space.

You can see a demo on my site if you wish:

http://www.agloconnect.com/connect/index.php

DM

Millenium IT
07-05-2007, 12:04 AM
Sweet glad you like it and thanks for installing ;)

Hope you dont mind me using your site for the demo link in my thread :P

josepheseven
08-18-2007, 09:21 AM
nice one mate......will use it ;)

s-p0k
11-10-2009, 06:29 AM
i know this is old but where do u add then at?

ShawneyJ
11-10-2009, 08:49 PM
i know this is old but where do u add then at?

read first thread mate ;)
Installation:
1.)Upload the attached image file to your skin's 'misc' folder.
2.)Go to AdminCP=> Styles & Templates=> Style Manager=> Specified Style=> Edit Templates=> FORUMHOME


or do you mean where in that code do you add your code?

s-p0k
11-10-2009, 08:53 PM
read first thread mate ;)
Installation:
1.)Upload the attached image file to your skin's 'misc' folder.
2.)Go to AdminCP=> Styles & Templates=> Style Manager=> Specified Style=> Edit Templates=> FORUMHOME


or do you mean where in that code do you add your code?

yes .... where in the code do i add the code

s-p0k
11-19-2009, 04:30 PM
anyone ?

got it