View Single Post
  #109  
Old 05-16-2007, 05:40 AM
ProSkinner.com's Avatar
ProSkinner.com ProSkinner.com is offline
 
Join Date: Aug 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mobyz View Post
how do i make the latest post of each forum appear ?
I don't have the exact code, but if you search on vBulletin.org, you'll find a number of hacks that can do this.
Quote:
Originally Posted by Smiry Kin's View Post
how i make it so the postbit section with Username, title, posts etc is in one group/section, not seperate, i think it would look alot better, thanks.
You would need to enclose them within only one <div> but leave the .usrbit class intact. Also, make sure to add a <br /> after each line to keep them separated with a line break. These are the exact steps you should take:

In your postbit_legacy template, find this code:

Code:
<if condition="$post['usertitle']"><div class="usrbit">User Title: <strong>$post[usertitle]</strong></div></if>
			<if condition="$post['rank']"><div class="usrbit">User Rank:<strong>$post[rank]</strong></div></if>
				<if condition="$post['joindate']"><div class="usrbit">$vbphrase[join_date]: <strong>$post[joindate]</strong></div></if>
				<if condition="$post['field2']"><div class="usrbit">$vbphrase[location_perm]: <strong>$post[field2]</strong></div></if>
				<if condition="$post['age']"><div class="usrbit">$vbphrase[age]: <strong>$post[age]</strong></div></if>
				<div class="usrbit">
					$vbphrase[posts]: <strong>$post[posts]</strong>
				</div>
				<if condition="$show['infraction']"><div class="usrbit">$vbphrase[infractions]: <strong>$post[warnings]/$post[infractions] ($post[ipoints])</strong></div></if>
				<if condition="$show['reputation']"><div class="usrbit"><if condition="$show['reppower']">$vbphrase[reppower]: <strong><span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></strong></div></if>
Replace it with this:
Code:
<div class="usrbit"><if condition="$post['usertitle']">User Title: <strong>$post[usertitle]</strong><br /></if>
			<if condition="$post['rank']">User Rank:<strong>$post[rank]</strong><br /></if>
				<if condition="$post['joindate']">$vbphrase[join_date]: <strong>$post[joindate]</strong><br /></if>
				<if condition="$post['field2']">$vbphrase[location_perm]: <strong>$post[field2]</strong><br /></if>
				<if condition="$post['age']">$vbphrase[age]: <strong>$post[age]</strong><br /></if>
				
					$vbphrase[posts]: <strong>$post[posts]</strong><br />
				<if condition="$show['infraction']"><br />$vbphrase[infractions]: <strong>$post[warnings]/$post[infractions] ($post[ipoints])</strong><br /></if>
				<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <strong><span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></strong></if>
	</div>

Quote:
Originally Posted by leeman View Post
I did this but ...

I get it on to the VBadvancedportal as well ... not really what I want ...
It's missing a line break between the header and content, right? Edit the CMPS adv_portal template and find this line:

Code:
<table align="center" cellspacing="0" cellpadding="0" class="page" width="100%">
Change "page" to "content"

Quote:
Originally Posted by stagmite View Post
Hello I recently moved my forum to a new server, and now something funny has happend. My message posting box is not aligned correctly. Everytime I create a new thread, or post a reply the text area is not aligned to the left side properly. Any help would be great.
The problem is caused by your four columns of smilies, but this can be fixed by making the post box narrower. Under "Stylevars," change your "Message Area Width" to 400px or so.
Quote:
Originally Posted by Deviation View Post
Looks nice. Does this come in blue?
No, but the .PSD is included so you are free to make it blue, yourself!
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01364 seconds
  • Memory Usage 1,793KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete