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 - vBStatus - Facebook Style Status Display (v4) (https://vborg.vbsupport.ru/showthread.php?t=181283)

solboy 09-28-2008 03:31 PM

I get this error when I try to save the changes to my MEMBERINFO template:


Quote:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mydomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 Server at www.mydomain.com Port 80

Guest210212002 09-28-2008 03:45 PM

Any chance on making this validate? It throws a slew of errors. I ended up wrapping it in a conditional for showthread only in the meantime so that it doesn't un-validate the rest of my site.

b6gm6n 09-28-2008 04:44 PM

I have an error when i click 'edit' i used the APC datastore cache system and usually uploading a 'php.ini' file into the right directory solved the problem, but in this case i don't know... please advise

Fatal error: APC not installed in [path]/includes/class_datastore.php on line 386

EDIT, uploaded php.ini to 'vbstatus' and it was fine

Null Parameter 10-03-2008 03:51 AM

Going through this thread I never found a definite solution to fixing the "Edit" link not doing anything when clicked. Some have pointed out that this may be due to TCatt Image Resizer, of that I'm not sure, but I do have a solution that doesn't involve uninstalling and reinstalling everything.

If you open up ajax_wrapper.js and change this code:
Code:

_ajax.prototype.encode_datastream = function(_datastream)
{
        _datastream = _datastream.split('&')

        for (key in _datastream)
        {
                if (_datastream[key].match(/\=/))
                {
                        bits = _datastream[key].split('=')

                        _datastream[key] = bits[0] + '=' + encodeURIComponent(bits[1])
                }
        }

        return _datastream.join('&')
}


To This:
Code:

_ajax.prototype.encode_datastream = function(_datastream)
{
        _datastream = _datastream.split('&')

        for (key in _datastream)
        {
                if (_datastream[key].toString().match(/\=/))
                {
                        bits = _datastream[key].toString().split('=')

                        _datastream[key] = bits[0] + '=' + encodeURIComponent(bits[1])
                }
        }

        return _datastream.join('&')
}


That got rid of the Javascript errors for me, and I have TCatt installed and it is all working just fine. I hope this helps a lot of you out. Enjoy!

thenewuser 10-11-2008 12:21 PM

Thanks!

GabyZ 10-11-2008 01:39 PM

Works perfectly, thank you, such a great idea! Keep it up with your work.

JawadIT 10-12-2008 01:15 PM

thank you dude nice mod

saturngod 10-15-2008 10:34 AM

It's can't support unicode or what problem is that

I am written
Playing ThreeKingdom ကစား

but It's just save like

Playing ThreeKingdom အရမ္း

How to fix it ?

ZomgStuff 10-15-2008 03:04 PM

I would suggest adding this to the template where it say "welcome X, you have X new private messages" in forumhome.

Taragon 10-16-2008 08:55 PM

Quote:

Originally Posted by saturngod (Post 1645509)
It's can't support unicode or what problem is that

I am written
Playing ThreeKingdom ကစား

but It's just save like

Playing ThreeKingdom အရမ္း

How to fix it ?

I guess this would solve that:
Quote:

Originally Posted by marcinl (Post 1566501)
For anyone having problems with non-English languages being improperly displayed by this mod, there is a very simple solution. But you need the iconv extension installed for you php - it's probably by default if you have PHP5.

Open the file vbstatus_ajax.php

find:

PHP Code:

if($vbulletin->options['vbstatus_wordwrap']){
        
$att->clean['statusupdate']=wordwrap($att->clean['statusupdate'], $vbulletin->options['vbstatus_wordwrap'], "\n"true);
        } 

And after that add just one line:

PHP Code:

$att->clean['statusupdate'] = iconv("utf-8""iso-8859-2"$att->clean['statusupdate']); 

Obviously, in place of iso-8859-2, you have to put the correct encoding that you're using on you VB site.

It works perfectly for me in case of Polish.

Quote:

Originally Posted by ZomgStuff (Post 1645651)
I would suggest adding this to the template where it say "welcome X, you have X new private messages" in forumhome.

I know at http://www.vbulletin-germany.org/ there's a working example for this. Just run a search for vbstatus there.


All times are GMT. The time now is 05:08 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.01552 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_php_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