vBulletin ModsThe Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=203353 |
8 Attachment(s)
Purpose
This plugin allows extensive control of how SubForums are displayed.
Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product] Options To set the options go to: AdminCP > vBulletin Options > Sorky - SubForum List Control Tips To get it on the Forum Home page, set... "vBulletin Options" > "Forum Listings Display Options" > "Depth of Forums - Forum Home" to "1"For all other forums, set... "vBulletin Options" > "Forum Listings Display Options" > "Depth of Forums - Forum Display" to "1"You should also set... "vBulletin Options" > "Forum Listings Display Options" > "Depth of Sub-Forums" to "1" Note: Setting it higher will also work!Version Log For previous versions see 3.7.x or 3.6.x Mods v1.5.2 - 28th of January, 2009 = official release for 3.8.x (click here for more information) v1.6.0 - 11th of April, 2009 = Removed (small bug found) v1.6.1 - 13th of April, 2009 = Remember show/hide state + more (more information here) v1.6.2 - 27th of April, 2009 = Debug opton + more (more information here) v1.7.0 - 21st of May, 2009 = New & improved sorting (more information here) v1.7.1 - 23rd of May, 2009 = alt text for show/hide image (more information here) v1.7.2 - 17th of June, 2009 = Removed (small change simply combined with another in next version) v1.7.3 - 17th of June, 2009 = Hide SubForums: prefix & count tool-tip as well as the SubForums (more information here) v1.7.4 - 23rd of June, 2009 = Hide specific SubForums from the SubForum list (more information here) v1.8.0 - 17th of August, 2009 = Display of SubForum descriptions (more information here) Hall Of Fame (Donations - Greatly Appreciated - Thank You) Fungsten US$25 Budweiser US$20 CreditForum US$25 lazyseller US$30 Alisa Lindsay US$10 Acknowledgement Thanks (and apologies) to Cybernetec for the ideas & inspiration to generate this Mod. Keywords SubForum, SubForums, Sub-Forum, Sub-Forums, Table, List, Grid, Child, Children, Parent Settings, Demonstration Screenshots, Notes, etc See v1.5.2 post (click here) If you like this Mod please click INSTALL. |
7 Attachment(s)
V1.5.2 Features
Notes If the following templates have been modified from their original, either "revert" them or test this Mod carefully before use:
WishList - Other Ideas
Settings & Demonstration Screenshots |
Excelent, excaktly what i need for a guy im helping setup his forum. :D
this is actually #1 request. thank you. tagged for later use. |
Looks very good! Not installed yet but will do soon
|
I've updated my forum to 3.8.x and the previous version of this mod (1.5.1) was working fine but to keep my forums mods up to date I installed this (1.5.2) also.
I double checked that I had 'Allow Overwrite' set to YES but it installed a second installation of the Mod. Everythings fine as I uninstalled the old version and set the options for the new one. Would it not be easier for this to simply overwrite a previous version?? :confused: Regards, Howell :) |
yeah i liked urs better so i installed urs even when i was using 3.7.3.
and that version is still usable in 3.8 as well. however today i updated it to the latest version for 3.8:) thanx for the update. |
Quote:
If I do a 1.5.3 under 3.8.x, then it will of course be automatically updated. |
Quote:
|
good work i'll update now :) thanks
|
will update now. thanks.
|
Thanks, works great!
|
*Marked as installed*
Thanks |
1. If I show my sub-subforums, by setting the depth of subforums to 3 in forum listing display options and 'Allow depth of SubForums > 1 by indenting the Sub-SubForums' to yes, then they get alphabetically sorted in such a way that sub-subforums are sorted together with subforums. It shows like this:
Subforum A Subsubforum A Subforum B Subforum C Subforum D Subforum E Even when Subsubforum A is a child of Subforum D. I would like it to show under Subforum D. 2. Some of my forums do not show a horizontal border between them. Edit: for some reason this is now resolved. 3. 'Forums where this Mod will HIDE any SubForums' does not seem to work for me. How can I fix this? Please add the function to show the number of people viewing a subforum. |
Quote:
Quote:
Quote:
Quote:
|
works and looks great for us sorky, thanks :)
one question: when hiding the subforum list in the forumbit, if i leave that page and come back, it is no longer hidden. is there anyway to make this stay on a per-user basis? |
Quote:
|
I have been checking out your work and think I can use this. It changes the formatting for all my forums so I must have something set wrong.
What config setting do I need to change to restore the original formatting? I captured a couple screen shots so you can see what I mean.... http://usamusicians.com/wv/with_mod.jpg The picture above is with the mod enabled...^ http://usamusicians.com/wv/without_mod.jpg The picture above is with the mod disabled...^ |
It would indeed be nice to decrease the space/margin between forum names and forum description.
|
Quote:
Default: class="smallfont" style="margin: 10px 10px 0px 10px"PS: Screenshots really helped! Quote:
|
Hello, installed, works but i want to get forum looks like this. i was using and hack as this but with the 3.8.1 doesnt works, desinstalled it alrady and installed your .
problem now is when i enable the hack, it appear a comma.. here a screen... http://img4.imageshack.us/img4/6879/faildzr.jpg I want to add another subforum in another forum category but i do it and appear like this.. in the secong line.. look yourself.. https://www.vbulletin.org/forum/external/2009/03/54.jpg what i want to get done is just like screen you posted, No Expand, No collapse , not count and 3 columns, but i want all it into one column. And i'd like that text appear a bit little than normal.. Do i can do it ? Thank you. |
Sweet! Got it fixed. I would like to send you a donation for your hack. Where can I send it? (paypal?)
Marked as installed Thnx, Dude... |
Quote:
Quote:
vBulletin Options / Sorky03 - SubForum List Control - V1.5.2 / Separator to use between SubForum [original was , ]Try this option to help with the line wrap... vBulletin Options / Sorky03 - SubForum List Control - V1.5.2 / Use the full column width for the SubForum tableTry this option to change the SubForum list font, etc... vBulletin Options / Sorky03 - SubForum List Control - V1.5.2 / SubForum Element (td) formatting |
Withdrawn due to a small bug
|
1 Attachment(s)
New version returns an (several) error in IE:
http://www.vbulletin.org/forum/attac...1&d=1239601549 My 595 line is:
Uninstalled and reinstalled 1.5.2 version. |
Quote:
|
Change Log
1. Added the 'None' selection for greater clarity 2. The long awaited, often requested, cookie to remember the collapsed state 3. Other minor coding and commenting adjustments Change 1 "None" is the same as using "Selected" with no forums in the following list "All" is the same as using "UnSelected" with no forums in the following list. "Selected" allows you to choose which forums the option applies to "UnSelected" allows you to choose which forums the option DOES NOT apply to Change 2 The following option has changed... vBulletin Options / Sorky03 - SubForum List Control - V1.6.0 / Allow SubForum displays to be collapsed (Global)...It was a Yes/No choice but it is now a multi-state. The existing behavior remains and it has an extra choice to "Remember previous state". This uses a cookie to keep the state as the user last had it. The name has changed slightly...SubForums are shown/hidden when the page is loaded vBulletin Options / Sorky03 - SubForum List Control - V1.6.0 / Allow SubForum displays to be collapsed (Global)...New option added...How do you want the SubForums to be shown by default? vBulletin Options / Sorky03 - SubForum List Control - V1.6.0 / Allow SubForum displays to be collapsed (Global)...If no cookie exists show as... |
Quote:
|
Udated and confirmed: no bugs. Thank you again.
|
Quote:
Quote:
PS: Another user PM'd me that there was an issue. Found out that the "Ultimate Side Columns" Plug-In has an interaction issue with this. If anyone is using that one with this, changing the "parse_templates" order from 5 to 6 resolves it. |
1 Attachment(s)
As kindly requested by Sorky, here it is a screen shot of sub forum list in 1, 2 and 5 columns and the alphabetically sorting (in my case only in the 5 columns listing) working well:
http://www.vbulletin.org/forum/attac...1&d=1239722046 |
Quote:
I'd also like to take this opportunity to invite other users to share samples of how they have used this Plug-In ;) |
Quote:
|
Quote:
|
1.6.1 produces invalid xhtml.
eg
a table cannot be contained within a span. the span needs to be closed. looks like
is not working properly. |
Quote:
Good news is there is a very easy fix - edit lines 271 and 275 of my product XML file and change "span" to "div" (ignore the "). I have updated a copy on my machine as a new 1.6.2 version with this change, but as it is so minor and the product actually works (even though it produces XHTML that is technically invalid) I won't publish a formal update at this point in time (unless everyone desperately wants one). |
You might as well upload it or just add it to 1.6.1. I rather have valid xhtml
|
Hey Sorky Thanks for the update. Its working fine on my site. If anyone would like to see a live example of Sorky's SubForum Control you can check it out on myNGE.com
You can click on any of the main category tabs and you will see a show / hide button. |
Change Log
1. Addition of a debug information option 2. Changed a span to a div to make the plug-in XHTML compliant 3. Other minor coding and commenting adjustments |
Hey Sorky I just updated to 1.6.2 works great.
About the rss feed I remember I got that one a long time ago somewhere in the template mods section. I found it in my installed mods here is the one I use Rss Feed Icon for boards I'm actually going to install your Rss Icon since yours is up to date and offers admin controls thanks for letting me know about it. |
Quote:
Glad you like it :up: |
Hello. I want to hide/disable the forum itself to only show the sub-forums. Where can I modify that, if exist?
Thanks, nice addon :up: http://img521.imageshack.us/img521/3950/subforo.gif |
Quote:
Change your Forum to a Category : "vBulletin Options" / "Forum manager" / <Chosen Forum> / "Act as Forum" = NO |
Please add the function to display sub-forum moderators.
|
Quote:
http://img512.imageshack.us/img512/6237/sub2.gif http://img512.imageshack.us/img512/9687/sub3.gif Greetings |
You raise an interesting point Trotskid.
I would like to be able to have subcategories in a category. This is possible with the settings mentioned. But this will cause the category and sub-categories to become one ugly blue block on forum home, like Trotskid first screenshot shows. When you add several sub-categories this blue block becomes even larger and ugly. Please add functionality to display sub-categories in a better way on forum home, while displaying the subcategories as normal categories on forumdisplay. |
1 Attachment(s)
Quote:
https://www.vbulletin.org/forum/exte...009/05/161.jpg For the example picture, "Forum Listings Display Options" were...
|
Great job!! Can you add the "alt code" on post counts when the mouse is over?
|
Quote:
|
Quote:
|
1 Attachment(s)
Greetings,
Sorky - amazing addon, thank you for contributing it. Marked as installed. However, I have a few questions. Firstly, how do I modify the text color of the sub-forum links? Secondly, is there a way to make the sub-forum area match the style (without the blue background stuff) of the regular forums? I know this doesn't really have anything to do with your addon, but I'm sure it will make the forums look better. Thanks :) |
Quote:
vBulletin OptionsYou can put your HTML formatting here and it will be placed in the final HTML code for the page that is produced. Example...Sorky03 - SubForum List Control - V1.6.2SubForum list Formatting (combines with all previous settings) SubForum Element (td) formattingstyle="font-size:12px;" produces<td ... style="font-size:12px;">...SubForum Name...</td> |
Quote:
In regards to different displays on ForumHome, the "forumbit" which displays the list of available Forums, which subsequently displays the included SubForums, is common no matter where you are. It is possible to know what forum is being displayed and thus chose different behaviors - I do that to allow for different column counts for different forums. I do not currently modify the style attributes of the existing display outside of the SubForum part - It would be possible to do other changes, but would be more logical in another PlugIn. If that doesn't answer you, can you sketch what you mean? |
Thanks ... I like this one :D
|
Great addon. Thanks!!
|
1 Attachment(s)
Sorky,
Thanks for this mod. I have a 3 requests 1st one is the same request as alpha1 has. We have to make a extra forum to make it look like my picture. (see circle 1) I had to make an extra forum. If i do not my category shows and the forum depth is gone. If i change this the whole forum is altered and i do not want this. We wish to maintain this look but the 1 category and beneath sub forum 3rd if you cannot fix 1st how can i delete the text : sub category or even better hide the multilanguage text :) 2nd in the second circle is it possible to fill the gap with more last posts from those forums? That would make it look nicer. Thanks for your support. |
Quote:
Quote:
Quote:
|
Thank you Sorky!!!
|
Change Log
1. Sort now works with SubForum children, grand-children, etc 2. Extra sort options so you can mix and match the sorting 3. Removed the indent yes/no option 4. Other minor coding and commenting adjustments More details 1) Now fully supports alphabetic sorting with children, grand-children, etc, etc, etc eg: SubForum A2) You can now have a all forums default to alphabetic-vertical sorting, but have a specific forum use forum order sortingSubSubForum ASubForum B 3) This option was not necessary, as you can simply erase the indent text from that option to get the same result ;) |
Ok, I think this will do exactly what I want, however it doesn't appear to do anything on my forums.
It could just be the style I am using or something and makes this not work, but changing the config options doesn't appear to affect my forums display. And yes, I did turn the mod on in the config. ;) |
can anyone shed somelight here how toadd some curved box
|
Quote:
|
Hi Sorky
Firstly thanks for this great mod! I have just noticed that there isn't any alt text with the collapse/expand images used to display the sub forums on the forums home page - can you advise where I can add this. Also, I was wanting to add text "Click to expand" and "Click to contract" next to the button and again I am not sure exactly where I can add this - any suggestions? Thanks Mate! |
thanks , going to install it within few days :)
|
Quote:
Not quite sure about your other request |
Change Log
1. Added 'alt' text for the show/hide images 2. Other minor coding and commenting adjustments |
1 Attachment(s)
hi! i have the problem on the screen. the text on 2 column it's not in one line. how can i solved this issue?
|
Quote:
vBulletin Options / Sorky03 - SubForum List Control - V1.5.2 / Use the full column width for the SubForum tableOtherwise you just have to use less columns as the text simply will not fit in the space available. |
1 Attachment(s)
Quote:
The other thing I was mentioning was not specific to your great mod but more of adding some text next to the collapse/expand button on my own site but I think I need to do it within your code somewhere as I can't seem to find where else to do it. One way is I could add the text in the expand/collapse image but that would lock the text colour with other styles on my site - see att ...and thanks again for a great mod! |
Quote:
The new & improved implementation does still allow for it - If you really want to try using text, insert code at Line 342 and Line 345 - "$Sorky... = '<span style="...">Your text</span>';" Try it and let me know - if you really want it, I can put it in to save you having a "hacked" version, but my 2c would go for the image. |
Quote:
|
Quote:
If you don't want the text, don't enter it in the option. |
Ah great. Is it possible to use a variable? Like the forum name?
|
Sorky this is a ripper, installed and nominated!!!!
|
Quote:
Glad you like it ;) Quote:
|
Sorky, I'm still working on my new site. It's not open yet. I upgraded to 1.7.1 without any problems.
I did load another mod which seems to be in conflict with "Sorky Sub Forum List Control" The mod is "Forum Minimum Age Restriction" When this mod is enabled the subforums on forumhome are not collapsible. I diabled it and then they were collapsible again. I posted a message to IdanB about the conflict too. Any way you can take a look to see if these two mods could be made to work together? Thnx, Kev |
Quote:
His mod will probably conflict with quite a few others as he makes a copy of the templates and then clears them before my Mod has a chance to dynamically modify them. Its a bit hard to modify something that isn't there ;) The best fix is I believe to make his Mod copy and clear the the templates after we have a chance to modify them ;) Just make the following change... Plugins & ProductsPS: For some reason I seemed to have to refresh my browser once or twice to get it to kick in.Plugin ManagerProduct : Forum Minimum Age / Datastore cache templates |
thanks!
got a problem here though, after installing and setting up: Warning: Unexpected character in input: '' (ASCII=30) state=2 in ....../forum/includes/functions_forumlist.php(501) : eval()'d code on line 1 |
Quote:
|
* Thanks & Installed * :up:
|
Quote:
|
Quote:
|
Hey Sorky.
I have a problem since I upgraded to the latest version. After logging in I get forced off at random. I first thought it was the browser being buggy or a new style I installed but it seems to only fail when the mod is enabled. I use Firefox mostly but also tried IE. I cleared cookies and cache, rebooted, and also tried two different computers. I searched vbulletin.com and set the cookie setting back to defaults with the tools.php file. I disabled version 1.7.1 and had no issues so I downloaded and installed it again (without an uninstall first) but the problem returned after enabling the mod. I haven't tried to uninstall or to install an earlier version yet. Can you take a look? www.usamusicians.com/forum Thanks. |
Quote:
When you say you get forced off, I'm assuming you are talking about being logged off. I can't see how the heck that could happen. If you turn on the debug option, I can look at the settings. How was 1.7.0? I can look at the code diffs, but nothing jumps out at me. |
Quote:
After this weekend I should have a little time to experiment. I will load a few of the other versions to see what difference it makes. Quote:
Quote:
If you want to log in, I have a test login.... username: "testuser" pass: "test" It usually doesnt take long to get kicked off... |
Quote:
I've tested my own sites and have never seen anything like this no matter what browser or server and I have never had anything like this reported either. I'm guessing there must be an interaction issue somewhere. From here it is the normal routine of debugging... 1) Disable all PlugIns and then enable mine (one hook at a time if necessary) then all the others to see where the problem comes from.I you want to PM me an admin login I will be happy to run through that routine |
Ok. I did some work yesterday and was able to get site to stop forcing a log off. The bottom line: I had to load version 1.5.2
I started by removing all styles except for the default vbulletin style. I then disabled all plugins (except for yours) and was still being logged off. I then uninstalled v1.7.1 and installed the most recent prior version. The problem continued through all of the versions except or 1.5.2 (which I originally had installed) The site isnt open yet so there hasnt been much activity. I originally installed vb3.8.1 and have since upgraded to 3.8.2. I have made a couple edits to php but nothing major. I kept a short list of any of the changes. Here is the list I kept: Quote:
|
Quote:
I ran 3.8.2 [clean] on my system and no probs, so I guess there is something in those changes you mentioned - Do any of them change the fetch_cookie or set_cookie functions? I guess the only way to be 100% sure is to run without them as well. Another way to see if it is the cookies would be to remove lines 583, 576, 568 and 564 from the 1.7.1 version XML file (Note: the reverse order for deleting to not re-number the lines). Expand/Collapse will break, but at least we'll know it is the cookies - why becomes the next question PS: Had a quick look at those other modifications and the "Admin Log In As User" plays with cookies, so it may be the place to start if cookies are the issue |
When I use the latest version (1.7.1) my forum doesn't load. When I revert to versioon Version: 1.5.1 everything works ok. Any ideas ?
|
Quote:
|
Quote:
|
Quote:
I'm sorry about the login issue, you should be able to log in now. |
Quote:
|
I have installed this mod and I really wish I could get it to work!
I am confused as to how you set up Forums and Subforums. Right now, I have several Categories. Within each category, I have forums. Two of my Categories have a lot of forums. I want to use this mod on those two categories only! The rest of my forum list, I want left alone. For example, One of my categories is for my sponsors and in that category, I have a forum for each sponsor. Do I need to change the category to act as a forum? If I do that, then I won't have the category heading that I like. Please help a confused vBulletin noob! Thanks! |
Quote:
At Club-R I do not see that. You need to have child forums that are deep enough (eg: If there was a "regions" category inside the "communities" that contained NE, SE, etc, then it would likely do what you are after). What option or Mod do you use to have each Category appear in its own table? If that was off and the forum home sub-forum depth is 1, then you may also see my Mod in action. PS: Yes it does work for categories as well. |
Thanks for the help. I will try your suggestions. I think I understand what you mean.
|
Quote:
PS: What option or Mod do you use to have each Category appear in its own table? |
If a forum is set to not show sub-forums, it still shows the text 'sub-forums:'
|
Quote:
|
Removed as this was a small change and I did another so I simply combined them in the next version
|
Quote:
PS: It was a span title rather than an alt code ;) |
All times are GMT. The time now is 02:38. |
Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.