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)

Bounce 05-06-2008 06:51 PM

I have extra moods if anyone want's them

-=Sniper=- 05-06-2008 07:03 PM

Quote:

Originally Posted by dancue (Post 1510399)
Any way to put the "$vmoods_form" in the usercp?

Preferably under "Edit Details"?

you need to disable the auto edit the in the admincp and then use $vmoods in the navbar, anywhere you want to place it.

dancue 05-06-2008 11:00 PM

in the navbar?

flipstyle 05-07-2008 02:56 AM

I took the time to double check hiBees pack and list. (Attached below is an updated text file list of all the mood names so it shows the images.)

I just want to let you know there are 2 duplicate images inpain.gif and Psychadelic.gif and also sunshine.gif needs to be renamed to Sunshine.gif.

In the original zip pack the txt file it had 92 moods listed. Feel free to use the list I updated.

HiBee in the post you made you had some missing and some spelling errors, no worries though it happens.
After recounting there should be a total of 119 mood gifs.

Thanks for the pack I love it!
and thank you sniper for the plugin. Good stuff.

Silvio 05-07-2008 11:26 AM

ty, upgraded to 3.7 ver.

Is there a clean way to let this work with vbadvanced where path are setted up as per the following example?

Code:

http://www.yoururl.com/index.php (vba path - Not wroking paths are wrong)
 
http://www.yoururl.com/forum/index.php (standard forum path - Working perfectly)

any help?

ciao

trackpads 05-07-2008 12:34 PM

Very nice hack!!!

Kinneas 05-07-2008 12:37 PM

Quote:

Originally Posted by Silvio (Post 1511534)
ty, upgraded to 3.7 ver.

Is there a clean way to let this work with vbadvanced where path are setted up as per the following example?

Code:

http://www.yoururl.com/index.php (vba path - Not wroking paths are wrong)
 
http://www.yoururl.com/forum/index.php (standard forum path - Working perfectly)

any help?

ciao

Have you tried adding vmoods to the Portal Output Global Variables Option in CMPS Settings?

ArLinD 05-07-2008 02:14 PM

Again, I did everything written in the Insctruction file but yet not working.

I activated it from vB options.

It's weird because from the Admin Control Panel where you edit a user's setting there you can edit his mood too while moods don't show anywhere.

Help would be appriciated.

- ArLinD

echo2kk5 05-07-2008 02:36 PM

Quote:

Originally Posted by Kinneas (Post 1511579)
Have you tried adding vmoods to the Portal Output Global Variables Option in CMPS Settings?

I have tried that and it did not work.

Bounce 05-07-2008 03:15 PM

Quote:

Originally Posted by flipstyle (Post 1511221)
I took the time to double check hiBees pack and list. (Attached below is an updated text file list of all the mood names so it shows the images.)

Thanks it was late and I should have double checked it lol,have updated my post with your correct list and sorted errors and removed duplicate's.
(I think LOL) :up:

Silvio 05-07-2008 07:38 PM

Quote:

Originally Posted by Kinneas (Post 1511579)
Have you tried adding vmoods to the Portal Output Global Variables Option in CMPS Settings?

yes i did but no results.
:erm:

CHIPIT 05-08-2008 02:28 AM

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...

dancue 05-08-2008 03:15 AM

it's $vmoods_form.

You forgot the "s" at the end of mood...

maslove23 05-08-2008 06:00 AM

thx that's a really great mood Manager i'll love for a the none bate one to get out

Kinneas 05-08-2008 11:35 AM

Quote:

Originally Posted by Silvio (Post 1511965)
yes i did but no results.
:erm:

Not sure then I'm afraid. My CMPS index is in the same directory as the forum index.

karnevil 05-08-2008 12:08 PM

Hi guys

I want the mood to show up in the user profile but can't seem to get it working...any ideas ?

thanks

karnevil 05-08-2008 12:12 PM

Lol I always work things out right after posting in here :D

I pasted
PHP Code:

<if condition="$vboptions[vmoods_active] AND $userinfo[vmood] != 'none'">
    
    <
li class="profilefield_category">
    
        <
dl class="list_no_decoration profilefield_list">
    
            <
dt class="shade"><font size="1">$vbphrase[vmoods_my_mood]</font></dt>
    
            <
dd><img src="$vboptions[vmoods_images_path]/$userinfo[vmood].gif" border="0" /></dd>
        
        </
dl>
    
    </
li>
    
</if> 

into the Memberinfo template and bingo

Magnumutz 05-08-2008 01:09 PM

Ok, i installed it but it doesn't change the moods for me.

readjono 05-08-2008 01:15 PM

Long way to go yet, can't even get it to appear in the navbar :(

Magnumutz 05-08-2008 02:56 PM

It shows up in the navbar for me... but when i select ANY mood, it just stands there... no action.

PoetJA-1975 05-08-2008 06:02 PM

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? :D

Jacquii.

CHIPIT 05-08-2008 09:40 PM

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?

RedTrinity 05-09-2008 06:03 AM

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

https://vborg.vbsupport.ru/external/2008/05/58.gif

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! :)

Silvio 05-09-2008 10:07 AM

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

Kinneas 05-09-2008 10:09 AM

Quote:

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

https://vborg.vbsupport.ru/external/2008/05/58.gif

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.

Kinneas 05-09-2008 10:11 AM

Quote:

Originally Posted by CHIPIT (Post 1512271)
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 :)

Chance4Today 05-09-2008 11:54 AM

It says error when trying to even import on line 0 :(

RedTrinity 05-09-2008 11:58 AM

Quote:

Originally Posted by Kinneas (Post 1513616)
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!

Silvio 05-09-2008 03:18 PM

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

Magnumutz 05-09-2008 03:21 PM

Quote:

Originally Posted by Magnumutz (Post 1512745)
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?

harry_5 05-09-2008 09:23 PM

Quote:

Originally Posted by Silvio (Post 1513614)
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

Same issue here with guests posting!

CHIPIT 05-09-2008 10:30 PM

Quote:

Originally Posted by Kinneas (Post 1513619)
See above also :)

Thank you very much, all working now.

echo2kk5 05-10-2008 01:35 AM

I'd like to see where others are placing this...it's so cramped under the private messages for me, and even by adding a <br /> it looks out of place.

dancue 05-10-2008 02:05 AM

Anyone care to help me put $vmoods within "Edit Your Details" in usercp?

Kinneas 05-10-2008 08:59 AM

Quote:

Originally Posted by echo2kk5 (Post 1514477)
I'd like to see where others are placing this...it's so cramped under the private messages for me, and even by adding a <br /> it looks out of place.

Well mine looks like this if it helps :)

Zaiaku 05-10-2008 07:10 PM

I'm also using the older 3.6 version of this mod. I'll wait til there's a good reason to upgrade to this version. But TY for both versions!

Britmovie 05-10-2008 08:23 PM

Tried and it failed....good idea will call back to see if stable.

HAVOK USA 05-11-2008 03:31 AM

uninstalled - slows the board down

Magnumutz 05-11-2008 09:06 AM

I think i'm gonna go back to the 3.6 version as well. I can't get this one to work.

Kinneas 05-12-2008 12:25 PM

What are the main problems people are having here? I'll admit it took me a little bit of reworking but it wasn't too hard to install or even upgrade from 3.6.


All times are GMT. The time now is 10:31 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.01971 seconds
  • Memory Usage 1,844KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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