View Full Version : Profile Enhancements - vBStatus - Facebook Style Status Display (v4)
SamirDarji
12-14-2009, 02:17 PM
What about 3.8.4?
Finished installing the mod on 3.8.4 and works perfectly!This should answer your question. Have you run into problems when installing?
ravenfaust
12-16-2009, 11:30 AM
javascript:Att_Ajax('userid=24&postid=234','vbstatus/vbstatus_ajax.php') shows that when ever i go to edit status /.. Any idea?
ravenfaust
12-27-2009, 08:46 PM
no help?
ProFifaLeagues
12-27-2009, 11:14 PM
cheers
paulbhoy
12-30-2009, 04:03 PM
will this be updated for vb4?
this is a great mod, i would hate to see it go
desi-boy
12-31-2009, 11:27 AM
not working for 4.0 some bug
zombietom
01-01-2010, 08:13 PM
Ok so I seem to have solved the problem to the edit not working when clicked.
javascript:Att_Ajax('userid=4&postid=26888','vbstatus/vbstatus_ajax.php')
First of all I used this.
https://vborg.vbsupport.ru/showpost.php?p=1712080&postcount=391
and overwrote and saved.
Then I cleared my cache or private data (depends what browser your using)
This fixed this mod for me.
I have added the updated ajax_wrapper file, to save you some time..copy and paste
open your current ajax wrapper file and delete everything and copy & paste this file in its place
/*|-----------------------------------------|*\
|#| AJAX Class Wrapper |#|
|#| Created By Zero Tolerance |#|
|#| CVS$v1.0.2$ |#|
|#| (C) Inferno Technologies 2005 - 2006 |#|
|#| All Rights Reserved |#|
\*|-----------------------------------------|*/
// example usage:
/*
AJAX = new _AJAX(true)
AJAX.onreadystatechange(myresponsefunction)
AJAX.send('var=hi&var2=hi2', 'POST', 'index.php')
*/
/**
_ajax
Initiates class wrapper for AJAX
@param _async boolean Determines if asynchronous is on or not
@return null
*/
function _ajax(_async)
{
this.async = _async
this.handler = null
}
/**
[_ajax]createhandler
Initiates xml http header request (handler)
@return boolean Returns true on success
*/
_ajax.prototype.createhandler = function()
{
try
{
this.handler = new XMLHttpRequest
return this.handler.setRequestHeader ? true : false
}
catch(e)
{
try
{
this.handler = new ActiveXObject('Microsoft.XMLHTTP')
return true
}
catch (e)
{
return false
}
}
return false
}
/**
[_ajax]onreadystatechange
Sets trigger function to execute once request state changes
@param _func Function function to trigger
@return boolean Returns true on success
*/
_ajax.prototype.onreadystatechange = function(_func)
{
if (this.handler == null)
{
if (!this.createhandler())
{
return false
}
}
this.handler.onreadystatechange = _func
return true
}
/**
[_ajax]encode_datastream
Automatically encodes URI components
@param _datastream string URI Components
*/
_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('&')
}
/**
[_ajax]send
Sends the http xml request
@param _datastream string Request data
@param _type string Request type
@param _file string Request file (index.php/index.cgi, etc...)
@return null
*/
_ajax.prototype.send = function(_datastream, _type, _file)
{
if (!this.handler.readyState && !this.handler.readyState < 4)
{
_datastream = this.encode_datastream(_datastream)
this.handler.open(_type, _file + '?' + ((_type == 'GET')? _datastream : ''), this.async)
this.handler.send(_datastream)
}
}
thanks
childfun
01-01-2010, 11:36 PM
ANy chance you will make this 4.0 ready? It's such a neat add on!!
sinucello
01-15-2010, 09:08 AM
It would be lovely if this could pull the info we post to twitter and use this info in the postbit :)
9.
yep absolutely. Twitter and/or Facebook. And compatible with vB 4 ;- ).
Feanor_87
02-11-2010, 07:40 AM
A must have mod for every vB forum! :) Thanks!
forumrunt
02-14-2010, 06:57 AM
cant change the status
boxhamster
02-19-2010, 09:14 AM
German Language Fix
thank you!
Hveysel
02-19-2010, 08:44 PM
I have installed this nice little hack, but the danish caracters "Æ Ø Å æ ø å" is not showed corectly. Does anyone know have to make it work with thise caracteres? It is not a problem any other places in the forum.
Thanks
Forum Lover
03-19-2010, 09:23 AM
No plan to update it for vb4?
MagicThemeParks
03-21-2010, 09:08 PM
hay how about having a log of their status messages in their profile.
Then it will be like twitter in your own forum
That's a great idea! :)
Any thoughts about adding that feature?
MagicThemeParks
03-21-2010, 09:49 PM
Also, how do you go about editing the font to be in bold or bigger size, etc?
Which file and where do you edit it?
luan7749
04-17-2010, 02:18 AM
Can you "make up" for vbstatus text ?
DaDevilRocks
04-24-2010, 08:29 PM
I have managed to get it working for vb 4.0.X
Required a few tweaks... if anybody needs it here just pm AND email me.
PS: I have changed the javascript to jquery as I was already using it on my forum. May cause some issues if you are using some other libs like prototype or mootools. Has no problem with YUI.
Adam H
04-24-2010, 08:32 PM
I have managed to get it working for vb 4.0.X
Required a few tweaks... if anybody needs it here just pm AND email me.
PS: I have changed the javascript to jquery as I was already using it on my forum. May cause some issues if you are using some other libs like prototype or mootools. Has no problem with YUI.
I would like a copy of that if possible ?
DaDevilRocks
04-25-2010, 07:01 AM
I would like a copy of that if possible ?
PM me your email id. I will send it to you
Rukas
05-02-2010, 09:20 AM
Is there a list of all the Status Updates somewhere like on Facebook or are they only shown on the postbit?
Rukas
05-02-2010, 09:21 AM
It's pretty much get something like this working on vb4 NOW or port over to IPBoard to be honest. *sigh* I miss the day when vbulletin was ahead of the pack.
ChopSuey
05-24-2010, 12:13 AM
Soo no vB4 release? If i may im going to upgrade it.
Floris
05-24-2010, 09:09 PM
how come when you enter as status
"this+that=banana"
it shows as "this+that"
and =banana gets filtered out
same with : '); "); echo "banana";
ending up : "); "; echo "banana" ;;;
it rewrites quite a bit, put in other invalid code and it just ends up with 404 page not found errors, etc.
Is everything properly sanitized?
Attilitus
05-25-2010, 08:12 AM
how come when you enter as status
"this+that=banana"
it shows as "this+that"
and =banana gets filtered out
same with : '); "); echo "banana";
ending up : "); "; echo "banana" ;;;
it rewrites quite a bit, put in other invalid code and it just ends up with 404 page not found errors, etc.
Is everything properly sanitized?
Preventing SQL exploits is built into my DB abstraction class. You might find strange behavior, but none of it is exploitable. If I remember correctly, the status messages are transmitted as a GET parameter, so there is some encoding/decoding process that is likely the cause of the strange behavior you are observing. I coded this quite awhile ago, so my memory is fuzzy.
Bacon Butty
05-26-2010, 04:35 PM
Soo no vB4 release? If i may im going to upgrade it.
Also waiting for a vB4 release...
Morrus
06-01-2010, 09:47 PM
This has been working perfectly for ages, but suddenly today we're getting an error when editing status:
Unable to add cookies, header already sent.
File: /www/enworld.org/production/htdocs/forum/vbstatus/vbstatus_ajax.php
Line: 1
Any ideas?
Attilitus
06-01-2010, 10:51 PM
This has been working perfectly for ages, but suddenly today we're getting an error when editing status:
Unable to add cookies, header already sent.
File: /www/enworld.org/production/htdocs/forum/vbstatus/vbstatus_ajax.php
Line: 1
Any ideas?
Is this error persistent, and occurring for all members?
If so, did you make any recent changes to either your vBStatus settings or to the directory structure of your forum?
Morrus
06-02-2010, 12:57 AM
Is this error persistent, and occurring for all members?
If so, did you make any recent changes to either your vBStatus settings or to the directory structure of your forum?
Nope, no changes - it seems to have happened spontaneously.
Asking my members, it's not all of them. Some are experiencing no issues.
Morrus
06-02-2010, 05:49 PM
More relevant info - it seems the issues are all with IE users.
SamirDarji
06-04-2010, 11:46 AM
When I've run into problems like this, the host has changed something on the server. Have they upgraded the versions of php or mysql?
Attilitus
06-06-2010, 10:03 PM
Morrus,
I have a few guesses as to what the problem might be, but since I am not as intimately familiar with this codebase as I was two years ago I am not confident enough to share them.
I suggest that you install v5 of this modification. If you are waiting for the last feature to be added to v5 (the ability to moderate status messages), then I suggest you wait until that is added and then upgrade.
It is very probable that upgrading will fix all your problems, as the v5 code is more robust. Also, if it turns out that you still encounter problems with v5, then I will be able to very quickly diagnose your problem.
~Tim
tvguy347
09-09-2011, 03:42 PM
Not working for me. >.>
Abominus
11-13-2012, 06:27 AM
I've installed it, but when I implement the last part of the installation, I can't use the Quick Reply, I can't even click into it to type a message.
Abominus
11-15-2012, 02:32 PM
Any idea for me? :)
fxdigi-cash
06-24-2014, 12:23 PM
confirmed, works with vb3.8 well.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.