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

Reply
 
Thread Tools
Forums arranged in columns on forumhome + Extra Future Details »»
Forums arranged in columns on forumhome + Extra Future
Version: 1.00, by AKapadia AKapadia is offline
Developer Last Online: Sep 2011 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 05-28-2006 Last Update: Never Installs: 30
 
No support by the author.

In this hack i just add some extra Future. It was made by Xenon

When we install Forums arranged in columns on forumhome it just show the main Thread name and few people ask me how i customise on my site and show last post and then other forum info. with it..

well it's simple 1st install this hack..

https://vborg.vbsupport.ru/showthread.php?t=99829

And then login in ur admincp

SKins > Forum Home Templates > forumhome_forumbit_columncell

Look For <div class="smallfont">$forum[description]</div></if>

Add This After that

Quote:

<if condition="$show['lastpostinfo']"><BR>
<div class="smallfont" align="$stylevar[left]">
<div style="clear:both">
&nbsp;&nbsp;&nbsp;&nbsp;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>>
&nbsp;&nbsp;&nbsp;&nbsp;Posted <phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>

-$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']">-<span class="time">$lastpostinfo[lastposttime]</span></if></div><BR>
&nbsp;&nbsp;&nbsp;&nbsp;Forum Info: Topic: $forum[threadcount]
Post: $forum[replycount]
</if>
and save it... it will work for sure

If u want to add Image next to Topic then add that in discription of forum...

This is my 1 hack and i really don't know how to post he hack so i m just doing w.e i can to help other members...

Show Your Support

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

Comments
  #32  
Old 06-07-2006, 02:21 PM
Farjad Farjad is offline
 
Join Date: Jan 2006
Location: US
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in my forum i did was <img src="images/forum/$forum[forumid].jpg"> in the template bit...
Reply With Quote
  #33  
Old 06-07-2006, 09:25 PM
Blackbeard Blackbeard is offline
 
Join Date: Mar 2003
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you mean this template - forumhome_forumbit_columncell

Code:
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]" width="$column_width">
	<div>
		<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
		<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>
<if condition="$show['lastpostinfo']"><BR>
<div class="smallfont" align="$stylevar[left]">
<div style="clear:both">
&nbsp;&nbsp;&nbsp;&nbsp;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>>
&nbsp;&nbsp;&nbsp;&nbsp;Posted <phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>

-$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']">-<span class="time">$lastpostinfo[lastposttime]</span></if></div><BR>
&nbsp;&nbsp;&nbsp;&nbsp;Forum Info: Topic: $forum[threadcount]
Post: $forum[replycount]
</if>
</td>
Reply With Quote
  #34  
Old 08-26-2006, 03:28 AM
^SuiCyde^ ^SuiCyde^ is offline
 
Join Date: Dec 2003
Location: Colorado Springs/CincyO
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
then add this new function to the file:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// ###################### Start construct_forum_columns #######################
function construct_forum_columns($parentid, $columncount)
{
i assumed this meant right after you make the other changes, but when i do that, i get an error.......


Fatal error: Call to undefined function: construct_forum_columns() in /home/knockout/public_html/board/includes/functions_forumlist.php on line 296

what am i doing wrong?
Reply With Quote
  #35  
Old 08-29-2006, 02:15 PM
Kenyon's Avatar
Kenyon Kenyon is offline
 
Join Date: May 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ^SuiCyde^
what am i doing wrong?
I assume you're referring to Xenon's instructions. The instructions are bit sloppy - they don't specify where the user should put the function, and for non-coders that can be incredibly confusing.

The best thing to do is put that new function at the very end of the file, right before the closing PHP tag ( ?> ).
Reply With Quote
  #36  
Old 11-23-2006, 01:39 PM
Harley D's Avatar
Harley D Harley D is offline
 
Join Date: Jan 2003
Location: WagnerTech.net
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have a "forumhome_forumbit_columncell" template.
I'm running VB ver 3.5.4 and Cyb - Sub-forums Arranger, found here
https://vborg.vbsupport.ru/showthread.php?t=113942

I used this code in my "forumhome_forumbit_level1_nopost" with excellent results. You can check it out here www.srtcaliber.com.
just another way to use this code for those who don't have the "forumhome_forumbit_columncell" template.

Thanks for the code!
Reply With Quote
  #37  
Old 05-05-2007, 11:35 PM
b65ran b65ran is offline
 
Join Date: Apr 2005
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice add on. Is there anyway I can show five latest threads under each forum instead of showing only the last replied thread ?
Reply With Quote
  #38  
Old 05-21-2010, 04:30 AM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can someone update this Mod for vb4.03 please
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 03:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12982 seconds
  • Memory Usage 2,284KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_code
  • (2)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
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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