vb.org Archive

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

DobieGillis? 03-12-2009 06:42 PM

Quote:

Originally Posted by Redzzand (Post 1766660)
again...

is there any way to have this mod use $template_hook[postbit_userinfo_left]??

I haven't seen the coder here in many months.

Redzzand 03-12-2009 08:43 PM

ok, well I found a way to do this...

1. Edit product XML
a. Find $template_hook[\'postbit_userinfo_right\
b. Replace with $template_hook[\'postbit_userinfo_left\

2. Edit plus_mood_postbit template
a. Wrap html code within a table to shrink size

Sample code of my plus_mood_postbit template
Code:

<br />
<table>
<tr><td>
<fieldset><legend>$vbphrase[plus_mood]</legend>
<div align="center">
<img class="inlineimg" src="images/images_mood/$usermood[img].gif" alt="$usermood[alt]" border="0" />
</div>
</fieldset>
</tr></td>
</table>
<br />


PlusVB 03-13-2009 12:11 PM

Quote:

Originally Posted by Redzzand (Post 1766660)
again...

is there any way to have this mod use $template_hook[postbit_userinfo_left]??

May I ask where is "'postbit_userinfo_left"?
I did not find it in any temp!

DobieGillis? 03-13-2009 02:07 PM

Quote:

Originally Posted by Redzzand (Post 1766763)
ok, well I found a way to do this...

1. Edit product XML
a. Find $template_hook[\'postbit_userinfo_right\
b. Replace with $template_hook[\'postbit_userinfo_left\

2. Edit plus_mood_postbit template
a. Wrap html code within a table to shrink size

Sample code of my plus_mood_postbit template
Code:

<br />
<table>
<tr><td>
<fieldset><legend>$vbphrase[plus_mood]</legend>
<div align="center">
<img class="inlineimg" src="images/images_mood/$usermood[img].gif" alt="$usermood[alt]" border="0" />
</div>
</fieldset>
</tr></td>
</table>
<br />


just lost my Mood change option in the post bit because of another mod. Where will this locate the option to change moods?

DobieGillis? 03-13-2009 02:59 PM

I wish there was another way to put the Mood changer somewhere else, anywhere else but the postbit.

Redzzand 03-13-2009 07:45 PM

Quote:

Originally Posted by PlusVB (Post 1767157)
May I ask where is "'postbit_userinfo_left"?
I did not find it in any temp!

Styles Manager -> Edit Templates -> Postbit Templates -> Postbit

exerpt of my Postbit Template
Code:

                                <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
                                <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
                               
                                $template_hook[postbit_userinfo_left]


PlusVB 03-13-2009 11:58 PM

Quote:

Originally Posted by Redzzand (Post 1767420)
Styles Manager -> Edit Templates -> Postbit Templates -> Postbit

exerpt of my Postbit Template
Code:

                                <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
                                <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
                               
                                $template_hook[postbit_userinfo_left]


Thanks Redzzand,
In postbit looks lovely, but in postbit_legacy its ugly.
So how about using postbit_userinfo_left in postbit, and postbit_userinfo_right in postbit_legacy?

eastsidetuners 03-19-2009 03:22 PM

guys i was wondering if any one can give me some quick help.. i downloaded the plusmood and have it on my computer, BUTT i have noo clue how to import it to my site? im new at this so i would really appreciate if some one can give some quick help thank you!

s8glive 03-20-2009 02:45 PM

look at the highlited text in the picture below and you will see

https://vborg.vbsupport.ru/external/2009/03/16.png

can you tell me how to fix it or can you fix it?

Wifey 03-20-2009 08:31 PM

Quote:

Originally Posted by s8glive (Post 1772631)
look at the highlited text in the picture below and you will see

http://imgboot.com/images/egelive/problem.png

can you tell me how to fix it or can you fix it?

AdminCP -- Phrase Manager--User Tools (global)--plus_ mood_ do_ not_ use_ mood

Then change it to do not use mood on the text box when you click to edit it.


All times are GMT. The time now is 03:42 PM.

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.01238 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_code_printable
  • (6)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