vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Quick Mood Changer - addon (https://vborg.vbsupport.ru/showthread.php?t=102270)

-=Sniper=- 05-12-2006 04:14 PM

Do you think I should add a field which allows you to enter your own message from the admincp?

glorify 05-14-2006 01:12 PM

I like it, but any way this could be done with AJAX?

-=Sniper=- 06-21-2006 05:34 PM

I will release a new and improved version (with AJAX), once 3.6 final is out.

hgb 07-05-2006 10:55 PM

cool and simple to setup

thx

-------------> installed

Littlebit 07-09-2006 10:09 AM

Quote:

Originally Posted by MorrisMcD
First of all.. Thanks for the hack.. My users love it.. I have been using it for awhile.

Second.. I have one problem but its minor. When a new user signs up, they are defaulted to Aggressive as their mood.. I dont have a No Mood option. I do have it set to Yes, Including a Blank option.. Am I doing somethin wrong?

Thanks again

You've probably fixed it by now, but if not, head to your User Profile Field: Member Mood Display, and click to save the settings. This got it kicking in for me.

paul41598 07-14-2006 08:02 PM

Quote:

Originally Posted by -=Sniper=-
it is a plugin, so you had to import it. There was no need to make a new plugin.

the postbit will work for normal users, but not correctly for admins or mods, since because of inline moderation you have forms inside an form which causes it not to work.

I'm don't see anything wrong with the conditions used, so I can't tell you why it doesnt work.

If you remove all but the first 8 moods from the html code it works in 3.5.0 but thats no use...



Im just now experiencing this too. Theres gotta be a way around this.

Devil Woman 08-10-2006 09:05 PM

Will this hack be upgraded to vb 3.6.0 at all? I have searched and can not find it in the vb 3.6.0 section

Thanks

psypix 08-18-2006 05:52 PM

I installed it on 3.6 and it works fine but step 3 in the instructions must change to this

Quote:

Find

<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>

Under it Add

<br />
$vbphrase[qmc_my_mood]:
<!-- / dropdown mood select by sniper start -->
<form action="usercp.php" method="post" id="moodform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="newmood" />
<select name="mood" onchange="this.form.submit();">
<option value="" <if condition="empty($bbuserinfo[FIELDXX])">selected</if>></option>
$show[qmcmood]
</select>
</form>
<!-- / dropdown mood select by sniper end -->

Click Save

* the bit i've highlighted in bold is extra if you are installing on Vb3.6

Other than that.....everything is working OK :)

thanks for a great hack!

The_Rayman 08-21-2006 01:26 PM

Hi Sniper, and all vB users who have this hack!

i've integrated the hack on my vBa portal. Follow instructions below:

Go to Style Manager -> edit templates -> vBadvanced CMPS Templates -> adv_portal_welcomeblock and click "edit"

Look for
Code:

<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></div>
Below that add:
Code:

<!-- / dropdown mood select by sniper start -->
<div class="smallfont">
<br />
$vbphrase[qmc_my_mood]:
<!-- / dropdown mood select by sniper start -->
<form action="/forum/usercp.php" method="post" id="moodform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="newmood" />
<select name="mood" onchange="this.form.submit();">
<option value="" <if condition="empty($bbuserinfo[field5])">selected</if>></option>
$show[qmcmood]
</select>
</form>
<!-- / dropdown mood select by sniper end -->

Save... all done... now you can select your mood on the portal too ;)

B3y0nd 09-04-2006 05:53 PM

Okay. I'm running 3.6. I can change my mood in the navbar below my PMs but I don't see ANY moods in my postbit. I tried in my admin account and a test member account....still nothing.

Any ideas?

Edit:Okay, figured it out. I had to keep the original postbit edits from the original moodhack 3.5 by lefthome. If I re-edit them with the instructions by -=Sniper=- in step 4, then I cannot see the moods in the postbit. If anyone's having the same issue as me and is running vB 3.6, skip -=Sniper=-'s step 4 in his instructions. ;)


All times are GMT. The time now is 12:08 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.01265 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
  • (2)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
  • (1)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