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? .. :(

bonjurkes 08-10-2006 06:25 PM

just try it at your test forum first ;)

curriertech 08-10-2006 11:33 PM

I found this thread again now that I've upgraded to 3.6 and it works like a charm. Thanks Alan (even though you won't see this for another month)!

:)

upsetter 08-15-2006 08:05 AM

it wont work for me :( http://boostconcept.com/forum/ what could be wrong?... I installed it properley... :hurt:

curriertech 08-15-2006 11:23 AM

Quote:

Originally Posted by upsetter
it wont work for me :( http://boostconcept.com/forum/ what could be wrong?... I installed it properley... :hurt:

This hack only removes it from viewthread.... Look at http://boostconcept.com/forum/showthread.php?t=16 <-that's in your annoucements forum, but you don't see announcements in the breadcrumb.

64North 08-17-2006 06:38 PM

If would be awesome if there were an option to remove the forum name instead.

Ninth Dimension 09-09-2006 09:06 PM

What would happen on sites that have categories within categories? Will it hide all of them?

Snake 09-17-2006 12:44 PM

Thank you, thank you!

Watched 09-19-2006 01:34 AM

yeah.. after i updated to 3.6.1... this quit working on mine.. original build was 3.5.4.. upgraded to 3.6.0.. now to 3.6.1.. and its not working.. any ideas?

edit.. nevermind, it just needed an uninstall and reinstall.

Unexplained.tv 09-28-2006 04:30 AM

Quote:

Originally Posted by Ninth Dimension
What would happen on sites that have categories within categories? Will it hide all of them?

No, not in its current configuration. I've tried it also hoping for that type of results. Perhaps with time someone will change a bit of the code and post it.

UncoderMom 10-22-2006 03:51 PM

I LOVE this! I center my forum home category names and have forums IN forums so once you get to the thread it looks like a jumbled up mess!!

Im subscribing to this and I cant wait to get it on my 3.6.2!

Mr Pink 01-19-2007 04:20 PM

Can I kiss you? This is what I'm searchinbg for. Only problem: I don't know how do I use it. :(

thincom2000 01-19-2007 06:01 PM

It doesn't look like Alan has been back for a while. I released a similar mod to this several weeks ago that includes some of the features people here have requested. Check my profile for the link.

iGlobe.Com.Cn 01-25-2007 02:24 PM

Quote:

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!
See you,Alan


All times are GMT. The time now is 05:23 PM.

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.01961 seconds
  • Memory Usage 1,754KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete