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)
-   -   DHC Banner Ads - Upgrade [1.4] (https://vborg.vbsupport.ru/showthread.php?t=79738)

Blue Moose Aaron 05-28-2005 01:13 AM

My banner will display for a time and then I revisit my site and nothing is showing. So for some reason it is disableing itself..

Xenatino 05-30-2005 01:04 AM

Quote:

also, when I click a banner, its going to www.xxx.com/clickthru.php and NOT /forum/clickthru.php.

So if i move clickthru.php to root then i get error msgs that /.global.php cannot be found.
Download the file attached to this reply and replace the current /includes/functions_bannerads.php file.

It has a few bug fixes and should fix this clickthru.php error.

Protoman 05-30-2005 04:37 PM

Quote:

Originally Posted by Blue Moose Aaron
My banner will display for a time and then I revisit my site and nothing is showing. So for some reason it is disableing itself..

open clickthru.php and find:
PHP Code:

if ($Select['limit_type'] == "clicks" && ($Select[clicks]+1) >= $Select[limit_to]) 

replace with:
PHP Code:

if ($Select['limit_type'] == "clicks" && ($Select[clicks]+1) >= $Select[limit_num]) 

how it's currently setup it validates that you are limiting by clicks.. then looks for a nonexistant variable in the database.. returned 0.. and tada, 1 click, ad turns off.

dennisuello 06-07-2005 03:12 PM

i installed it and followed all the instrucation, now i get:

Database error in vBulletin 3.0.7:

Invalid SQL: SELECT displayads FROM usergroup WHERE usergroupid='6'
mysql error: Table 'reno4x4_vbulletin.usergroup' doesn't exist

mysql error number: 1146

The Realist 06-07-2005 03:19 PM

As the error states "Table 'reno4x4_vbulletin.usergroup' doesn't exist"

Create it

Quote:

Originally Posted by dennisuello
i installed it and followed all the instrucation, now i get:

Database error in vBulletin 3.0.7:

Invalid SQL: SELECT displayads FROM usergroup WHERE usergroupid='6'
mysql error: Table 'reno4x4_vbulletin.usergroup' doesn't exist

mysql error number: 1146


dennisuello 06-07-2005 03:21 PM

my forum worked just fine before this, now i get this error. doesn't this table exist already?

all my tables start with vb3, like vb3_usergroup.

how do i uninstall this hack?

The Realist 06-07-2005 03:30 PM

If you want to uninstall it you have 2 options.

1) Reinstall the backup of your forum you should do before installing hacks.
2) Follow the instructions in reverse and put the edits etc back as they were.



Quote:

Originally Posted by dennisuello
my forum worked just fine before this, now i get this error. doesn't this table exist already?

all my tables start with vb3, like vb3_usergroup.

how do i uninstall this hack?


dennisuello 06-07-2005 03:32 PM

Quote:

Originally Posted by The Realist
2) Follow the instructions in reverse and put the edits etc back as they were.


what about reversing changes made by "install_bannerads.php"

Big J 06-13-2005 04:01 PM

Hi,

I get the following error when I try to add a banner: Warning: Cannot modify header information - headers already sent by (output started at /home/extreme-/public_html/forums/includes/adminfunctions.php:223) in /admincp/dhcbannerads.php on line 337

im running vb3.0.7

please help.

MissKalunji 06-13-2005 04:05 PM

Quote:

Originally Posted by Big J
Hi,

I get the following error when I try to add a banner: Warning: Cannot modify header information - headers already sent by (output started at /home/extreme-/public_html/forums/includes/adminfunctions.php:223) in /admincp/dhcbannerads.php on line 337

im running vb3.0.7

please help.

it still saves up your settings......i have the same error 2....


All times are GMT. The time now is 04: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.01179 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)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