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)
-   -   VB Banner Control 1.2 (https://vborg.vbsupport.ru/showthread.php?t=41154)

Parker Clack 10-27-2002 01:00 PM

KK:

I found an error in the doreset subroutine.

You have

$DB_site->query("UPDATE banner SET views=0 AND guestclicks=0 AND userclicks=0 WHERE id='$bannerid'");

this only resets the views to 0 and the others do not get reset.

I changed this to:

$DB_site->query("UPDATE banner SET views=0,guestclicks=0,userclicks=0 WHERE id='$bannerid'");

and all get reset to zero as they should.

Thanks,
Parker

KarateKid 10-27-2002 02:23 PM

thank you for this information,

maybe I'll rebuild this hack and present it with all fixed bugs in some days :)

Regards.

Parker Clack 10-27-2002 02:28 PM

KK:

You are welcome. I would like to see this rewritten with all the bug fixes included. If you could make it so the banners can be put in a rotation and add groupids so you can group banners together by groupid. So if you have a banner with groupid=home then any banner with a groupid of home would get displayed in that group.

Parker

scottct1 11-15-2002 12:57 PM

I have installed this hack and it works good.

I wanted to rotate my ads so I installed the rotate code to my global.php

When I do this I have a problem. Different ads display but when a user clicks on them they are always taken to the highest number ad in the database.

Lets says I have 6 ads in my database, I click on http://www.dbstalk.com/click.php?bannerid=2 which should take me to site #2 instead it takes me to site #6.

If I remove the stuff from global.php and try going to http://www.dbstalk.com/click.php?bannerid=2 it takes me to site 2.

Anyone have any ideas?

rharbison 11-24-2002 08:21 PM

This is a really nice hack and easy to install.

I like the tracking features and how easy it is to use.

Please consider adding the ability to rotate ads, that would be very useful to me!

rharbison 11-24-2002 08:56 PM

I just tried to install the rotation hack, but hit a roadblock here:

> Open /global.php
> Find:
> if ($getforum['styleoverride']==1 or
> $bbuserinfo['styleid']<2) { $codestyleid=

I can't find that anywhere in my global.php file.

Is this something another hack added? I'm using 2.2.8 and the original global.php file.

Dean C 11-28-2002 07:53 AM

Ok on my forums i have set the banner width to the size i want it but when i insert the getlinkcode or whatever its called it and the image shows up as a 60 X 10 pixel image?

Any ideas :(

- miSt

KarateKid 11-28-2002 08:02 AM

hm, I don't have this problem noticed anywhere.

Can you tell me the link to your forum?

Dean C 11-28-2002 10:02 AM

I'll PM it to you :)

*You have mail*

- miSt

arracing 01-04-2003 06:04 PM

waiting patiently for the new version with all the bugs fixed and rotation added. Is their a timeframe for when this might be finished? :cross-eyed:


All times are GMT. The time now is 02:02 PM.

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.01318 seconds
  • Memory Usage 1,734KB
  • 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)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