Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Quick Mood Changer - addon Details »»
Quick Mood Changer - addon
Version: 1.2, by -=Sniper=- -=Sniper=- is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 12-04-2005 Last Update: 07-23-2007 Installs: 108
Uses Plugins Template Edits
 
No support by the author.


############################################
##############--Bought to you by--###############

Talk Coding - Programming Forums

##########--Free / Premium vBulletin Solutions--#########
############################################

First you need to have this mod installed, as the moods are from there.

https://vborg.vbsupport.ru/showthread.php?p=840285

This will allow the user to change the hack from the top navbar area, under private messages (see attachment).

Install instruction in the .zip file!

UPDATE 14/02/2006
~~~~~~~~~~~~~~~~~
- Version 1.2
- Is now installed as a product
- Now you can add ***NEW MOODS*** to the dropdown menu from the admincp
- No need to edit the plugin for the mood field number, its in the admincp
- Added Message "Whats with the mood swing?" when user changes his/her mood

UPDATE 03/01/2006
~~~~~~~~~~~~~~~~~
- Version 1.0
- Updated all the moods I think

UPDATE 11/12/2005
~~~~~~~~~~~~~~~~~
- Version Unknown
- Added "No Mood" to mood list
- Changed the template coding

UPDATE 05/12/2005
~~~~~~~~~~~~~~~~~
- Version Unknown
- Fixed spelling for "cheerful"
- Fixed no mood option not working
- Changed "In_Love" mood to "In Love" removed the underscore

3.5.0 hIBEES; Ok for those who cant get it to work simply replace the 3.5.0 adminfunctions_template.php with the 3.5.2 version

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #172  
Old 05-12-2006, 04:14 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you think I should add a field which allows you to enter your own message from the admincp?
Reply With Quote
  #173  
Old 05-14-2006, 01:12 PM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like it, but any way this could be done with AJAX?
Reply With Quote
  #174  
Old 06-21-2006, 05:34 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will release a new and improved version (with AJAX), once 3.6 final is out.
Reply With Quote
  #175  
Old 07-05-2006, 10:55 PM
hgb hgb is offline
 
Join Date: Nov 2005
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool and simple to setup

thx

-------------> installed
Reply With Quote
  #176  
Old 07-09-2006, 10:09 AM
Littlebit's Avatar
Littlebit Littlebit is offline
 
Join Date: Nov 2001
Posts: 313
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #177  
Old 07-14-2006, 08:02 PM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #178  
Old 08-10-2006, 09:05 PM
Devil Woman Devil Woman is offline
 
Join Date: Jul 2005
Location: England
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #179  
Old 08-18-2006, 05:52 PM
psypix psypix is offline
 
Join Date: Aug 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #180  
Old 08-21-2006, 01:26 PM
The_Rayman's Avatar
The_Rayman The_Rayman is offline
 
Join Date: Jul 2005
Location: Amsterdam - Netherlands
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #181  
Old 09-04-2006, 05:53 PM
B3y0nd B3y0nd is offline
 
Join Date: Mar 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08241 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete