Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2001
Posts: 58
Member
Member
Offline
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. smile

Sponsored Links
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Why not use the Content Islands for an "active topics" section? It'd be easy enough to adapt...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 58
Member
Member
Offline
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,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
It can, open ubb_lib.cgi and search for:
Code
	$vars_display{'CIForceMultiSelect'}	= 0; # set to 1 to allow multiple forums to be selected in CIs.  This will cause a performance hit.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 58
Member
Member
Offline
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.)

Sponsored Links
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Lol it won't; I use it on mine wink ...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 58
Member
Member
Offline
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 smile

I'm sure there's an if-then statement that could be added, but I believe it would involve a significant amount of editing. smile


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 58
Member
Member
Offline
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,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
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:

Code
<!-- 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
Code
<input type="hidden" name="search_forum" id="search_forum" multiple="multiple" value="ALL">
to
Code
value="1,2,3,5,9,20"
Or you can use the select statement and list the forums like they are on the search link.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: May 2001
Posts: 58
Member
Member
Offline
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
Offline
Joined: May 2001
Posts: 58
Doesn´t seem to work then, unfortunately. frown

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
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.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)