vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - Remove Forum Category from Navbar (https://vborg.vbsupport.ru/showthread.php?t=118923)

Alan @ CIT 06-17-2006 10:00 PM

Remove Forum Category from Navbar
 
Remove Forum Categories from the Navbar
Version 1.0


What does this do?
This little mod will remove the forum category from the Navbar when a user is viewing a thread


Sounds Great! How do I install?
Installation couldn't be easier. Unzip the attached ZIP file and import the Product XML to your AdminCP as normal. - it adds 1 plugin :)


Important: Unfortunately, my leased vBulletin licence has now expired, and I won't be renewing it until September which means I will be unable to reply to this thread, or update this mod until then. I'm hopeful that the great vBulletin.org community will step in to answer any questions in my absence though :) See you all in early September! :D

Alan @ CIT 06-18-2006 01:24 AM

Known Bugs: None!

Lqd 06-18-2006 04:03 AM

Does this work on 3.5.4?

Alan @ CIT 06-18-2006 05:12 AM

Sorry, it will only work in vBulletin 3.6 Beta 2 or above :)

curriertech 06-18-2006 11:05 PM

Hi Alan,
Thanks for this! I'd absolutely love it if you could do it for forumdisplay as well. It that a huge deal or can you crank it out pretty easy? :)

curriertech 06-19-2006 01:40 PM

Hi Alan,
I get the following error during installation:

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
        (`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
        ('1', '5', 'Remove Forum Category', 'navbits', 'if (THIS_SCRIPT == \'showthread\')\r\n{\r\n        $keys = array_keys($nav_array);\r\n\r\n        if ($nav_url == $keys[1])\r\n        {\r\n                $code[$elementtype] = \'\';\r\n        }\r\n}', 'cit_remove_forum_cats');

MySQL Error  : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date        : Monday, June 19th 2006 @ 10:38:44 AM
Script      : http://www.theopenjam.com/forum/admincp/plugin.php
Referrer    : http://www.theopenjam.com/forum/admincp/plugin.php?do=productadd
IP Address  : *.*.*.*
Username    : *****
Classname    : *****


Alan @ CIT 06-19-2006 01:45 PM

Sorry, it will only work in vBulletin 3.6 Beta 2 or above :)

Thanks,
Alan.

Lqd 06-20-2006 08:55 PM

Are you able to modify this to work with 3.5.4 and 3.6?
I do not like running beta software.

Alan @ CIT 06-20-2006 08:57 PM

Un-tested, but if you edit the Product XML, and remove "executionorder="5"", it'll probably install on 3.5.4.

Thanks,
Alan.

Watched 08-10-2006 08:14 AM

probably? .. :(


All times are GMT. The time now is 04:17 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.01071 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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