Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 21 Feb 2015, 00:43
Twilkey's Avatar
Twilkey Twilkey is offline
 
Join Date: Oct 2006
Navbits Issue

I am working on a site and need to edit the navbits so that certain parts do not show up. I have done what I thought was the way to do this by creating a plugin at the navbits hook with the below code. However even though the statement is true, the $skip_nav_entry does not seem to take the entry out of the array. I have looked at the function in the function.php file and from what I can tell, this code should work.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thanks in advance for any help.

Nevermind, I figured it out. The issue was that I am using DBSEO and that addon changes some stuff.

Last edited by Twilkey; 21 Feb 2015 at 01:01.
Reply With Quote
  #2  
Old 21 Feb 2015, 00:43
Max Taxable's Avatar
Max Taxable Max Taxable is online now
 
Join Date: Feb 2011
I think in vBulletin 4 it has to be, "vb:if" for conditionals.
Reply With Quote
  #3  
Old 21 Feb 2015, 00:44
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
No, he is using PHP not HTML
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #4  
Old 21 Feb 2015, 00:56
Twilkey's Avatar
Twilkey Twilkey is offline
 
Join Date: Oct 2006
Yeah I am doing this in a plugin. Also, Im not sure if it matters, but Forum is basically a link to the home page. There is also another I want to take out. It is the category title. All forums on the site are in a single category, soI basically want to only show subcategories and thread titles.
Reply With Quote
  #5  
Old 21 Feb 2015, 06:30
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Real name: Len Kaiser
That may not be possible to do. vBulletin for whatever reason whenever you try to mess around with taking out links or moving links in the breadcrumb has always acted funny so there maybe something within the core files that keeps it from being possible. I'm not exactly sure though, I'm not a PHP expert. I just know that in the past any time that I've tried to modify the breadcrumb links in any way it has usually made things not work as expected.

Are you trying this on a dev site with no other mods installed and on the default skin? I'm asking because if not you might want to try that. Possibly there is a conflict with another mod if you are doing this on a site with mods and custom skins A.K.A. a live site.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:01.

Layout Options | Width: Wide Color: