Breadcrumbs without Forum Category? - Another Web Company
ArcadeDownloadsNewslettersForum MenuNavigationWhat AWC OffersWiki ToolsLogin or Create Account

Log in

You must have cookies enabled to log in to Main Site - Local.

 

Breadcrumbs without Forum Category?

From Another Web Company

Viewed 467 times, With a total of 11 Posts
Have a suggestion, improvement, change or non-beta Forum Entension bug ? Please add them to the todo list

2.5.12 Update Release


Clicked A Few Times
Wiki Edit 3
Threads 11
Posts 17
I only have 3 subforums and all are in the same category since it makes no sense to categorize them.
So the breadcrumb for the forum category is very useless.

How can I disable it? I don't mind changing core code.
Thanks

Forum Vet
Wiki Edit 2995
Threads 153
Posts 1524
This is off the top of my head so it might not be right...

Find:
/extensions/awc/forums/includes/gen_class.php

function Set_AWC_Forum_BreadCrumbs($add, $send = false){
 
    static $b_crumbs;
 
        if(!isset($b_crumbs)){
          $b_crumbs = new awcs_forum_breadcrumbs();
        }
 
        if($add != '') $b_crumbs->add($add);
 
        if($send) return $b_crumbs->send();
        return ;
 
}


and add a 'return ;' at the begining of the function.

Some where along the lines ill add a hook to the awcs_forum_breadcrumbs class so you wont have to edit any files, just create your own small "forum-extension".

_
~ What was once an opinion, became a fact, to be later proven wrong ~
  • Forum Ver. 2.5.12 has been released (05/05/2011), Download here.


Clicked A Few Times
Wiki Edit 3
Threads 11
Posts 17
that was in loadforum.php and it removes the complete beadcrumb. I want to use the bc, it just shouldn't list the entry for the Forum Category, so it reads:
Forum >> Forum Name
Edited On 10:47:11 AM - Friday 24th, July 2009 by Subfader

Forum Vet
Wiki Edit 2995
Threads 153
Posts 1524
ill add a forum hook soon so you can do what ever you want with them.

Clicked A Few Times
Wiki Edit 3
Threads 11
Posts 17
cool. i'll check if i can out which core file to edit manually.

Forum Vet
Wiki Edit 2995
Threads 153
Posts 1524
just changed how a current hooks work, "you" will have access to links now before any thing is displayed; this will be working in 2.5.7.

Clicked A Few Times
Wiki Edit 3
Threads 11
Posts 17
you wrote all this (and the other 2.5.7 changes from ym requests) today?

I fear I can't wait till 2.5.7. i'm almost done customizing the forum and want to go live asap
could you tell me in which file the array for the links is defined? I found where the bread crumbs are created by not where the links come from. grepping for "cat" etc. didn't help much.
Edited On 3:43:18 PM - Sunday 26th, July 2009 by Subfader

Forum Vet
Wiki Edit 2995
Threads 153
Posts 1524
Yea, alot of the things you have asked (please dont be offened, but you dont seam like the kind of person who uses the search option of checks things out too much ) and requested have been talked abuot before, just have not had the time to get then ready... for the most part they where all quick changes (as you seen how quick they whent up).

id have to look where the 'cat' is added (probly in the forums.php file), which might take a bit and im heading off to work on my house now.

Im gonna try and put togeather a 2.5.7 download tonight which will have a bit of core edits done to just abuot all forum files.

_

Clicked A Few Times
Wiki Edit 3
Threads 11
Posts 17
well, if I find a bug and it's not in the tracker I add it.

Forum Vet
Wiki Edit 2995
Threads 153
Posts 1524
thats a big help.

Its eazy for me to forget things... there have been a few things you have re-posted which where forgotten about or only 1/2 done/changed.

Clicked A Few Times
Wiki Edit 3
Threads 11
Posts 17
got it. Set_AWC_Forum_BreadCrumbs in forum.php and thread.php

Forum Vet
Wiki Edit 2995
Threads 153
Posts 1524
When the time comes and the 2.5.7 download is ready, the following will be the HOOK used.
http://wiki.anotherwebcom.com/Forum_Hook_/_awcsforum_breadcrumb

_


Forum >> AWC`s MediaWiki Extension`s >> AWC's MediaWiki Forum Extension



Who's here now Members 0 Guests 0 Bots/Crawler 0


AWC's: 2.6.0 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC