vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Banner ad on forum Home (https://vborg.vbsupport.ru/showthread.php?t=63994)

Beermonster 01-09-2005 05:16 PM

Quote:

Originally Posted by MajorFm.com
Can the banners be set so they expire after a period of time or even better...

Can the advertiser sign up, upload their banner, pay for the time requested, and it simply sits in admincp waiting a simple accept link (banner approval)

The admin clicks the link and the banner is added for the time paid for...

not in this hack

Viks 02-24-2005 11:34 PM

A very useful modification. ++

Would like to request to update instructions to add code for Mozilla / Netscape browsers.

overall +++

Q-v-n-s-Q 03-06-2005 05:49 AM

Nice hacks <3

bumwrap 03-14-2005 12:47 AM

Quote:

Originally Posted by Spinball
There is a Firefox and Opera incompatibility in your code.
As it stands, in those browsers, the banners are displayed in the middle of the column rather than right justified. This is because your table HTML is wrong.

That didn't work. I tried it 3 times. Totally messed it up. I changed it back. Any other codes to help.

Protoman 03-17-2005 06:00 PM

bump, code for the table display does not work in mozilla or opera still. fix on page 5 doesn't work.

Shackbase 03-21-2005 08:24 PM

hows this work for 3.0.7 and instead of banner images - is it possible to just have it say:

sponsored by: NAME/Link here ?

--Tone

Protoman 03-21-2005 10:56 PM

I installed it on 3.0.7 without fault other than the browser problems. keeping me from using it.

I "think" this should work.. haven't tried it.. but you would use the banner image field.
you'd enter 'Oogle' in the image link field and you'd see this on your page.
ie( "Sponsored by" Oogle)


In template forumhome_forumbit_level2_post,

find:
PHP Code:

<!-- Ad Banner Start -->
<
table align="right" width="15%" border="0">
<
div align="center" valign="top" valign="top">    
<if 
condition="$forum['fhbanner']"><font size="1">$forum[fhmessage]</font><br><a href="http://$forum[fhbannerlink]target="_blank"><img src="images/fhbanner/$forum[fhbanner]alt="$forum[fhbannerlink]border="0" /></a></div></if></table>
<!-- 
Ad Banner end --> 

replace with:
PHP Code:

<!-- Ad Banner Start -->
<
table align="right" width="15%" border="0">
<
div align="center" valign="top" valign="top">    
<if 
condition="$forum['fhbanner']"><font size="1">$forum[fhmessage]<a href="http://$forum[fhbannerlink]target="_blank">$forum[fhbanner]</a></div></if></font></table>
<!-- 
Ad Banner end --> 


Shackbase 03-22-2005 02:15 AM

wow - thank you - I might give that a whirl...

what are the browser problems you mentioned above?

--Tone

pcoskat 03-29-2005 05:09 PM

Quote:

Originally Posted by iKwak
If anyone know how to do (see the attachment #51) the alteration for this hack, please let us know. Thanks a lot.

This is my preference, too.

Can it be done for 3.0.7. Please let me know.

bumwrap 04-01-2005 06:39 PM

bump, code for the table display does not work in mozilla or opera still. fix on page 5 doesn't work.


All times are GMT. The time now is 08:07 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.01121 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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