View Single Post
  #25  
Old 03-16-2005, 03:14 AM
Acid_Reflux Acid_Reflux is offline
 
Join Date: Feb 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a slight problem where I'm supposed to post the following code in my postbit:

Code:
<table class="tborder" cellspacing="1" border="0" width="100%"><tbody>	
<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapseuserinfo('postbit_legacy_userinfo$post[postcount]')"><img id="collapseimg_postbit_legacy_userinfo$post[postcount]" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_postbit_legacy_userinfo].gif" alt="" border="0" /></a>$post[onlinestatus]
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_postbit_legacy_userinfo$post[postcount]" style="$vbcollapse[collapseobj_postbit_legacy_userinfo]"><tr><td class="alt2">
			<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
		
			<if condition="$show['avatar']">
				<div class="smallfont">
					&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
				</div>
			</if>
			
			<div class="smallfont">
				<if condition="$post['joindate']">$vbphrase[join_date]: $post[joindate]<br /></if>
				<if condition="$post['field2']">$vbphrase[location_perm]: $post[field2]<br /></if>
				<if condition="$post['age']">$vbphrase[age]: $post[age]<br /></if> 
				$vbphrase[posts]: $post[posts] 
				<if condition="$show['reputation']">
				<if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if>
					$post[reputationdisplay]
				</if><br />
				<if condition="$post[icqicon] or $post[aimicon] or $post[msnicon] or $post[yahooicon]">
				$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]<br /></if>

				</div></td></tr></tbody></table>
My problem is that my postbit code that I'm supposed to replace looks like this instead of the default code:

Code:
			<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
			<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
		
          <if condition="$post[IsOnline] == true">
					  &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
          <else />
					  &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="filter:alpha(opacity=30);-moz-opacity:0.3;opacity: 0.3;" /></a>
          </if>
			
			<div class="smallfont">
				&nbsp;<br />
<if condition="$post[starsign]">
<a href="#" onclick="window.open('zodiac.php?do=$post[starsign]&amp;focus=1','horroscope','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=450,height=350'); return false;">
<img src="images/starsign/$post[starsign].gif" alt="weekly horoscope for $post[starsign]" border="0"></a>
</if>				
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
				<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
				<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
				<div>
					$vbphrase[posts]: $post[posts]
				</div>
				<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if>
<!-- user forum style -->
<div>$vbphrase[style]: <if condition="$post[style] == '$vbphrase[not_specified]'"><a href="$vboptions[forumhome].php?styleid=$vboptions[styleid]">Default Style</a><else />$post[style]</if></div>
					<!-- / user forum style -->				
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
			</div>
I've tried a few times to incorporate this hack with my existing code as I do not want to get rid of the profile options I've installed; however, none of my attempts have worked. That is not surprising considering I'm a Class A Newbie when it comes to this kind of thing and I'm only able to install vBulletin hacks because I'm capable of reading directions. I was wondering if someone would be kind enough to let me know how I can install this hack with my existing code?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01213 seconds
  • Memory Usage 1,794KB
  • 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