vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=203353

Sorky - SubForum List Control
by Sorky
28 Jan 2009 10:16

8 Attachment(s)
Purpose
This plugin allows extensive control of how SubForums are displayed.
  • Use any mix of between 0 and 10 columns
  • Different layouts can be used on specified forums
  • Change formatting
  • Display Thread/Post counts
  • Limit the number of SubForums shown (Show More/Less)
  • Collapse entire display
  • Sort SubForum display order
  • plus lots more!
Installation
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.

Sorky 28 Jan 2009 10:19

7 Attachment(s)
V1.5.2 Features
  • Official update for 3.8.x
  • Other minor coding and commenting adjustments
  • For previous versions see 3.7.x or 3.6.x Mods

Notes

If the following templates have been modified from their original, either "revert" them or test this Mod carefully before use:
  • forumhome_forumbit_level1_nopost
  • forumhome_forumbit_level1_post
  • forumhome_forumbit_level2_nopost
  • forumhome_forumbit_level2_post
  • forumhome_subforumseparator_post (ignored)
  • forumhome_subforumseparator_nopost (ignored)
  • forumhome_subforumbit_post (append only)
  • forumhome_subforumbit_nopost (append only)
  • header (append only)

WishList - Other Ideas
  • Number of people viewing count (med)
  • SubForum moderators (med)
  • Enable/Disable for certain styles (med)
  • Different formatting for each SubForum depth [child/grandchild/etc] (low)

Settings & Demonstration Screenshots

Vaupell 28 Jan 2009 10:33

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.

buileminh 28 Jan 2009 12:35

Looks very good! Not installed yet but will do soon

Howell 28 Jan 2009 18:03

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 :)

Nadeemjp 29 Jan 2009 06:19

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.

Sorky 29 Jan 2009 06:28

Quote:

Originally Posted by Howell (Post 1727383)
Would it not be easier for this to simply overwrite a previous version?? :confused:

Regards, Howell :)

I know... Unfortunately a new Mod needs a new ID, which means they do not override.

If I do a 1.5.3 under 3.8.x, then it will of course be automatically updated.

Sorky 29 Jan 2009 06:33

Quote:

Originally Posted by Nadeemjp (Post 1727831)
and that version is still usable in 3.8 as well

Yes... So far the only actual differences in the Mods are the new ProductID, Version Description and URL... Main thing is that I can support the different versions without potentially breaking the others if a major change occurs.

ckusmez 29 Jan 2009 07:10

good work i'll update now :) thanks

yingzhou 29 Jan 2009 10:33

will update now. thanks.

kylek 07 Feb 2009 21:19

Thanks, works great!

uklupinfan 14 Feb 2009 17:54

*Marked as installed*

Thanks

Alfa1 15 Mar 2009 12:17

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.

Sorky 16 Mar 2009 01:33

Quote:

Originally Posted by Alfa1 (Post 1768584)
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.

This is a known limitation (Note that the sorting option actually says: "Do not use alphabetic sorting if SubForumDepth > 1 as the sorting may not make sense"). The logic to try and do nested sorting given the way the SubForum are returned is far to complex and liable to impact performance... Use the "Forum Display order" sorting and you can force the order in the Forum Manager.

Quote:

Originally Posted by Alfa1 (Post 1768584)
2. Some of my forums do not show a horizontal border between them. Edit: for some reason this is now resolved.

If it re-occurs, PM me a link &/ image so I can see it

Quote:

Originally Posted by Alfa1 (Post 1768584)
3. 'Forums where this Mod will HIDE any SubForums' does not seem to work for me.

Works fine for me... PM me a link and screen shots of the option settings so I can see if you have something set incorrectly

Quote:

Originally Posted by Alfa1 (Post 1768584)
Please add the function to show the number of people viewing a subforum.

It's added to the wish-list

boandmichele 17 Mar 2009 12:46

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?

Sorky 18 Mar 2009 07:35

Quote:

Originally Posted by boandmichele (Post 1770349)
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?

Yeah - I have in my wish-list to add a cookie to remember the show/hide state. I do expect to get to it sooner or later ;)

Budweiser 21 Mar 2009 02:18

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...^

Alfa1 21 Mar 2009 10:12

