vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Plus Mood (https://vborg.vbsupport.ru/showthread.php?t=193587)

Nadeemjp 10-26-2008 03:29 AM

a quick question though plus, should i upload these images in the same place where the rest of the moods that you gave are present? and that is all? no need to edit anything etc?

please guide me.

thank you:)

oh and dont worry about the display. i just figured it out by reading your first post again:)

sorry for the extra post:)

PlusVB 10-26-2008 04:44 PM

Quote:

a quick question though plus, should i upload these images in the same place where the rest of the moods that you gave are present? and that is all? no need to edit anything etc?
you'll need to add images name and the alt of them to the mood options.
thank you, Enjoy.

massizero 11-04-2008 01:17 AM

Quote:

Originally Posted by https (Post 1647783)
this code exist in style.i think this change is for welcome in top of forum.it is work exactly but in member info mood not shown like this => https://vborg.vbsupport.ru/attachmen...8&d=1223972647

Same problem..
what's the correct hook to insert in postbit legacy??

thanks

Leo Brazil 11-04-2008 01:55 PM

Hi Guys, strange what you said about postbit_legacy, I'm using this mod on legacy and works fine. And my legacy template has a lot of edits.

massizero 11-04-2008 04:00 PM

Quote:

Originally Posted by Leo Brazil (Post 1659331)
Hi Guys, strange what you said about postbit_legacy, I'm using this mod on legacy and works fine. And my legacy template has a lot of edits.

can you give me the part of the code (of postbit legacy) related to the view of the mood??
thanks

Leo Brazil 11-04-2008 05:13 PM

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>


massizero 11-05-2008 01:09 AM

Thanks a lot but i cannot use the source code of your page.
I'd need the code of the template part related to the mood recall

Thanks again for your help

massizero 11-06-2008 01:53 AM

Anyone can help?
Could it be that I delete some part of the code of the original template of the postbit legacy and I need it to show the mood ?
What's the part of the template of postbit legacy that makes the mood to display???

Thanks! Helpp!!

PlusVB 11-06-2008 03:18 AM

Quote:

Originally Posted by massizero (Post 1660247)
Anyone can help?
Could it be that I delete some part of the code of the original template of the postbit legacy and I need it to show the mood ?
What's the part of the template of postbit legacy that makes the mood to display???

Thanks! Helpp!!

add

HTML Code:

$template_hook[postbit_userinfo_right_after_posts]
to your postibit_legacy

Nadeemjp 11-06-2008 03:52 AM

Quote:

Originally Posted by PlusVB (Post 1653194)
you'll need to add images name and the alt of them to the mood options.
thank you, Enjoy.

sorry plus, but what is an "alt" and how can i add it?


All times are GMT. The time now is 03:30 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.01506 seconds
  • Memory Usage 1,763KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete