vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Ad banners for unregistered users (https://vborg.vbsupport.ru/showthread.php?t=35357)

James Cridland 02-23-2002 03:49 PM

1 Attachment(s)
I loathe and detest ad banners.

But when you run a board where 50% 'unregistered users' use it, and you want to increase the amount of users you have registered, it might be worth experimenting with an ad banner for unregistered users only.

Enclosed is the code to do that: it's modifying two templates.


This is v2 of the code, with the following enhancements:
- Hide ad banners for users who have donated
- Bug fix: I didn't close the 'normalfont' tag!
- Force users to both register AND verify e-mail addresses

Plus, enhanced information for users, following feedback here


Good sources of ad banners are www.valueclick.com and www.advertwizard.com

James Cridland 02-23-2002 03:49 PM

And a screenshot:

https://vborg.vbsupport.ru/

Users who want to see what this does: the forums are at http://forums.mediauk.com/

Your username and password are both "vbulletinorg"

Floris 02-24-2002 01:28 AM

Hey now :) That IS handy :P
We have been thinking about ways of implementing a banner system .. I believe you found a solution!
I thank you very much!

James Cridland 02-24-2002 03:17 PM

Great pleasure. It works for me, so... :)

nafae 02-24-2002 04:24 PM

looks great I am about to install this!

eoc_Jason 04-10-2002 04:45 AM

This is very cool! Very simple addition and it sure serves a purpose! :bunny:

chrisroo 04-13-2002 02:27 PM

i cant get it to work

James Cridland 04-13-2002 06:09 PM

Quote:

Originally posted by chrisroo
i cant get it to work
What problems are you having, and I'll see if I can help...

chrisroo 04-13-2002 10:23 PM

I cant add html without it freaking out...

James Cridland 04-14-2002 03:06 PM

Aha, thanks.

You need to be careful when using " characters... either use ' or "escape" them by putting a \ character in front.

i.e...

a href="link.html"

won't work, and will result in an error.

a href='link.html'
or
a href=\"link.html\"

will both work just fine.


All times are GMT. The time now is 05:54 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.01145 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete