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

Reply
 
Thread Tools
vMoods aka Mood Manager Details »»
vMoods aka Mood Manager
Version: 1.1.3, by -=Sniper=- -=Sniper=- is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.0 Rating:
Released: 05-03-2008 Last Update: 05-17-2008 Installs: 579
DB Changes Uses Plugins Auto-Templates
Additional Files Translations Is in Beta Stage  
No support by the author.

/*
vMoods by ZONE365.com
Created by Sniper
http://www.zone365.com
for vbulletin 3.7
*/

Todo
- - - - - - - - - -

- Add more to readme.txt
- More features, options?


1.1.3 Beta - Sunday May 18th
- - - - - - - - - -

- Fixed possible bug for IE6/7 users, the menu drop menu would not work
- Added text/image option
- Added more FAQ questions in readme.txt

By default the dropdown menu will show text version of the moods list, you must change the option to
images in the admin cp.

UPGRADE
- - - -

- Import the new product file

1.1.2 Beta - Monday May 5th
- - - - - - - - - -

- Fixed bug for JS error for guests

UPGRADE
- - - -

- Import the new product file

1.1.1 Beta - Monday May 5th
- - - - - - - - - -

- Moved javascript/html to footer to improve load times for IE6/7

UPGRADE
- - - -

- Import the new product file

1.1 Beta - Monday May 5th
- - - - - - - - - -

- Added reset option
- Added CSS to vMoods in admin CP so you can edit quickly if need be
- Removed width/height so you can use your own mood images
- Improved speed for IE6/7, FF should be faster is well
- Added option to have custom display for postbit

UPGRADE
- - - -

- Import the new product file and overwrite the vmoods.js file and if need me change settings in AdminCP

1.0 Beta - Sunday May 4th
- - - - - - - - - -

- New version for vbulletin 3.7.0
- renamed from Mood Manager

NEW INSTALL
- - - - - - - - - -

- upload vmoods to main forum folder
- use product manager in the ADMIN CP to install vMoods

NOTE: All mood images will now be located under vMoods/images

UPGRADE from Mood Manager
- - - - - - - - - -

- At this moment I suggest uninstalling the old version and installing this new version.
REMEMBER this will delete all user moods, if you want old moods to be kept, please request and I'll post a how to.

FAQ
_ _

- How can I keep the old moods?

1) disable the old mood manager, install the new mood manager

2) run these queries

ALTER TABLE 'user' DROP 'vmood';

ALTER TABLE 'user' CHANGE 'mood' 'vmood' varchar(100) NOT NULL DEFAULT 'none';

- How can I change the location of the mood in the postbit?

disable the auto edit in the Admin CP, now you will have access to

$vmood_postbit

place that anywhere you want in the postbit templates (well the location where you want the mood to show)

- How can I change the location of the moods dropdown menu navbar

disable the auto edit in the Admin CP, now you will have access to

$vmood_form

place that anywhere you want in the navbar template, you can try other templates but I can't say if it will work or not

- Why am I getting two mood images in the postbit, how can I stop this from happening?

In the admin cp, disable the auto edit

Show Your Support

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

Comments
  #142  
Old 05-08-2008, 06:02 PM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK - I'm gonna ask anyway - because the question will probably get some eye rolls and the stray mumbled "Stoopid A**" LOL

But I just noticed this new version... ((Thanx SHELLEY)) I'm currently running vB 3.6.8 PL2 - There's always been an issue with showing the actually images in Opera browser - so I had the settings set to show text. But I noticed earlier on SHELLEY's Forum that this newer version shows perfectly in Opera browser.... On her site - Looks quite awesome really. And thanx to you SNIPER for updating the code - Wonderful work indeed.

OK - My stoopid question - Can this version possibly be installed on a 3.6.8 PL2 vBulletin install?

Jacquii.
Reply With Quote
  #143  
Old 05-08-2008, 09:40 PM
CHIPIT CHIPIT is offline
 
Join Date: Apr 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
it's $vmoods_form.

You forgot the "s" at the end of mood...
That's what I have.... Now I can see code from the mod in the source but still no menu?
Reply With Quote
  #144  
Old 05-09-2008, 06:03 AM
RedTrinity's Avatar
RedTrinity RedTrinity is offline
 
Join Date: Mar 2008
Location: QLD, Australia
Posts: 265
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having further display problems in the navbar, just got this today after my PM box started to reach its quota...



If I remove the code relating to the PM quota warning (I had planned to relocate it), then the entire Mood field, both text & display, completely disappears as well :S

I would like to try to position the Mood field manually but if I turn off auto-place for it and try to do it manually with the $vmoods_form line, it doesn't appear no matter where I place it....

Would appreciate some help!
Reply With Quote
  #145  
Old 05-09-2008, 10:07 AM
Silvio's Avatar
Silvio Silvio is offline
 
Join Date: Nov 2005
Location: Italy
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

an issue also if an user is deleted.

- create a fake user (do not assign to it any mood) - (I did it with an old dismissed user I've not created a new one but i guess is the same)
- post a new thread from this user.
- delete that user so that will be renamed from vB in anonymous.
- go to see that thread

you will se that this 'Anonymous' now has the mood (even if nobody has selected one for it) and that the immage is not showing as is pointing to a non valid file (/imagemoodpath/.gif)

ty for helping on solve this
Reply With Quote
  #146  
Old 05-09-2008, 10:09 AM
Kinneas's Avatar
Kinneas Kinneas is offline
 
Join Date: Dec 2005
Location: Nottingham, UK
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GamerGirl27 View Post
I'm having further display problems in the navbar, just got this today after my PM box started to reach its quota...



If I remove the code relating to the PM quota warning (I had planned to relocate it), then the entire Mood field, both text & display, completely disappears as well :S

I would like to try to position the Mood field manually but if I turn off auto-place for it and try to do it manually with the $vmoods_form line, it doesn't appear no matter where I place it....

Would appreciate some help!
It's actually $vmoods not $vmoods_form that you need to manually insert into your Navbar. Sniper mentioned this earlier in the thread, but the description field in ACP hasn't been updated yet and still refers to the old phrase.
Reply With Quote
  #147  
Old 05-09-2008, 10:11 AM
Kinneas's Avatar
Kinneas Kinneas is offline
 
Join Date: Dec 2005
Location: Nottingham, UK
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CHIPIT View Post
I have enabled the product, disabled the auto edits, and put $vmood_form in the desired navbar location however it still does not appear. Anything I'm missing? The source of the page shows nothing where the variable is entered, as if it doesn't exist...
See above also
Reply With Quote
  #148  
Old 05-09-2008, 11:54 AM
Chance4Today Chance4Today is offline
 
Join Date: Aug 2007
Location: NE
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It says error when trying to even import on line 0
Reply With Quote
  #149  
Old 05-09-2008, 11:58 AM
RedTrinity's Avatar
RedTrinity RedTrinity is offline
 
Join Date: Mar 2008
Location: QLD, Australia
Posts: 265
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kinneas View Post
It's actually $vmoods not $vmoods_form that you need to manually insert into your Navbar. Sniper mentioned this earlier in the thread, but the description field in ACP hasn't been updated yet and still refers to the old phrase.
Thanks, must have missed the earlier update!
Reply With Quote
  #150  
Old 05-09-2008, 03:18 PM
Silvio's Avatar
Silvio Silvio is offline
 
Join Date: Nov 2005
Location: Italy
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope Sniper will not kill me if I give my raw solution to use this great hack also with vba_cmps. I am not at all a coder so pls excuse me if code could be done better.
Basically i have just added the forum path before mood paths.

Open with an editor Sniper's XML (product-vmoods.xml) Find&Replace

Code:
Find:
<img id="vmoods-mine" src="$vboptions[vmoods_images_path]/$bbuserinfo[vmood].gif" border="0" alt="$bbuserinfo[vmood]" title="$bbuserinfo[vmood]"<if condition="$bbuserinfo[vmood] == 'none'"> style="display:none;"</if> />
 
Replace with :
<img id="vmoods-mine" src="$vboptions[bburl]/$vboptions[vmoods_images_path]/$bbuserinfo[vmood].gif" border="0" alt="$bbuserinfo[vmood]" title="$bbuserinfo[vmood]"<if condition="$bbuserinfo[vmood] == 'none'"> style="display:none;"</if> />
 
Find:
<dd><img src="$vboptions[vmoods_images_path]/$userinfo[vmood].gif" border="0" /></dd>
 
Replace with:
<dd><img src="$vboptions[bburl]/$vboptions[vmoods_images_path]/$userinfo[vmood].gif" border="0" /></dd>
 
Find:
<script type="text/javascript" src="$vboptions[vmoods_script_path]/vmoods.js?v=$vboptions[simpleversion]"></script>
 
Replace with:
<script type="text/javascript" src="$vboptions[bburl]/$vboptions[vmoods_script_path]/vmoods.js?v=$vboptions[simpleversion]"></script>
 
Find:
var VMOODS_IMAGES_PATH = '$vboptions[vmoods_images_path]';
 
Replace with:
var VMOODS_IMAGES_PATH = '$vboptions[bburl]/$vboptions[vmoods_images_path]';
 
Find:
<img id="vmood-$vmood_id" src="$vmoods_path/$vmood.gif" alt="$vmood" title="$vmood" class="vmood" />
 
Replace with:
<img id="vmood-$vmood_id" src="$vboptions[bburl]/$vmoods_path/$vmood.gif" alt="$vmood" title="$vmood" class="vmood" />
 
Find:
<img style="vertical-align: middle" src="$vboptions[vmoods_images_path]/$post[vmood].gif" border="0" />
 
Replace with:
<img style="vertical-align: middle" src="$vboptions[bburl]/$vboptions[vmoods_images_path]/$post[vmood].gif" border="0" />

Now
open Sniper's vmoods.js file - Find&Replace

note: for this you should individually insert your domainurl/forum path.
I did not found another easier solution 4 this step but i think Sniper or any coder will help better.

Code:
Find:
YAHOO.util.Connect.asyncRequest("POST", "ajax.php?do=vmoods_update&securitytoken=" + SECURITYTOKEN + "&vmood=" + target.title, {
 
Replace with:
YAHOO.util.Connect.asyncRequest("POST", "http://www.yourdomainURL/forum/ajax.php?do=vmoods_update&securitytoken=" + SECURITYTOKEN + "&vmood=" + target.title, {

Now re-upload vmoods.js and reload product-vmoods.xml with overwrite ON.

apologises for my terrible english

ciao
Reply With Quote
  #151  
Old 05-09-2008, 03:21 PM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Magnumutz View Post
It shows up in the navbar for me... but when i select ANY mood, it just stands there... no action.
Any news on my problem?
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 01:26 AM.


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.09402 seconds
  • Memory Usage 2,320KB
  • 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
  • (5)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
  • (2)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