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-27-2008 06:20 PM

I would recommend using text only option for now if you have load problems.

The issue (In IE6/7 when using images in the dropdown menu) is to with the fact the user has to download 50+ mood images and has nothing to do with the javascript. Also this should only happen on the first page load, after which the mood images should be cached by the user browser.

With the latest version this is fixed, the images don't start loading until the page has loaded, was tested with another user who had a similar problem.

The other option (for further improvements) is to dynamicly load images in the dropdown menu e.g. detecting when the user is going down in the dropdown menu, which I might have a ago at doing sometime in the future.

Quote:

Originally Posted by tokenyank (Post 1533157)
I've had this running for a couple weeks now and it's been great, however as an exclusive Firefox user, I never knew there was a problem:



I've started getting complaints from our users where page loads are anywhere from 45-55 seconds (dedicated server with 2gb of memory). I didn't take much notice to be fair because I never had a problem and just assumed it was on their end until I was changing another mod and opened IE to view the board as a normal user and WHOA was there a load!

So, after disabling every plugin I have one-by-one to try to find the culprit, all were the same until I turned off this mod and page load went back to normal.

So, long story short, is there any way we can get the .js file to work with IE better? Cacheing technique of some sort or a more user friendly version of JSmin?

Thanks and I look forward to re-enabling this plugin!


tokenyank 05-27-2008 06:38 PM

Quote:

Originally Posted by -=Sniper=- (Post 1533205)
Also this should only happen on the first page load, after which the mood images should be cached by the user browser.

That's what I thought too but I'll be damned if it ain't cacheing!

I even added forced cache to .htaccess

Code:

<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A300
ExpiresByType image/x-icon A2592000
ExpiresByType application/x-javascript A3600
ExpiresByType text/css A3600
ExpiresByType image/gif A604800
ExpiresByType image/png A604800
ExpiresByType image/jpeg A604800
ExpiresByType text/plain A300
ExpiresByType application/x-shockwave-flash A604800
ExpiresByType video/x-flv A604800
ExpiresByType application/pdf A604800
ExpiresByType text/html A300
</IfModule>

And the page loads are still high... :(

Will try txt version then! Thanks.

[edit to add]
Added this hack with these results in Firefox... IE7 is still near 60sec load times... :(

Oh well!

kylemj 05-29-2008 09:48 AM

works great but amazed icon is not included

Kinneas 05-29-2008 11:06 AM

Grab it from the older version :P

JetHaCkR 05-29-2008 11:16 AM

I Set It To Auto Edit Postbit
But It Doesnt Work

Kinneas 05-29-2008 01:11 PM

There are instructions in the first post which tell you how to manually place it.

JetHaCkR 05-29-2008 02:01 PM

Still Doesnt Appear lol

heidiott 06-03-2008 12:42 AM

Quote:

Originally Posted by Alien (Post 1507480)
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:



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!

I'm not sure if this will help but I was also having a problem with CMPS and this fixed it for me.

In the vmoods.js file find this line...

Code:

YAHOO.util.Connect.asyncRequest("POST", "ajax.php?do=vmoods_update&securitytoken=" + SECURITYTOKEN + "&vmood=" + target.title, {
On this line add the full path to ajax.php ex: http://www.yoursite.com/forum/ajax.php

Hope this helps :)

skywalker2208 06-05-2008 12:17 AM

Is there way to change the location of the mood on the profile page?

Alien 06-05-2008 01:56 AM

Quote:

Originally Posted by heidiott (Post 1539281)
I'm not sure if this will help but I was also having a problem with CMPS and this fixed it for me.

In the vmoods.js file find this line...

Code:

YAHOO.util.Connect.asyncRequest("POST", "ajax.php?do=vmoods_update&securitytoken=" + SECURITYTOKEN + "&vmood=" + target.title, {
On this line add the full path to ajax.php ex: http://www.yoursite.com/forum/ajax.php

Hope this helps :)

Hey thanks for the heads up...

Unfortunately, this did not work for me.. The stock hack works fine with a subdomain setup on AlienSoup.com, but refuses to on WTF.com which is really throwing me for a loop!


All times are GMT. The time now is 08:07 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.01421 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_code_printable
  • (4)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