It would indeed be nice to decrease the space/margin between forum names and forum description.

Sorky 23 Mar 2009 06:40

Quote:

Originally Posted by Budweiser (Post 1773070)
What config setting do I need to change to restore the original formatting?

vBulletin Options / Sorky03 - SubForum List Control - V1.5.2 / Forum description (div) formatting [original was class="smallfont"]
Default: class="smallfont" style="margin: 10px 10px 0px 10px"
Change back to: class="smallfont"
PS: Screenshots really helped!

Quote:

Originally Posted by Alfa1 (Post 1773234)
It would indeed be nice to decrease the space/margin between forum names and forum description.

See above ;) - You can try different settings here to suit your own personal needs

Walter Ronny 23 Mar 2009 14:11

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.

Budweiser 23 Mar 2009 14:37

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...

Sorky 23 Mar 2009 22:05

Quote:

Originally Posted by Budweiser (Post 1775001)
Sweet! Got it fixed. I would like to send you a donation for your hack. Where can I send it? (paypal?)

My pleasure & thanks for your appreciation. In the main post you will see a "Support the developer" link ;)

Quote:

Originally Posted by Walter Ronny (Post 1774975)
problem now is when i enable the hack, it appear a comma...

in the secong line..

And i'd like that text appear a bit little than normal..

Thank you.

Try this option to change the comma...
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 table
Try this option to change the SubForum list font, etc...
vBulletin Options / Sorky03 - SubForum List Control - V1.5.2 / SubForum Element (td) formatting

V1.6.0 Features
by Sorky
11 Apr 2009 11:50

Withdrawn due to a small bug

pedroenf 13 Apr 2009 05:48

1 Attachment(s)
New version returns an (several) error in IE:

http://www.vbulletin.org/forum/attac...1&d=1239601549


My 595 line is:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Uninstalled and reinstalled 1.5.2 version.

Sorky 13 Apr 2009 11:42

Quote:

Originally Posted by pedroenf (Post 1790000)
New version returns an (several) error in IE:

Damn a bug (when not using the collapse feature). Found & Fixed

V1.6.1 Features
by Sorky
13 Apr 2009 11:55

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)...
SubForums are shown/hidden when the page is loaded
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...
vBulletin Options / Sorky03 - SubForum List Control - V1.6.0 / Allow SubForum displays to be collapsed (Global)...
How do you want the SubForums to be shown by default?
New option added...
vBulletin Options / Sorky03 - SubForum List Control - V1.6.0 / Allow SubForum displays to be collapsed (Global)...
If no cookie exists show as...

pedroenf 13 Apr 2009 15:38

Quote:

Originally Posted by Sorky (Post 1790114)
Damn a bug (when not using the collapse feature). Found & Fixed

Sorry :( but i thought you should know. Thank you for the update :)

pedroenf 13 Apr 2009 15:50

Udated and confirmed: no bugs. Thank you again.

Sorky 14 Apr 2009 09:55

Quote:

Originally Posted by pedroenf (Post 1790252)
Sorry :( but i thought you should know. Thank you for the update :)

Glad you did as I'd rather be bug free ;) Took a bit to fix once I realized where the problem was and I forgot to test it without the collapse enabled

Quote:

Originally Posted by pedroenf (Post 1790267)
Udated and confirmed: no bugs. Thank you again.

Glad I could help


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.

pedroenf 14 Apr 2009 15:15

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

Sorky 15 Apr 2009 03:35

Quote:

Originally Posted by pedroenf (Post 1791044)
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

Thanks for posting that - It shows very nicely how the multiple SubForum columns can be utilized.

I'd also like to take this opportunity to invite other users to share samples of how they have used this Plug-In ;)

Walter Ronny 15 Apr 2009 18:36

Quote:

Originally Posted by Sorky (Post 1775327)
My pleasure & thanks for your appreciation. In the main post you will see a "Support the developer" link ;)



Try this option to change the comma...
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 table
Try this option to change the SubForum list font, etc...
vBulletin Options / Sorky03 - SubForum List Control - V1.5.2 / SubForum Element (td) formatting

not sure if you understood me, doesnt work, anyway thx. :down:

Sorky 16 Apr 2009 08:30

Quote:

