vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Advert Management (https://vborg.vbsupport.ru/showthread.php?t=39074)

Stealthy 05-29-2002 12:30 PM

PPN, excuse my naivety but this is the first time for me doing banners.

Question: When filling in the section 'Code to be shown as advert', what exactly does this mean? Could you show an example of one please?

Also, do I have to have the banners on my server? I would like to link the banners to the advertisers' servers. How can this be accomplished?

Thanks for your help and great hack!

active 05-29-2002 06:54 PM

help need please this is just the hack i need to can not seem to install it any one help me out please

Scott MacVicar 05-29-2002 07:31 PM

Stealthy, for the Code to be shown you can put in whatever you like and it will replace $advert in any of your code, it can be images, text or javascript. Its up to you it doesn't matter what you have.

I have
Code:

<a href="http://www.site.com"><img src="http://www.site.com/banners.gif" alt="Website" /></a>

active, do what the instructions say in the text file within the zip. Make the code changes and then upload ads.php then run the sql query at the top to create the table.

Parker Clack 05-29-2002 08:24 PM

PPN:

Sorry. I meant January 1, 2002. If I delete the ad and reenter it at say 2200 then at 0001 it gets reset back to January 1, 2002.

Sorry if I wasn't clear before.

Parker

active 05-29-2002 09:06 PM

sorry to be a pain but were do i run the sql?

Stealthy 05-29-2002 10:50 PM

Thanks PPN, I will give it a try.

Also, I am getting the same problem as Parker. When I save the advert, I save it as 30 June 2002 but when I go back in to modify, it is set to 1 January 2002. Maybe this is why I cannot get the banner to show up as it is expired??

Scott MacVicar 05-29-2002 11:24 PM

What version of php are you running Parker? Its now 01:21 and its running fine on my local board which is php 4.2.1. Also what mysql version are you running?

Floris 05-30-2002 01:00 PM

I had a problem, you meantioned to upgrade, I did, and problem disappeared, I could move threads again. But now I can't use this hack. The adverts won't show up.

Floris 05-30-2002 01:03 PM

Ah, I see now.
It does say 2002 in my hear, but resets the dates to jan 1st, 2002. If i change them, then goto 'edit' it still says '1 jan 2002'. So that is why they wont' show up.

Scott MacVicar 05-30-2002 02:24 PM

Ok i obviously have a date problem I cant find on linux i'll play with it tonight after work.


All times are GMT. The time now is 06:58 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.01354 seconds
  • Memory Usage 1,732KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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