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)

Mukashi 04-17-2010 02:24 AM

Installed it fresh on our vB4.0.3 test forum and got the following error.

Quote:

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/REDACTED/public_html/vb403test/includes/class_bootstrap.php(384) : eval()'d code on line 29

Parse error: syntax error, unexpected '<' in /home/REDACTED/public_html/vb403test/includes/class_bootstrap.php(384) : eval()'d code on line 29

mitch247 04-18-2010 07:25 AM

Quote:

Originally Posted by Elmer (Post 1978793)
Hi Bob,

Mods are 7 and super mods are 5. Leaving that part without numbers for usergroups will make the tab visible to all users, so instead of adding each usergroup ID, just don't add them. Read the option description for a example.



Hello Elmer!
Thanks for this great mod... I did run into one issue.

Unlike any of the other vBulletin forums I have seen, I have added links to forums in the main navbar.

I figured I could just copy the forumdisplay.php file over and over again (1-forumdisplay.php, 2-forumdisplay.php etc...) and change the THIS_SCRIPT assignment inside each page to match your "Tabs Selected" requirements in your mod. So I have several pages set up like this:
File name: 1-forumdisplay.php THIS_SCRIPT = 1-forumdisplay
File name: 2-forumdisplay.php THIS_SCRIPT = 2-forumdisplay
File name: 3-forumdisplay.php THIS_SCRIPT = 3-forumdisplay
etc...

and then in your mod settings:

Link Name|1-forumdisplay.php?1-forumdisplay=>self
Link Name|2-forumdisplay.php?2-forumdisplay=>self
Link Name|3-forumdisplay.php?3-forumdisplay=>self


The highlighting works great, however, the only problem now is that I get duplicate "Posting Permissions" blocks at the bottom. Have you ever seen this and do you possibly know of a quick fix?

Many thanks for any help or advice you could offer.
Mitch

trilogy33 04-18-2010 10:31 AM

Quote:

Originally Posted by CoronasRGood (Post 2019673)
I uninstalled, then reinstalled and it is working fine on 4.0.3. Make sure you uninstall before the upgrade in both the products and plug-ins sections.

Confirmed here too, works fine under 4.0.3 (test board).
As quoted, make sure the product is installed AFTER the 4.0.3 upgrade.

mitch247 04-18-2010 04:43 PM

Quote:

Originally Posted by trilogy33 (Post 2023095)
Confirmed here too, works fine under 4.0.3 (test board).
As quoted, make sure the product is installed AFTER the 4.0.3 upgrade.


Hey Trilogy... Do you have any idea how to link directly to forums from the navbar while using different "THIS_SCRIPT" assignments?

I have duplicated multiple forumdisplay.php files and hardcoded different values in to get the nav highlighting to work; however, it creates a duplicate "Posting Permissions" block at the bottom of these pages.

Thanks for any help you could offer.
Mitch

trilogy33 04-18-2010 07:36 PM

Quote:

Originally Posted by mitch247 (Post 2023271)
Hey Trilogy... Do you have any idea how to link directly to forums from the navbar while using different "THIS_SCRIPT" assignments?

I have duplicated multiple forumdisplay.php files and hardcoded different values in to get the nav highlighting to work; however, it creates a duplicate "Posting Permissions" block at the bottom of these pages.

Thanks for any help you could offer.
Mitch

No idea, sorry.
I just use the default set up with only one extra tab in use. Someone else may have some ideas.

Paul. 04-19-2010 07:19 PM

Working perfectly for us with 4.0.3

Marked installed. Thanks Elmer!

Xeon3D 04-21-2010 10:43 PM

I'm having troubles with linking to VBA CMPS Homepage...

My code is:
PHP Code:

Portal|http://www.emupt.com/index.php=>self 

Also, I've tried adding "adv_index" (as it is whats written on the index.php file) to the Tabs Selected box, but the tab still doesn't get selected.

I'm going nuts. Please help.

EDIT: no need. Used SSTAB, way easier and better.

TeknoSounds 04-22-2010 04:06 AM

Theres no need to use any tab modification for VBA CMPS, there is a builtin navbar tab in its options. See vbadvanced.com

Dark_Wizard 04-26-2010 12:40 PM

Any chance this mod can be made so that we get this?

https://vborg.vbsupport.ru/external/2011/07/104.jpg

warc1 04-28-2010 02:11 AM

I am trying to add a "Donate" tab to link to the mod "VSa - PayPal Donate". I added the following in the "add new tabs" box:

Donate|http://www.mysite.com/vbulletin/misc.php?do=donate

However, when clicking on the new tab, I get this link:

http://www.mysite.com/vbulletin/misc.php?do

The "=donate" phrase is truncated which causes the wrong script to run. Since others have reported successfully integrating both of these mods, I would appreciate if someone could point out what I am doing wrong.


All times are GMT. The time now is 04:21 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.01706 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
  • (1)bbcode_php_printable
  • (5)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