vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Miscellaneous Hacks - Additional side navbar (https://vborg.vbsupport.ru/showthread.php?t=173677)

attroll 03-20-2008 10:00 PM

Additional side navbar
 
I am using this post for a test writeup for a modification I am creating on another site.

Despite what category this is in it works with vBulletin 3.0 up to the most recent version of 3.7.
What this does is create another navbar bar as a left column ny inserting $navbar3 in your navbar template.
With very little modifications you can add to, remove or move items around in this additional navbar.

To install the this
1. Download the zipped file.
2. Unzip the file.
3. Import the product-navbar3.xml into your Plugins & Products Manage Plugins.
4. In the footer template find:
PHP Code:

$spacer_close
<!-- /content area table --> 

Below that add;
PHP Code:

<!-- leftside column -->
</
td>
</
tr>
</
table>
<!-- / 
leftside column --> 

5. In the navbar template find:
PHP Code:

<!-- / PAGENAV POPUP -->
</if> 

Below that add:
PHP Code:

$navbar3 

6. Upload the following file into your forum/images/misc/ directory
navbits_dash.gif
7. go into you Admincp and edit the template navbar3 to include the link you want to include in it.

Using this with CMPS
This xml file will work only on CMPS 3.0.0 it will not work on any of the previous RC versions.

If you would like to include this navbar3 on the front page of your CMPS you can import the following file "cmps_navbar3" through your Admincp--> vBa CMPS--> Download/Upload Module.

In adminCP - vBA CMPS Settings - Main Settings - Portal Output Global Variables type navbar3

You'll need to disable the original Navigation mudule or you're gonna have two of them on the page.

Thanks go out to Leo Brazil for creating the CMPS module.

logicuk 03-21-2008 07:38 AM

i get this error while trying to import the xml on vb 3.7 b5

XML Error: XML_WAR_UNKNOWN_VERSION at Line 119

Barakat 03-21-2008 11:52 AM

yes >>>>

its just a space in the

Code:

version="3.6.0"><![CDATA[
<if condition="THIS_SCRIPT ==

wish the coder can fix it in his product

and need to change the version numbers ...

attroll 03-21-2008 03:35 PM

Quote:

Originally Posted by Barakat (Post 1470672)
yes >>>>

its just a space in the

Code:

version="3.6.0"><![CDATA[
<if condition="THIS_SCRIPT ==

wish the coder can fix it in his product

and need to change the version numbers ...

Thank you for pointing that out and fixing it. I have updated the zip file to include that in the first post.

logicuk 03-21-2008 05:46 PM

i installed this it looks fine on my forum home

but when i view a thread the layout is all messed up

attroll 03-21-2008 06:13 PM

Quote:

Originally Posted by logicuk (Post 1470919)
i installed this it looks fine on my forum home

but when i view a thread the layout is all messed up

What do you mean. I looked at you side and it seems to be working fine for me. What is going wrong with it in the read thread?

Are you just trying to get people to look at your porn site?

logicuk 03-21-2008 06:41 PM

dude i run more than one forum

attroll 03-21-2008 06:52 PM

Quote:

Originally Posted by logicuk (Post 1470963)
dude i run more than one forum

Could you send me the link to the forum you are referring to or explain what is happening.

ssandgirls 03-24-2008 04:22 AM

Hello, I am looking for a side bar that can be turned off....... I have members who like to use a sidebar, and ones that prefer none.
Is there a way this can be turned on and off?

Many thanks

attroll 03-24-2008 01:15 PM

Quote:

Originally Posted by ssandgirls (Post 1473029)
Hello, I am looking for a side bar that can be turned off....... I have members who like to use a sidebar, and ones that prefer none.
Is there a way this can be turned on and off?

Many thanks

Question.

If you turn it off then how are the members going to know how to get to the links since they will not be able to see the navbar?


All times are GMT. The time now is 03:18 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.01129 seconds
  • Memory Usage 1,747KB
  • 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_code_printable
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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