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 - vBH-Add new tabs (https://vborg.vbsupport.ru/showthread.php?t=228507)

Longjohn 03-28-2010 01:35 AM

Ok, heres how to remove the link at the bottom.

Go into Plugin Manager and look for Disable Tabs which is found under "Product: vBH - Add new tabs 1.2", select Edit, in the "Plugin PHP Code" box, scroll down and remove the following lines of code.

Code:

//copyright start here
if(!defined('VBH_CPR')) {
        $key = strpos($vbphrase['powered_by_vbulletin'], "vbhispano.com");
        if($key === false){
                $vbhcpr = '<br />Extra Tabs by <a href="http://www.vbhispano.com" title="Soporte vBulletin en Espa?ol">vBulletin Hispano</a>';
                define('VBH_CPR', $vbhcpr);
                $vbphrase['powered_by_vbulletin'] .= VBH_CPR;
        }
}


Longjohn 03-28-2010 01:53 AM

I also want this link removed, does anyone know how to remove it?

Samhayne-MMS 03-28-2010 09:54 PM

Quote:

Originally Posted by Rob F (Post 1990528)
I have it highlighting fine for the arcade, but when I try link to an internal page (like an article) then I can't get it to highlight as it has the same THIS_SCRIPT name as the home button.

Hi gang,

I'm also trying to use this mod to have a top nav button link to an article. I can't get it to highlight as I'm not sure what the THIS_SCRIPT value would be.

You can see what I mean by going to our site, www.spacetimestudios.com and clicking on the "Classified" link. Any thoughts or suggestions would be great, thanks!

cp4 03-30-2010 03:42 AM

Thanks Longjohn. Im all for giving credit and everything & Im grateful for the mod, but the footer thing was just way too much. How about something a little more subtle.

lazerguy_82 03-30-2010 04:42 PM

Yup, great mod!
I do have a question though. I see you can remove the 'what's new' tab. How can I either move the 'forum' tab or remove it and then recreate it (so that I can place it in a different order).
http://www.ww2incolor.com/forum/index.php (still working on the header...so ignore that)

S4RFamily 03-31-2010 09:41 AM

Greatest mod ever seen. The "What's New?" tab is hidden in "Home" tab but when go to the "Forum" tab is show again.

sean.lxsm 04-02-2010 08:22 AM

sorry for this question, as i am quite new to setting up a forum. i would like to find out, where do i put this file ??? as i've tried includes/xml but i can find it in my cp ...
Thanks

NashChristian 04-03-2010 05:41 AM

Nice Mod Elmer! Thanks for sharing!

I just recently ran into a problem, when trying to use this in conjunction with a picture and gallery mod here. The problem is in maintaining the "active" button state, for more than one file name.

In this case, I need the "Album" button to show active while the albumall.php, picall.php, and album.php are active. Since all three page types are under the parent Album category.

Is there a way to do this? Or can your product easily be modified to do this?

Thanks again for a GREAT mod!
:D Jeff

NashChristian 04-04-2010 07:20 PM

Nevermind Elmer. I uninstalled your mod and coded the extra tabs myself, creating plugins as Lynne describes how to do here. It was really very EASY, and allowed me to use multiple conditions.

I appreciate your mod though, it made it easier to create tabs for single condition circumstances, at least at first.

On a side note:
Quote:

I really wish that programmers wouldn't demand visible copyright "credits" and a link on every single page of your site, simply for contributing relatively minor mods such as a navtab mod. I believe that really should be reserved for more significant contributions. That bothered me about your mod from the beginning. Anyhow, that's just my opinion.
Thanks for sharing!

Verionia 04-05-2010 03:13 PM

How do you add links under the tab in the blue part next to New posts, Private messages, etc?


All times are GMT. The time now is 06:23 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.01725 seconds
  • Memory Usage 1,742KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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