Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

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
  #22  
Old 06-01-2006, 12:51 AM
WritersBeat WritersBeat is offline
 
Join Date: Apr 2006
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, anyone find a way to display it as a subforum to?
Reply With Quote
  #23  
Old 06-01-2006, 03:57 PM
lukeeales lukeeales is offline
 
Join Date: Dec 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great, I will install it shortly. Plug in format would be awesome.
Reply With Quote
  #24  
Old 06-01-2006, 10:15 PM
Farjad Farjad is offline
 
Join Date: Jan 2006
Location: US
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

actually nevermind.. i got a better looking code thou try this guyz:

replace whole forumhome_columncell with :

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><U>$forum[title]</U></strong></a>
	</div><blockquote style="margin-left: 15px; margin-top: 0px; margin-right: 0px;">
	<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if><br>
<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
<if condition="$forum[link] != ''">
  <else />
  <div class="smallfont" align="$stylevar[left]">$forum[lastpostinfo]</div>Forum Info: Topics: <strong style="font-weight: 400">$forum[threadcount] 
	Posts: $forum[replycount]</strong>
<br /></if></blockquote></td>
Reply With Quote
  #25  
Old 06-02-2006, 07:00 AM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is what i came up with:


as you can see i got the subforums to work, [Live Example]
Reply With Quote
  #26  
Old 06-02-2006, 02:14 PM
AKapadia AKapadia is offline
 
Join Date: Jan 2006
Location: U.S.A.
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks hot... nice.. work
Reply With Quote
  #27  
Old 06-02-2006, 09:11 PM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What i want to do is make the whole box glow, (by changing the images) if there has been any new threads/posts.

HTML Code:
	<if condition="$forum[statusicon] == old OR lock">
	<!-- normal look -->
	</if>
	<if condition="$forum[statusicon] == new">
	<!-- glowing boarder :) -->
	</if>
Reply With Quote
  #28  
Old 06-05-2006, 07:28 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Moved this to template modifications since there are no actual file changes for this specific mod.
Reply With Quote
  #29  
Old 06-06-2006, 03:04 PM
davewolf davewolf is offline
 
Join Date: Aug 2004
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Chad how did you get the subforum text list show ?

What youve done is just what i need as i have lots of sub-forums.
Reply With Quote
  #30  
Old 06-07-2006, 03:03 AM
Farjad Farjad is offline
 
Join Date: Jan 2006
Location: US
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mr Chad
What i want to do is make the whole box glow, (by changing the images) if there has been any new threads/posts.
a
HTML Code:
	<if condition="$forum[statusicon] == old OR lock">
	<!-- normal look -->
	</if>
	<if condition="$forum[statusicon] == new">
	<!-- glowing boarder :) -->
	</if>
easy, just put the regular code in first if and then dont have the second if just change it to <else /> and put the glow of the code closing it with an </if>

or like this
Code:
	<if condition="$forum[statusicon] == new">
glow td here
<else />
old td here
</if>
Reply With Quote
  #31  
Old 06-07-2006, 11:18 AM
Blackbeard Blackbeard is offline
 
Join Date: Mar 2003
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What changes do i need to make to put an image in the columns for each forum??

Thanks in advance
Reply With Quote
Reply

Thread Tools

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 09:00 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.12284 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
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_html
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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