|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
I´m running a support forum for technicians in the City of Stockholm. Now our teachers want a forum for their discussions, separated from the technicians. I´m thinking of using a hidden category and link them directly to this category. Now I want to * remove the active topics link from this particular category page AND * Exclude posts in this category from the standard active-topics view on my forum summary page AND, maybe; * Make a custom active topics-link for this page, only showing active topics from this category. Is it possible? Why don´t you set up another forum, you say. My reason for this is that I want the teachers and technicians to talk to each other, in the end. But the teacher will get scared if they encounter all the technical discussions in the beginning. Also, would be nice to have only one forum to maintain, hack and upgrade. 
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Why not use the Content Islands for an "active topics" section? It'd be easy enough to adapt...
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
Good idea!
But the Content Islands can only show active topics from one or all forums, not some of them (or a Category)... or am i wrong?
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
It can, open ubb_lib.cgi and search for: $vars_display{'CIForceMultiSelect'} = 0; # set to 1 to allow multiple forums to be selected in CIs. This will cause a performance hit.
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
Ah, perfect.
Saved my day, thanks!
(If it doesn´t cause a HEAVY performance hit... Have 40 forums to be selected and 5 to be excluded.)
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Lol it won't; I use it on mine  ...
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
Nice. Found one more issue with this scenario. Can I exclude this "teacher-category" on the search page?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Not without hard-coding the forums into the search form by hand I'm sure there's an if-then statement that could be added, but I believe it would involve a significant amount of editing. 
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
I can disable the "search all forums", no problem, if i can remove the category and forums in it from the selectbox...
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Why not make your own search page and edit public_common.pl to link to that? What I'm doin for my main page is pretty much just that, just steal the html code from the linked search page and throw it into Front Page and format it how you want it then put it on your main page. Downside to this is that is you do it quick and dirty it won't show any other parts of your board on the page, but it'll get what you're goin for done... You can see my sample at www.undergroundnews.com. What I'm using is: <!-- Start BBS Scan --> <form action="http://www.undergroundnews.com/cgi-bin/ubbcgi/ultimatebb.cgi" method="post"> <p align="center">BBS Scan
<input type="hidden" name="ubb" value="search_tng"> <input type="text" name="search_words" id="search_words" size="11" maxlength="35" class="formboxes"> <input type="hidden" id="match_all-no" name="match_all" value="no"> <input type="hidden" name="search_forum" id="search_forum" multiple="multiple" value="ALL"> <input type="hidden" name="search_in" id="search_in" value="ALL"> <input type="hidden" name="search_date" id="search_date" value="ALL"> <input type="hidden" name="search_user" id="search_user" size="25" maxlength="35" value="">
<input type="submit" name="submit" value="Scan" class="buttons"> </form> <!-- End BBS Scan --> You can change <input type="hidden" name="search_forum" id="search_forum" multiple="multiple" value="ALL"> to Or you can use the select statement and list the forums like they are on the search link.
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
My forum is restricted to logged in users only, will it work anyway?
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
Doesn´t seem to work then, unfortunately. 
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Yeh if it's restricted it can't see that their a member from the forum... I figured that if they had the cookie that was valid it may be a possibility but :shrug: if you use the multiple forums you need to allow your board to allow searching of that type as well.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|