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)
-   -   Banners & Ads System (https://vborg.vbsupport.ru/showthread.php?t=74621)

2k99 04-19-2005 01:12 PM

Quote:

Originally Posted by Starsurfer
Is it possible for me to add a javascript randomiser in there? Please tell me, the code I have is:
<script language="JavaScript" src="http://impgb.tradedoubler.com/imp/pool/js/63240/1069018" charset="ISO-8859-1"></script>

same question..

is it possible to manage banners with javascript somehow ?

TheAllusionist 04-23-2005 06:10 AM

Sorry for the newbie question, it looks like the 'Master Switch" was describing doing a query and adding the exact text into the query box and running it. Just moved over from phpBB and there is a lot to learn here.

Ignore post below

Is there a little more explicit install documment anywhere, I added the database and hope the settings are correct. However, I am assuming that the 'Master Switch' is in the language global settings? Is this correct, I am new to vBulletin and I don't just like changing code if I am not certain of where it goes, do I just create a new phrase in the global language phrases.

The final phases of phrases I will try to figure out when I get there, but I didn't want to add to the language phrases and have that not be the 'master switch' described in the install. Sorry if this is a boring newbie question, I did do a search to try and find an answer.

Best regards,

Russell Thomas

P.S. this looks like a great MOD and I have some sponsors waiting in the wings to sponsor a contest and it would be cool to have banners for them.

cschuck3 04-28-2005 01:28 AM

Is that any way to get an addon that will count the hits? and email a report to the vendors? great hack and keep up the good work!!

Craigr 04-29-2005 05:34 PM

Here's a hit tracker i created in about 5 minutes. :) Seems to work fine.

Hits are shown when you view the ad list in the admin-cp.

we_scooter 04-30-2005 04:17 PM

can u add txt feature to this.
I mean so I can put a txt ad ( no pic no flash) just normal txt???)

xony 05-08-2005 02:42 AM

Thanks for your work, are very good. I have made some changes, for my taste, for example the one to add two or three banners, but I have a problem, and is that sometimes they repeat banners, like podria solucionarlo. thanks.

oldfan 05-08-2005 02:50 AM

Quote:

Originally Posted by Craigr
Here's a hit tracker i created in about 5 minutes. :) Seems to work fine.

Hits are shown when you view the ad list in the admin-cp.

this is tested and works?

Craigr 05-08-2005 01:36 PM

Quote:

Originally Posted by oldfan
this is tested and works?

Tested locally and worked okay.

Monica05 05-10-2005 09:34 AM

I'm having the same problem another poster a few pages ago was having. (Laura I think)

I've got it installed, got the banners in properly and enabled, all that good stuff, but they aren't showing up ANYWHERE.

I've done the update as well.

This looks like a wonderful hack and perfect for my needs, if I can get it to show up. Thanks so much for the help.

nmu98 05-12-2005 02:42 PM

Can someone fill me in on step 2
2. Master switch
==================================
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'setting_enbanners_title', 'Enable Banners & Ads System', 5000);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'setting_enbanners_desc', 'If this option set to Yes, overal show banners and ads on navbar function will be turned on.', 5000);

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('enbanners', 'general', '1', '1', 'yesno', '1000', '0', '0');
=================================

Where do I find this? VB3.07

Craigr 05-12-2005 05:51 PM

Quote:

Originally Posted by nmu98
Can someone fill me in on step 2
2. Master switch
==================================
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'setting_enbanners_title', 'Enable Banners & Ads System', 5000);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'setting_enbanners_desc', 'If this option set to Yes, overal show banners and ads on navbar function will be turned on.', 5000);

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('enbanners', 'general', '1', '1', 'yesno', '1000', '0', '0');
=================================

Where do I find this? VB3.07

You insert in into phpmyadmin or similar. :)

jurrie 05-20-2005 11:45 PM

hey,

for those who have problems showing the banner on the forum homepage, I figured this out :
in my forum, it was properly showing on every forumpage ( userCP, FAQ, etc.)
but not on the forumhomepage.
what i did was ad the $banner here

from stylemanager :

choose : forum home templates ---> forumhome ( ad the $banner at the very bottom ) and voila . it works ( for me that is ) , try it out

see : http://www.designerschat.com

edyonline 05-25-2005 02:28 AM

Quote:

Originally Posted by Craigr
Tested locally and worked okay.

not really... if you have multiple banner it will update ALL banners

edit gotobanner.php

find:
$DB_site->query("UPDATE " . TABLE_PREFIX . "banners SET visits = visits+1");

change to:

$DB_site->query("UPDATE " . TABLE_PREFIX . "banners SET visits = visits+1 WHERE adid='$id'");

Monica05 05-26-2005 05:28 AM

I still can't get mine to show up ANYWHERE :(

Lt. Dan 05-27-2005 12:31 AM

Quote:

Originally Posted by Monica05
I still can't get mine to show up ANYWHERE :(

Me either. I did everything exactly per the instructions and the $banner doesn't show up anywhere. Its as if it is being ignored.

Lt. Dan 05-27-2005 06:34 AM

Guys, I think I found a glitch in the install.

The template that is created by following the instructions is titled: Banner with a capital 'B', but the code you insert to display the banners is $banner with a small 'b'.

I renamed the 'Banner' template to 'banner' and now it works!

oldfan 05-30-2005 02:47 PM

Worked like a charm, thanks :)
Is it possible to have a output page for the sponsers too see?

Quote:

