vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - Mood Manager - with AJAX mood update. (https://vborg.vbsupport.ru/showthread.php?t=127220)

Tanabe 06-20-2007 08:56 PM

Quote:

Originally Posted by -=Sniper=- (Post 1272690)
3.6.7 has a few changes I think, so I will need to modify the instrustions a bit, I should be able to release the update tomorrow or friday. Also remove the auto edits to make things easier for future upgrades.

Ah ok that was the problem. I turned off the auto edits and added the

Code:

<if condition="!empty($userinfo[mood])">
<strong>$vbphrase[my_mood]:</strong>
<br />
<img src="images/mood/$userinfo[mood].gif" border="0" />
</if>

and it woked fine. Its always the smiple stuff I miss. Thanks for the help.

snakes1100 06-21-2007 04:10 PM

Quote:

Originally Posted by Chris-777 (Post 1208811)
As a heads up:

I didn't like the mood changer in the navbar, so I moved it to the bottom of the 'modifyprofile' template. It worked for changing the mood, but for whatever reason it kills everything else. With the code on that page, it breaks the user's ability to save any changes to any of the user profile fields.

Just a heads up if you run into it.

That's odd, i'm not having that issue and i did a search first to see if anyone had moved it to "modifyprofile" template, like me & you, I didn't like it in the navbar either.

You sure you didn't accidentally put it in one of the form tags?

Code:

                        <fieldset class="fieldset">
                                <legend><label for="tb_customtext">$vbphrase[my_mood]</label></legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                                <tr>
                                        <td colspan="2">$vbphrase[my_mood_explanation]</td>
                                </tr>
                                <tr>
                                        <td>$usermoods</td>
                                </tr>
                                </table>
                        </fieldset>

I added the above code, above this line in "modifyprofile" template:
<if condition="$show['birthday_optional']">

I added my own explanation phrase as well, create the following phrase or ad your own phrase:
my_mood_explanation

donatas 06-22-2007 10:11 AM

how can i place mood image near username in "who online" table? or even better in vbshout shoutbox? i've added <img src="images/mood/$userinfo[mood].gif" border="0" />
but it always show moods/.gif (like no mood)

hoopsta 06-22-2007 04:52 PM

what does this error mean????

Sorry, no XML was passed into this function and the $path variable empty

jayunsplanet 06-22-2007 09:06 PM

My error was fixed!
Just a little spelling mistake made by the developer. Hehe. No biggie. :)

cheat-master30 06-23-2007 11:38 AM

Has the hack creator thought of making this modification a bit more conforming to web standards? As in, adding the alt text for the mood image shown in the custom template and the post bit template?

Because, while I managed to semi fix this by changing the code in the post bit to this:

Code:

<if condition="!empty($post[mood])">
                                <div>
                                        $vbphrase[my_mood]: <img src="images/mood/$post[mood].gif" border="0" alt="user mood" />
                                </div>
                                </if>

in the template and something similar in the quick_mood_change_by_sniper template, it would be nicer if the mood image had the alt text that corresponded to the mood shown in the image...

rayw 06-27-2007 02:00 AM

Very nice, thanks a lot. Just installed then. :D

snakes1100 06-28-2007 04:30 AM

Quote:

Originally Posted by -=Sniper=- (Post 1272571)
I think users have reported its spelt Psychadelic in the AdminCP please change it to Psychedelic

Also, make sure you fix the actual image name in you zip, anyone that has already installed it needs to do the same.

Deirdre 06-30-2007 01:12 AM

eek, i did the same thing except i mispelt something so i have no image and i can't change it. What do i do? Do i have to uninstall, reinstall?

edit: Ah figured it out: i renamed the image to how i had it mispelt, changed my mood, changed the spelling back.

Madmp3zz 07-01-2007 03:53 PM

I'm running 3.6.7 and CMPS 2.2.1.
Installed it , worked fine in the main forums but when I try to change my mood on the main page CMPS the only option I have is NO MOOD.

What's up with that?


All times are GMT. The time now is 04:34 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.01918 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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