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)

bandersen 07-17-2002 04:34 PM

It works like a charm now!

I have a request...can you make an addon: If in Admin panel one could type that memberid "1,2,3,..." will not count against views/hits.

thank you!

Parker Clack 07-17-2002 06:14 PM

Karate Kid:

Nice work. I was just wondering if you thought of adding a variable such as groupid. You could add this row to the table and add a Group ID to your banners. If they fall into the same group then you could have a random command pick first one banner then the others that are in that group. Then if it doesn't have a groupid then you just display that banner.

So let's say you have 3 banners that you want to rotate within the same place on your web page and they would all have the same groupid. If there is no groupid associated with the inserted code into your web page then it is the sole banner that gets displayed.

Clear as mud? :)

Ideas?

Thanks,
Parker

KarateKid 07-17-2002 07:41 PM

@bandersen: If I have the time at weekend, I'll try to implement this. It will be easy ;)


@Parker Clack: I could do this. It would be no problem. But then I would make a features, which PPN still allows with his ads hack and I don't want to copy an idea, so just take his hack in combination with this one :)

Greetings

Parker Clack 07-18-2002 01:25 AM

KarateKid:

The idea may be the same but the implementation of it would be different.

As I stated this would add a groupid to the banner table. Then you would do a check in your click.php and view.php files to see if they are in the same groupid or not and if they are then post them in the same place in a random fashion. It the bannerid does not share a groupid with any other banner then it would be the only thing displayed.

I would do this myself but I am not sure how to write the code.

Thanks,
Parker

cturcich 07-18-2002 04:41 AM

This is a very nice mod. Thanks!

Tubbie 07-20-2002 06:44 PM

sch?ner hack!
gef?llt mir!

da ich ja weiss wer du bist bin ich mal so frei und schreibe deutsch:D

ModshackUK 07-20-2002 08:55 PM

When I try to delete banners it goes to a 404 page not found screen ?

HM

ModshackUK 07-20-2002 08:56 PM

Also where do I insert the code to make the banners apear between catagories ?

HM

KarateKid 07-21-2002 07:52 AM

@ ModshackUK:

- hm deleting the banners isn't a problem on my board? Did you implement all parts of the code?
- for putting the banner between two categorys you've the possibility to create a new template with the value of the code or to put the code threre in where the categories are breaked :)

ModshackUK 07-21-2002 12:33 PM

Hi KK :)

I did the install to the letter and for some reason when I try to delete the banner it just goes to a page not found page ? I will go over it again step by step as its probably something I have or have not done :)

Also will the same banner be placed between each catagory or can I use different ones ?

Thanks for the help

HM


All times are GMT. The time now is 06:17 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.01197 seconds
  • Memory Usage 1,729KB
  • 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)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