Thread: Miscellaneous Hacks - Plus Mood
View Single Post
  #67  
Old 11-04-2008, 05:13 PM
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Location: Brazil
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

massizero, like I said I didn't edit anything on postibit_legacy to make it work. But I made a test post on my board and here it goes the source code of the page, I removed everything but the legacy post code. I've marked bold the part that were Plus Mood legend appear.

May be you already edited your postbit_legacy and removed some markers like e.g. <!-- / status icon and date --> that mods like this use to locate and place what they need.
Check this out, this might help you.


Code:
<div id="posts"><!-- post #24575 -->

 <!-- open content container -->

<div align="center">
 <div class="page" style="width:100%; text-align:left">
  <div style="padding:0px 25px 0px 25px" align="left">

 <div id="edit24575" style="padding:0px 0px 6px 0px">
 <!-- this is not the last post shown on the page -->



<table id="post24575" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<tr>
 
  <td class="thead" style="font-weight:normal; border: 1px solid #E0E0F6; border-right: 0px" >
   <!-- status icon and date -->
   <a name="post24575"><img class="inlineimg" src="/images/statusicon/post_old.gif" alt="Old" border="0" /></a>
   Yesterday, 23:46
   
   <!-- / status icon and date -->
  </td>
  <td class="thead" style="font-weight:normal; border: 1px solid #E0E0F6; border-left: 0px" align="right">
   &nbsp;
   #<a href="showpost.php?p=24575&amp;postcount=381" target="new" rel="nofollow" id="postcount24575" name="381"><strong>381</strong></a>
   
  </td>
 
</tr>
<tr valign="top">
  <td class="alt2" width="175" rowspan="2" style="border: 1px solid #E0E0F6; border-top: 0px; border-bottom: 0px">
   <div id="postmenu_24575">
    
    <script type="text/javascript"> vbmenu_register("postmenu_24575", true); </script>
    
   </div>

   <div class="smallfont">Junior</div>
 
</div>

   
    <div class="smallfont">
     &nbsp;<br /><a href="member.php?u=57"><span class="fade">


 <img src="image.php?u=57&amp;dateline=1213733894" width="80" height="53" alt="Test's Avatar" border="0" /></a>
    </div>
   

   <div class="smallfont">
    &nbsp;<br />
    <div>Join Date: Feb 2008</div>
    <div>Location: S?o Paulo</div>
    <div>Age: 34</div>
    <div>
     Posts: 877
    </div>
 
<br />
<fieldset><legend>Mood</legend>
<div align="center">
<img class="inlineimg" src="images/images_mood/surprised.gif" alt="Surprised" border="0" />
</div>
</fieldset>
<br />
    
    Rep Power: <span id="reppower_24575_57">26</span> <div><span id="repdisplay_24575_57"><img class="inlineimg" src="/images/reputation/reputation_pos.gif" alt="Test is on the right way" border="0" /><img class="inlineimg" src="/images/reputation/reputation_pos.gif" alt="Test's on the right way" border="0" /></span></div>
    
    <div>    <a href="#" onclick="imwindow('skype', '57', 400, 285); return false;"><img src="http://mystatus.skype.com/smallicon/test.teste" alt="Send a message via Skype&trade; to Test" border="0" /></a></div>
   </div>

 </td>
 
 <td class="alt1" id="td_post_24575" style="border-right: 1px solid #E0E0F6">
 
  
  
   <!-- icon and title -->
   <div class="smallfont">
    <img class="inlineimg" src="/images/icons/icon1.gif" alt="Default" border="0" />
    
   </div>
   <hr size="1" style="color:#E0E0F6; background-color:#E0E0F6" />
   <!-- / icon and title -->
  

  <!-- message -->
  <div id="post_message_24575">
   
   "Mood Test"
  </div>
  <!-- / message -->

   

<tr>
<td class="alt2" valign="bottom" height="100%"style="border-right: 1px solid #E0E0F6">
  
   </td>
</tr>
<tr>
 <td class="alt2" style="border: 1px solid #E0E0F6; border-top: 0px">
  <img class="inlineimg" src="/images/statusicon/user_offline.gif" alt="Test is offline" border="0" />

 
  
  
  &nbsp;
 </td>
 
 <td class="alt1" align="right" style="border: 1px solid #E0E0F6; border-left: 0px; border-top: 0px">
 
  <!-- controls -->
  
  
  
   <a href="newreply.php?do=newreply&amp;p=24575" rel="nofollow"><img src="/images/buttons/quote.gif" alt="Reply With Quote" border="0" /></a>
  

  
  <!-- / controls -->
 </td>
</tr>
</table>
<table class="signature" width="100%">
        
            <tr>
            <td class="alt2">
                <!-- sig -->
                <div>
                    <font size="2">Signature Teste</font><br />
  </div>
                <!-- / sig -->
            </td>
            </tr>
          
</table>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01148 seconds
  • Memory Usage 1,799KB
  • 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
  • (1)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