vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Rotating Banner System (https://vborg.vbsupport.ru/showthread.php?t=188328)

zackw 04-05-2012 04:54 PM

Quote:

Originally Posted by semprot (Post 2317034)
Open the XML file.. Look at the 351st line (v2.3.4) there is a line looks like this
PHP Code:

$url $bburl '/rbs_banner.php?id=' $rs['id'] . '&userid=' $rbs_userid

Change it to
PHP Code:

$url $bburl '/rbs_banner.php?id=' $rs['id'] . '&userid=' $rbs_userid

And i believe last step is reupload the XML file.

Yes that's what I was looking for! I had searched in all the included files but never looked in the xml itself. I hope this is the only location in code where the URLs are formed or I may have to make this change elsewhere.

Now the developer needs to add this to the source too.

Thanks!

xtragic 04-07-2012 10:56 PM

That video tutorial is horrible. Can someone just make a Youtube vid (with audio) tut for us that are visual?

Also, does this work for 4.1.10/11?

vantastic 04-08-2012 12:00 AM

Quote:

Originally Posted by xtragic (Post 2317855)
Also, does this work for 4.1.10/11?

Yep It works on 4.1.11

webmaster74 04-08-2012 02:45 AM

grazzie mille y2ksw!

the mod is just great. I installed it and everybody on my site will love it surely.

I only regret that I can't use specific paramteres with the links, such as rel=nofollow

ciao!

metalguy639 04-09-2012 08:56 PM

Quote:

Originally Posted by y2ksw (Post 2196769)
You may use the flash wrapper (yes, it loads most images, too) and define a size (both).

Hi what do you mean by this? I want to resize some banners but none of the banners I'm using are flash based. I tried putting the values into the flash banner sizes and nothing happened.

addamroy 04-15-2012 05:47 AM

Awesome I've been using this, so far so good.

Can i ask a question though?

Is there anyway you can make this addon track clicks even if we don't use an image?

I'd assume if we use an image and a link url, the system will generate a unique link for the ad, that when clicked will add a click to the counter. Is there any way you can have the add-on display this link for us on the manage banner screen so we can put this link into the ad text manually?

The reason I say this is because I use this addon to display text ads, and not banners, but would still be able to track clicks on these ads as well, I believe generating the unique URL for us without requiring an image would be awesome.

Paul. 04-15-2012 01:24 PM

Apparently, this add on has closed my forum.

''This service is unavailable''.
I will remove all the uploaded stuff and hopefully it sorts it?
I can not get on the forum to remove or disable the add on.

Quote:


nvalid SQL:
SELECT *
FROM rbs_banners
WHERE enabled=1
AND startdate<=1334402508
AND enddate>=1334402508
AND IF(forumhome, 0=0, IF(forumids='', 1, FIND_IN_SET('0', forumids)))
AND IF(maximpressions>0, impressions<maximpressions, 1)
AND IF(clicktrack, maxclicks=0 OR (maxclicks>0 AND clicks<maxclicks), 1);

MySQL Error : Table '321forumdb.rbs_banners' doesn't exist
Error Number : 1146
Request Date : Saturday, April 14th 2012 @ 06:21:48 AM
Error Date : Saturday, April 14th 2012 @ 06:21:49 AM
Script : http://www.EDITED.com/forum/blog.php...rro&m=8&y=1989
Referrer :
IP Address : ed.it.ed.it
Username : Unregistered
Classname : vB_Database
MySQL Version :

addamroy 04-15-2012 02:15 PM

Quote:

Originally Posted by Paul. (Post 2320324)
Apparently, this add on has closed my forum.

''This service is unavailable''.
I will remove all the uploaded stuff and hopefully it sorts it?
I can not get on the forum to remove or disable the add on.

That's why they say you should backup your database and files prior to installing new modifications :) Just sayin...

Delete the files you uploaded via FTP and delete the tables from your database created by the addon, that's a start.

addamroy 04-15-2012 03:00 PM

I just noticed that the click tracking URL for image banners is not randomized at all.

A user could essentially take this url, and keep refreshing it in their browser over and over to simulate clicks on someone's ad.

If the URL was randomized before it's loaded, you could eliminate this and could cover up the banner id and user id from the URL.

Is this possible?

Videx 04-15-2012 03:40 PM

Quote:

Originally Posted by Paul. (Post 2320324)
Apparently, this add on has closed my forum.

''This service is unavailable''.
I will remove all the uploaded stuff and hopefully it sorts it?
I can not get on the forum to remove or disable the add on.

Even if some terrible error is preventing the forum from loading, you should still be able to get to the Admin Control Panel as it doesn't display banners.
http://myforum.com/forum/admincp/index.php


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