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)

drdoc 08-12-2014 08:39 PM

@ coder y2ksw and others

Hi to everyone...anyone can answer my question if they know.

I have a flash banner with swf file script. How to insert swf in to Rotation banner system software which i have in my admin cp of 4.2.2. Or guide me how to run flash banners in rotation banner system

I was using static banners in rotation banner so far but how to insert swf file(flash banner). Please help...thanks to all

drdoc 08-13-2014 03:58 AM

Quote:

Originally Posted by y2ksw (Post 1610083)
It can handle anything you can express in HTML, e.g.

HTML Code:

<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="1024" HEIGHT="788" CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">
<PARAM NAME=movie VALUE="cvs01.swf">
<PARAM NAME=play VALUE=true>
<PARAM NAME=loop VALUE=false>
<PARAM NAME=quality VALUE=low>
<EMBED SRC="cvs01.swf" WIDTH=1024 HEIGHT=788 quality=low loop=false TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>

will load the cvs01.swf file at the banner placeholder when inserted in the Text field.

The above quote belongs to old post and I just followed like above example in order to insert my swf flash banner in Text Box but NOT successful.....it just shows empty white space in the place of banner.

what else i should do to be successful for inserting flash banner...my other banners are static in rotation...location is below navbar and it is (0-Horizontal) . Please help me. thx in advance

yaku 09-10-2014 05:17 AM

Not sure if anyone has had this problem come up, but some of my banners weren't showing up in Chrome. No problem with other browsers. Finally fixed it by changing the names of the files and getting rid of the underscore "_".

So a file named "banner_468" became "banner468". All works well, I believe.

dariyos 09-23-2014 01:40 PM

Hello,

got a DB Eorror:

Code:

Datenbankfehler in vBulletin 4.2.2:

Invalid SQL:
SELECT *
            FROM rbs_banners
            WHERE enabled=1
                AND likelihood>0
                AND startdate<=1411460197
                AND enddate>=1411460197
                AND IF(forumhome, 10=0, IF(forumids='', 1, FIND_IN_SET('10', forumids)))
                AND IF(maximpressions>0, impressions<maximpressions, 1)
                AND IF(clicktrack, maxclicks=0 OR (maxclicks>0 AND clicks<maxclicks), 1)
            ORDER BY -LOG(1-RAND()) / likelihood;

MySQL-Fehler  : MySQL server has gone away
Fehler-Nr.    : 2006
Fehler-Zeit  : Tuesday, 23.09.2014 @ 10:16:37
Datum        : Tuesday, 23.09.2014 @ 10:25:28
Skript        : http://www.sps-forum.de/simatic/72764-welche-eigenschaften-angeben-3.html
Referrer      : http://www.sps-forum.de/search.php?searchid=3658860


y2ksw 09-23-2014 02:47 PM

Quote:

Originally Posted by dariyos (Post 2516266)
Hello,

got a DB Eorror:

Code:

Datenbankfehler in vBulletin 4.2.2:

Invalid SQL:
SELECT *
            FROM rbs_banners
            WHERE enabled=1
                AND likelihood>0
                AND startdate<=1411460197
                AND enddate>=1411460197
                AND IF(forumhome, 10=0, IF(forumids='', 1, FIND_IN_SET('10', forumids)))
                AND IF(maximpressions>0, impressions<maximpressions, 1)
                AND IF(clicktrack, maxclicks=0 OR (maxclicks>0 AND clicks<maxclicks), 1)
            ORDER BY -LOG(1-RAND()) / likelihood;

MySQL-Fehler  : MySQL server has gone away
Fehler-Nr.    : 2006
Fehler-Zeit  : Tuesday, 23.09.2014 @ 10:16:37
Datum        : Tuesday, 23.09.2014 @ 10:25:28
Skript        : http://www.sps-forum.de/simatic/72764-welche-eigenschaften-angeben-3.html
Referrer      : http://www.sps-forum.de/search.php?searchid=3658860


Your database server has timed out before it returned the recordset to the calling process. This is a typical error for overloaded servers.

nicklfire 09-30-2014 02:09 AM

it would be absolutely amazing and save me so much time if there was a expiring date, or end date field on the banner list section. I have no idea when the banners expire unless i go in 1 by 1.. and with 25 banners that takes a while. Great product, really love it.ried

I tried to read the help file but it has no instructions for proper way to upgrade the version, i dont want to lose all the banners in there already.

Also the help file included revisions only goes up to like 2.3 or something, might need to update to 2.4.2

y2ksw 10-02-2014 10:00 AM

Quote:

Originally Posted by nicklfire (Post 2516992)
it would be absolutely amazing and save me so much time if there was a expiring date, or end date field on the banner list section. I have no idea when the banners expire unless i go in 1 by 1.. and with 25 banners that takes a while. Great product, really love it.ried

I tried to read the help file but it has no instructions for proper way to upgrade the version, i dont want to lose all the banners in there already.

Also the help file included revisions only goes up to like 2.3 or something, might need to update to 2.4.2

I've put this in the Todo list, but I'm not sure there is enough space for the whole date. Eventually I could add a column with days to go.

rhody401 10-02-2014 01:44 PM

I would like to thank you for making such a great plugin. It is rock solid reliable and serves a great purpose on my forum.

Thank you thank you thank you! :)

y2ksw 10-03-2014 08:21 AM

You are welcome :)

webmaster74 10-11-2014 09:56 PM

Quote:

Originally Posted by MaR? (Post 1776353)
Well... I did it!... here you are this mod xhtml validated!... I only change the xml file.

Grazzie Mille Giovanni for the great help you provide.

As placing a no follow before the banners is not an option within the vbulletin mod, I tried to follow up the example given by Maru up here and place the nofollow tag manually to the XML file and reupload it and, allow overwrite on import product.

YET, when I check the file provided by Maru, it only has two occurences of nofollow, on lines 279 and 284, as here below

Code:

                $output = substr($output, 0, $npos) . "<a href=\"$bburl/rbs_banner.php?id=$rs[id]\" rel=\"nofollow\" target=\"$rbs_target\"><img src=\"$image\" border=\"0\" alt=\"$name\" /></a>" . substr($output, $npos + $len);
            }
            else
            {
                $url = rbs_url_sanity($rs['url']);
                $output = substr($output, 0, $npos) . "<a href=\"$url\" rel=\"nofollow\" target=\"$rbs_target\"><img src=\"$image\" border=\"0\" alt=\"$name\" /></a>" . substr($output, $npos + $len);

I searched the most up to date version of rbs for any nofollow, and could not find them. This means you did not adopt the nofollow hardcoded

While this is good, the option is still not there.

I would like to place nofollow before links, where should I do that in the last rbs?


All times are GMT. The time now is 07:37 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.05388 seconds
  • Memory Usage 1,758KB
  • 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
  • (1)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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