Originally Posted by Walter Ronny (Post 1791858)
not sure if you understood me, doesnt work, anyway thx. :down:

Sorry to hear that - If you want to PM me a URL and access to your test server, I'm more than happy to have a quick look for you.

briansol 21 Apr 2009 17:53

1.6.1 produces invalid xhtml.

eg


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

a table cannot be contained within a span. the span needs to be closed.

looks like


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

is not working properly.

Sorky 22 Apr 2009 11:19

Quote:

Originally Posted by briansol (Post 1796111)
1.6.1 produces invalid xhtml

Thanks for the clue - for XHTML a table cannot go within a span. I do close the span (so the code you highlighed is not the issue), just the fact that I use a span around the table. I did this as I want the "SubForums:" text AND the table to disappear.

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).

Alfa1 25 Apr 2009 23:12

You might as well upload it or just add it to 1.6.1. I rather have valid xhtml

flipstyle 26 Apr 2009 19:10

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.

1.6.2 Features
by Sorky
27 Apr 2009 08:21

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

flipstyle 27 Apr 2009 18:34

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.

Sorky 28 Apr 2009 00:51

Quote:

Originally Posted by flipstyle (Post 1800038)
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.

Yeah - I acknowledged kami as I got the icon from there ;)

Glad you like it :up:

trotskid 28 Apr 2009 02:30

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

Sorky 28 Apr 2009 03:13

Quote:

Originally Posted by trotskid (Post 1800288)
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:

Nothing to do with this plug-in, but I can help anyway...

Change your Forum to a Category : "vBulletin Options" / "Forum manager" / <Chosen Forum> / "Act as Forum" = NO

Alfa1 28 Apr 2009 10:42

Please add the function to display sub-forum moderators.

trotskid 28 Apr 2009 11:44

Quote:

Originally Posted by Sorky (Post 1800303)
Nothing to do with this plug-in, but I can help anyway...

Change your Forum to a Category : "vBulletin Options" / "Forum manager" / <Chosen Forum> / "Act as Forum" = NO

Thank you. With this function not showing properly in forumhome, but with "forum not open" seems better although not absolutely.

http://img512.imageshack.us/img512/6237/sub2.gif

http://img512.imageshack.us/img512/9687/sub3.gif

Greetings

Alfa1 28 Apr 2009 15:20

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.

Sorky 29 Apr 2009 22:24

1 Attachment(s)
Quote:

Originally Posted by Alfa1 (Post 1800555)
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.

As far as I am aware, the Plug-In works really well in the ForumHome and in Categories (see image for an example from my test systems Forum Home). There are lots of setting, both in styles and in the options to let you customize the look and feel.

https://www.vbulletin.org/forum/exte...009/05/161.jpg

For the example picture, "Forum Listings Display Options" were...
  • "Depth of Forums - Forum Home" = 1
  • "Depth of Forums - Forum Display" = 1 <- Not actually applicable for Forum Home
  • "Depth of Sub-Forums" = 2

Il Pompa 01 May 2009 14:48

Great job!! Can you add the "alt code" on post counts when the mouse is over?

Sorky 02 May 2009 12:53

Quote:

Originally Posted by Il Pompa (Post 1802496)
Great job!! Can you add the "alt code" on post counts when the mouse is over?

To do what?

Alfa1 03 May 2009 02:35

Quote:

Originally Posted by Sorky (Post 1801407)
As far as I am aware, the Plug-In works really well in the ForumHome and in Categories (see image for an example from my test systems Forum Home). There are lots of setting, both in styles and in the options to let you customize the look and feel.

http://www.vbulletin.org/forum/attac...1&d=1241043766

Your test subcategory and testsubsubcategory show what I mean. They can barely be distinguished from each other. This is something that happens in vb by default. Is there a way to change the way categories are displayed on forum home, while keeping the display the same on forumdisplay?

GamerKeys 03 May 2009 20:52

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 :)

Sorky 04 May 2009 07:48

Quote:

Originally Posted by GamerKeys (Post 1803872)
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?

See...
vBulletin Options
Sorky03 - SubForum List Control - V1.6.2
SubForum list Formatting (combines with all previous settings)
You can put your HTML formatting here and it will be placed in the final HTML code for the page that is produced. Example...
SubForum Element (td) formatting
style="font-size:12px;"
produces
<td ... style="font-size:12px;">...SubForum Name...</td>

Sorky 04 May 2009 07:56

Quote:

Originally Posted by Alfa1 (Post 1803366)
Your test subcategory and testsubsubcategory show what I mean. They can barely be distinguished from each other. This is something that happens in vb by default. Is there a way to change the way categories are displayed on forum home, while keeping the display the same on forumdisplay?

Not quite sure what you mean...

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?

M Shaker 04 May 2009 23:02

Thanks ... I like this one :D

wAnBoA 05 May 2009 15:28

Great addon. Thanks!!

Twin-x 12 May 2009 11:03

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.

Sorky 13 May 2009 11:47

Quote:

Originally Posted by Twin-x (Post 1809268)
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

Only way vBulletin provides to "group" forums is to put them inside one, and this is all about the SubForum display after all ;). Your choice on if it is a Forum or Category. If you make it a Forum, I'd suggest you have it closed for posting.

Quote:

Originally Posted by Twin-x (Post 1809268)
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.

Would require a different hack - Cybernetec has one that may suffice: http://www.vbulletin.org/forum/showthread.php?t=201300

Quote:

Originally Posted by Twin-x (Post 1809268)
3rd if you cannot fix 1st how can i delete the text : sub category or even better hide the multilanguage text :)

You can get rid of the "Sub-Forums:" by clearing the "Other formatting options (global) / SubForum heading.." in my PlugIns options

Twin-x 14 May 2009 19:15

Thank you Sorky!!!

1.7.0 Features
by Sorky
21 May 2009 13:16

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 A
SubSubForum A
SubSubForum B
SubSubSubForum A
SubSubSubForum B
SubForum B
SubSubForum A
SubSubForum B
SubSubSubForum A
SubSubSubForum B
SubForum C
2) You can now have a all forums default to alphabetic-vertical sorting, but have a specific forum use forum order sorting

3) This option was not necessary, as you can simply erase the indent text from that option to get the same result ;)

Trek 21 May 2009 17:48

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. ;)

maidos 21 May 2009 21:34

can anyone shed somelight here how toadd some curved box

Sorky 21 May 2009 23:12

Quote:

Originally Posted by Trek (Post 1814735)
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. ;)

If you'd like to PM me a link, I'll take a look

iBaker 23 May 2009 01:03

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!

marshal_ramdev 23 May 2009 01:07

thanks , going to install it within few days :)

Sorky 23 May 2009 08:21

Quote:

Originally Posted by iBaker (Post 1815506)
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

Good idea - Only one image that gets swapped and alt text does not seem to want to change - Had to modify things a bit and make a new version

Not quite sure about your other request

1.7.1 Features
by Sorky
23 May 2009 08:23

Change Log

1. Added 'alt' text for the show/hide images
2. Other minor coding and commenting adjustments

baco84 23 May 2009 10:58

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?

Sorky 23 May 2009 11:31

Quote:

Originally Posted by baco84 (Post 1815688)
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?

Assuming you have the width in the table, try this option to make the table use the full width available
vBulletin Options / Sorky03 - SubForum List Control - V1.5.2 / Use the full column width for the SubForum table
Otherwise you just have to use less columns as the text simply will not fit in the space available.

iBaker 24 May 2009 01:37

1 Attachment(s)
Quote:

Originally Posted by Sorky (Post 1815649)
Good idea - Only one image that gets swapped and alt text does not seem to want to change - Had to modify things a bit and make a new version

Not quite sure about your other request

Thanks Sorky - v1.7.1 worked great

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!

Sorky 24 May 2009 01:59

Quote:

Originally Posted by iBaker (Post 1816040)
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

I guessed that was what you meant but wasn't totally sure. I actually tried it, but I wasn't really impressed with the result so I didn't publish it ;) I believe a much nicer solution would be to simply make an image with the text - that way the hover, click and alt all work the most effectively. It also saves doubling up on the text when images are disabled.

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.

Alfa1 24 May 2009 12:00

Quote:

Originally Posted by Sorky (Post 1815651)
Change Log

1. Added 'alt' text for the show/hide images

What alt text is added? I am afraid that this will hurt SEO, by decreasing keyword density.

Sorky 24 May 2009 22:48

Quote:

Originally Posted by Alfa1 (Post 1816210)
What alt text is added? I am afraid that this will hurt SEO, by decreasing keyword density.

It simply allows you to add the text that appears when you hover over the image or if the image is not displayed.

If you don't want the text, don't enter it in the option.

Alfa1 26 May 2009 00:46

Ah great. Is it possible to use a variable? Like the forum name?

Outbackmark 26 May 2009 07:07

Sorky this is a ripper, installed and nominated!!!!

Sorky 26 May 2009 07:40

Quote:

Originally Posted by Outbackmark (Post 1817315)
Sorky this is a ripper, installed and nominated!!!!

I (and obviously many others) wanted more than other Mods did.

Glad you like it ;)

Quote:

Originally Posted by Alfa1 (Post 1817205)
Ah great. Is it possible to use a variable? Like the forum name?

Not currently. I could "eval" the option field, but I'm not crazy about doing that.

Budweiser 30 May 2009 00:17

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

Sorky 31 May 2009 03:55

Quote:

Originally Posted by Budweiser (Post 1819875)
I did load another mod which seems to be in conflict with "Sorky Sub Forum List Control"
The mod is "Forum Minimum Age Restriction"

It certainly stops the show/hide and quite a lot more!!!

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 & Products
Plugin Manager
Product : Forum Minimum Age / Datastore cache templates
  • Hook Location = parse_templates
  • Execution Order = 9
PS: For some reason I seemed to have to refresh my browser once or twice to get it to kick in.

stamos2003 31 May 2009 13:02

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

Sorky 31 May 2009 22:15

Quote:

Originally Posted by stamos2003 (Post 1820613)
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

If you can send me a URL and access, I'll be happy to take a look.

W!cKeD 31 May 2009 22:17

* Thanks & Installed * :up:

stamos2003 02 Jun 2009 08:40

Quote:

Originally Posted by Sorky (Post 1820886)
If you can send me a URL and access, I'll be happy to take a look.

I downgraded to 1.6.2 and it works fine :)

Sorky 02 Jun 2009 13:03

Quote:

Originally Posted by stamos2003 (Post 1821877)
I downgraded to 1.6.2 and it works fine :)

I'm still interested to know why it is a problem for you and if it will be a problem for others... Do you have a test system I can access? Or just PM me your site URL (without any access) so I can see if there is anything obvious.

Budweiser 04 Jun 2009 18:30

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.

Sorky 05 Jun 2009 12:07

Quote:

Originally Posted by Budweiser (Post 1823452)
Can you take a look?

Sure - I did but nothing jumps out at me...I see you have made good use of the expand/collapse for different forums and the different widths - looks excellent ;-)

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.

Budweiser 05 Jun 2009 14:03

Quote:

Originally Posted by Sorky (Post 1823839)
How was 1.7.0?

I went from 1.6.0 to 1.7.1
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:

Originally Posted by Sorky (Post 1823839)
When you say you get forced off, I'm assuming you are talking about being logged off.

Yes, I get logged off...
Quote:

Originally Posted by Sorky (Post 1823839)
If you turn on the debug option, I can look at the settings.

I turned it on


If you want to log in, I have a test login.... username: "testuser" pass: "test"
It usually doesnt take long to get kicked off...

Sorky 06 Jun 2009 04:38

Quote:

Originally Posted by Budweiser (Post 1823895)
If you want to log in, I have a test login.... username: "testuser" pass: "test"
It usually doesnt take long to get kicked off...

It seems to behave in IE for me, but in FF I see what you mean!!! The settings and the page source all look correct and nothing strange that I can see... Very odd.

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.

2) If it is only due to my Mod, then have to look at any template changes (try the default style)

3) If it still happens with the default style, then you'd have to check any manual changes to the installed PHP.

4) Try the previous versions of my Mod to see when the problem started and look at the changes
I you want to PM me an admin login I will be happy to run through that routine

Budweiser 09 Jun 2009 17:56

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:

Email Que Cron add-on: Cron based e-mail sending
Edited admincp/email.php and includes/functions.php

Log in as user add-on: Admin Log In As User
Made template edit so the link is visabe on the members profile page
Added text to MEMBERINFO

Welcome Headers add-on: Welcome headers - Improve community registration rates
Removed the existing forumhome header info from the "FORUMHOME" template

Banned members log add-on: Banned Members Log
Added line to /includes/config.php
Other than these edits there was nothing changed from the base vbulletin 3.8.2. No styles, or plugins and the other versions still didn't work. I am ok with using version 1.5.2 but thought the feature with the cookies was nice. Do you think something above may be in conflict?

Sorky 10 Jun 2009 00:27

Quote:

Originally Posted by Budweiser (Post 1826510)
Other than these edits there was nothing changed from the base vbulletin 3.8.2. No styles, or plugins and the other versions still didn't work. I am ok with using version 1.5.2 but thought the feature with the cookies was nice. Do you think something above may be in conflict?

The fact that 1.5.2 works and it starts to cause issues after that pretty much has to be the cookies as that was the change from 1.5.2 to 1.6.0 and it was pretty small.

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

abrecher 10 Jun 2009 18:54

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 ?

Sorky 11 Jun 2009 01:00

Quote:

Originally Posted by abrecher (Post 1827109)
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 ?

PM me you URL and I'll look at it. If you can give me admin access and to a test site or do not mind if I add/remove the plugins I'll test it out.

Sorky 11 Jun 2009 23:25

Quote:

Originally Posted by abrecher (Post 1827109)
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 ?

Thanks for the link & login. Couldn't login but looking at your site was enough to show me you were using the 3.7.x version. To upgrade to the 3.8.x version you have to make sure you uninstall the old one after recording your settings as the 3.8 version uses a different product ID

abrecher 11 Jun 2009 23:51

Quote:

Originally Posted by Sorky (Post 1827926)
Thanks for the link & login. Couldn't login but looking at your site was enough to show me you were using the 3.7.x version. To upgrade to the 3.8.x version you have to make sure you uninstall the old one after recording your settings as the 3.8 version uses a different product ID

I never installed any version on the site before I installed the 3.8 version. I had to uninstall it when the index page wouldn't load. Then I went ahead and installed the 3.7 version and it worked fine.

I'm sorry about the login issue, you should be able to log in now.

Sorky 12 Jun 2009 09:07

Quote:

Originally Posted by abrecher (Post 1827944)
I never installed any version on the site before I installed the 3.8 version. I had to uninstall it when the index page wouldn't load. Then I went ahead and installed the 3.7 version and it worked fine.

I'm sorry about the login issue, you should be able to log in now.

Latest installed and seems AOK.

timallen82 15 Jun 2009 04:50

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!

Sorky 15 Jun 2009 06:14

Quote:

Originally Posted by timallen82 (Post 1829919)
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.

In a nutshell, if your forum displays "SubForums: ...", this mod can be used to improve that display.

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.

timallen82 15 Jun 2009 06:33

Thanks for the help. I will try your suggestions. I think I understand what you mean.

Sorky 15 Jun 2009 10:27

Quote:

Originally Posted by timallen82 (Post 1829937)
Thanks for the help. I will try your suggestions. I think I understand what you mean.

I see you figured it out - Hope it gives you what you want ;-)

PS: What option or Mod do you use to have each Category appear in its own table?

Alfa1 16 Jun 2009 10:26

If a forum is set to not show sub-forums, it still shows the text 'sub-forums:'

Sorky 16 Jun 2009 13:48

Quote:

Originally Posted by Alfa1 (Post 1830570)
If a forum is set to not show sub-forums, it still shows the text 'sub-forums:'

They were never really linked, but it does make sense. I'll have a look at it.

1.7.2 Features
by Sorky
17 Jun 2009 01:49

Removed as this was a small change and I did another so I simply combined them in the next version

Sorky 17 Jun 2009 11:35

Quote:

Originally Posted by Il Pompa (Post 1802496)
Great job!! Can you add the "alt code" on post counts when the mouse is over?

I finally guessed what you meant... You wanted it to say "Threads/Posts" when you hover over the numbers.

PS: It was a span title rather than an alt code ;)


All times are GMT. The time now is 12:35.

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.