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)

dboogie2288 03-27-2006 08:50 PM

Old mod was removed completely a while back...

MorrisMcD 03-29-2006 02:06 PM

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

yumyumcat 04-01-2006 01:14 AM

Thanks for the time to put together this great hack ~ I'm new at this and I did successfully complete the first part to this hack. Basically, I was given the great mood images and the code to replace under the other as instructed.

On the second part of installaton, I was given more moods as well as names to edit and I did with no problem.

Now here's where I run into a great misunderstanding. I see that you state this:
Quote:

Follow these steps ONLY if you already have the quick mood changer installed,
Step 1
~~~~~~

Go to Admin CP -> Plugin System -> Plugin Manager

Step 3
~~~~~~

Delete the "Quick Mood Changer" plugin
I don't see the download for this to install it only to delete it ~ lol ~

Could someone please explain? I thought perhaps that this would take care of the one that was deleted, but I see that I can't go any further without the initial hack that you're referring to.

Please direct me to that download ~

Thanks in advance ~

yumyumcat 04-02-2006 03:53 AM

Can someone please hellp me?

yumyumcat 04-02-2006 10:21 PM

OMG...sorry!!!!! What a dork I am :( JEEEEEEEEESh!!

Xtrato 05-04-2006 10:48 PM

would it be possible to to have this centered at the bottom of a signature? and how would i do that lol

paul41598 05-06-2006 12:05 PM

Personally I think someone should do what I did for my 3.0.7 board. Put it in the postbit legacy. So easy for users to change their mood as they are writing their posts. :D

o0Hubba0o 05-08-2006 12:38 AM

Quote:

Originally Posted by o0Hubba0o
Mood shows up in the post bit no problem, you can change it in the usercp/edit options no problem.

Using the quick change however it refreshes to the usercp and doesn't change the mood.

Well, I re-installed this today to see if maybe I overlooked something last time and it's still doing the same thing. I moved it to "edit profile" instead of options and still nothing.

Why would it be doing this?

-=Sniper=- 05-09-2006 10:05 AM

PM me admin access to your forums, so I can check it if you want.

have you deleted the old plugin?

paul41598 05-12-2006 02:48 PM

ok fixed.


Find:
Code:

$post[iplogged]
Add Below:

Code:

<!-- / 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 -->

oh and if you dont like the redirect msg. Just open the hook location:
Hook Location : usercp_complete click EDIT

and change

Code:

eval(print_standard_redirect('qmc_mood_swing', true, true));
to

Code:

eval(print_standard_redirect('redirect_updatethanks'));

-=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. ;)

Dawnf1 09-09-2006 01:27 PM

Thanks for this, my members will love it, being a very moody bunch lol

Just thought I'd let you know though, it only works for me if I don't do the bits in step 4 editing the postbit template, it was all fine as I checked it as I was going along, and then after step 4 nothing showed in the postbit at all.

So I went back and changed the code to what it had in the original mood changer instructions, and then it all worked fine.

:)

-=Sniper=- 09-20-2006 05:09 PM

n/p I will release a new version soon with AJAX mood changing for 3.6.1.

Kihon Kata 09-20-2006 05:17 PM

oooOOoOoh! you go!

Quote:

Originally Posted by -=Sniper=-
n/p I will release a new version soon with AJAX mood changing for 3.6.1.


|Jordan| 07-24-2007 05:24 PM

Does this hack also suffer from the XSS vulnerability that the "Mood Manager - with AJAX mood update" contains?

-=Sniper=- 07-24-2007 05:27 PM

Jordan, in the usercp_complete plugin change TYPE_STR to TYPE_NOHTML thats it. Don't worry about it too much!

-=Sniper=- 07-24-2007 05:36 PM

Please upgrade it fixes a XSS security risk!

update for ajax version coming in a few mins!

thank you

bashy 07-24-2007 06:14 PM

Wheres the files please?

-=Sniper=- 07-24-2007 06:22 PM

hi, bashy, I deleted this version by accident, when I was updating the AJAX version, if you could upload it again, I'll fix it and upload it here (non AJAX version).

|Jordan| 07-24-2007 07:50 PM

Quote:

Originally Posted by -=Sniper=- (Post 1300357)
Jordan, in the usercp_complete plugin change TYPE_STR to TYPE_NOHTML thats it. Don't worry about it too much!

Is that in the plugin file? I can't find it.

-=Sniper=- 07-24-2007 08:04 PM

its in two of the plugins, I think userdata_start and profile_complete, just go though each one because I can't remember exactly, please post the product file so I can update the file for you, I have deleted from my computer, hense unable to post the updated file.

MysticMoon 07-24-2007 09:32 PM

Quote:

Originally Posted by -=Sniper=- (Post 1300512)
its in two of the plugins, I think userdata_start and profile_complete, just go though each one because I can't remember exactly, please post the product file so I can update the file for you, I have deleted from my computer, hense unable to post the updated file.

I attached what I think you are asking for :up:

-=Sniper=- 07-24-2007 09:37 PM

thanks I have uploaded the new file, do have the readme file, as I can't remember if I included it ot not?

MysticMoon 07-24-2007 09:56 PM

Yep it's attached.

You may want to double check I reverted everything back.
I have a habit of editing the instruct files to include my
info to make it easier for me lol
I think I changed it all back though.

-=Sniper=- 07-24-2007 10:44 PM

thanks MysticMoon :)

esthervdwal 07-29-2007 01:54 PM

Hello, I have Vbulletin 3.5.4 and strangely there is nothing showing...anyone any idea:confused:

Bro_Joey_Gowdy 07-31-2007 07:20 PM

Uninstalled and Reinstalled updated version here:
https://vborg.vbsupport.ru/showthread.php?t=127220

hollyboy 02-24-2008 12:52 PM

nice hack, installed

i wonder if there is a way to show the preview of the icons in the quick mood changer

thanks

bayareamommas 04-08-2008 04:26 PM

i keep getting users that say they have a red x next to theirs

puregraf 11-27-2008 05:19 PM

is it just me or the forum is allot slower when the moods are enabled??


All times are GMT. The time now is 12:57 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.01424 seconds
  • Memory Usage 1,820KB
  • 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
  • (6)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)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