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)

Boofo 05-20-2010 05:15 PM

Try:

https://www.example.com=>blank;5 6 7

without the space before the 5.

compuminus 05-20-2010 05:42 PM

Quote:

Originally Posted by Boofo (Post 2040662)
Try:

https://www.example.com=>blank;5 6 7

without the space before the 5.

Thanks, that seems to have fixed it. It would be nice if it weren't that sensitive to spaces...

Boofo 05-20-2010 06:11 PM

Only a first space and the ; would give any problems. Make sense the way it was done though.

WhiskeyOSS 05-21-2010 08:05 PM

Nice Hack works great ... and easy to use..

Martz 05-22-2010 10:07 PM

I turn this on and get:

Code:

Warning:  Unexpected character in input:  ''' (ASCII=39) state=1  in /home/martz/sites/supermono/web/includes/class_bootstrap.php(384) :  eval()'d code on line 29

Parse error:  syntax error, unexpected '<' in /home/martz/sites/supermono/web/includes/class_bootstrap.php(384)  : eval()'d code on line 29

And i've also tried another Tabs mod, which caused something simillar. Any ideas whats up or how to debug it further?

ftadirect 05-23-2010 12:03 AM

*this is a great! MOD.

1. When you log out of the forum the links are still displayed.
? - Can this be a feature to disable if you are not logged into the forum.

2. When you click the disable what's new checkbox is in fact does not disable the button when you sit on the forum.php main page.
? - Can this glitch be fixed.

Craig Ross 05-24-2010 01:33 PM

Great mod and should be standard with VB IMO.

saying that i had to remove this one as i just didn't like the link in the footer.

went for this mod instead.

https://vborg.vbsupport.ru/showthread.php?t=233629

does the same thing with more options and no footer link. :)

Boofo 05-24-2010 01:54 PM

The one does have a footer link. You are just able to block it is all. That hack is more complicated which will end up being more of a problem if it ever breaks. This hack is simple and elegant.

pcmwebmaster 06-01-2010 05:56 AM

Atfter Install This Plugin in vbulletin 4.0.3 iGet This error:

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

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

Pls Help

Hippy 06-01-2010 09:42 PM

I went to edit vbh_newtabs
I went to save it and this error came up

vBulletin Message
The following error occurred when attempting to evaluate this template:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(4781) : eval()'d code on line 1

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


so I went into the template again (still stock)
and tried to save with out editing it and I still get this message
any idea what the problem would be

here is the template

Code:

<vb:if condition="in_array(THIS_SCRIPT, $selectedtabs) AND THIS_SCRIPT == $filename">

<li class="selected"><a class="navtab" href="{vb:raw url}" <vb:if condition="$target">target="_{vb:raw target}"</vb:if>>{vb:raw titulo}</a>
<ul>
{vb:raw subnavlinks}
</ul></li>

<vb:else />
<li><a class="navtab" href="{vb:raw url}" <vb:if condition="$target">target="_{vb:raw target}"</vb:if>>{vb:raw titulo}</a></li>
</vb:if>



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