Is there any way to specify a single forum to display w/ the forum tag?
From Another Web Company
Viewed 538 times, With a total of 4 Posts
Have a suggestion, improvement, change or non-beta Forum Entension bug ? Please add them to the todo list
|
|
|
|
Just Got Here
Wiki Edit 0
Threads 1
Posts 1
|
|
| 5:24:10 PM - Wednesday 01st, September 2010 |
|
Hi,
I've installed the forum extension and really like it so far. But I've run into a problem with displaying forums within Wiki pages. The documentation says that you can specify which forums will appear when you use the forum tag on a wiki page, but I'd ideally like different forums to appear within different wiki pages.
A simple example would be if I had a site about video games and a separate forum for each system (PS2, Xbox, etc.) In the wiki portion, if the page was about an Xbox game, I'd only like the forum tag there to show posts from the Xbox forum. Make sense?
Would this be easy to add?
|
|
Edited On 10:35:21 PM - Friday 17th, September 2010 by AWC
|
|
|
|
|
|
|
| 1:39:22 AM - Thursday 02nd, September 2010 |
|
Understood.
Right now no, sorry.
I will look over the code in the next few days and post a file edit which might be helpful to you.
It is not a hard thing to do, but i did not want to give the "Normal" user the ability to make a wiki page a select any forum section they wanted with out the admin having control.
Notes to myself...
Use an Id attribute in the tag which checks the ids the admin sets in the AdminCP.
If no ID in tag, display like normal
If ID is there, check against ID Admin have saved
Myabe add anew Admin cf to desinate which forum sections can be added to the forum tag.
_
|
|
~ What was once an opinion, became a fact, to be later proven wrong ~
|
|
|
|
|
| 10:06:07 PM - Monday 06th, September 2010 |
|
Heres a quick edit which will work, but there is no checking being done, so anyone can select any forum section.
.....
New usage:
<forum_info id=#></forum_info>
I do not know if this change will be permanent, but there will be a new option like this in the next release, the change will use the following tag format <forum_info id=#></forum_info> but the php code will probably change.
EDIT
Use the following:
<forum_info id=#></forum_info>
_
|
|
Edited On 11:57:27 PM - Monday 06th, September 2010 by AWC
|
|
|
|
|
|
Clicked A Few Times
Wiki Edit 0
Threads 3
Posts 14
|
|
| 11:23:50 PM - Monday 06th, September 2010 |
|
| Actually, when I hit that <forum_info id=#></forum_info> into a page, it already works with no modification to the forum_tags.php file! It even includes the forum link above the table.
|
|
|
|
|
|
|
| 11:55:45 PM - Monday 06th, September 2010 |
|
opps...
|
Some times we just forget what we have done.
Thanks Merri.
_
|
|
|
AWC's:
2.6.0 MediaWiki - Stand Alone Forum Extension Forum theme style by: AWC
|