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)

RogerStout 03-07-2011 03:45 PM

Its says importing product... sets there forever with this message below

Please upload the file bitfield_vbhtabs.xml to /includes/xml/ before installing or upgrading!

never installs. file uploaded to /includes/xnml/ as it says..

BoostedK20 03-07-2011 04:25 PM

^ Roger, what did you do to get to that point? From downloading from this site to where you are now (each step)

RogerStout 03-07-2011 04:30 PM

downloaded the file, unzip, copy bitfield_vbhtabs.xml to /includes/xml/

go to Admincp - plugin and products - manage products - add/import product - import product-vbh_newtabs10.xml

thats as far as I get..

BoostedK20 03-07-2011 04:55 PM

I did the same, I used the xml file in the vbh add new tabs 1.1 folder, not the one inside the upload folder. Can't get it to work though

BoostedK20 03-07-2011 05:08 PM

I got it to work, you need to click Settings then Options in admincp, then scroll to the bottom and find it. Then follow the directions and it works.

BoostedK20 03-07-2011 05:23 PM

Now it doesn't change selected tab off of Forum when on Home. What do I do?

johnscanlan2 03-09-2011 08:36 PM

YES this is what I need...Thanks!

Old-Git 03-12-2011 12:11 AM

I've just installed this on 4.1.2, worked a treat and setting up a new tab was a breeze. However the tab I set up was as follows

Archives|forum.php?f=xx=>self

It works fine and takes me to exactly where I want to go. My only problem is that the highlight (showing which tab is active) stays on the forum tab and not on my new Archive tab. Is there a way around this?

Old-Git 03-12-2011 01:45 PM

OK, so I think I figured out how to deal with this highlighting issue, i.e. making a 2nd copy of forum.php and renaming it to archives.php and then edit THIS_SCRIPT entry at the top of archives.php and change 'index' to 'archives'. In AdminCP/SETTINGS/OPTIONS/vBH New Tabs Options I Configured my new tab with

Archives|archives.php?f=xx=>self

(I'm just trying to show some extra archive forums, which are not set as active, on a separate page)

I Then added 'archives' to the 'Tabs Selected' section (again in AdminCP/SETTINGS/OPTIONS/vBH New Tabs Options)

The only problem is I can't test this to make sure it works OK. I uninstalled the product so I could edit the XML to take out the copyright statement (as per the posts on pg 39). However, when I re-installed it it screws up the entire layout of my forums. In fact I think it promotes the new mobile style to be the default style on my site. Disbaling the product stops this from happening. So now I've got to figure out how to prevent this from happening. Alternatively, I think I saw a post a few pages back that recommended a new Tab inserter product that is actually still a supported product.

Old-Git 03-12-2011 03:07 PM

Well I added the copyright stuff back into the xml file and guess what it worked again. It would appear the either the chap who posted the snip for removing the copyright info was wrong or there's been an update since to prevent the copyright info from beign removed.

So I edited it instead...

Quote:

//copyright start here
if(!defined('VBH_CPR')) {
$key = strpos($vbphrase['powered_by_vbulletin'], "Elmer");
if($key === false){
$vbhcpr = '<br />Extra Tabs by Elmer';
define('VBH_CPR', $vbhcpr);
$vbphrase['powered_by_vbulletin'] .= VBH_CPR;
}
I took out the links to the Spanish site and just added Elmer's name in their place. It leaves the Copyright intact but it removes the troublesome links and allows the tabs to work and be highlighted! Happy at last!

PS The issue with the display may actually be related to this issue (which is also a footer issue)..

http://www.vbulletin.com/forum/showt...ghlight=mobile


All times are GMT. The time now is 10:59 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.02033 seconds
  • Memory Usage 1,736KB
  • 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_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