vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Profile Enhancements - vBStatus - Facebook Style Status Updates (v5) (vB 3.x) (https://vborg.vbsupport.ru/showthread.php?t=243913)

SamirDarji 08-28-2011 03:06 AM

What do you mean? :confused:

Blueracer66 09-02-2012 10:27 AM

Just to let you know, version number didn't update from 5.2 to 5.3. :)

ChiNa 09-07-2012 01:41 PM


Uninstalled again
: Does not work on vB 3.8.7 ! When click on EDIT, Nothing happends, think JAVASCRIPT problems,,,, It would be great if there was a fix...

Thanks for such an amazing Idea, but because I know this has been working for some, at least the developer should at least answer all the questions on here..

This is the line, which I think have some problems:
PHP Code:

<a href="javascript:vbstatus_change_status('status_postbit_id_$post[postid]','$post[userid]','vbstatus_input_postbit_id_$post[postid]','vbstatus_editbox_postbit_id_$post[postid]','vbstatus_statusbox_postbit_id_$post[postid]')">Edit</a

'

Hope it will get fixed, and hopefully soon..

Blueracer66 09-07-2012 02:36 PM

Quote:

Originally Posted by ChiNa-Man (Post 2363357)

Uninstalled again
: Does not work on vB 3.8.7 ! When click on EDIT, Nothing happends, think JAVASCRIPT problems,,,, It would be great if there was a fix...

Thanks for such an amazing Idea, but because I know this has been working for some, at least the developer should at least answer all the questions on here..

This is the line, which I think have some problems:
PHP Code:

<a href="javascript:vbstatus_change_status('status_postbit_id_$post[postid]','$post[userid]','vbstatus_input_postbit_id_$post[postid]','vbstatus_editbox_postbit_id_$post[postid]','vbstatus_statusbox_postbit_id_$post[postid]')">Edit</a

'

Hope it will get fixed, and hopefully soon..

Hmmm.... It works on my end.

SamirDarji 09-08-2012 01:41 AM

Works for me too. :confused:

Have you recently made any changes on your board? Upgrade, new plugins, etc?

YankForum 10-27-2012 09:42 AM

and how to edit some impolite user's status by admin account ?

imported_silkroad 10-28-2012 02:03 PM

Serious problems with this plugin if admins and mods cannot enforce rules and delete spam by editing status messages. We temporarily mitigated this by limiting changes to members with > 10 posts.

Hey Attilitus!

Can you please tell us how to get the moderation code working? Did you ever get it working? We looked and it was not obvious how to fix this and make it so we can moderate it properly.

Please.

Thank you.

www.unix.com

PS: Also, where do we change the width of the edit / input box for when we update a status message? Thanks!

ye22 12-14-2013 09:33 PM

i am sorry for bumping this old thread but.., i still didn't mange to give admins the ability to edit other users status..
if anyone did mange to do that.., Please share it with us!

----------------Edit----------------
i manged to replace the :
Code:

<if condition="$userinfo['userid']==$vbulletin->userinfo['userid']">
with :
Code:

<if condition="($post['userid']==$vbulletin->userinfo['userid']) OR ($bbuserinfo[usergroupid]==6)">
to make admins able to see the "Edit" and "Save" buttons.., However, If they edited anyuser it would be changed to them.
Example (As an admin) .. :
if i changed my status to : "Is good." and saved it.. every thing is fine.
but when i want to change someone's else status.. Like from "has no status." to "Is fine." (or anything else..)
That user's(which i changed his status) Only appears(his status) as i changed it to. (The "Is fine." status) until i reload the page.. then his status changes to "has no status." and my status changes to "Is fine." (As if i edited my own status!)
So.., is there anyfix for this?
i think that it is aproblem in the "vbstatus_class.php" file.. :
Code:

<?php
require_once('JSON.php');

if(!function_exists  (  'iconv'  )){
        function iconv($string){
                return $string;
        }
}

class att_object{
        function att_object(){
        }
}
class vbstatus_class{
        function vbstatus_class()
        {
                global $att;
                global $data;
                $this->att = $att;
                $this->data = $data;
                $this->JSON = new JSON;
        }
        function process_status($status,$change_encoding=True)
        {
        global $vbulletin;
        if($change_encoding){
        $status = iconv('utf-8',$vbulletin->options['vbstatus_charset'],$status);
        }

        $charcount=strlen ($status);
        if($vbulletin->options['vbstatus_maxchars'])
        {
                if($charcount>$vbulletin->options['vbstatus_maxchars'])
                {
                        return '[Too Long]';
                }
        }
                if($vbulletin->options['vbstatus_wordwrap'])
                {
                        $status=wordwrap($status, $vbulletin->options['vbstatus_wordwrap'], "\n", true);
                }
                return $status;
        }
        function change_status($userid,$status)
        {
                $this->att->required($userid);
                $return = new att_object();
                $return->updated_status = $this->process_status($status,False);
               
                $status = $this->process_status($status);
               
                //$this->att->required($status);
               
                $this->data->set('user');
                $this->data->select('*');
                $this->data->where('userid',$userid);
                $userinfo = $this->data->execute('select1');
                $this->att->required($userinfo);
               
                $this->data->set('userfield');
                $this->data->update('vbstatus_status',$status);
                $this->data->where('userid',$userinfo['userid']);
                $this->data->execute('update');
               
                return $this->JSON->serialize($return);
        }
       

}

?>

However.., i am not sure.. :/
Thanks in advanced.

fxdigi-cash 06-24-2014 12:23 PM

tried this mod, but didn't work on vb3.8

however, I made other version work on vb.3.8 this version:

https://vborg.vbsupport.ru/showthread.php?t=181283

imported_silkroad 06-18-2017 01:09 PM

Hmmm.

FYI: vBStatus recently stopped working in our forums.

By "stop working" I mean that users (or admins) cannot edit status messages.

Has anyone else experienced this problem?

www.unix.com


All times are GMT. The time now is 11:56 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.01256 seconds
  • Memory Usage 1,759KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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