vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Breadcrumb Question - Hack?? (https://vborg.vbsupport.ru/showthread.php?t=48759)

JakeC 02-10-2003 12:29 PM

Breadcrumb Question - Hack??
 
I'm wondering If I need a hack in order to make the category links in the breadcrumb disappear or to be an inactive link? Here is what I mean:
https://vborg.vbsupport.ru/external/2003/02/2.gif

My users are getting confused when they click on the category link and end up on a page with just the links that are sub forums of the category. I have a lot of users that are very new to computers and anything I can do to make it less confusing is a good thing. Thanks in advance.

JakeC

Carnage540 02-10-2003 12:42 PM

I think you may need to edit one of these in your templates.....i am not sure though.

navbar [change original]
nav_joiner [change original]
nav_linkoff [change original]
nav_linkon [change original]

JakeC 02-10-2003 12:55 PM

I was looking at those and it seems like I can't modify those without disabling the whole breadcrumb. Is there a way to modify them without disabling them all?

Jake

Carnage540 02-10-2003 01:04 PM

Not sure bro, just recently got vB.....

Umm, try this site: http://www.vbulletintemplates.com/mods/

I'm 99.9% sure they'd be able to help you out ;)

-- Carnage

Dean C 02-10-2003 03:33 PM

This is easy :)

In your 'nav_linkon' template replace the whole of it with this:

PHP Code:

$nav_title 

Regards :)

- miSt

JakeC 02-10-2003 11:23 PM

That almost did it, but it actually disabled all of the bread crumb except the main page. Here is a picture of what I am shooting for. I suspect that it may have to be done as a hack instead of a template mod. Hmm...I really need to lear PHP. I bought a book, I just havn't read it yet :paranoid:. Thanks in advance

Jake

https://vborg.vbsupport.ru/external/2003/02/3.gif

Erwin 02-10-2003 11:34 PM

It's not in the template, it's in the relevant PHP files eg. showthread.php or forumdisplay.php (and other ones with the same). You need to find this code in these files:

PHP Code:

  $pagenav getpagenav 

And remove the URL at the end of that line. That should do it.

JakeC 02-11-2003 01:39 AM

PHP Code:

$pagenav getpagenav($totalthreads,"forumdisplay.php?s=$session[sessionhash]&forumid=$forumid&daysprune=$daysprune&sortorder=$sortorder&sortfield=$sortfield&perpage=$perpage"

This is in the forumdisplay.php. Which part should I delete. will this make only the first level forums (ie categories) become a non-link but leave the deeper levels intact? Thanks for helping, I appreciate it.

Jake


All times are GMT. The time now is 08:21 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.00967 seconds
  • Memory Usage 1,725KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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