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)

voglermc 06-03-2010 10:35 AM

I don't like this at the bottom of the ACP. Can it be moved higher?

y2ksw 06-03-2010 03:23 PM

Quote:

Originally Posted by voglermc (Post 2047553)
I don't like this at the bottom of the ACP. Can it be moved higher?

You may change the includes/xml/cpnav_rbs.xml accordingly:

<navgroup phrase="rbs_rotating_banner_system" permissions="canadminmaintain" hr="true" displayorder="9999">

voglermc 06-03-2010 03:38 PM

Thanks for the quick response! This mod rocks!

djbaxter 06-03-2010 03:48 PM

Quote:

Originally Posted by voglermc (Post 2047553)
I don't like this at the bottom of the ACP. Can it be moved higher?

Quote:

Originally Posted by y2ksw (Post 2047716)
You may change the includes/xml/cpnav_rbs.xml accordingly:

<navgroup phrase="rbs_rotating_banner_system" permissions="canadminmaintain" hr="true" displayorder="9999">

Cool. :)

Changing that line to:

Code:

<navgroup phrase="rbs_rotating_banner_system" permissions="canadminmaintain" hr="true" displayorder="19">
places it right under "Advertising" (vBulletin 4.03).

voglermc 06-03-2010 03:56 PM

I'm getting "Invalid File Specified" error when trying to overwrite a install

voglermc 06-03-2010 04:02 PM

It was the xml file I needed to ftp, fixed now. Thanks

Globus 06-05-2010 04:27 AM

Great! Thank you very much! Install and got it running in 60 minutes!
May i suggest possibility to develop code that will be allow to place banners on external sites!?

Thanx

y2ksw 06-05-2010 01:57 PM

Quote:

Originally Posted by Globus (Post 2048625)
Great! Thank you very much! Install and got it running in 60 minutes!
May i suggest possibility to develop code that will be allow to place banners on external sites!?

Thanx

You may :)

I'm not sure if it is of great advantage to use the banner system on external sites, because of all of the overhead the forums generate. Basically it needs a dedicated script which accesses the forum database efficiently and extract the banner data. But even then, you would have to reproduce the plugin behaviour on the destination site, too.

Maybe it could be a standalone application, as it was in the very beginning, but it worked out to stay better inside the vbulletin shell, for a couple of reasons. Other software and sites would need completely different strategies, such as for example Joomla portals.

All I could positively think about, would be some way to comunicate banner settings across different vbulletin sites, because it could be reasonably easy to setup one site and propagate to all the others - provided they use the same logic. In this case however I see merely an add-on which allows to do this at regular intervals or at command.

pitzerwm 06-05-2010 06:04 PM

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

Quote:

<?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:

Quote:

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

y2ksw 06-05-2010 07:52 PM

Oh I forgot about this :)


All times are GMT. The time now is 09:01 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.04394 seconds
  • Memory Usage 1,745KB
  • 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)bbcode_code_printable
  • (6)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