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)

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?


All times are GMT. The time now is 08:10 AM.

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.01632 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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