Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBStatus - Facebook Style Status Updates (v5) Details »»
vBStatus - Facebook Style Status Updates (v5)
Version: 5.3, by Attilitus Attilitus is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 4.0.3 Rating:
Released: 06-01-2010 Last Update: 08-07-2010 Installs: 219
DB Changes Template Edits
Additional Files  
No support by the author.

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

Download Now

File Type: zip vBStatus v6.zip (42.0 KB, 1244 views)

Screenshots

File Type: png editstatus_inline.png (22.9 KB, 0 views)
File Type: png status_postbit.png (23.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 01-23-2012, 03:45 PM
Levi75 Levi75 is offline
 
Join Date: Aug 2007
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what a about á,é,í,ó,ú letters with accents
Reply With Quote
  #103  
Old 02-22-2012, 08:50 AM
gkuhlmann gkuhlmann is offline
 
Join Date: Feb 2012
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

Code:
function vbstatus_formkill(e){
	e.stopPropagation();
	e.preventDefault();
}
function vbstatus_change_status(statusID,userID,inputID,editboxID,statusboxID)
{
	jQuery('#'+inputID).val(jQuery.trim(jQuery('#'+statusID).text()));
	jQuery('#'+statusboxID).hide();
	jQuery('#'+editboxID).css('display','inline');
	jQuery('#'+inputID).keydown( function(e){
		if(e.which==13){
			vbstatus_update_status(statusID,userID,inputID,editboxID,statusboxID);
			e.preventDefault();
		}
	});	
	if( jQuery('#inlinemodform').length > 0 ) {
		jQuery('#inlinemodform').submit( vbstatus_formkill );
	}

}

function vbstatus_update_status(statusID,userID,inputID,editboxID,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 "$"
Reply With Quote
  #104  
Old 03-13-2012, 04:35 PM
pyes pyes is offline
 
Join Date: Mar 2012
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this code odes not exist.
find: {vb:raw prepared.onlinestatus}
Reply With Quote
  #105  
Old 04-07-2012, 02:18 PM
DoubleGlasses DoubleGlasses is offline
 
Join Date: May 2008
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #106  
Old 04-07-2012, 02:36 PM
GhostHunter2010 GhostHunter2010 is offline
 
Join Date: Nov 2010
Location: London UK
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any live demo..
Reply With Quote
  #107  
Old 04-08-2012, 02:07 PM
ywwz ywwz is offline
 
Join Date: Jul 2009
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working on 4.1.11?
Reply With Quote
  #108  
Old 05-27-2012, 12:06 AM
FTG LIQUID CL FTG LIQUID CL is offline
 
Join Date: Jan 2012
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i added to 4.1.12,i see the status update,but when i click edit it does not do anything,any ideas why
Reply With Quote
  #109  
Old 05-27-2012, 01:13 AM
edytwinky edytwinky is offline
 
Join Date: Aug 2007
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #110  
Old 05-28-2012, 07:27 PM
PrincessFiona PrincessFiona is offline
 
Join Date: Mar 2009
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've wanted that for a long time!
Reply With Quote
  #111  
Old 06-14-2012, 03:49 PM
TerryMason TerryMason is offline
 
Join Date: Oct 2005
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

Code:
<!--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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:35 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.06947 seconds
  • Memory Usage 2,337KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete