The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Forums arranged in columns on forumhome Details »» | |||||||||||||||||||||||||
As requested several times, this hack allows you to arrange forums on forumhome in xx columns instead of just one per row as it is in standart vb3. It is a plain port of my 3.0 version you can find here.
Look at the screenshot to know what i mean The design is changeable in the templates of course I've tested it, and it should work, but as i don't use it myself, i cannot do a longtime test, so if you find any bugs, report them Right now, it's just working on forumhome. I'll add changes for forumdisplay later Show Your Support
|
Comments |
#452
|
|||
|
|||
Quote:
columncell template ( using standard vb style): Code:
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]" width="$column_width"> <div> <table border="0" cellpadding="1" cellspacing="5"> <tr> <td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" class="ForumImages" /></td> <td> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> </div> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if><br /> <if condition="$show['lastpostinfo']"> <div class="smallfont" align="$stylevar[left]"> <div style="clear:both"> Last Post: <a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a> </div> <div<if condition="is_browser('ie', 6)"> style="float:$stylevar[left]"</if>> Posted By <b><phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase></b> -$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']">-<span class="time">$lastpostinfo[lastposttime]</span></if></div><br /> <b>Forum Info:</b> Threads: $forum[threadcount] Posts: $forum[replycount] </if> </td> </table> </td> |
#453
|
|||
|
|||
Quote:
Code:
<if condition="$childforumbits"> <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> <if condition="$forum['subforumcolumns'] > 1"> <tr> <style="border: none; width: 100%;"> $childforumbits </td> </tr> <else /> <tr align="center"> <td class="thead" width="30"> </td> <td class="thead" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" width="125">$vbphrase[last_post]</td> <td class="thead" width="55">$vbphrase[threads]</td> <td class="thead" width="55">$vbphrase[posts]</td> <if condition="$vboptions[showmoderatorcolumn]"> <td class="thead" width="100">$vbphrase[moderator]</td> </if> </tr> $childforumbits </if> </tbody> </if> |
#454
|
||||
|
||||
Veccy, thank you so much! I'd love to be able to use the normal prefix option within the forum manager for the custom icons!
|
#455
|
|||
|
|||
Ledge you ledge, yeah same as above.
|
#456
|
||||
|
||||
Veccy, hopefully you can get it working for the normal prefix option. I'd rather do the "normal" way rather than the 'template way'
|
#457
|
|||
|
|||
Yup, does it work in IE properly?
Because I get this in IE: As you can see all the tables are spaced, not how they're supposed to be! |
#458
|
|||
|
|||
I will take a look later today, mine looks fine in IE with the default template.
Have had no luck with the prefixes yet though. |
#459
|
|||
|
|||
Veccy, you have been helping people a great deal with this plugin it seems. Great thanks for that.
Im one of the many hapless folks who just cant make it work, at least not the way its supposed to work (in my head at least). Ive been trying for a year now to get this to work... and no dice. I like how you have it in your forum... very much like what i want to do. 1. Three Columns 2. The "last post" info visible. 3. And the Status Icon "old/new/locked,etc..." working correctly. Would it be possible for you to put what you have done here as one step by step guide for those of us still having trouble? |
#460
|
||||
|
||||
carubmun, you might want to look through some of the past posts. Veccy has detailed and even pasted the same codes he uses within the last few pages of this mod. Check 'em out, they may already help you with what you're looking for.
|
#461
|
|||
|
|||
How to use image prefixes:
open the forumhome_forumbit_columncell template and find: Code:
<td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" class="ForumImages" /></td> Code:
<td><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" class="ForumImages" /></td> Code:
17_forum_link.gif 17_forum_new.gif 17_forum_new_lock.gif 17_forum_old.gif 17_forum_old_lock.gif |
#462
|
||||
|
||||
Oh man...thanks Veccy!
Worked for me! My code in the first line was just a little different, but I noticed what you did and it worked. Thank you so much for sharing and helping us with this! :up: |
#463
|
|||
|
|||
Quote:
its Code:
$forum[imageprefix] |
#464
|
|||
|
|||
Quote:
Ive tried it like 20 times these past couple of days... and a bunch more times about a year ago before i gave up. I know its all me, because others are not having the issues im having. Tried it with the instructions found here by you guys, older instructions in this thread, instructions i saw on another vb forum... i disabled my tabs, tried it on 3 different skins including the default skin. Nothing. So im gonna post here exactly what im doing, step by step. See if im just missing a step somewhere. 1. Install product-xenon_forumcols.xml through admincp. 2. Download my functions_forumlist.php and do the Find/Change edit per this hacks original instructions. 3. Add the "Add This New Function" part at the very end of the functions_forumlist.php file, but above the box at the end. 4. Upload functions_forumlist.php back to my forum. 5. Go to my forumbit_level1_nopost file and do the Find/Replace edit as per the original instructions. 6. Go to Forum Manager and make subforums appear in 3 columns. 7. As it still did not work at this point, i went and added the contents of post #451 by Veccy in this thread... into my columncell. Still, nothing. 8. I repeat step 5, but this time using the info provided by Veccy in post #452. Still, nothing. So, am I missing a step? |
#465
|
|||
|
|||
Quote:
|
#466
|
|||
|
|||
Does anyone know how to make this display in a vertical alphabetic order?
A D B E C F Instead of A B C D E F |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|