vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Mood Hack 3.5 (https://vborg.vbsupport.ru/showthread.php?t=98636)

lefthome 12-14-2005 06:25 PM

Quote:

Originally Posted by ReadOrDie
Ok, the images aren't appearing. www.gaiaevolved.com/forum/images/mood/ the mood folder is there but it's not appearing. And when I look it says:

Current mood:

Current mood:


It says it twice.

You might want to look at the script for the postbit. I will bet you like have the words listed twice...If not, copy it and post the wording here...

lefthome 12-14-2005 06:26 PM

Quote:

Originally Posted by ReadOrDie
Ok, the images aren't appearing. www.gaiaevolved.com/forum/images/mood/ the mood folder is there but it's not appearing. And when I look it says:

Current mood:

Current mood:


It says it twice.

sorry, double post....

Firestar.chkn 12-17-2005 08:03 PM

To all those who cannot get this to work, I found the solution:

Use the Postbit_Legacy template and not the Postbit template. For some weird reason, I could not get it to work with postbit only, even though I use that always. Once I added the template code into the postbit_legacy template, it worked like a charm.

Bass Nutz 12-17-2005 10:03 PM

Okay, I'm not that bright and I need a little help here. I think I have 90% of it right, but I think I'm screwing it up.......

Do I add the [fieldX] things like this...

Quote:

<!-- mood hack display start --> <br /><if condition="$post[field17,18,19,20,21,22,23,24,25,26,27,28,29,30,31, 32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48 ,49,50,51,52,53,54] != ''"><div class="smallfont"> Current Mood: <img src="images/mood/$post[field17,18,19,20,21,22,23,24,25,26,27,28,29,30,31, 32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48 ,49,50,51,52,53,54].gif" title="$post[fieldX]" align="center"> </div></if> <!-- mood hack display end -->
Okay, now I know that was a dumb question (see, I'm not that bright) because I tried it this way and it gave me an error message. So I guess the right question is, how do I add the ID codes in there so it works for me?

This way didn't work either....

Quote:

<!-- mood hack display start --> <br /><if condition="$post[field17][field18][field19][field20][field21][field22][field23][field24][field25][field26][field27][field28][field29][field30][field32][field33][field34][field35][field36][field37][field38][field39][field40][field41][field42][field43][field44][field45][field46][field47][field48][feild49][field50][field51][field52][field53][field54]" != ''"><div class="smallfont"> Current Mood: <img src="images/mood/$post[field17][field18][field19][field20][field21][field22][field23][field24][field25][field26][field27][field28][field29][field30][field32][field33][field34][field35][field36][field37][field38][field39][field40][field41][field42][field43][field44][field45][field46][field47][field48][feild49][field50][field51][field52][field53][field54]" align="center"> </div></if> <!-- mood hack display end -->
Please help me, I'm bright impaired

Kihon Kata 12-18-2005 12:26 AM

INSTALLED!!!!!!!!!!!!!!!!!!!!!

my 12,000 users are all peeing themselves silly over this.

Kihon Kata 12-18-2005 12:29 AM

I used:

Code:

<!-- mood hack display start -->
<br />Current Mood: <img src="images/mood/$post[fieldX].gif" title="$post[fieldX]" align="center"></div>
<!-- mood hack display end -->

Quote:

Originally Posted by Bass Nutz
Okay, I'm not that bright and I need a little help here. I think I have 90% of it right, but I think I'm screwing it up.......

Do I add the [fieldX] things like this...



Okay, now I know that was a dumb question (see, I'm not that bright) because I tried it this way and it gave me an error message. So I guess the right question is, how do I add the ID codes in there so it works for me?

This way didn't work either....



Please help me, I'm bright impaired


Bass Nutz 12-18-2005 06:06 AM

Man, I've been sitting here for the last 4 or so hours trying to figure this damn thing out. I've done so many different things to try and get this to work.

*Looks for a bullet*

Maybe a fresh start tomorrow.......well, I guess it would be later on today. :ermm: :tired:

KimRUR 12-18-2005 11:54 AM

I am new at doing this but I went to my User Profile Field Manager and got my field #
I only had 1 here is what mine looks like

<!-- mood hack display start -->
<br /><if condition="$post[field6] != ''"><div class="smallfont">
Current Mood: <img src="images/mood/$post[field6].gif" title="$post[field6]" align="center">
</div></if>
<!-- mood hack display end -->

lefthome 12-18-2005 02:31 PM

Quote:

Originally Posted by ReadOrDie
Ok, the images aren't appearing. www.gaiaevolved.com/forum/images/mood/ the mood folder is there but it's not appearing. And when I look it says:

Current mood:

Current mood:


It says it twice.

OMFG!


It is not you, it is me. I typed the code in twice.......FIXED...

lefthome 12-18-2005 02:43 PM

Quote:

Originally Posted by Bass Nutz
Okay, I'm not that bright and I need a little help here. I think I have 90% of it right, but I think I'm screwing it up.......

Do I add the [fieldX] things like this...



Okay, now I know that was a dumb question (see, I'm not that bright) because I tried it this way and it gave me an error message. So I guess the right question is, how do I add the ID codes in there so it works for me?

This way didn't work either....



Please help me, I'm bright impaired



First, go back to Admin Control Panel (ACP) and look at the control panel on the left side of page.



Click on User Profile Fields >>expand section >>click on User Profile Field Manager >> locate Member Mood Display and write down the NAME or FIELD#.



For this example,; say the field number is 7 okay? The only thing you change in the script is the FIELD NUMBER AND ONLY THE FIELD NUMBER ? ONE NUMBER ONLY ?



EXAMPLE:



This is the modification code as listed:

<!-- mood hack display start -->

<br /><if condition="$post[fieldX] != ''"><div class="smallfont">

Current Mood: <img src="images/mood/$post[fieldX].gif" title="$post[fieldX]" align="center">

</div></if>

<!-- mood hack display end -->


This is the only change you make:

[fieldX] = [field7] or the number you have on your system



That?s it! Do not insert all those numbers! Just the field number of the profile modification!


----------------------
12/18/2005 Updated and/or fixed some of the pictures and added a few new moods. I have several "Adult" Moods but will only make avaialable by PM...


All times are GMT. The time now is 08:06 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.01437 seconds
  • Memory Usage 1,756KB
  • 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
  • (7)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