vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - vMoods aka Mood Manager (https://vborg.vbsupport.ru/showthread.php?t=178020)

-=Sniper=- 05-03-2008 10:00 PM

vMoods aka Mood Manager
 
/*
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

Alien 05-03-2008 11:34 PM

Sweet! I can't wait to update...

I have a question.. I noticed that this mod has a problem with working on vBadvanced CMPS if you have your portal on sitename.com but your forums on forums.sitename.com - You get a security problem in Firefox (reported by Firebug) that reads:

Quote:

uncaught exception: Permission denied to call method XMLHttpRequest.open
Any idea of how to get this to work? I tried all previous vBadvanced fixes listed in the 3.6 thread, but none of them work when using sitename.com (portal) and forums.sitename.com (forums) without producing the quoted error!

If you can offer any pointers, I'd be eternally grateful!

TTG 05-03-2008 11:36 PM

Old mood system still works well on my 3.7.0
Are there any advantages in upgrading ?

Anarchy 05-04-2008 12:00 AM

last i saw there was a javascript error with the old version when you first use it.

TheInsaneManiac 05-04-2008 12:08 AM

yea the old works with 3.7 whats new in this one? How do we keep the user's moods?

duckdodger 05-04-2008 12:09 AM

NOW I can upgrade to 3.7 :D

Thanks for the update!

Kaycee123 05-04-2008 12:17 AM

Quote:

Originally Posted by TheInsaneManiac (Post 1507501)
yea the old works with 3.7 whats new in this one? How do we keep the user's moods?


Are you sure it works? None of our members were able to change their moods since the upgrade to 3.7.0.

Thanks for updating this!!:D

goblues 05-04-2008 12:29 AM

Not working here either

Shelley_c 05-04-2008 12:32 AM

Quote:

Originally Posted by Kaycee123 (Post 1507509)
Are you sure it works? None of our members were able to change their moods since the upgrade to 3.7.0.

Thanks for updating this!!:D

You'll have to change the path names in the vb options menu and it will work.

goblues 05-04-2008 12:56 AM

right ;)

J105C 05-04-2008 01:19 AM

How do you keep same moods? /end request

kenji4861 05-04-2008 01:20 AM

Update : I just installed it wrong, it worked!

--Original Post---
I installed this and it didn't work. Users are not able to select a mood from the list. Just pops up a menu and can scroll through but that's it. Both on Firefox 3beta and IE 7

Deimos 05-04-2008 01:22 AM

*thumbs up*

Works fine for me

Make sure you set the options in the VBOptions menu, you have to set the path for both the images and the javascript file.

TheInsaneManiac 05-04-2008 01:29 AM

Quote:

Originally Posted by Kaycee123 (Post 1507509)
Are you sure it works? None of our members were able to change their moods since the upgrade to 3.7.0.

Thanks for updating this!!:D

Yes the old version still works for me. I just changed my own mood.

Lindsey 05-04-2008 01:44 AM

Hmm so this does not work?

whitetigergrowl 05-04-2008 01:47 AM

Works fine for me. Make sure paths are right in the AdminCP.

Although I have noticed since installing it that it has caused a slight delay in the forum loading that the old mod didn't have.

kenji4861 05-04-2008 01:52 AM

It just worked! I just messed up where I copied the files to. Updated original post.

rc1320 05-04-2008 02:12 AM

Caused a lot of weird reactions in my postbit... not sure I am ready to run with this one.

DarkGizmo 05-04-2008 02:55 AM

How do i install this? next time, actually give some damn instruction in your readme Sniper....

whitetigergrowl 05-04-2008 03:00 AM

My postbit is fine. It might be due to other hacks you have done to the forum or postbit.

However it has messed with how my forum loads.

DarkGizmo 05-04-2008 03:03 AM

How do you even install this crap?

myown 05-04-2008 03:09 AM

thnaks

Afterglow86 05-04-2008 03:26 AM

Works good for me too.

DarkGizmo 05-04-2008 03:32 AM

nvm i got it :)

Alien 05-04-2008 03:35 AM

Hey,

I have a request:

I'd like to see the return of the option to display only the TEXT of the mood in the pulldown menu like it was in the 3.6 version.

Alien 05-04-2008 03:38 AM

Oh, and another question...

What variable would we add to have this work in vBadvanced?

RedTrinity 05-04-2008 04:06 AM

Lookin' good Sniper :) Though the alignment of images to the 'Mood' indication text could do with a little work maybe.

-=Sniper=- 05-04-2008 09:44 AM

whitetigergrowl: it adds no queries (only query run is when someone changes their mood) etc on the forum pages just html and javascript so should not cause any problem

Alien: I'll add the text only option soon. Not worked with vbadvanced for a very long time so unable to help with thatm maybe someone else can.

GamerGirl27: could you post a screenshot of what you mean, thanks

Kinneas 05-04-2008 09:44 AM

Thanks for this release Sniper, however like others I have actually got the 3.6 version working on my board and would rather not have to wipe my users current moods.

Any chance of those instructions? :)

-=Sniper=- 05-04-2008 09:46 AM

Quote:

Originally Posted by Kinneas (Post 1507875)
Thanks for this release Sniper, however like others I have actually got the 3.6 version working on my board and would rather not have to wipe my users current moods.

Any chance of those instructions? :)

I'll post them later on.

KURTZ 05-04-2008 09:52 AM

any screen shot?

Deimos 05-04-2008 10:53 AM

Quote:

Originally Posted by whitetigergrowl (Post 1507568)
Works fine for me. Make sure paths are right in the AdminCP.

Although I have noticed since installing it that it has caused a slight delay in the forum loading that the old mod didn't have.

Confirmed, I'm getting it to
It's causing about 3-4 seconds of delay when loading any page, due to the mood selector at the top.
I disabled the addon for the time being.

slowphantom 05-04-2008 11:01 AM

thx for update
after i read post i see that 3.6 is more good so i gusse i will keep useing 3.6 for 3.7 it work fine on gold 3.7

thx any way

ShawneyJ 05-04-2008 11:19 AM

nice but the old one works fine still ;)

rungok 05-04-2008 11:50 AM

Quote:

Originally Posted by Alien (Post 1507664)
Oh, and another question...

What variable would we add to have this work in vBadvanced?

Just go into vBa CMPS -> Default Settings -> Portal Output Global Variables
and add the variables:

usermoods
vbmoods

SpongeFreak52 05-04-2008 12:18 PM

Few questions.

Firstly, I still can't get it to work with vBadvanced, as the dropdown list is still blank when clicked on from it.

Second, how would I move the mood from next to the user info to underneath the username in the postbit?

Thanks in advance, and nice mod! =)

-=Sniper=- 05-04-2008 02:15 PM

rungok: I don't think that will work any more since I have changed variable names.

SpongeFreak52: at the moment you can't change the position in the postbit but in the future version, you will be able to.

Are you guys sure 3.6.x version works ok, change a mood and check it saves it, since with the new security token system it might appear to work but will not.

Alien 05-04-2008 02:56 PM

Quote:

Originally Posted by SpongeFreak52 (Post 1508040)
Few questions.

Firstly, I still can't get it to work with vBadvanced, as the dropdown list is still blank when clicked on from it.

Yeah, same issue here.

In fact, you can even completely remove:

usermoods
vbmoods

from your global variables in your vBadvanced and it will still show the exact same way, proving that the above variables no longer work or are needed.

I suspect somehow if we have the option to use the full path everywhere (including in the plug-in files) that the portal (and photopost gallery) would then work.

LisaJH 05-04-2008 03:25 PM

uploading now.. lets see if it works

taxick 05-04-2008 03:50 PM

How to add the mood to postbit_legacy???

It show ups ind PM bar, profile but not the postbit_legacy

EDIT-1:

Sorry, i have forget to click install - Now is done :)

EDIT-2:

Fixet - I added this to postbit_legacy


PHP Code:

 <if condition="$vboptions[vmoods_active] AND $post[vmood] != 'none'">

<
div>

        <
span style="vertical-align: middle;">$vbphrase[vmoods_my_mood] </span
    
        <
img style="vertical-align: middle" src="$vboptions[vmoods_images_path]/$post[vmood].gif" border="0" />
    
    </
div



All times are GMT. The time now is 06:18 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.01595 seconds
  • Memory Usage 1,824KB
  • 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
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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