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)

pitzerwm 11-18-2010 09:48 PM

Y2, as usual you openned a can of worms with the new update:)

Do you think that if I update, that it will create any issues with my HTML pages?

Code:

Y2, remember you created this code for me and I have it running on a number of "non-forum" sites.


<?php
error_reporting(E_ALL & ~E_NOTICE);
define('SKIP_SESSIONCREATE', 1);
define('NOCOOKIES', 1);
define('THIS_SCRIPT', 'rbs_blank');
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array();
$actiontemplates = array();
require_once('./global.php');
$html = '<html>
<head>
<title>Rotating Banner System</title>
</head>
<style type=\"text/css\">

<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>

<body>
<!--@vbbanners:0@-->
</body>
</html>';
eval('print_output("' . $html . '");');
?>
Calling it with:


<iframe src="http://98.131.36.111/rbs_html.php" width="600" height="80" scrolling="no" marginheight="0" marginwidth="0" ></iframe>


MmS1 11-18-2010 10:29 PM

i know why it didn't work
it's work only with visitor and member not admins
if i put a images banner not working but if put text it work but only visitor and member will see that not me

megroup 11-18-2010 10:55 PM

Hello,

Unfortunately, In the new version still several bugs that required to be fixed:

I have VB 3.8.2 and here is what happens.

1. When you save banner settings. Expire date and time jumps forward 20 hours or so. That means you cannot set accurate banner expire date and time.

2. When all required settings for flash banner are enabled, embedded link that included within swf banner code does not work. meaning visitors cannot get to advertisers websites by clicking on banner.

y2ksw 11-19-2010 09:00 AM

Quote:

Originally Posted by hohleweg (Post 2123304)
Hi
Can i set ALL impressions to 0?
Greetings Jo

You mean you want to reset the impressions on all existing banners?

Query:
Code:

UPDATE rbs_banners SET impressions=0

y2ksw 11-19-2010 09:16 AM

Quote:

Originally Posted by megroup (Post 2123336)
Hello,

Unfortunately, In the new version still several bugs that required to be fixed:

I have VB 3.8.2 and here is what happens.

1. When you save banner settings. Expire date and time jumps forward 20 hours or so. That means you cannot set accurate banner expire date and time.

2. When all required settings for flash banner are enabled, embedded link that included within swf banner code does not work. meaning visitors cannot get to advertisers websites by clicking on banner.

1. I can't and I won't fix problems with board and/or server settings. If your time jumps, your DST setting or your server date/time settings, or both, are not setup properly. I can remember I have had similar problems in the past until I worked out how to correctly setup the board date/time features and DST, and of course, syncronized the server time with NTP to a reliable time server (e.g. pool.ntp.org). A lot of servers on the web aren't syncronized and run out of any plausible time space over their life time, but you can require from your hosting provider to keep the time within a certain range.
2. The Flash wrapper works as designed. It was designed to override internal flash links in order to allow click tracking and overriding erroneous, missing or tampered embedded links. Thus, you will have to specify also a landing page (URL), else it will not go anywhere. If you want to use your banner as-is, you don't need the wrapper. In this case, paste the banner code into the Text field and leave all other fields empty (unmodified). As easy as that. However click tracking would not work, unless the embedded link calls the script rbs_banner.php?id=N, where N is the ID of the banner you wish to track. In this case, you will have to setup a landing page, too.

y2ksw 11-19-2010 09:27 AM

1 Attachment(s)
Quote:

Originally Posted by MmS1 (Post 2123331)
i know why it didn't work
it's work only with visitor and member not admins
if i put a images banner not working but if put text it work but only visitor and member will see that not me

That seems to be impossible ... have you specified user groups in the Usergroups field? If yes, delete them all. The visitor user group has the ID 1.

I attach here a typical banner setting.

If you are still testing, I suggest to reinstall the product in order to get the default settings back, and be sure the predefinded banners work as designed. I'm really unhappy with a situation I can't see and have to guess what's wrong.

y2ksw 11-19-2010 09:31 AM

Quote:

Originally Posted by pitzerwm (Post 2123325)
Y2, as usual you openned a can of worms with the new update:)

Do you think that if I update, that it will create any issues with my HTML pages?

Code:

Y2, remember you created this code for me and I have it running on a number of "non-forum" sites.


<?php
error_reporting(E_ALL & ~E_NOTICE);
define('SKIP_SESSIONCREATE', 1);
define('NOCOOKIES', 1);
define('THIS_SCRIPT', 'rbs_blank');
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array();
$actiontemplates = array();
require_once('./global.php');
$html = '<html>
<head>
<title>Rotating Banner System</title>
</head>
<style type=\"text/css\">

<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>

<body>
<!--@vbbanners:0@-->
</body>
</html>';
eval('print_output("' . $html . '");');
?>
Calling it with:


<iframe src="http://98.131.36.111/rbs_html.php" width="600" height="80" scrolling="no" marginheight="0" marginwidth="0" ></iframe>


This code should continue to work flawlessly. Essentially, the changes are to support banner statistics and record additional information on a banner click.

kellogs 11-19-2010 11:27 AM

I have installed it and it works very well except on flash banner.

The flash banner flicker

Any idea?

pitzerwm 11-19-2010 06:09 PM

Thanks, This mod, enables me to make a lot of money with my website. Todate, all issues were my screwups.

y2ksw 11-20-2010 07:21 AM

Quote:

Originally Posted by kellogs (Post 2123504)
I have installed it and it works very well except on flash banner.

The flash banner flicker

Any idea?

Could you please send me (PM) the link to your flash banner? Thanks.


All times are GMT. The time now is 10:50 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.03446 seconds
  • Memory Usage 1,756KB
  • 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
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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