Database Altered: yes one field added to the Boards Table
Info/Instructions:
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
DUDE, you just made subforums, did you not? All you have to do is make the forums, hide them, and then add the links in the right place in the forum description...????
I could make subforums in my sleep. I actually hit upon the formula when I created my shop mod. I had endless subcategories going but I decided it was bestter to limit it to one sub cat.
Oh my golly goodness. I am being needing of the subforums very badly. You are not knowing how bad I am being needing of them. They are mostly of the great importance to me.
I have a neat little trick on my site www.rollspel.nu where I can set some categories to only show if they have been explicitly entered in the Cat variable in the url. It's only a couple of lines of change to ubbthreads.php really.
there has to be a hidden agenda as to why they don't do subforums.. I mean if ya really look at it.. forums are actually subforums of categories.. all ya have to do is add another field to track parent and child and you have subforums of forums. now this sounds easy it does take a little work. But I figured out the fomula with my shop mod when I created endless subcategories. so until they actually do it to threads I would only consider this in a pay situation and right now I am busey converting over the vb arcade to threads which is about 90% done
Sounds logical and not to hard but you lost me at "all ya have to do is add another field to track parent and child and you have subforums of forums" lol
I can see why they would not want to add it as an option and support it because thats what makes vb set apart from threads. (my opinion only) If they were both the same there would be no reason bother going from one to the other.
while installing this mod I came to the last step in the process...
[] in languages/english/admin/createboard.php add to bottom
$ubbt_lang['HIDDEN'] = "Should Forum be shown in Main Index?"; [/]
In 6.5b1, I dont see that file...
there is createcat, creategroup, and createisland....
Also, in admin/viewboard.php there is this section to change but im not sure I get it... [] ***find list($Title,$Keyword,$Description,$HTML,$Expires,$Markup,$Moderated,$Cattemp,$Catnum,$Groups,$WGroups,$ThreadAge,$RGroups,$header,$stylesheet,$forumimage,$bonum,$boactive) = $dbh -> fetch_array($sth);
***add to the end, ",$HIDDEN" / change to list($Title,$Keyword,$Description,$HTML,$Expires,$Markup,$Moderated,$Cattemp,$Catnum,$Groups,$WGroups,$ThreadAge,$RGroups,$header,$stylesheet,$forumimage,$bonum,$boactive,$bohidden) = $dbh -> fetch_array($sth); [/]
the part I dont get is where it says "***add to the end, ",$HIDDEN" / change to"? do i add that terxt to the end after I change it?
change the find it. I need to edit add to the end, ",$HIDDEN" / out also in b1 theres no createboard.php in the languages/english/admin directory? there is in 6.5br4
look at the admin/createboard.php file then and see what language it calls. thats the one the string needs to go into.
[]scroungr said: there has to be a hidden agenda as to why they don't do subforums.. I mean if ya really look at it.. forums are actually subforums of categories.. all ya have to do is add another field to track parent and child and you have subforums of forums. now this sounds easy it does take a little work. But I figured out the fomula with my shop mod when I created endless subcategories. so until they actually do it to threads I would only consider this in a pay situation and right now I am busey converting over the vb arcade to threads which is about 90% done [/]
Yeah, JustDave did something like that on a site I saw.
IMO, Infopop leaving out subforums, was a very serious mistake.
Not only because there are a lot of threads users requesting it, but also because there are a lot of potential customers closely comparing threads and VB and that is one area where VB really "ONE UP'S" threads...IMO.
[]Gardener said: I have a neat little trick on my site www.rollspel.nu where I can set some categories to only show if they have been explicitly entered in the Cat variable in the url. It's only a couple of lines of change to ubbthreads.php really. [/]
Isn't this default - unless I am missunderstanding you.
If I am perhaps you can share your code / what you mean
[]Ian_W said: []Gardener said: I have a neat little trick on my site www.rollspel.nu where I can set some categories to only show if they have been explicitly entered in the Cat variable in the url. It's only a couple of lines of change to ubbthreads.php really. [/]
Isn't this default - unless I am missunderstanding you.
If I am perhaps you can share your code / what you mean
Thanks. [/]
No, by default all categories are shown on the forum index, and thus all forums. I've opened a new category which can only be viewed from a special forum index so that they won't show up on the main forum index but can still be viewed by clicking on a link in the menu.
In the link I've added Cat=5 when I want to show the list of the forums in the "hidden" category. This will keep the user in this category, only showing these forums when clicking on the "Main Index" li until they click on the link to get back to viewing (almost) all categories.
I did this because I wanted to open some users to be able to have their own forums for their own little projects, without them taking up space and load on the main index.
Why I mentioned it is because it sounded like it was very similar to the mod in this thread, and if that is what sub-forums are used for I might finally have understood what the fuss about them are.
The code is very simple, I add the numbers of the categories I want to show in a config option and if that number is not in the Cat variable it isn't included in the list of forums read from the database.
I think the thing with sub-forums, is that the forums are also shown in the breadcrumbs as an extra layer or two. This enables quicker navigation.
I have a similar set-up on www.nonleague.com - where a limited number of forums are shown on the index page, but links are provided in the forum descriptions. they then show up the different categories in the URL.
I think it is vritually impossible to list all the categories on one page on my site.
I would like to add more forums to my site, but without sub-forums, I do not think I can.
I am not sure if this mod does the same thing - perhaps someone could show an example with it in use.
[]scroungr said: actually I may try and make subforums for 6.5 a mod once it goes out of beta [/]
Sounds Good I am just in the process of upgrading to 6.5 and am genuinely struggling to see how I can organise my forums without sub-forums/sub-categories.
It is a bit like have all your files on your computer in the root - it looks a mess
You should be able to use this mod - and turn off the button that says display on the index page - it should still display on the entrance if you select it within IIP
I finally got this installed and I have a problem. When moving a thread from another forum into the hidden one, it doesn't show up. However if you go into another thread in the hidden forum and hit "prev" or "next" it is there. It just doesn't show in the list.
Also is there a way not to have the forums listed in the "Jump to" box?
I checked to make sure it wasn't a fluke and imported another thread into another hidden forum and it is the same thing. It is there, just not visible.
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.