vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - vBStatus - Facebook Style Status Display (v4) (https://vborg.vbsupport.ru/showthread.php?t=181283)

Attilitus 06-01-2008 10:00 PM

vBStatus - Facebook Style Status Display (v4)
 




This modification thread will not be upgraded, since it is possible that some users may prefer v4.

Compatible with 3.6.x and 3.5.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.

Administrative options include:
  • Banning a list of usergroups from using the hack.
  • Allowing a list of usergroups to change other users' status.
  • Limit the # of characters used in Status Messages
  • Word wrap status messages to prevent broken templates.
  • Turning the hack on/off.
  • Option of In-Line editting or a popup. (Defined in the admincp)
  • Default status for users with a blank status. (Defined in the admincp)
  • Status prefix to append an admin-customizable forum standard. (Attilitus is doing something)
There are 3 template edits for this hack. The installation readme file will guide you through the entire process.
Update 2.0:
Please reinstall the product xml file, and re-edit your templates following the new instructions in the readme file. This is to correct a small cosmetic bug that displays non-functional links to guests and non-admins.

Update 3.0:
A number of bugs were fixed, and a few new admin options were added. Please uninstall the previous product and reinstall this one. Please re-edit your templates and reupload all files. Sorry for the inconvenience (but at least we are getting this handled in the first 12 hours of release.)

Update 4.0:
This is a fairly comprehensive update. You must remove all previous template edits and add the new template code. You must also "Allow Overwrite" when importing the new product. The DB structure hasn't changed.

New features include:
  • In-Line Editting (This is on by default, but you can return to the previous popup style by changing an option in the admincp)
  • Default Status: If a user doesn't have any status message it will be set to a default status which you can define in the admincp
  • Visual improvements: Various small visual improvements were made, including a change in the location of the small "edit" link.
Update 4.01
I added status prefixes. If your updating from version 4 just reimport the product (with overwrite set to yes), and reupload all the files. No template edits necessary when upgrading from v4 to v4.01. (And I'm not going to change the file version because this update came so quickly on the heals of v4.)


Please do not forget to click INSTALL

Attilitus 06-02-2008 12:27 PM

First Post reserved.

lazydesis 06-02-2008 12:42 PM

very nice thanks :)

elmati 06-02-2008 01:16 PM

where are the files? :)

Attilitus 06-02-2008 01:17 PM

They should be attached to my post. I did upload a new copy to fix a small cosmetic bug, check again.

simunaqv 06-02-2008 01:42 PM

I am getting the following javascript error when I try to update the status:

document.getElementById("mypopup") has no properties

on the following code


PHP Code:

document.getElementById('mypopup').innerHTML=AJAX.handler.responseText


Attilitus 06-02-2008 01:43 PM

I may have made a mistake in my directions for the template edits.

Attilitus 06-02-2008 01:47 PM

Change the template edit in headeinclude to this

Code:

<if condition="$vbulletin->options['vbstatus_active']">
<div id='mypopup' name='mypopup' style='position: absolute; width: 250px; height: 200px; background: none; border: none;'></div>
<script type="text/javascript" src="vbstatus/ajax_wrapper.js"></script>

<script type="text/javascript" src="vbstatus/headerjavascript.js"></script>
</if>

I have reuploaded the package with the fixed installation instructions.

Taragon 06-02-2008 01:53 PM

Thanks Attilitus! [s]Tagged for future use.[/s]

Edit: Installed

hastyhost 06-02-2008 02:03 PM

In MEMBERINFO I cannot find this line: <if condition="$userinfo['usertitle']">

So far that's the only thing I see wrong.


All times are GMT. The time now is 06:58 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.03210 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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