vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Forum Home Enhancements - UKBL ~ Advertising iFrame on Forum Home (https://vborg.vbsupport.ru/showthread.php?t=204811)

UKBusinessLive 02-08-2009 10:00 PM

UKBL ~ Advertising iFrame on Forum Home
 
UKBL ~ Advertising iFrame on Forum Home

Banners and text links are great, But for real results add an iFrame to your Forums Homepage and make more ???? $$$$$

Made this a few weeks ago for another Admin, Now releasing here for all to share.

Basically its adding an iFrame to the forum home template, allowing admins to display either their affilate websites or even to promote an external website owned by them, either way its a great way to rake in much needed commision payments

https://vborg.vbsupport.ru/external/2009/02/98.png

Banners and display ads are great but with this advertising iframe you stick the ad right in their faces, let the website make that sale for you.

The Example i'm using makes me ?4 for every member that signs up, so by putting it on main view, i'm certainly going to be increasing mycommision payments by 100%

The code is easy to install, and with use of a conditional as an add on you can limit viewing to certain usergroups.

To install:

Download the iframe.zip and edit the code with your details

Remove my details and replace with your own, Thats it

To upload to your site, just go to your

AdminCP > Styles & Templates > Style Manager > YOUR SITES STYLE > Edit Templates > Forum Home Templates > FORUMHOME

Find

Code:

$navbar
and below it add the code ;)

Code:

<DIV ALIGN=CENTER>
<IFRAME name=stbbox src="http://tradebusiness.at/ukbusinesslive" width="100%" height="200">
<p>Your browser doesn't support frames. Click <a href="http://www.ukbusinesslive.co.uk/forum/index.php" target="_blank">here</a> to view the page.</p>
</IFRAME>
</DIV>

to add a conditional just add

Code:

<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)">
to the front and

Code:

</if>
at the end, remember to change the 1, 2, 3 for the number of the usergroup you want to use.

Thats It, Please Click installed if you use ;)

UKBusinessLive 02-09-2009 10:06 PM

:D Reserved ;)


All times are GMT. The time now is 07:52 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.02053 seconds
  • Memory Usage 1,718KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete