Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forums arranged in columns on forumhome Details »»
Forums arranged in columns on forumhome
Version: 1.0, by Xenon Xenon is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-31-2005 Last Update: 11-21-2005 Installs: 264
DB Changes Uses Plugins Template Edits
Code Changes  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #452  
Old 01-15-2009, 05:13 PM
Blackheart_72 Blackheart_72 is offline
 
Join Date: Dec 2007
Location: UK
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reece^B View Post
Veccy what are you using in your columncell template?
It's very neat and what not. Mind sharing lol?
Here you go fella.

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&amp;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&amp;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>
Reply With Quote
  #453  
Old 01-15-2009, 05:29 PM
Blackheart_72 Blackheart_72 is offline
 
Join Date: Dec 2007
Location: UK
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reece^B View Post
On another note, when you have the columnised forums how did you remove the last post, threads, posts bit @ the top?

Could people share their template? I've spent got knows how long trying to make this look good, but it's not happening lol.

Also, anyone got that image prefix in the forum manager to work?
I have removed it from the columns but kept it in the normal forums, this is what i have where the code from the hack goes in level one no post:

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">&nbsp;</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>
I am going to look at the prefixes asap for glamrock and will post in here if i get it sorted.
Reply With Quote
  #454  
Old 01-15-2009, 05:43 PM
GlamRockTalk's Avatar
GlamRockTalk GlamRockTalk is offline
 
Join Date: Nov 2008
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #455  
Old 01-15-2009, 08:19 PM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ledge you ledge, yeah same as above.
Reply With Quote
  #456  
Old 01-17-2009, 02:23 PM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Veccy, hopefully you can get it working for the normal prefix option. I'd rather do the "normal" way rather than the 'template way'
Reply With Quote
  #457  
Old 01-18-2009, 08:44 AM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #458  
Old 01-18-2009, 09:54 AM
Blackheart_72 Blackheart_72 is offline
 
Join Date: Dec 2007
Location: UK
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #459  
Old 01-18-2009, 10:27 AM
carubmun carubmun is offline
 
Join Date: Jan 2007
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #460  
Old 01-18-2009, 11:45 AM
GlamRockTalk's Avatar
GlamRockTalk GlamRockTalk is offline
 
Join Date: Nov 2008
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #461  
Old 01-18-2009, 02:24 PM
Blackheart_72 Blackheart_72 is offline
 
Join Date: Dec 2007
Location: UK
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
change to:

Code:
<td><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" class="ForumImages" /></td>
create 5 images and give them a prefix (i used 17_ for the example):

Code:
17_forum_link.gif
17_forum_new.gif
17_forum_new_lock.gif
17_forum_old.gif
17_forum_old_lock.gif
and upload them to your style statusicon folder, then i added 17_ in the prefix field.
Reply With Quote
  #462  
Old 01-18-2009, 03:06 PM
GlamRockTalk's Avatar
GlamRockTalk GlamRockTalk is offline
 
Join Date: Nov 2008
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #463  
Old 01-18-2009, 03:16 PM
Blackheart_72 Blackheart_72 is offline
 
Join Date: Dec 2007
Location: UK
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GlamRockTalk View Post
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:
No worries.

its
Code:
$forum[imageprefix]
thats missing from the above template.
Reply With Quote
  #464  
Old 01-19-2009, 07:26 AM
carubmun carubmun is offline
 
Join Date: Jan 2007
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GlamRockTalk View Post
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.
I have, im not entirely a noob at this kind of stuff... but for some reason i just cant get this to work.
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?
Reply With Quote
  #465  
Old 01-19-2009, 09:08 AM
Blackheart_72 Blackheart_72 is offline
 
Join Date: Dec 2007
Location: UK
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by carubmun View Post
I have, im not entirely a noob at this kind of stuff... but for some reason i just cant get this to work.
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?
Have you got a link to your site so i can see style you are using, can go from there then matey.
Reply With Quote
  #466  
Old 01-20-2009, 08:16 AM
djxcee djxcee is offline
 
Join Date: Mar 2008
Location: SoCal
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05374 seconds
  • Memory Usage 2,379KB
  • Queries Executed 30 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete