View Single Post
  #29  
Old 03-16-2006, 09:34 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does not work here

Code:
/* Here you can change the look of the post text and links */

.hidemsg  
{
  width:200px;
  padding-bottom:20px;
  overflow:auto;
  overflow-x:auto;
  overflow-y:hidden;
}
.satellite_postbit
{
	color: #283A5E;
        font: 12px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
	text-decoration: none;
}
.satellite_postbit a:link
{
	color: #8297C8;
        font: 12px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
	text-decoration: none;
}
.satellite_postbit a:visited
{
	color: #8297C8;
        font: 12px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
	text-decoration: none;
}
.satellite_postbit a:hover, .satellite_postbit a:active
{
	color: #55C546;
        font: 12px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
	text-decoration: underline;
}
.satellite_header_bg {
background: #FFFFFF url(images/satellite/misc/header_bg.gif) ;
}
.satellite_inner_border {
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
border-left: 1px solid #000000;
border-right: 1px solid #000000;
}
.satellite_border_out {
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
border-left: 1px solid #000000;
border-right: 1px solid #000000;
}
.satellite_cat_spacer {
padding:5px 0px 5px 0px;
}
.satellite_spacer {
padding:5px 0px 5px 0px;
}

.satellite_postbit_spacer {
padding:3px 0px 3px 0px;
}

.satellite_control_nav {
color:  #FFFFFF;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
padding: 3px 6px 3px 6px;
white-space: nowrap;
}
.satellite_control_nav a:link {
color:  #FFFFFF;
text-decoration: none;
}
.satellite_control_nav a:visited {
color:  #FFFFFF;
text-decoration: none;
}
.satellite_control_nav a:hover, .vbmenu_control_nav a:active {
color:  #FFFFFF;
text-decoration: underline;
}
div.hr {
height: 1px;
background: #fff url(images/satellite/misc/hr.gif) repeat scroll center;
}
div.hr hr {
display: none;
}
.satellite_sticky {
background-color: #edf3f9;
color: #4D528C;
border-left: 1px solid #FFFFFF;
border-top: 1px solid #FFFFFF;
}
.satellite_lastvisit {
background-color: #edf3f9;
color: #4D528C;
border-left: 1px solid #FFFFFF;
border-top: 1px solid #FFFFFF;
}
.satellite_announcement {
background-color: #edf3f9;
color: #4D528C;
border-left: 1px solid #FFFFFF;
border-top: 1px solid #FFFFFF;
}
.satellite_announcement_icon {
background-color: #e5eef7;
color: #4D528C;
border-left: 1px solid #FFFFFF;
border-top: 1px solid #FFFFFF;
}
.satellite_nav_border {
background-color: transparent;  
border: 1px dotted #feecac;
}
.satellite_nav {
background-color: #feffe6;
border: 1px solid #FFFFFF;  
padding: 4px;
}
.satellite_icon_legend {
background-color: #D1D1E1;
color: #000000;
border: 1px solid #E3E6E8;
}
.satellite_inline { 
background: #283A5E url(images/satellite/gradients/gradient_thead.gif) repeat-x top left;
color:  #FFFFFF;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
padding: 3px 6px 3px 6px;
white-space: nowrap;
}
.satellite_inline a:link {
color:  #FFFFFF;
text-decoration: none;
}
.satellite_inline a:visited {
color:  #FFFFFF;
text-decoration: none;
}
.satellite_inline a:hover, .satellite_inline a:active {
color:  #FFFFFF;
text-decoration: underline;
}
.satellite_footer
{
	background: #DDE0E4 url(images/satellite/misc/footer_links_bg.gif) repeat-x top left;
	color: #8297C8;
	font-family: tahoma;
}
.satellite_footer a:link
{
	color: #FFFFFF;
	text-decoration: none;
}
.satellite_footer a:visited
{
	color: #FFFFFF;
	text-decoration: none;
}
.satellite_footer a:hover, .satellite_footer a:active
{
	color: #FFFFFF;
	text-decoration: underline;
}
.satellite_info 
{
background-color: #F1F4F6;
color: #283A5E;
padding: 2px;
border: 1px inset;
margin-bottom: 2px;
}


/* Start Sub-forums-list in Columns */
.subforum {
	padding:0;
	margin:	0;
}
.subforum li {
	display:inline;
	width:170px;
	float:left;
	padding-left:0.5em;
	padding-right:0.5em;
}
.clear {
	clear:both;
}
/* End */
and

Code:
<!-- post #$post[postid] -->
<if condition="$show['spacer']">
	$spacer_open
	<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
	<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>	
</if>

<table id="post$post[postid]" class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" style="border: 1px solid #D7DCE1">
<tr>
	<td class="thead" colspan="2"style="font-weight:normal" $post[scrolltothis]>
		
	<div class="normal" style="float:$stylevar[right]">
			&nbsp;
			<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
			<a href="#top" onclick="return toggle_collapse('postbit_$post[postid]')"><img id="collapseimg_postbit_$post[postid]" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[$collapseimg_postid].gif" alt="" border="0" /></a>
		</div>
		
		<div class="normal">
		<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>&nbsp;
		
			$post[iplogged]  &nbsp;<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></if>
			&nbsp;<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
			<if condition="$show['inlinemod']">
				<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" />
			</if>
		</div>
	</td>
</tr>

<tr id="collapseobj_postbit_$post[postid]" style="{$GLOBALS['vbcollapse']['collapseobj_postbit_' . $post[postid]]};" valign="top">
<td>

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr>

<td class="alt2" width="175" valign="top">

<table cellpadding="0" cellspacing="0" border="0" width="175">
<tr>
	<td>
		<!-- user info -->

				<div id="postmenu_$post[postid]">
					<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a><!-- v3 Arcade --> <if condition="$post['arcadeawards']"><a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><img src="$vboptions[arcadeimages]/trophy.gif" align="absmiddle" alt="$vbphrase[arcade_champion]" border="0" /></a></if>
<!-- /v3 Arcade -->
					<span class="smallfont">$post[onlinestatus]</span>
					<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
					<else />
					$post[musername]
				  </if>
			  </div>
			  
				<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
				<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if><div><div style="padding:2px 0px 2px 0px;"></div>$post[reputationdisplay]</div></if>

  			<if condition="$show['avatar']">&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></if>
				
				<div class="smallfont">
				&nbsp;<br />
				    <div class="satellite_info"><strong>$vbphrase[posts]:</strong> $post[posts]					</div>
					<if condition="$post['joindate']"><div class="satellite_info"><strong>$vbphrase[join_date]:</strong> $post[joindate]</div>
					</if>
					<if condition="$post['field2']"><div class="satellite_info"><strong>$vbphrase[location_perm]:</strong> $post[field2]</div>
					</if>
					<if condition="$post['age']"><div class="satellite_info"><strong>$vbphrase[age]:</strong> $post[age]</div>
					</if>
					<div style="padding:2px 0px 2px 0px;"></div><div>$post[icqicon]$post[aimicon]$post[msnicon]$post[yahooicon]$post[skypeicon]</div>
<if condition="$show['warning']"><br /><br /><div class="smallfont">$post[warning]</div></if>
				</div>

		<!-- / user info -->
	</td>
	</tr>
	
	</table>
	
	</td>
	<td class="alt1" width="100%" valign="top">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
	<td valign="top">
	<!-- message, attachments, sig -->
	<div class="smallfont">
		<if condition="$show['messageicon'] OR $post['title']">
			<!-- icon and title -->
			
				<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
				<if condition="$post['title']"><strong>$post[title]</strong> - </if>
				<!-- status icon and date -->
				</if>
				<if condition="!$show['announcement']">
					$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
				<else />
					<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
				</if>
				$post[firstnewinsert]
				<!-- / status icon and date -->
			</div>

			<div style="padding:3px 0px 3px 0px;"></div><div class="hr"><hr /></div><div style="padding:3px 0px 3px 0px;"></div>
			<!-- / icon and title -->
		
		<!-- message -->
		<div id="post_message_$post[postid]" class="satellite_postbit" class="hidemsg">$post[message]</div>
		<!-- / message -->
	
        <if condition="$show['attachments']">
		<!-- attachments -->
			<div style="padding:$stylevar[cellpadding]px">
			
			<if condition="$show['thumbnailattachment']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attached_thumbnails]</legend>
					<div style="padding:$stylevar[formspacer]px">
					$post[thumbnailattachments]
					</div>
				</fieldset>
			</if>
		
			<if condition="$show['imageattachment']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attached_images]</legend>
					<div style="padding:$stylevar[formspacer]px">
					$post[imageattachments]
					</div>
				</fieldset>
			</if>
			
			<if condition="$show['imageattachmentlink']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attached_images]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[imageattachmentlinks]
					</table>
					</fieldset>
			</if>
			
			<if condition="$show['otherattachment']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attached_files]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[otherattachments]
					</table>
				</fieldset>
			</if>
			
			<if condition="$show['moderatedattachment']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attachments_pending_approval]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[moderatedattachments]
					</table>
				</fieldset>		
			</if>
			
			</div>
		<!-- / attachments -->
		</if>

		<if condition="$post['signature']">
		<!-- sig -->
			<div>
				<br /><div class="hr" style="width: 100px;"><hr /></div><div style="padding:3px 0px 3px 0px;"></div>
				$post[signature]
			</div>
		<!-- / sig -->
		</if>
		
		<if condition="$show['postedited']">
		<!-- edit note -->
			<div class="smallfont">			<div style="padding:3px 0px 3px 0px;"></div><div class="hr"><hr /></div><div style="padding:3px 0px 3px 0px;"></div>
				<em>
				<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
				<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
				</em>
			</div>
		<!-- / edit note -->
		</if>
	
	</td>
	</tr>
</table>
</td>
</tr>

<tr>
<td class="alt2" style="border-top: 0px;">&nbsp;</td>

<td class="alt1" style="border-top: 0px;">
		<div align="$stylevar[right]">
			<!-- controls -->
		  <if condition="$post['editlink']">
				<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
			</if>
			<if condition="$post['forwardlink']">
				<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
			</if>
		<if condition="$post['replylink']">
			<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
		</if>
		<if condition="$show['quickreply'] AND !$show['threadedmode']">
			<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
		</if>
		<if condition="$show['moderated']">
			<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
		</if>
		<!-- / controls -->
		</div>
		
	<!-- message, attachments, sig -->
</td>
</tr>

</table>

</td>
</tr>

</table>

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$post[username]</td>
	</tr>
	<if condition="$show['profile']">
		<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
	</if>
	<if condition="$show['pmlink']">
		<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
	</if>
	<if condition="$show['emaillink']">
		<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
	</if>
	<if condition="$show['homepage']">
		<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
	</if>
	<if condition="$show['search']">
		<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
	</if>
	<if condition="$post['userid'] AND $show['member']">
	<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
	</if>
<!-- v3 Arcade -->
	<if condition="$post['arcadeawards']">
	<tr><td class="thead"><phrase 1="$post[username]">$vbphrase[xs_arcade_awards]</phrase></a></td></tr>
	$post[arcadeawards]
	</if>
	<if condition="($post['arcadeoptions'] & 1) AND $post['userid']!=$bbuserinfo['userid']">
	<tr><td class="thead">$vbphrase[arcade]</a></td></tr>
	<tr><td class="vbmenu_option"><a href="arcade.php?do=newchallenge&userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[challenge_x_in_the_arcade]</phrase></td></tr></if>
<!-- /v3 Arcade -->
<if condition="$post[usergroupid]!=6 AND $post[usergroupid]!=5 AND $post[usergroupid]!=7 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])">
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('/modcp/user.php?do=editsig&userid=$post[userid]','edit','width=500,height=350,scrollbars=yes')"><b>Edit $post[username]'s Signature</b></span></td></tr>
</if>

<if condition="$post[usergroupid]!=6 AND $post[usergroupid]!=5 AND $post[usergroupid]!=7 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])">
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('/modcp/user.php?do=avatar&userid=$post[userid]','edit','width=500,height=350,scrollbars=yes')"><b>Edit $post[username]'s Avatar</b></span></td></tr>
</if>

<if condition="$post[usergroupid]!=6 AND $post[usergroupid]!=5 AND $post[usergroupid]!=7 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])">
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('/modcp/user.php?do=profilepic&userid=$post[userid]','edit','width=500,height=350,scrollbars=yes')"><b>Edit $post[username]'s Profile Picture</b></span></td></tr>
</if>

	</table>
</div>
<!-- / post $post[postid] popup menu -->

<if condition="$show['spacer']">
	</div>
	$spacer_close
</if>
<!-- / post #$post[postid] -->

<if condition="!$GLOBALS['FIRSTPOSTID']"> 

$spacer_open 
<div style="padding:0px 0px $stylevar[cellpadding]px 0px"> 

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
<tr> 
    <td class="thead" align="left">advertisements</td> 
</tr> 
<tr> 
    <td class="alt1" align="center"> 

<table cellspacing="0" width="718" border="0" cellspadding="0">
<tbody>
<tr>
 <!-- begin ad-->
<iframe src="postbit.html" frameborder="0" width="735" height="90"></iframe>
 <!-- end ad-->
</td>
</tr>
</tbody>
</table>

    </td> 
</tr> 
</table> 

</div> 
$spacer_close 

</if>
any clue?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01598 seconds
  • Memory Usage 1,887KB
  • 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
  • (2)bbcode_code
  • (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