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)

ForceHSS 08-06-2011 08:21 AM

Quote:

Originally Posted by fwulfers (Post 2229297)
Does this fix the issue with tabs not showing selected? I added two tabs (Groups and Marketplace), added the THIS_SCRIPT values for the pages in AdminCP but both tabs don't show selected.

works on mine without a problem

chocolate angel 08-07-2011 03:12 PM

will this work on 4.1.5?

Drache 08-08-2011 09:54 AM

i tried on 4.15 pl1 doesn't seem to be working. anyone else tried on 4.15 pl1?

meditate 08-11-2011 04:43 AM

Quote:

Originally Posted by Drache (Post 2230830)
i tried on 4.15 pl1 doesn't seem to be working. anyone else tried on 4.15 pl1?

Same here causes blank pages since the update.:(

fwulfers 08-11-2011 01:24 PM

I am on 4.1.5 pl1 and is working fine.

Doc2911 08-13-2011 07:35 AM

it works fine on 4.1.5.

one of my user sad it runs fine one his forum 4.1.5PL1

John Lester 08-16-2011 07:46 AM

Using 4.1.4 pl 3 trying to add a log in button. Instead of actually going to the login page it just refreshes. Using the code below.

Code:

Log In | login.php?do=login => blank
I want it to open the same page that opens when you make a mistake logging in.

HolyKiller 08-17-2011 10:19 AM

Quote:

Originally Posted by Trevor Matthews (Post 2204261)
I installed this and like other tab mods it doesn't highlight the tab selected.

I want to add two new tabs. One called Discussions and the other Repair tips.

How do I do this and allow the tabs to be highlighted.
The two new tabs are just links to parts of the forum.
I understand the .php bit bit does a sub forum have a .php page to itself?

Same qustion. I would like to add 2 tabs to link sub-forums, so the link looks like

Code:

http://xxxxxxxxxx/forumdisplay.php/111-blabla
Any way how to make this TAB as "selected" when selected ?


EDIT: Ha! No MOD like this needed. It can be simply done via custom plugin!


Product: vBulletin
Hook Location: process_templates_complete
Title: <whatever you want>
Plugin PHP Code:
Code:

$tabselected = '';
$tablinks = '';
if ($GLOBALS['forumid'] == 222)
{
    $vbulletin->options['selectednavtab']='SOMETHING';
    $tabselected = ' class="selected"';
}
$template_hook['navtab_middle'] .= '<li'.$tabselected.'><a class="navtab" href="http://yoursite/forumdisplay.php/222-Blablabla">SOMETHING</a>'.$tablinks.'</li>' ;

Credits: Lynne & wowautoauctions

jschvili 08-19-2011 12:19 PM

I run the plugin on vB 4.1.5 Patch Level 1.

Everything work fine... except the "Disable Default Tabs" function. Even though I checked these tabs to be disable, there are still showing. How can I solve this?

I was so happy I finally found a pluging that did this job, but it seems like I have to keep on looking. :-(

odln018 08-19-2011 04:01 PM

Does this allow you to add sub-links?

John Lester 08-20-2011 10:28 PM

Quote:

Originally Posted by John Lester (Post 2234067)
Using 4.1.4 pl 3 trying to add a log in button. Instead of actually going to the login page it just refreshes. Using the code below.

Code:

Log In | login.php?do=login => blank
I want it to open the same page that opens when you make a mistake logging in.

Still can't get this to work right, I want to remove the login boxes in the upper right corner and have a login tab. But the tab just refreshes the page :confused:

ForceHSS 08-22-2011 02:13 AM

Quote:

Originally Posted by John Lester (Post 2234067)
Using 4.1.4 pl 3 trying to add a log in button. Instead of actually going to the login page it just refreshes. Using the code below.

Code:

Log In | login.php?do=login => blank
I want it to open the same page that opens when you make a mistake logging in.

goes into Add new tabs URL and Text box

Log In|http://www.yoururlname/forum/login.php?do=login

add login to Tabs Selected box

jschvili 08-22-2011 09:08 AM

Quote:

Originally Posted by jschvili (Post 2235328)
I run the plugin on vB 4.1.5 Patch Level 1.

Everything work fine... except the "Disable Default Tabs" function. Even though I checked these tabs to be disable, there are still showing. How can I solve this?

I was so happy I finally found a pluging that did this job, but it seems like I have to keep on looking. :-(

Does anyone else have this problem and any suggestion how to solve it!?

ForceHSS 08-22-2011 01:42 PM

Quote:

Originally Posted by jschvili (Post 2236491)
Does anyone else have this problem and any suggestion how to solve it!?

works for me, check to make sure you done it right
https://vborg.vbsupport.ru/showpost....&postcount=671
make sure you download the updated one

danicamps 08-22-2011 04:42 PM

Hello, I feel like I am missing something - when I go in to change the tabs through the settings option vBH New Tabs. It is not displaying the tabs in the NavBar. Even if I copy verbatim the example with vbulletin.org, etc - they are not showing up. Sorry if this is elementary, but any suggestion is appreciated.

** Nevermind - I had to step away to come back and see my VERY basic error.

John Lester 08-22-2011 11:06 PM

Force thanks for the reply, but it just refreshes the page.

ForceHSS 08-22-2011 11:38 PM

Quote:

Originally Posted by John Lester (Post 2236787)
Force thanks for the reply, but it just refreshes the page.

Quote:

Originally Posted by danicamps (Post 2236629)
Hello, I feel like I am missing something - when I go in to change the tabs through the settings option vBH New Tabs. It is not displaying the tabs in the NavBar. Even if I copy verbatim the example with vbulletin.org, etc - they are not showing up. Sorry if this is elementary, but any suggestion is appreciated.

** Nevermind - I had to step away to come back and see my VERY basic error.

if the both of you can pm me with your url

ForceHSS 08-23-2011 10:58 AM

1 Attachment(s)
fix for whats new tab added to script

Guthatron 08-23-2011 12:55 PM

I too downloaded the old one.
Thanks for that, can't you change the one in the section above?

ForceHSS 08-23-2011 02:13 PM

I cant edit other posts. I am a normal member just like you

John Lester 08-23-2011 10:31 PM

Uninstalled the older version, installed the newer version and still get a page refresh instead of the log in screen :D Oh well it's not important just something I thought of a few days ago.

ForceHSS 08-23-2011 10:38 PM

I have noticed you have problems on your site some white pages this could be the problem I know it is not this plugin as it works fine

John Lester 08-24-2011 12:12 AM

Quote:

Originally Posted by ForceHSS (Post 2237194)
I have noticed you have problems on your site some white pages this could be the problem I know it is not this plugin as it works fine

Which pages are white?

Yea it's not the plugin cuz I successfully added a chat button :D

ForceHSS 08-24-2011 02:03 PM

forum leaders shows a blank page

ForceHSS 08-24-2011 02:04 PM

Quote:

Originally Posted by John Lester (Post 2237211)
Which pages are white?

Yea it's not the plugin cuz I successfully added a chat button :D

so you got the program working

John Lester 08-25-2011 05:45 AM

Yea forum leaders was blank because I was trying to get a different usergroup to show up :D Yes I can make other tabs, it's just the login tab that doesn't want to behave.

ForceHSS 08-25-2011 11:10 AM

post a screenshot so i can see the way you have put the login path in the new tab program

setishock 08-25-2011 10:12 PM

Quote:

Originally Posted by ForceHSS (Post 2216096)
as this is no longer being supported done a small update will now support VB 4.x.x also some fixes to the coding

I had to back track a bunch of posts to find the link removal method. That indeed was most annoying.
Some little smart butt made the comment I hadn't update my mod version. I nabbed your file but before I install it what does it do better and does it have a link I need to kill?

John Lester 08-26-2011 05:38 AM

In the "tabs selected" box ... what/where is "THIS_SCRIPT" and where is it defined?

Quote:

Here you may add values for THIS_SCRIPT as defined in your custom pages or vbulletin files. Exaple:
For calendar.php you may add calendar as this is the value defined for THIS_SCRIPT in calendar.php file.

ionizedZero 08-31-2011 02:35 AM

thanks for the simple yet useful plugin . . . ^_^ --> installed

ForceHSS 08-31-2011 10:39 AM

Quote:

Originally Posted by ionizedZero (Post 2240258)
thanks for the simple yet useful plugin . . . ^_^ --> installed

https://vborg.vbsupport.ru/showpost....&postcount=698
did you install the new updated one

jmp51483 09-06-2011 01:41 AM

Quote:

Originally Posted by ForceHSS (Post 2240369)
https://vborg.vbsupport.ru/showpost....&postcount=698
did you install the new updated one


Definitely have this one installed! Thanks a ton...

Any plans to create subnav menu items in the future?

Papa Bear 09-18-2011 06:15 PM

works great on 4.1.5 thanks..

delta1001 09-21-2011 09:16 PM

How do I remove the branding - and much more important - how much will you charge me?

TeknoSounds 09-22-2011 01:27 AM

Quote:

Originally Posted by delta1001 (Post 2248760)
How do I remove the branding - and much more important - how much will you charge me?

mod not supported or maintained. Can remove yourself in the Plugins section, just edit the code of the plugin.

ForceHSS 09-22-2011 10:15 PM

edit the xml then over write plugin again

Baltar 10-09-2011 10:16 PM

I must apologize for being a complete idiot but I just cannot get anything to install. I have never installed a hack so maybe it's the terminology but I what I am not getting is after downloading the zip to my computer and extracting, I find the xml file for this and try to use the "import products" option under manage products. Whenever I try to import it, I get an invalid file error.

Does anybody have the patience to walk me through this slowly? haha. Links just haven't helped so far.

I would really appreciate it.

ForceHSS 10-10-2011 12:01 AM

did you upload the file to the ftp yet

Baltar 10-10-2011 12:33 AM

Yeah, but I guess it's a good possibility I put it in the wrong place.

ForceHSS 10-10-2011 12:44 AM

its kind off hard to put it in the wrong place download it from my sig and see the path it is in and put it in the same path in your ftp


All times are GMT. The time now is 02:43 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.02298 seconds
  • Memory Usage 1,824KB
  • 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
  • (5)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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