vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Board Optimization - Add Banner & The Banner in Navbara Times are changing (https://vborg.vbsupport.ru/showthread.php?t=243030)

SİMAR 05-20-2010 10:00 PM

Add Banner & The Banner in Navbara Times are changing
 
1 Attachment(s)
Add Banner & The Banner in Navbara Times are changing

Add Banner & The Banner in Navbara Times are changing

INSTALLATION:

Open navbar templatesini

Call the following code

Code:

<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>

</if> </td>

add this code under the banner image url url redirection URLs and URLs where necessary, enter by yourself
Code:

<!-- Logo VbulletinCenter.Com --> <td class="alt2">





<SCRIPT LANGUAGE="Javascript"><!--


function banner() {

};

banner = new banner();
number = 0;

// bannerArray
banner[number++] = "<a href='REDIRECT_URL' target='_blank'><img src='Logo_URL' border='1'></a>"
banner[number++] = "<a href='REDIRECT_URL' target='_blank'><img src='Logo_URL' border='1'></a>"
banner[number++] = "<a href='REDIRECT_URL' target='_blank'><img src='Logo_URL' border='1'></a>"
banner[number++] = "<a href='REDIRECT_URL' target='_blank'><img src='Logo_URL' border='1'></a>"

increment = Math.floor(Math.random() * number);
document.write(banner[increment]);
//--></SCRIPT>
</td>
<!-- Logo VbulletinCenter.Com -->

Call the following code,
Code:

<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
Replace with the following
Code:

<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" accesskey="p" tabindex="102" /></td>
Was added in the code;


'BANNER_URL' quotes in the URL to the banner image url

'REDIRECT_URL' quotes in the direction to be clicked on to address


Do not forget to enter the information above

:up:

scottct1 05-21-2010 12:16 PM

What does this do?

doraj 05-21-2010 08:05 PM

Hello, interesting, could you make another version compatible also with vB 4?

Thank you

SİMAR 05-22-2010 12:46 AM

Quote:

Originally Posted by funmasti (Post 2041256)
nice info about banner

Quote:

Originally Posted by scottct1 (Post 2041305)
What does this do?

Quote:

Originally Posted by doraj (Post 2041598)
Hello, interesting, could you make another version compatible also with vB 4?

Thank you


Know your site is available an additional s kasmicak different logo banner exchange system thanks Friends:up:

vBMerkezi 06-10-2012 04:14 PM

thank you. :)


All times are GMT. The time now is 06:30 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.01129 seconds
  • Memory Usage 1,724KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete