View Full Version : Profile Enhancements - vBStatus - Facebook Style Status Updates (v5)
Attilitus
06-01-2010, 10:00 PM
Compatible with 4.x.x
vBStatus allows your users to update their status to tell other members what they are doing/thinking at any given time. A user's status is displayed under their names in their postbit, in their User Profile, and anywhere else you choose!
User's can edit their status quickly and easily via AJAX.
Features and Configuration options include:
Admin Option: Turn modification on/off
Admin Option: Ban usergroups from updating their status.
Admin Option: Set a max character count for status messages.
Admin Option: Set the number of characters of a status message displayed per line. (Word wrapping will occur for status messages longer than this defined value.)
Admin Option: Define a standard status prefix to be appended to the start of all status messages after the username. (i.e. Attilitus is doing something.)
Admin Option: Define a default status for users with a blank status.
Admin Option: Define the character set used for encoding status messages. (The default value of this option should work for most character sets.)
Feature: Status messages may be updated in-line.
Feature: All languages and character sets are supported. (Most, if not all, should work with the default encoding option. Others may require some configuration in the admin options.)
Feature: Users may press the Enter key to confirm their status update.
Temporarily Deactivated in v5: Admin Option: Allow defined usergroups to modify other user's status updates. (For moderation purposes)
There are 4 template edits for this hack. The installation readme file will guide you through the entire process.
Version 5.1
Support for non-english characters has been added.
A small modification was made to the installation script to make it more robust.
Upgrade Instructions: Reupload all files (allow overwrite), and reimport the product (allow overwrite). No additional template edits are required to for the upgrade.
Version 5.2
Users may press the Enter key to submit their status.
Upgrade Instructions: Reupload all files (allow overwrite). No additional template edits are required for this upgrade. You may reimport the included product, if you desire, to update the version number to 5.2
Version 5.2.1
Extra white space will no longer appear in the status update input field.
Version 5.3
Important security update to fix a cross site scripting exploit.
Upgrade Instructions: Reupload all files in the upload folder to your forum root, and allow overwrite. It is not necessary to re-import the product xml file.
Note: The files available in this thread will always be for the most recent version of the modification.
If you previously used vBStatus in vB 3.x your member's old status messages will be preserved.
Please do not forget to click INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=243775)
Attilitus
06-02-2010, 08:01 AM
First Post Reserved.
Note: Please let me know immediately if you encounter any problems, so that I can iron out any bugs within the first 24 hours of release.
Bacon Butty
06-02-2010, 08:14 AM
Brilliant. Rated 5 star and marked installed. Been waiting for this. Thanks very much.
Would be cool to see a forum block widget that displayed the most recent status updates :)
Kolbi
06-02-2010, 08:56 AM
I guess yesterday there was published a very similar hack?
Attilitus
06-02-2010, 09:01 AM
I guess yesterday there was published a very similar hack?
This is an upgraded version of a 3.7 modification that I published about two years ago.
Bacon Butty
06-02-2010, 11:16 AM
Just one small thing Attilitus.
When you enter the status update and save, there is no space after the username and where the status update begins. This comes only after a refresh?
So immediately after saving the status update, it looks like this with no space;
http://img191.imageshack.us/img191/5577/46428278.jpg
Only after a refresh, does the space appear;
http://img541.imageshack.us/img541/2629/45065882.jpg
No biggie but I, and members did notice it;
http://img249.imageshack.us/img249/6336/60463223.jpg
dianna
06-02-2010, 12:02 PM
Nice mod installed and working great!!!!
Attilitus
06-02-2010, 01:01 PM
Bacon Butty,
I cannot reproduce your problem, the spacing works fine for me with the template code I provided in the installation instructions. You should be able to fix template bugs like this by manually editing the template code inside the <!--BEGIN VBSTATUS--> <!--END VBSTATUS--> blocks inside the postbit and memberinfo templates.
Also what browser are you using (including the version number)?
~Tim
daveaite
06-02-2010, 01:42 PM
nice hack
doemasters
06-02-2010, 03:19 PM
tried to install but would not let me edit
Attilitus
06-02-2010, 03:26 PM
tried to install but would not let me edit
Did you make all of the template edits detailed in the installation file? PM me your forum's URL and the username/password of a test account so that I can debug with Firebug. (If you want me to look for a quick fix.)
~Tim
MalluParadise
06-02-2010, 03:29 PM
Nice mod installed and working great!!!!
Bacon Butty
06-02-2010, 04:10 PM
Bacon Butty,
I cannot reproduce your problem, the spacing works fine for me with the template code I provided in the installation instructions. You should be able to fix template bugs like this by manually editing the template code inside the <!--BEGIN VBSTATUS--> <!--END VBSTATUS--> blocks inside the postbit and memberinfo templates.
Also what browser are you using (including the version number)?
~Tim
Ah. Suspected it was an error my end and it looks the case if you're not seeing the error. I'll have an edit later and see what I can do.
Strange one though, given that it's resolved on refresh/page load. I could PM you a test account login if you'd like to see out of curiosity.
The browser was Firefox 3.6.3.
Fantastic mod though. I'm just hoping some clever sod can work out how to pull all the status updates and display them on the forum home like on here (http://www.manlystuff.com/forum/index.php) and here (http://fmdiscussion.com/forum.php)
Attilitus
06-02-2010, 05:02 PM
Bacon Butty,
There are some carefully placed whitespace characters in the template code blocks I provided. If any of them got deleted during your edits, things might be visually unpleasing. Its also possible this is an error on my part, or indicative of a "not-robust" component of my work. If that ends up being the case, then I'll issue a fix. (but I will wait until I see if someone else encounters the same problem.)
As for obtaining aggregate status update information: currently the status updates are not saved, nor are they associated with a timestamp. So it will not be easy for third party developers to create addons. I may consider adding these features in the future, or merely adding a status history table to make vBStatus more addon developer friendly.
~Tim
doemasters
06-02-2010, 05:07 PM
thanks for the help, i uploaded it to the wrong area
Great mod
Allan
06-02-2010, 05:50 PM
What is the difference with this hack (https://vborg.vbsupport.ru/showthread.php?t=243754) ?
Attilitus
06-02-2010, 05:54 PM
Allan,
That hack implements similar functionality. Aside from that, they are not related. You can judge the differences for yourself, I have not installed the other modification.
ChopSuey
06-02-2010, 06:02 PM
I prefer installing this one instead of the other one :)
Allan
06-02-2010, 06:50 PM
Allan,
That hack implements similar functionality. Aside from that, they are not related. You can judge the differences for yourself, I have not installed the other modification.
ok, thank you ;)
kmohamed
06-02-2010, 10:36 PM
thanx this looks promising
but is it possible to edit this through the homepage instead of the postbit ?
thanx for the hard work
War.Frog
06-03-2010, 12:06 AM
What is the difference with this hack (https://vborg.vbsupport.ru/showthread.php?t=243754) ?
The other one doesn't require any template edits - it's just an upload and install. Any possibility of implementing a similar experience here?
SliceofLife
06-03-2010, 04:13 AM
Hey! Installed and tested and working very well on my forum! Thanks for this one, I really like it.
Just wondering how to make the text of the 'status update' to be bold?
Attilitus
06-03-2010, 04:13 PM
SliceofLife,
You can make the status update bold by making a simple modification to the template.
Find <!--BEGIN vBStatus--> in your postbit/postbit_legacy/memberinfo templates and find the first <div> tag in the block. Replace that <div> tag with <div style="font-weight:bold">.
You should be able to figure out how to make other simple edits like this by looking at the template code.
War.Frog,
I am not planning on making these template edits automatic. They are simple, and would make the installation process less transparent.
~Tim
SliceofLife
06-03-2010, 11:24 PM
SliceofLife,
You can make the status update bold by making a simple modification to the template.
Find <!--BEGIN vBStatus--> in your postbit/postbit_legacy/memberinfo templates and find the first <div> tag in the block. Replace that <div> tag with <div style="font-weight:bold">.
You should be able to figure out how to make other simple edits like this by looking at the template code.
War.Frog,
I am not planning on making these template edits automatic. They are simple, and would make the installation process less transparent.
~Tim
Thanks so much for this Attilitus.
Working very well on my forum, no problems at all. Cheers. Very happy, great job - well done! :D
I too, had a look at the other status update mod and I preferred this one's functionality over the other one, and the members like the ease of use.
Blackhat
06-04-2010, 12:16 AM
would be nice if recent status updates could be listed on the sidebar
Attilitus
06-04-2010, 12:50 AM
BlackHat,
As mentioned before, the status messages are never permanently saved. Once you update your status, your old status is gone forever. If I ever decide to implement some kind of aggregate feed, like the one you described, then I will store a history of past status updates in a table.
ivanp
06-05-2010, 10:14 AM
Are the phrases still hardcoded? It would be nice to move them to language part of admin panel, to be able to translate them :) Thnx.
Attilitus
06-05-2010, 06:46 PM
ivanp,
Phrasing seems like a good idea, but I don't think it is all that important. Assuming that the forum administrator understands English, translating the sparse phrases in the templates should not be difficult. I believe the only words visible to the user are "Edit" and "Save," and the rest of the words (like the default status and status prefix) are already customizable in the admincp.
STORMS
06-05-2010, 07:30 PM
We just installed this but it doesn't seem to be working. Where do we go to edit our status?
It is enabled and installed.
Any help?
Attilitus
06-05-2010, 08:56 PM
STORMS,
Did you read the instructions text file included with the modification? There are 4 template edits that you need to make.
~Tim
fluidswork
06-06-2010, 08:43 AM
Awesome .................
betts02
06-06-2010, 09:12 AM
Great mod and working fine
I see the other post for the bold but how would i place the bold and a different colour ?
Cheers
Attilitus
06-06-2010, 05:16 PM
betts02,
To make the status related text bold I edited the style attribute of a div tag. You can learn more about the style attribute of document elements at w3schools.com. Here is a link to the specific page that will help you: http://w3schools.com/html/html_styles.asp
By perusing w3schools.com you should be able to learn how to make any basic template change that you want, so it is worthwhile to spend a few hours going through their HTML section chapter by chapter: http://w3schools.com/html/default.asp
~Tim
lucybb
06-07-2010, 10:40 AM
There is an option, for administartors or mods (basically any entered usergroups) been able to edit status of any user, It doesn't seem to work, also if I have a look into your code to be placed into a template I see only condition for usernames to be equal, nothing about usergroups. Did I missed something??
There is missing the condition "is admin??"
Regards
lucybb
Attilitus
06-07-2010, 11:29 AM
lucybb,
You missed the part of the modification thread in which I stated that this option is temporarily unavailable in v5.
~Tim
lucybb
06-07-2010, 11:40 AM
I'm sorry my apologies, thanks for your reply, I will be waiting for your updates.
Sports Investor
06-15-2010, 07:49 PM
Nice Mod. Installed and working fine!
fire999
06-22-2010, 04:57 AM
Great mod, except that I am unable to change the STATUS via the Postbit.
Apparently, this is a Javascript error.
Am on 4.0.0, any idea on how to resolve this?
Attilitus
06-26-2010, 09:03 PM
fire999,
Make sure that you have followed the instructions in the included text file and made all of the required template modifications. If that does not work, give me your URL and I will diagnose the problem.
~Tim
dankreiner
06-27-2010, 02:25 PM
Great mod, except that I am unable to change the STATUS via the Postbit.
Apparently, this is a Javascript error.
Am on 4.0.0, any idea on how to resolve this?
i am having the same problem... it was working for a bit then stopped...
http://www.phantank.com :confused:
Attilitus
06-27-2010, 05:05 PM
dankreiner,
The problem is most likely due to a conflict between two javascript frameworks: jQuery and mootools. I use mootools, and it appears as though tinychat, which you have installed on your board, uses jQuery.
<script type="text/javascript" src="http://www.phantank.com/jquery.min.js"></script>
<script type="text/javascript" src="http://www.phantank.com/tinychat.js"></script>
The problem arises because both jQuery and mootools use the name "$" as a global reference to the jQuery and document.id objects respectively. To fix the problem do the following:
Open the file vbstatus_javascript.js
Find every instance of "$(" and replace it with "document.id("
Check to see if this fixes your problem.
~Tim
gamerzhut
06-27-2010, 05:27 PM
Thanks a lot...!
Works like a charm :)
Guest20210415
07-06-2010, 08:59 AM
Is it right that v5 doesn't use any more plugins and doesn't have any own templates?
v4 did have.
sross
08-13-2010, 01:48 AM
anyone have a demo i can view? thnx
RobbieZ
08-24-2010, 04:40 PM
Thanks - Great Mod
Because the Edit button is so close I changed it slightly.
In the code for postbit/legacy find Edit</a>
and replace with
<img alt="Edit" src="images/buttons/edit_40b.png" title="Edit"></a>
Now you get the nice pen feature :D
Front Range 4x4
08-25-2010, 06:14 PM
Thanks Attilitus, nice & easy! Just the way it's supposed to be.
Installed! Rated! Nominated!
yospeck
09-08-2010, 11:00 PM
Worked a treat for me and I'm a complete vB/coder n00b. Very simple and does exactly what it says on the tin!
Great job!
angeljs
09-09-2010, 05:59 PM
dankreiner,
The problem is most likely due to a conflict between two javascript frameworks: jQuery and mootools. I use mootools, and it appears as though tinychat, which you have installed on your board, uses jQuery.
<script type="text/javascript" src="http://www.phantank.com/jquery.min.js"></script>
<script type="text/javascript" src="http://www.phantank.com/tinychat.js"></script>
The problem arises because both jQuery and mootools use the name "$" as a global reference to the jQuery and document.id objects respectively. To fix the problem do the following:
Open the file vbstatus_javascript.js
Find every instance of "$(" and replace it with "document.id("
Check to see if this fixes your problem.
~Tim
This worked for me brilliantly, thank you! :D
Fishing620
09-22-2010, 11:55 PM
Attilitus
Just what I was looking for, thanks for putting this together. This appears to have a little better functionality then the other mod out there.
I saw it asked a few times here about the ability to save past updates and have a roll out page. You mentioned how you would do such a thing. I was wondering if for a few bucks you would move forward with that next version. Basically updates would be saved in a user's profile and there would be one page where status updates from all users rolls out. I know doing this stuff takes work and am willing to pay some loot to help get this done. Any chance you're interested in making it happen?
Thanks
ivanp
10-02-2010, 05:48 PM
Attilitus, is it possible to remove dependency on mootols.js? Every page is loading this file having 100 KB.
Nemke
10-19-2010, 07:20 AM
I wood like to know this also, really is there reason for this much of overhead on every page?
ivanp
10-19-2010, 07:48 AM
Indeed, v4 used ajax_wrapper.js having 2 KB only. This should be incorporated in vbstatus_javascript.js and mootools.js dependency completely removed.
Patrick Melton
10-26-2010, 07:42 PM
I second the removal of mootools, and a sidebar block that show the x most recently updated statuses would make this mod a killer!
utahraves
10-31-2010, 07:00 PM
vBStatus v6.zip.... the thread here shows 5.3... and when I 'upgrade' I show 5.2 on my forums. :p
sross
10-31-2010, 09:52 PM
anyone have this running on postbit legacy? If so can you post a link. thnx!
PrincessFiona
11-03-2010, 11:11 PM
I really like this. Is there a way to add even more functionality? I would be neat if users could respond to the status update somehow (like facebook) with the status posting in the user's visitor message center and any responses posting there too.
I'm trying to add a little more FB style functionality to the forums that extends beyond the regular posting capabilities.
Kris
RobbieZ
11-04-2010, 01:04 AM
I really like this. Is there a way to add even more functionality? I would be neat if users could respond to the status update somehow (like facebook) with the status posting in the user's visitor message center and any responses posting there too.
I'm trying to add a little more FB style functionality to the forums that extends beyond the regular posting capabilities.
Kris
Then you would need one of dbtech's mods..
everfresh2
11-06-2010, 07:45 PM
someone used this for 4.0.8 ?
way2xtreme
11-13-2010, 12:13 AM
A great mod, is is possible to have 3 or 4 random default msg instead of just one?
Right now everyone all has the "has no status." message which looks funny,
"loves to eat."
"needs to study."
"is on facebook"
etc, etc, etc
way2xtreme
11-13-2010, 12:14 AM
or, the "Mr Soso has no status" is only visible to Mr Soso himself.
Thanks..
OurCouponHome
11-15-2010, 01:22 PM
We have had this running for awhile and all of a sudden, it won't let us edit the status.
BioWaffen
11-18-2010, 05:17 PM
I got a question: Is it possible not to show the person´s name in the profile?
Because it is already displayed once in the MEMBERINFO, so it´s unnecessary I think.
I only want to use a Status Prefix + the Status itself, but not the name.
With best regards
BioWaffen
thespi
12-01-2010, 09:20 PM
Have installed was working, upgraded to vB4.1 stopped working, reinstalled no luck. Is not working with vB 4.1
Pulkit Rastogi
01-03-2011, 10:48 AM
Hi! Please add a feature that members are able to comment over their firend's status message just like FB.
SpikedRocker
01-04-2011, 11:45 PM
Have installed was working, upgraded to vB4.1 stopped working, reinstalled no luck. Is not working with vB 4.1
I am having an issue with it not saving. I upgraded today as well but I did not have this installed previously.
wh1t3dr3am
01-08-2011, 03:00 AM
is that true this mod not working with vb 4.1 ?
Gursimran
01-28-2011, 03:49 PM
It is not working on vBulletin 4.1
mofeu
01-29-2011, 09:01 AM
I have vb 4.08 and does not work :(
BlueCheri
02-06-2011, 06:21 AM
I think it is not working for higher version :(
coolankur49
02-06-2011, 08:35 PM
dankreiner,
The problem is most likely due to a conflict between two javascript frameworks: jQuery and mootools. I use mootools, and it appears as though tinychat, which you have installed on your board, uses jQuery.
<script type="text/javascript" src="http://www.phantank.com/jquery.min.js"></script>
<script type="text/javascript" src="http://www.phantank.com/tinychat.js"></script>
The problem arises because both jQuery and mootools use the name "$" as a global reference to the jQuery and document.id objects respectively. To fix the problem do the following:
Open the file vbstatus_javascript.js
Find every instance of "$(" and replace it with "document.id("
Check to see if this fixes your problem.
~Tim
that worked on my forums (Powered by vBulletin™ (http://www.vbulletin.com/) Version 4.0.8 )...!
Thanks :)
coolankur49
02-06-2011, 08:51 PM
what I need to edit to remove the username from the start of my status. i guess there is no need to have the name two times
coolankur49
02-06-2011, 08:58 PM
what I need to edit to remove the username is start of my status. i guess there is no need to have the name two times
got it...
its by editing the postbit legacy and removing username tag
BlueCheri
02-07-2011, 04:51 AM
Can you provide total code for postbit ? (Horizontal style)
Thanx in advance.
got it...
its by editing the postbit legacy and removing username tag
tele955848
02-07-2011, 08:16 AM
Gute idee aber ich als noob keine möglichkeit das zu ändern in den templates etc.
hochladen kein thema das klappt
Wordplay
03-10-2011, 05:19 PM
so this doesn't work for 4.1.2? too bad.
Mark.B
03-10-2011, 06:52 PM
Instead of people just posting "it's not working in 4.1", could they please post WHAT aspect of it is not working and WHAT error messages they are getting?
Nobody has a hope of being able to assist and/or offer potential fixes for any issues if all we get is "it's not working".
Mark.B
03-11-2011, 08:33 PM
Instead of people just posting "it's not working in 4.1", could they please post WHAT aspect of it is not working and WHAT error messages they are getting?
I'll take that as a "no" then. :rolleyes:
BlessedFWI
05-15-2011, 04:21 AM
I loaded it and it is enabled but it isn't showing in the postbit. I don't get any error messages...it just doesn't show up. I love this mod too. :(
JasonReynolds
05-15-2011, 02:36 PM
All works apart from wont let me edit the status
Mark Hewitt
05-26-2011, 01:13 PM
Works fine for me, I'd just like to be able to have a status edit box on the forum home page.
Does this mod also update their Facebook wall automatically ?
Mark Hewitt
05-27-2011, 12:20 PM
No.
toxin
06-25-2011, 10:06 AM
I've had to uninstall this.
The javascript in the headinclude template caused the new CKEditor in 4.1.4 to stop working.
S S0DEN
06-26-2011, 03:19 PM
Does not allow you edit your Status with the 4.1.4 update. Worked prior to the update, but not after. Had to uninstall it.
sticky
07-04-2011, 04:52 AM
Is it possible instead of just banning usergroups to ban specific users?
I tried it in vB 4.1.4 and not function, everything is installed correctly and others, but when editing from the postbit is impossible.
as I can make it work?
Greetings.
Alfa1
07-06-2011, 11:06 PM
I think the javascript version update has caused this addon to stop functioning.
sticky
07-07-2011, 03:04 AM
Any way to fix this for 4.1.4?
Gerdeman
07-13-2011, 02:46 AM
I would love to install this modification on my forum. Would it be possible for anyone to create an update for this?
flbutterflyz
07-13-2011, 06:32 PM
Adding myself to the list. Would love for this to work on 4.1.4.
8thos
07-16-2011, 03:01 AM
Any way to fix this for 4.1.4?
please 4.1.4
I would love to install this modification on my forum. Would it be possible for anyone to create an update for this?
Adding myself to the list. Would love for this to work on 4.1.4.
Use this and disable moods if you only want to use status. https://vborg.vbsupport.ru/showthread.php?t=243754
do not know how to install that program so it works like this ..
someone can tell me how I do it?
Thank you.
tvguy347
10-08-2011, 07:21 PM
Your instructions are VERY confusing and unclear. I'd like this mod, and I followed your instructions as best I could. I uploaded the contents of "Upload" to the forum, and then I added the product. It is not working. I dunno what to do. >.<
Dave Hybrid
10-24-2011, 10:59 AM
What would be great is if status rotated in small line box oh forum home, say under the navbar.
So status updated in last x min show or something.
howarde
11-16-2011, 08:21 PM
It appears as though this mod causes the CKeditor to not allow users to switch to "Source Mode" it makes the screen grey out. Any ideas?
rajcolmo
12-04-2011, 04:34 AM
Thought it was working then found it does grey out the CKeditor box. Too bad... looks great!!!
onealien
01-07-2012, 04:03 AM
looks dope...
installed and working great!
thanks
Mark.B
01-22-2012, 11:46 AM
I have at least found the piece of code in Mootools that causes the conflict.
However I have no idea how to remedy this.
In mootools.js there is this function:
(function(){
var nativex = {'Array': Array, 'Date': Date, 'Function': Function, 'Number': Number, 'RegExp': RegExp, 'String': String};
for (var n in natives) new Native({name: n, initialize: natives[n], protect: true});
var types = {'boolean': Boolean, 'native': Native, 'object': Object};
for (var t in types) Native.typize(types[t], t);
var generics = {
'Array': ["concat", "indexOf", "join", "lastIndexOf", "pop", "push", "reverse", "shift", "slice", "sort", "splice", "toString", "unshift", "valueOf"],
'String': ["charAt", "charCodeAt", "concat", "indexOf", "lastIndexOf", "match", "replace", "search", "slice", "split", "substr", "substring", "toLowerCase", "toUpperCase", "valueOf"]
};
for (var g in generics){
for (var i = generics[g].length; i--;) Native.genericize(natives[g], generics[g][i], true);
}
})();
With that function in place, I can make the status editing work, but CKEditor is broken.
Now, you will find that if you REMOVE the second line of this function:
for (var n in natives) new Native({name: n, initialize: natives[n], protect: true});
It goes the other way round...the status editor is broken, but CKEditor works.
Sadly I haven't faintest notion how to resolve this, but if anyone has any ideas please let me know
Levi75
01-23-2012, 03:45 PM
what a about á,é,í,ó,ú letters with accents
gkuhlmann
02-22-2012, 08:50 AM
I had the same problem with CKeditor being broken with this mod on vB 4.1.10. I solved the problem by rewriting the mod's JavaScript to use jQuery (which we include in our forum anyway).
The functions vbstatus_formkill(), vbstatus_change_status() and vbstatus_update_status() in the file vbstatus/vbstatus_javascript.js need to be replaced with the following code:
function vbstatus_formkill(e){
e.stopPropagation();
e.preventDefault();
}
function vbstatus_change_status(statusID,userID,inputID,edi tboxID,statusboxID)
{
jQuery('#'+inputID).val(jQuery.trim(jQuery('#'+sta tusID).text()));
jQuery('#'+statusboxID).hide();
jQuery('#'+editboxID).css('display','inline');
jQuery('#'+inputID).keydown( function(e){
if(e.which==13){
vbstatus_update_status(statusID,userID,inputID,edi tboxID,statusboxID);
e.preventDefault();
}
});
if( jQuery('#inlinemodform').length > 0 ) {
jQuery('#inlinemodform').submit( vbstatus_formkill );
}
}
function vbstatus_update_status(statusID,userID,inputID,edi tboxID,statusboxID)
{
var update_url = 'vbstatus.php?do=update_status';
var update_text = jQuery.trim(jQuery('#'+inputID).val());
jQuery.post( update_url, {'status':update_text}, function( response ) {
if ( typeof( response.updated_status ) != 'undefined' ) {
if ( response.updated_status ) {
jQuery('#'+statusID).html( response.updated_status );
} else {
jQuery('#'+statusID).html( 'hat noch keinen Status' );
}
jQuery('#'+editboxID).hide();
jQuery('#'+statusboxID).css('display','inline');
}
if ( jQuery('#inlinemodform').length > 0 ) {
jQuery('#inlinemodform').unbind('submit',vbstatus_ formkill);
}
jQuery('#'+inputID).unbind('keydown');
}, 'json' );
}
NOTES: The parts that set/remove the submit event handler on the 'inlinemod' form have not been tested yet.
The code above has been tested with jQuery 1.6.4
Accented and other special characters seem to work (tested with Firefox 10 and IE 9)
I used jQuery() rather than the shorthand notation $ because we set jQuery.noConflict() in the header. If you are sure the $ identifier is not used otherwise (e.g. no other javascript framework is included), you can of course replace the "jQuery" with "$"
this code odes not exist.
find: {vb:raw prepared.onlinestatus}
DoubleGlasses
04-07-2012, 02:18 PM
I installed this today and I thought it was working but then when I switch pages - my status changes to just the text - utf-8
Is there something I did wrong?
GhostHunter2010
04-07-2012, 02:36 PM
any live demo..
FTG LIQUID CL
05-27-2012, 12:06 AM
i added to 4.1.12,i see the status update,but when i click edit it does not do anything,any ideas why
edytwinky
05-27-2012, 01:13 AM
How hard do you think it would be to make the vBStatus get posted to a specified thread. So there's on particular thread that shows all vBStatus' instead of having to look at the postbit?
PrincessFiona
05-28-2012, 07:27 PM
I've wanted that for a long time!
TerryMason
06-14-2012, 03:49 PM
gkuhlmann,
Thank you for posting that. It's alittle over my head, but it still allowed me to get everything working.
I updated the vbstatus/vbstatus_javascript.js file with the code that gkuhlmann provided, then changed my headerinclude template, replacing my old vbstatus information with this:
<!--BEGIN VBSTATUS-->
<vb:if condition="$show['member']">
<vb:if condition="$vbulletin->options['vbstatus_active']">
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/jquery/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="{vb:raw vboptions.bburl}/vbstatus/vbstatus_javascript.js"></script>
</vb:if>
</vb:if>
<!--END VBSTATUS-->
I've removed the reference that loaded mootools, and added one that loads jquery-1.6.4.min.js, which is included in my copy of vbulletin 4.1.11. I wrapped this thing in an "if you are a member then show this" conditional, since I don't believe that guests need this 100k or so of javascript.
Let me know if I've done this wrong.
unit12stealth
07-16-2012, 04:19 PM
Does this work with vb4 4.2 version?
EDIT: Also, how can I make status updates appear in a forum block on the side? Like showing a list of users with their status...
Would appreciate any assitance with this.
Thanks
unit12stealth
07-16-2012, 08:54 PM
Sorry for double post. I installed this plugin on 4.2... and it pretty much disabled posting on the forum. No one could post, except for me. So.. i had to uninstall it to reenable posting.
Gemma
07-16-2012, 10:14 PM
I've got this working on 4.2, if I remember correctly you've got to make a few changes as it doesn't 'working out of the box' as there is a conflict with the CKEditor - if you check back through the thread you should see some changes that are required to work with 4.2
katie hunter
09-22-2013, 12:16 AM
Can a dev/coder update this modification so it works with vb 4.2.1? It is a mini mod but it is a great one.
ozzy47
09-22-2013, 12:24 AM
It is not marked as reusable code, so someone could update it for you, but it would only be of use to you.
Best place to ask may be here in the paid requests section, https://vborg.vbsupport.ru/forumdisplay.php?f=30
unit12stealth
01-24-2014, 02:07 AM
Anyone know where I can get the code to have a forum block of status updates?
Would greatly appreciate it!
Thanks
ahobilam
01-29-2014, 12:34 PM
VB 4.2.2 - Installed, All template edits done.
But no where it is found in the forum?
ITDarasgah
02-13-2014, 01:23 PM
after installing , I receive the following databse error when entring to ACP>Options
Database error in vBulletin 4.2.0:
Invalid SQL:
SELECT setting.*, settinggroup.grouptitle
FROM vb_settinggroup AS settinggroup
LEFT JOIN vb_setting AS setting USING(grouptitle)
WHERE settinggroup.displayorder <> 0
ORDER BY settinggroup.displayorder, setting.displayorder;
MySQL Error : Out of resources when opening file './[path]/vb_settinggroup.MYD' (Errcode: 24)
Error Number : 23
Request Date : Thursday, February 13th 2014 @ 11:16:55 AM
Error Date : Thursday, February 13th 2014 @ 11:16:55 AM
Script : http://www.itdarasgah.com/acp/options.php?null=0
Referrer : http://www.itdarasgah.com/acp/index.php?do=nav
IP Address : ???.???.170.144
Username : admin
Classname : vB_Database
MySQL Version : 5.5.35-cll
any idea?
fxdigi-cash
04-20-2014, 09:36 PM
Thanks for the mod!!
it works great on vb4.2.x
you need to be careful with following this step:
https://vborg.vbsupport.ru/showpost.php?p=2067857&postcount=21
Good luck!!
hazem_aliraqi
05-26-2014, 08:47 AM
its work on 4.2.0
But when i Click Save the word appear like this ظپط±ط+ط§ظ† in arabic word
I change the Character Encoding to windows-1256 or utf-8
but when i reloaded the page the word will appear ??
fxdigi-cash
06-24-2014, 07:30 AM
its work on 4.2.0
But when i Click Save the word appear like this ظپط?ط+ط?ظ? in arabic word
I change the Character Encoding to windows-1256 or utf-8
but when i reloaded the page the word will appear ??
That caused by your language encoding. it must be utf-8, otherwise, it will be messy all the times.
if you have Arabic pack with utf-8 encoding then it should work fine, but you still need to add utf-8 to the mod setting
DreadsUK
06-24-2014, 09:36 AM
Thanks for the mod!!
it works great on vb4.2.x
you need to be careful with following this step:
https://vborg.vbsupport.ru/showpost.php?p=2067857&postcount=21
Good luck!!
there are quite a few places that show $(
Do i need to replace all of them with document.id(
fxdigi-cash
06-24-2014, 11:38 AM
there are quite a few places that show $(
Do i need to replace all of them with document.id(
yes, that's right. There are 18 items of $( so you can do that using notepad++
if you are new to this, then here is the file with changes made.
DreadsUK
06-24-2014, 04:14 PM
yes, that's right. There are 18 items of $( so you can do that using notepad++
if you are new to this, then here is the file with changes made.
just added that but the 'edit' link isn;t working
fxdigi-cash
06-24-2014, 04:48 PM
just added that but the 'edit' link isn;t working
make sure that the script is linked to where it has to be shown.
most of the times it is this issue...
also check your settings in your admin cp and save it...
try it out again and see...
you have vb4.x.x, right?
DreadsUK
06-24-2014, 04:54 PM
make sure that the script is linked to where it has to be shown.
Do you mean right click 'edit' and see what link/url it gives?
you have vb4.x.x, right?
Yea 4.2.2
DreadsUK
06-24-2014, 04:58 PM
if i right click and open link in new window, i get 'about blank'
if i hover over the 'edit' link, this comes up at the bottom of the screen
https://vborg.vbsupport.ru/external/2014/06/19.png
fxdigi-cash
06-24-2014, 05:29 PM
if i right click and open link in new window, i get 'about blank'
if i hover over the 'edit' link, this comes up at the bottom of the screen
https://vborg.vbsupport.ru/external/2014/06/19.png
ok, can you use the inspection tool in the browser i.e. if FF then you need to download firebug as an add-on then right click/ inspect element with firebug
you need to reload the page to see what's happening..
if you can't understand that, then send me a PM with temp user and pass so I can look at it inside your forum.
I guess the issue is not that hard to resolve
fxdigi-cash
06-24-2014, 05:36 PM
I just found out that your site is on your signature. I looked at it using firebug and found many issues lead to
Internal Server Error
you need to fix these issues. do you have your javascripts on subdomain or something??
if yes, then you need to reconfigure that one because it is misconfigured...
fxdigi-cash
07-07-2014, 04:30 PM
This is a major update for this mod since no one has updated for long time!!
I had to re-modify the error and syntax issues to make it work on vb4.2.x
to install it, upload the files in the upload folder and then install the product .xml
if you had previous versions, either delete them or overwrite them.
enjoy the great mod!! :)
Edit: if you have vb.4.2.2, it may not work as the box editor is not compatible with this mod. That issue is fixed in vb4.2.2 pl1 so please install the latest version of vb4 ==> vb4.2.2 pl1
Update #2: I apologize for not paying attention to arranging the files correctly. I re-uploaded the files the right order so you have no issues or conflicts when uploading. Tested on the latest versions.
fxdigi-cash
08-27-2014, 09:52 PM
I had to re-arrange the files correctly so now no issues when installing this mod.
enjoy! :)
rbharathi
08-29-2014, 05:20 PM
Thanks for the Awesome Mod :D
Works perfectly in VB 4.2.2 :)
Marcin1
09-15-2014, 05:07 AM
Very nice mod :)
Is possible to set automatically update status once a save button is clicked without reload a page?
The words like admin forum moderator should be exluded.
Censorship is disabled on this mod?
Any chance to add smileys replacing texts?
/edit
The users couldn't add posts after mod was installed (me too). The reply box was grey instead white and ready for writing words... What's happened?
xyzmaria2001
04-29-2017, 04:55 PM
Works perfectly on 4.2.4. Thank you!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.