Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-01-2007, 12:35 AM
Matty.B Matty.B is offline
 
Join Date: Sep 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How do I? Posts & Treads Display

Hey everyone,

I have been searching the databases here and at vBul.com also other sites (but i won't mention them)

I am wanting to display Threads: and Posts: To the Category list...
IE


As i have said i have done a good search using the terms
posts threads display
posts threads categories
posts threads category
post thread etc.........

If someone could please let me know how to do this or give me a link to a tut that show me how.. I would REALLY appreciate it.

Thanks everyone
Reply With Quote
  #2  
Old 11-01-2007, 03:32 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you're familiar with the HTML structure then you can copy and paste the thread and post column codes into the category column. In the screenshot I see three columns (statusicon, forum description and last post by). Where you see Forum and Last Post you need to edit templates:

forumhome_forumbit_level1_nopost
forumhome_forumbit_level2_nopost

For the informational bits you need to edit templates:

forumhome_forumbit_level1_post
forumhome_forumbit_level2_post

All of these are in the FORUMHOME template group. If you need more help let me know.
Reply With Quote
  #3  
Old 11-01-2007, 03:47 AM
Matty.B Matty.B is offline
 
Join Date: Sep 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey thanks

Sounds good so far... It's just the fact that i'm not the most HIGHLY learned html expert.. 50% is still just one big code in my eyes!.

Do you know of a detailed explination on how to do it...

I know that i'll have to remove and add

HTML Code:
	  <td class="thead">$vbphrase[threads]</td>
	  <td class="thead">$vbphrase[posts]</td>
to the other templates.. (i also know they will no linger be names "thead" either!)

It's just the fact that i have no idea EXACTLY where to put it

Thankyou kindly for the help thus far
Reply With Quote
  #4  
Old 11-01-2007, 04:50 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It gets easier as you mess with it I assure you.

There are threads that explain specific edits but I don't know of any tutorial that explains what you want to do. I'm working on something at the moment but unless someone gets to it first I'll have an edit that you can try by tonight or tomorrow. Are you working on a default template or a custom skin?
Reply With Quote
  #5  
Old 11-01-2007, 08:23 AM
Matty.B Matty.B is offline
 
Join Date: Sep 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

custom skin... remove the link if you need to ... http://forums.vacf.com.au is the location.. I have just made the skin there. This is where i want the edit to go

I will be more than happy to wait for you mate

*EDIT
The skin is custom made from default skin... By me... !
Reply With Quote
  #6  
Old 11-01-2007, 03:16 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't believe a tutorial exists for doing this - it's mostly html (template) editing.

perhaps Freesteyelz can create a tutorial for the community
Reply With Quote
  #7  
Old 11-02-2007, 02:43 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Princeton View Post
perhaps Freesteyelz can create a tutorial for the community

Probably not for this edit but I'll brainstorm on some ideas.


Quote:
Originally Posted by Matty.B View Post
custom skin... remove the link if you need to ... http://forums.vacf.com.au is the location.. I have just made the skin there. This is where i want the edit to go

I will be more than happy to wait for you mate

*EDIT
The skin is custom made from default skin... By me... !
Cool. Please post in [code] tags your templates:

forumhome_forumbit_level1_nopost
forumhome_forumbit_level2_post


I'll use them for your edit as opposed to using the default template.
Reply With Quote
  #8  
Old 11-02-2007, 08:47 AM
Matty.B Matty.B is offline
 
Join Date: Sep 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay here is what you requested.


forumhome_forumbit_level1_nopost
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
 <br />
<tbody>
	<tr>
		<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
			<if condition="$childforumbits">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
			</if>
			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
			<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
		</td>
	</tr>
</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
       <td class="thead">&nbsp;</td>
       <td class="thead" width="100%" align="$stylevar">$vbphrase[forum]</td>
       <td class="thead" width="175">$vbphrase[last_post]</td>
       <td class="thead">$vbphrase[threads]</td>
       <td class="thead">$vbphrase[posts]</td>
       <if condition="$vboptions['showmoderatorcolumn']">
       <td class="thead">$vbphrase[moderator]</td>
       </if>
     </tr>
$childforumbits
</tbody>
</if>
forumhome_forumbit_level2_post
Code:
<tr align="center">
	<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
	<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
		<div>
			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
			<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
		</div>
		<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
		<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
		<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
	</td>
	<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
	<td class="alt1">$forum[threadcount]</td>
	<td class="alt2">$forum[replycount]</td>
	<if condition="$vboptions['showmoderatorcolumn']">
	<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
	</if>
</tr>
$childforumbits
Thats both in their entirety!

Thanks very much for this help.. I though for sure there would already be a tutorial on how to do this. Phew I don't feel as bad for not being able to find one and posting this topic!
Reply With Quote
  #9  
Old 11-03-2007, 05:35 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. I'll have something either by tonight or tomorrow.

--------------- Added 03 Nov 2007 at 18:08 ---------------

Edited: I came back to use the image for reference and it's not currently showing up? Do you have a link to the site or can you repost the image please.
Reply With Quote
  #10  
Old 11-06-2007, 06:05 PM
Matty.B Matty.B is offline
 
Join Date: Sep 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry had major server malfunctions... Image is back now.. The skin is also now on http://vacf.com.au if you needed to see it
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 07:16 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.07854 seconds
  • Memory Usage 2,269KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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