Originally Posted by edyonline
not really... if you have multiple banner it will update ALL banners

edit gotobanner.php

find:
$DB_site->query("UPDATE " . TABLE_PREFIX . "banners SET visits = visits+1");

change to:

$DB_site->query("UPDATE " . TABLE_PREFIX . "banners SET visits = visits+1 WHERE adid='$id'");


treez 05-31-2005 11:17 PM

I made a thing for this that counts the views/clicks. Hope you dont mind. (email comments to rdillon@sprocket.co.nz beacuse I dont come here often)

Craigr 06-07-2005 01:35 PM

Quote:

Originally Posted by edyonline
not really... if you have multiple banner it will update ALL banners

edit gotobanner.php

find:
$DB_site->query("UPDATE " . TABLE_PREFIX . "banners SET visits = visits+1");

change to:

$DB_site->query("UPDATE " . TABLE_PREFIX . "banners SET visits = visits+1 WHERE adid='$id'");

Well spotted. :)

mkdevo 06-16-2005 04:38 PM

Quote:

Originally Posted by fuse3k
does this mod work with text ads? More specifically, does it work with Google AdSense?

anyone?

JsnakeJ 06-17-2005 11:12 PM

Nope it doesn't. At least it shouldn't.

uReside.com 06-18-2005 04:22 AM

can you pick the forum you want the ad to appear in?

RichieBoy67 08-12-2005 02:02 AM

I am having a hard time getting this to work on a portal page. I believe it is a path issue. I am sure it is an easy edit in the banners.php ....... Has anyone else run into this???

Thanks

karanlikdunya 08-12-2005 07:22 AM

this hack vBulletin 3.5.0 Release Candidate 2 workıng?

RichieBoy67 08-12-2005 11:55 PM

Quote:

Originally Posted by RichieBoy67
I am having a hard time getting this to work on a portal page. I believe it is a path issue. I am sure it is an easy edit in the banners.php ....... Has anyone else run into this???



Thanks


I believe my issue was caused by the click counter mod... if there is another counter available please pm me...

Thanks

jdingman 08-13-2005 05:30 PM

Is there any system out there that will let me do the following?:

I want to have an ad rotator by default for all registered users. If a user is in a certain group, lets say GOLD members, ads will not be displayed. Such as that so if a user subscribes to a premium membership, ads won't be displayed.

I want to use an ad rotated of my own, not within vBulletin (such as phpAdsNew)

Thank you!!

ben_erhan 08-14-2005 10:39 AM

Hey Friends,
I have instaled this hack correctly,
When I save the banner ı cant see any image or any swf file.
In my server there is not any gd version.In your opinion it is a reason.
Or what is the problem for this.Why can ı not see the banner in admin panel and in the forum.

fluentdesigns 09-08-2005 11:08 PM

Was wondering if there were plans for this to be ported to new version of vb?

leedzinh 09-10-2005 02:12 PM

don't work with vbb3.08 :(

AiForums 09-15-2005 03:06 AM

Works fine with vb3.0.8

cojo 09-15-2005 11:26 AM

I fellow the like above and it took me to the login page.

blackdream1971 10-01-2005 08:07 PM

i want to be able to put my banners up through the admin cp, is there a hack for vb version 3.0.6 that looks like the banner placement in the link below?

http://www.beyondmass.com/forums

blackdream1971 10-01-2005 08:24 PM

.......

HMBeaty 10-16-2005 03:18 AM

Hello, are you going to be porting this over to work for vB 3.5.0? If so, PLEASE let me know. This setup is EXACTLY what I'm looking for. And no, I don't like phpadsnew if anyone suggests it.

Khaine 11-08-2005 10:51 PM

I'll second that I'd like to see it ported for vB3.5.x as I detest phpadsnew

BETEP 11-27-2005 02:55 AM

Quote:

]Warning: main(): SAFE MODE Restriction in effect. The script whose uid is 507 is not allowed to access ./global.php owned by uid 48 in /home/apache/betep/admincp/banners.php on line 20

Warning: main(./global.php): failed to open stream: Success in /home/apache/betep/admincp/banners.php on line 20

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/share/pear') in /home/apache/betep/admincp/banners.php on line 20
Everytime I am trying acess "banner system manager" or "add new banner"

Anyone know why can It be?

bigmonay2k 12-01-2005 02:33 AM

will this work for 3.5.1??

b00k 12-01-2005 11:49 AM

Quote:

Originally Posted by Craigr
Here's a hit tracker i created in about 5 minutes. :) Seems to work fine.

Hits are shown when you view the ad list in the admin-cp.

though this click tracker does work, it stops counting at 127 hits for some reason. On both my forums, 1 with 6000 members and 1 with 800, when banners are hit a total of 127, they stop working.

any ideas what would cause this?

otherwise it is flawless and really a super feature.

oldfan 12-01-2005 11:41 PM

Quote:

Originally Posted by TSR
though this click tracker does work, it stops counting at 127 hits for some reason. On both my forums, 1 with 6000 members and 1 with 800, when banners are hit a total of 127, they stop working.

any ideas what would cause this?

otherwise it is flawless and really a super feature.

I was about to post the samething. All mine stop at 127 also :surprised:

b00k 12-02-2005 12:53 PM

and once they peak at 127, they just sit there.. it renders the hack useless actually, which is a real shame.
I hope someone can resolve this issue.


All times are GMT. The time now is 07:45 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.03485 seconds
  • Memory Usage 1,824KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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