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)

Attilitus 06-03-2010 10:00 PM

vBStatus - Facebook Style Status Updates (v5) (vB 3.x)
 
1 Attachment(s)


Compatible with 3.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.

Special Update Instructions for users of vBStatus v4
This version of vBStatus was mostly written from scratch. Please note that there are two features that are missing from v5 that were present in v4: the ability of members of certain usergroups to modify the status updates of other users, and the ability for users to edit their status in a popup window. If you need those features, don't upgrade yet.

The upgrade process that I suggest is:
  • Import the new product xml file. Make sure that you check Allow Overwrite.
  • Remove all template code in templates: postbit, postbit_legacy, memberinfo, and header that is between <!--BEGIN VBSTATUS--> <!--END VBSTATUS--> tags.
  • Delete your current vbstatus folder and all of its contents.
  • Install vBStatus v5 as instructed in the installation instructions text file included with the modification.

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.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

Attilitus 06-04-2010 02:03 AM

First post reserved. Please let me know immediately if there are any problems, so that I may resolve them within the first 24 hours of release.

dinodonk 06-04-2010 02:39 AM

what is the difference with this mod
https://vborg.vbsupport.ru/showthread.php?t=243753

Attilitus 06-04-2010 02:40 AM

Quote:

Originally Posted by dinodonk (Post 2048035)
what is the difference with this mod
https://vborg.vbsupport.ru/showthread.php?t=243753

They are not related, aside from the fact that they implement similar functionality. This modification is an upgrade of a modification for vB 3.7 that I developed about 2 years ago. You should judge the differences for yourself.

~Tim

Taurus1 06-04-2010 05:37 AM

Works great! Thanks.
Quote:

Temporarily Deactivated in v5: Admin Option: Allow defined usergroups to modify other user's status updates. (For moderation purposes)
Why?? That is something I think is very necessary!

Attilitus 06-04-2010 05:45 AM

Quote:

Originally Posted by Taurus1 (Post 2048084)
Works great! Thanks.

Temporarily Deactivated in v5: Admin Option: Allow defined usergroups to modify other user's status updates. (For moderation purposes)
Why?? That is something I think is very necessary!

Yes. I agree, but I would not use the adjective "very."

Right now a user's status message is never saved. A user only has a "current" status. If a user persistently uses his status messages inappropriately, then the user could be moved to a usergroup not allowed to use the modification. Otherwise, the user could be asked to change his status and, since status messages are never saved, that offending status message would be gone forever.

Regardless, the feature will be added before I put vBStatus back upon its back-burner. Since it is bad practice to allow any kind of user content without full means of moderating such content. The only reason it was not put into this version is because I developed this version overnight, and wanted to ensure that the features I did implement were implemented well.

~Tim

smnet 06-04-2010 07:34 AM

Thanks for this Mod!

If only we could combine this mod and DBTech's. I love how DBTech's mod gives you a tab in the profile with a timeline of status updates. I love how this mod allows moderators and admins to edit inappropriate statuses (you need to enable this quick, right now it's the only benefit over the other MOD).

Could you and DBTech collobrate? I know DBTech has collaborated on mods before.

Just an idea.

EddyMaxx 06-04-2010 02:04 PM

Quote:

Originally Posted by smnet (Post 2048101)
Thanks for this Mod!

If only we could combine this mod and DBTech's. I love how DBTech's mod gives you a tab in the profile with a timeline of status updates. I love how this mod allows moderators and admins to edit inappropriate statuses (you need to enable this quick, right now it's the only benefit over the other MOD).

Could you and DBTech collobrate? I know DBTech has collaborated on mods before.

Just an idea.

100% Agreed!!!

Attilitus 06-04-2010 03:06 PM

smnet and EddyMaxx,

I don't believe there is anything to be gained through collaboration.

I will likely add a feed of a user's recent status messages if/when I implement a status history system. (If only for the reason that a user must have a centralized place to edit/delete their past status messages.) A profile tab might be the most appropriate place for such a feed, but there may be a better place for it.

~Tim

infnity8x3 06-05-2010 03:21 AM

Looking forward to updates. I have tested v5 and the core code is better, it just lost some functionality.

Once the admin is able to edit status of other users again. I will update.

Thanks Dev.

FreshFroot 06-07-2010 05:35 AM

I think a cool feature would be the one you mentioned, with the users status changes for X times.

Also, another neat feature would be to have a box on the forumhome. And, this box would state the latest status updates. This would not be just for 1 member, but say the last 10 status updates would show from all users.

infnity8x3 06-07-2010 09:47 PM

-=[INSTALLED]=-

Thanks dev.

CharLzarD 06-15-2010 03:44 AM

This is really nice. Thanks.

Is there anyway to change the text size? It's a little small for my preferences.

mmllc 06-23-2010 05:44 AM

Quote:

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:

* Bitfield Collision: credits_cantearn = prefixrequired
Any ideas?

mmllc 06-23-2010 06:02 AM

n/m, got it guys, unrelated issue to your plugin. really like it :-)

Brandon Sheley 07-04-2010 05:12 AM

nice mod
is there anyway to pull our actual facebook status update into it?

MikesSite 07-07-2010 01:57 PM

Dev,

I have been using v4 for a while and would like to upgrade to v5. Any idea when Admin will be able to edit status? Would also love a Status History as others suggested.

Thanks.

MikesSite 07-07-2010 11:13 PM

Does NOT work. No matter what I set the status to it automatically changes the status to Username is "utf-8"

Forced to uninstall and revert back to v4.

Attilitus 07-08-2010 05:42 PM

MikesSite,

If you provide me a link to your board, then I can tell you why you encountered problems with this version of the modification. (I am assuming that you followed the upgrade instructions, which stated that you must undo all template edits from the previous version of vBStatus before installing v5.)

Also, if your site is the same as that listed in your vBulletin profile, then I know the problem. That site uses the jQuery library which interferes with the operation of other Javascript libraries including Mootools, the library used in v5.

Although Mootools will almost never break another Javascript library, it can be broken by its less considerate peers. There is an easy way to prevent jQuery from breaking the operation of vBStatus. I will implement this change in the next version of the modification.

~Tim

Alfa1 07-09-2010 01:31 AM

I just upgraded to version 5, and encounter the same problem. Can't edit status, due to jQuery.

Attilitus 07-12-2010 12:35 AM

You can fix this yourself, if you desire. The easy fix is to go into file vbstatus_javascript, and do the following find and replace:

Find: $(
Replace: document.id(

That should fix your problem. If it doesn't, then let me know.

~Tim

Alfa1 07-12-2010 01:43 PM

Thanks for your swift reply. There are 18 instances of '$(' in the file. All instances are part of various lines of code. I replaced all and uploaded the file but nothing changed.

Attilitus 07-12-2010 03:10 PM

Alfa1,

What is your forum's Url? If the modification is currently installed, then I can visit and determine the problem.

~Tim

gorentals 07-13-2010 03:10 PM

Good Mod, I could care less about history of status messages, who cares anyways? I don't see a purpose of a history of old status messages. That is why I'm not using dbtech's version. Anyways, the more important thing is to have the admin be able to edit members status messages incase situations arise when its needed.

infnity8x3 07-19-2010 01:16 AM

I know it's unconventional, but if you absolutely have to change a members status you can do a query.

-=[Warning]=- Only try this if you are familiar with using sql queries in vbulletin. Noobs could cause serous damage to there forum messing around with queries -=[Warning]=-

I have tried this and it has worked for me.

READ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
First things first make a backup of your database!

Then if you are using a prefix add it before "userfield" so if your forums sql prefix is "for" then it will be this "foruserfield" next replace the "X" with the new status you want to replace the old with, and then replace "Y" with the user id of the member who's status you want to change.
PHP Code:

UPDATE userfield SET vbstatus_status 'X' WHERE userid 'Y'

So if you want to change admins status to WTF it would look like this.
PHP Code:

UPDATE userfield SET vbstatus_status 'WTF' WHERE userid '1'



Alternatively you could just edit the fields using phpmyadmin.

manzak 07-20-2010 08:31 AM

I did all the transactions without any problems, could not work. ):
None the problem of editing the template.
Playing with FTP file properties do not do?

Attilitus 07-22-2010 10:45 PM

manzak,

If you give me your site's Url, then I can determine the problem.

~Tim

davidhso 07-23-2010 03:24 AM

*fixed..works fine.
thank you

Attilitus 07-23-2010 03:56 AM

davidhso,

If you give me your site's Url, then I can determine the problem.

~Tim

biggeorge 07-23-2010 06:20 PM

Installed, but the status will not SAVE. The url is http://www.extremebusa.com/extreme

Any help will be appreciated.

biggeorge 07-25-2010 11:57 AM

Still waiting for some assistance. I'd like to get this working.

Attilitus 07-25-2010 11:00 PM

biggeorge,

It appears as though your Pager modification defines the following Javascript function: Browser(). This is overriding the Browser object in mootools. Simply replace all instances of Browser() with pager_Browser(), and vBStatus should work. You can view the problematic code by viewing your website, clicking view source, and searching for "Browser()".

~Tim

Konstantinos 07-27-2010 08:54 AM

is it possible to display your friends status updates on usercp ? ;)

biggeorge 07-31-2010 01:51 PM

Quote:

Originally Posted by Attilitus (Post 2074475)
biggeorge,

It appears as though your Pager modification defines the following Javascript function: Browser(). This is overriding the Browser object in mootools. Simply replace all instances of Browser() with pager_Browser(), and vBStatus should work. You can view the problematic code by viewing your website, clicking view source, and searching for "Browser()".

~Tim

In which template?

Attilitus 08-02-2010 03:28 AM

Quote:

In which template?
You will need to figure that out. Try searching for Browser() in the templates section of your admincp. Alternatively, you may try to do a template replacement replacing Browser() with pager_BrowserX() or something similar. Depending on how the Pager modification is coded, a template replacement may or may not work.

~Tim

hackerz5 08-05-2010 08:08 PM

please check ur script again its vulnerable to XSS injection...

better code secured one ....

don't post anything like this without securing it....

biggeorge 08-06-2010 05:00 PM

Quote:

Originally Posted by hackerz5 (Post 2079766)
please check ur script again its vulnerable to XSS injection...

better code secured one ....

don't post anything like this without securing it....

Strong words... do share. :cool:

Quote:

Originally Posted by Attilitus (Post 2077958)
You will need to figure that out. Try searching for Browser() in the templates section of your admincp. Alternatively, you may try to do a template replacement replacing Browser() with pager_BrowserX() or something similar. Depending on how the Pager modification is coded, a template replacement may or may not work.

~Tim

Uninstalled.

jenderal_black 08-06-2010 05:50 PM

This Mod work for me...thanks....

Attilitus 08-08-2010 08:33 PM

Quote:

Originally Posted by hackerz5 (Post 2079766)
please check ur script again its vulnerable to XSS injection...

better code secured one ....

don't post anything like this without securing it....

You are correct. The problem is now fixed in v6.

~Tim

Tyran1 08-08-2010 08:35 PM

The best ist that : https://vborg.vbsupport.ru/showthread.php?t=243753


All times are GMT. The time now is 06:18 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.01302 seconds
  • Memory Usage 1,840KB
  • 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_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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