View Full Version : 'Need sub forum mod
stephen1976
11-18-2009, 07:32 PM
shame Vb4 did not come with the subforum mod built in,
Brandon Sheley
11-18-2009, 08:13 PM
what type of mod do you need?
It's a shame you gave so little info :p
fta2k
11-18-2009, 10:53 PM
shame Vb4 did not come with the subforum mod built in,
It's really not a shame, cause vb4 "DID" come with subforum mod built in:
https://vborg.vbsupport.ru/
Alfa1
11-18-2009, 11:59 PM
I assume that stephen wants something like sorky's sub-forum manager or cyb sub-forum manager. Both excellent modifications. IMO this functionality should be default in vbulletin.
I will not upgrade to vb4 before one of these is available.
Lynne
11-19-2009, 02:51 AM
You realize this is just css and with a few lines to your .css file, you get this:
106382
It's not perfect, but I only spent about 20 minutes on it. I'm sure it could be cleaned up to be much better (I would have to look at some of the pre-set widths within there cuz if you make the browser window too small, the margins add up and push the li to the next row). Oh, to make the lists like that, I just googled "css lists put things side by side" and grabbed the first result.
stephen1976
11-19-2009, 09:47 AM
I assume that stephen wants something like sorky's sub-forum manager or cyb sub-forum manager. Both excellent modifications. IMO this functionality should be default in vbulletin.
I will not upgrade to vb4 before one of these is available.
Hi that is what i mean, i have lots of sub forums, IMO this should have been built in to VB4,
:D
Lynne, sorry but to me you might as well be talking german, as I have no idea how to do what your suggesting. :eek:
ragtek
11-19-2009, 10:24 AM
You realize this is just css and with a few lines to your .css file, you get this:
106382
It's not perfect, but I only spent about 20 minutes on it. I'm sure it could be cleaned up to be much better (I would have to look at some of the pre-set widths within there cuz if you make the browser window too small, the margins add up and push the li to the next row). Oh, to make the lists like that, I just googled "css lists put things side by side" and grabbed the first result.
Yea, looks nice.
You wanna share the code?
Lynne
11-19-2009, 01:36 PM
Yea, looks nice.
You wanna share the code?
As I said, I just grabbed the first link I got in google - Do You Want To Do That With CSS? - Multiple Column Lists (http://www.communitymx.com/content/article.cfm?cid=27f87) . Making them columns actually took just a couple of copy/pastes. It was cleaning up the styling (the stupid shadows and the background and the :firstchild changes they made, etc.) that took the other 18 minutes. If I were to do it right, I'd then change the style of the boxes. But, I doubt I am doing that on my forum, so I've probably done all I will do with it (just wanted to prove to myself how easy it is to do it in css).
robbiefritz
11-19-2009, 10:05 PM
As I said, I just grabbed the first link I got in google - Do You Want To Do That With CSS? - Multiple Column Lists (http://www.communitymx.com/content/article.cfm?cid=27f87) . Making them columns actually took just a couple of copy/pastes. It was cleaning up the styling (the stupid shadows and the background and the :firstchild changes they made, etc.) that took the other 18 minutes. If I were to do it right, I'd then change the style of the boxes. But, I doubt I am doing that on my forum, so I've probably done all I will do with it (just wanted to prove to myself how easy it is to do it in css).
LOL you rock!
Lynne
11-19-2009, 10:47 PM
Wayne gave me a good idea to easily get it working just for one section also, so I just did a quick addition of the id tag to the css and got this:
https://vborg.vbsupport.ru/attachment.php?attachmentid=106421&d=1258678036
Again, this is all done with JUST css - no template edits and no plugins. Take a look at the link I posted and grab firebug for use with firefox and you'll be all set to do it yourself.
stephen1976
11-19-2009, 11:01 PM
this is good is you have 3 to 4 sub forms, i have over 20 in some forums , see http://www.penaltychargesforum.co.uk/forum/forumdisplay.php?61-England-Wales-Banks-Building-Societys
so would be of no use.
the mod was great, VB needs this as standard,
Lynne
11-19-2009, 11:23 PM
Well, you would probably want to set <li> to 25% or 33% instead of 50% like I have and then hide the description or something. I have no idea what your site looked like before, but you could probably recreate the look using the css if you tried.
milsirhc
11-20-2009, 10:27 AM
This is what I really want to achieve!
Lynne: I've check the link you posted but I'm not really a programmer.. =( Is it possible to guide us how u do this? (pls!)
Lynne
11-20-2009, 01:42 PM
This is what I really want to achieve!
Lynne: I've check the link you posted but I'm not really a programmer.. =( Is it possible to guide us how u do this? (pls!)
It's not programming, it is just basic .css. I don't have time to write out an article on this (or support one), so hopefully someone else can do it.
stephen1976
11-20-2009, 04:14 PM
It's not programming, it is just basic .css. I don't have time to write out an article on this (or support one), so hopefully someone else can do it.
even if we offer you flowers:p
milsirhc
11-20-2009, 08:09 PM
and chocolates too!
Lynne
11-20-2009, 10:27 PM
I wrote this up quickly and posted it here - [HOW TO - vB4] Two column sub-forum setup via CSS only (https://vborg.vbsupport.ru/showthread.php?t=228484) I will emphasize what I wrote in the article - I am not teaching CSS in it. You will have to teach yourself CSS. I will not be helping with CSS styling in that thread.
tommyxv
11-21-2009, 01:09 AM
Thanks for your efforts and time. Looks good. I thought this thread was for sub-forums and not main forums...like this mod: http://www.bihforum.com/
https://vborg.vbsupport.ru/showthread.php?t=201294&highlight=subforum+manager
Thats what I need. :) Put the sub-forums in columns. ;)
milsirhc
11-22-2009, 10:57 AM
Thanks Lynne!
Tommyxv: Yea, hopefully the developer for the mod upgrade his mod to work with V4 too! Can't wait!
Lynne
11-22-2009, 02:42 PM
Thanks Lynne!
Tommyxv: Yea, hopefully the developer for the mod upgrade his mod to work with V4 too! Can't wait!
Again, no need for a mod. You can do it with just CSS.
Charlie98902
11-22-2009, 02:45 PM
Lynne, your code that you posted will put it like the screenie above this post reply?
Lynne
11-22-2009, 02:53 PM
Lynne, your code that you posted will put it like the screenie above this post reply?
No. The code I posted in the article will put the forums in two columns. But, it is the same basic idea to put the sub-forums in two columns - it is just css.
Charlie98902
11-22-2009, 03:02 PM
Thanks, I am no coder so I'll wait patiently for a mod or the how to and where in the CSS.
Lynne
11-22-2009, 03:19 PM
I just added the CSS to make the Sub-Forums in columns to my article. Again, I didn't style it at all, it will just put them in columns.
tommyxv
11-22-2009, 10:46 PM
I just added the CSS to make the Sub-Forums in columns to my article. Again, I didn't style it at all, it will just put them in columns.
Thank You Lynne. I don't care what they say about you....you're the best! :)
milsirhc
11-23-2009, 01:33 AM
Tommyyxv: Did you manage to work it out on your own? If so, can you share with us the codes? - Thanks!
Lynne
11-23-2009, 01:43 AM
Tommyyxv: Did you manage to work it out on your own? If so, can you share with us the codes? - Thanks!
I already posted the .css in the article.
Charlie98902
11-23-2009, 01:44 AM
Tommyyxv: Did you manage to work it out on your own? If so, can you share with us the codes? - Thanks!
Got to the admin panel then click on styles & Templates then edit templates then look for forumbits.css then at the ens of the code that is there already add this at the very bottom. No mod needed. Thanks to Lynne for the css code.
.subforums ol.subforumlist {
float: left;
width: 100%;
margin: 0;
padding: 0;
}
.subforumlist li.subforum {
float: left;
width: 50%;
margin: 0;
padding: 0;
clear:none;
}
/* to remove the commas */
.commalist li.subforum:after {
content:"";
}
milsirhc
11-23-2009, 11:10 AM
Thanks Charlie and Lynne!
Both of you are awesome! Thanks thanks thanks thanks thanks!
Charlie98902
11-23-2009, 11:15 AM
Lynne's code I just reposted it since no one clicked here link. :) You're welcome.
Marco van Herwaarden
11-23-2009, 02:30 PM
That image doesn't show any modification, those are simple settings that already existed in vB3.It's really not a shame, cause vb4 "DID" come with subforum mod built in:
http://i.fhqhosting.com/29untitled.PNG
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.