PDA

View Full Version : Profile Enhancements - vBStatus - Facebook Style Status Display (v4)


Pages : [1] 2 3

Attilitus
06-01-2008, 10:00 PM
vBStatus has been released for vB 4.x.x (https://vborg.vbsupport.ru/showthread.php?t=243775)

vBStatus v5 for vB 3.8 has been released. (https://vborg.vbsupport.ru/showthread.php?t=243913)

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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=181283)

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



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

<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! Tagged for future use.

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.

dirtycrow
06-02-2008, 02:06 PM
all my groups expect admin and super mods are getting this error

You belong to a usergroup which is banned from editting their Status. Contact an administrator for more information.

Attilitus
06-02-2008, 02:09 PM
Ah. There was a change in the 3.7 variable name. Put the code for MEMBERINFO above the following line:

<if condition="$prepared['usertitle']">

The template code itself will work fine. I will reupload the package with the updated installation instructions to avoid future confusion.
Edit: The new installation instructions now include the proper "find" code for 3.7.

Attilitus
06-02-2008, 02:13 PM
all my groups expect admin and super mods are getting this error

That is unusual. Please tell me what your settings are in vBStatus options in the admincp.

dirtycrow
06-02-2008, 02:17 PM
That is unusual. Please tell me what your settings are in vBStatus options in the admincp.
i added my banned user group to the banned groups. and now all the other user groups can edit their status.

dirtycrow
06-02-2008, 02:18 PM
awesome mod BTW!!! thank you.

hastyhost
06-02-2008, 02:19 PM
Alright I made that one change, however it still doesn't seem to be showing under my members names.

I did upload the file contents to the "root". Meaning, I took all the files out of the folder (vBStatus v2) and placed them in the "root" of my forum.

I also upload the whole folder to the root of my forum, and still nothing is showing. hmm

Attilitus
06-02-2008, 02:20 PM
Did you read the installation readme file? There are 3 template edits that must be made manually.

hastyhost
06-02-2008, 02:22 PM
Yeah, I'm the one that told you about the MEMBERINFO problem, so yes I did do all 3 template edits.

hastyhost
06-02-2008, 02:28 PM
Also, this is what I do to edit the templates:

AdminCP>Style Manager>Edit Templates (drop down)>"then just choose the template you need to edit"

That's what I do, but not sure if it's right or not, as I am still learning vbulletin, but I"m not new to installing stuff if you know what I mean..

Here's my files:

headinclude:
<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="<if condition="$threadinfo['taglist']">$threadinfo[taglist], </if>$threadinfo[prefix_plain_html] $threadinfo[title], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[prefix_plain_html] $threadinfo[title] $foruminfo[title_clean]" />
<else /><if condition="$show['foruminfo']">
<meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
<else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
</if></if>

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css" id="vbulletin_opera8fix_css">
ul, ol { padding-$stylevar[left]:20px; }
</style>
</if>
<if condition="$show['editor_css']">
$editor_css
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript" src="$stylevar[yuipath]/yahoo-dom-event/yahoo-dom-event.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="$stylevar[yuipath]/connection/connection-min.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var SECURITYTOKEN = "$bbuserinfo[securitytoken]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10);
// -->
</script>
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>

<if condition="$vboptions['externalrss']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
<if condition="$show['foruminfo'] OR $show['threadinfo']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" />
</if>
</if>
<!--BEGIN VBSTATUS-->
<!--BEGIN VBSTATUS-->
<!--BEGIN VBSTATUS-->
<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>
<!--END VBSTATUS-->
<!--END VBSTATUS-->
<!--END VBSTATUS-->

postbit_legacy
$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[right]: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<!--BEGIN VB STATUS-->
<!--BEGIN VB STATUS-->
<!--BEGIN VB STATUS-->
<if condition="$vbulletin->options['vbstatus_active']">

<div class=smallfont> $post[username] <em><a id="vbstatus_$post[postid]">$post[vbstatus_status]</a></em></div>
<if condition="$bbuserinfo['userid']==$post['userid'] OR $vbstatus_isadmin==1">
<a href="javascript:Att_Ajax('userid=$post[userid]&postid=$post[postid]','vbstatus/vbstatus_ajax.php')">Edit Status</a>

</if>
</if>
<!--END VB STATUS-->
<!--END VB STATUS-->
<!--END VB STATUS-->
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]

<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>

<div class="smallfont">
&nbsp;<br />
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>

</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>

</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>

</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->

hastyhost
06-02-2008, 02:32 PM
MEMBERINFO:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude

$usercss
$memberinfo_css
<style type="text/css" id="vbulletin_tabctrl_css">
@import url("clientscript/vbulletin_tabctrl.css?v=$vboptions[simpleversion]");
<if condition="$show['rtl']">@import url("clientscript/vbulletin_tabctrl_rtl.css?v=$vboptions[simpleversion]");</if>
</style>

<script type="text/javascript" src="clientscript/vbulletin_tabctrl.js?v=$vboptions[simpleversion]"></script>

<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>


<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v=$vboptions[simpleversion]"></script>
</if>
<script type="text/javascript">
<!--
vbphrase['server_failed_respond_try_again'] = "$vbphrase[server_failed_respond_try_again]";
vbphrase['edit_value'] = "$vbphrase[edit_value_js]";

<if condition="$show['post_visitor_message']">
function goto_post_pm()
{
vB_TabCtrls['profile_tabs'].switch_tab('visitor_messaging');
fetch_object('visitor_messaging').scrollIntoView() ;

var textarea = fetch_object('visitor_message_form_textarea');
if (textarea)
{
textarea.focus();
textarea.select();
}
}
</if>
-->
</script>

</head>
<body>

$header
$navbar


<!-- begin user css -->
<div id="usercss" class="floatcontainer">

<div id="content_container">
<div id="content">

<div id="main_userinfo" class="floatcontainer">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<if condition="$prepared['profilepicurl']">
<td id="profilepic_cell" class="tborder alt2"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td>
</if>
<td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>
<if condition="$prepared['rank'] OR $prepared['reputationdisplay']">
<div id="reputation_rank">
<if condition="$prepared['reputationdisplay']">
<div id="reputation">$prepared[reputationdisplay]</div>
</if>
<if condition="$prepared['rank']">
<div id="rank">$prepared[rank]</div>
</if>
</div>
</if>
<h1>$prepared[musername] $prepared[onlinestatus]</h1>
<!--BEGIN VB STATUS-->
<!--BEGIN VB STATUS-->
<!--BEGIN VB STATUS-->
<if condition="$vbulletin->options['vbstatus_active']">

<div class=smallfont> $userinfo[username] <em><a id="vbstatus_$userinfo[userid]">$userinfo[vbstatus_status]</a></em></div>
<if condition="$bbuserinfo['userid']==$userinfo['userid'] OR $vbstatus_isadmin==1">
<a href="javascript:Att_Ajax('userid=$userinfo[userid]&postid=$userinfo[userid]','vbstatus/vbstatus_ajax.php')">Edit Status</a>

</if>
</if>
<!--END VB STATUS-->
<!--END VB STATUS-->
<!--END VB STATUS-->
<if condition="$prepared['usertitle']">
<h2>$prepared[usertitle]</h2>
</if>
</td>
</tr>
</table>

<!-- link bar -->
<div class="tborder content_block" id="link_bar">
<ul class="thead block_row block_title list_no_decoration floatcontainer">
<if condition="$prepared['myprofile']">
<if condition="$show['can_customize_profile']">
<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></li>
</if>
<else />
<if condition="$show['usercss_switch']">
<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=switchusercss&amp;hash=$bbuserinfo[logouthash]&amp;u=$prepared[userid]">$usercss_switch_phrase</a></li>
</if>
</if>

<if condition="$show['contactlinks']">
<li class="thead" id="minicontact"><a href="#contactinfo">$vbphrase[send_message]</a> <script type="text/javascript">vBmenu.register("minicontact");</script></li>
</if>

<if condition="$show['userlists']">
<li class="thead" id="userlists"><a href="profile.php?$session[sessionurl]do=buddylist&amp;nojs=1">$vbphrase[user_lists]</a> <script type="text/javascript">vBmenu.register("userlists");</script></li>
</if>

<if condition="$show['usernotes']">
<li class="thead"><a href="usernote.php?$session[sessionurl]u=$prepared[userid]">$vbphrase[user_notes] ($prepared[usernotecount])</a></li>
</if>

<if condition="can_moderate()">
<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
</if>

</ul>

<!-- current activity -->
<if condition="$prepared['lastactivitydate'] OR $prepared['action']">
<div class="alt2 smallfont block_row" id="activity_info">
<if condition="$prepared['lastactivitydate']">
<div id="last_online">
<span class="shade">$vbphrase[last_activity]:</span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span class="time">$prepared[lastactivitytime]</span></if>
</div>
</if>
<if condition="$prepared['action']">
<span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]
</if>
</div>
</if>
<!-- / current activity -->

</div>
<!-- / link bar -->

<!-- user list menu -->
<ul id="userlists_menu" class="vbmenu_popup list_no_decoration" style="display: none">
<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[user_lists]</phrase></li>
<if condition="$prepared['canbefriend']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=friend&amp;u=$prepared[userid]"><if condition="$prepared['requestedfriend']">$vbphrase[confirm_friendship_request]<else />$vbphrase[add_to_friends_list]</if></a>
</li>
</if>
<if condition="$prepared['isfriend']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=friend&amp;u=$prepared[userid]">$vbphrase[remove_from_friends_list]</a>
</li>
</if>
<if condition="$show['addbuddylist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[add_to_contacts]</a>
</li>
</if>
<if condition="$show['removebuddylist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[remove_from_contacts]</a>
</li>
</if>
<if condition="$show['addignorelist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[add_to_ignore_list]</a>
</li>
</if>
<if condition="$show['removeignorelist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[remove_from_ignore_list]</a>
</li>
</if>
</ul>

<!-- contact popup menu -->
<ul id="minicontact_menu" class="vbmenu_popup list_no_decoration" style="display:none">
<if condition="$show['post_visitor_message'] OR $show['pm'] OR $show['email']">
<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[send_message_to_x]</phrase></li>
</if>
<if condition="$show['post_visitor_message']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="visitormessage.php?$session[sessionurl]do=message&amp;u=$prepared[userid]" onclick="return goto_post_pm();"><phrase 1="$prepared[username]">$vbphrase[post_a_visitor_message_for_x]</phrase></a></li></if>
<if condition="$show['pm']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="private.php?$session[sessionurl]do=newpm&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_private_message_to_x]</phrase></a></li>
</if>
<if condition="$show['email']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></li></if>
<if condition="$prepared['hasimdetails']">
<li class="thead<if condition="!$show['post_visitor_message'] AND !$show['pm'] AND !$show['email']"> first</if>">$vbphrase[instant_messaging]</li>
<if condition="$prepared['icq']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_icq.gif" /> <a href="#" dir="ltr" onclick="imwindow('icq', '$prepared[userid]', 500, 450); return false;"><phrase 1="$prepared[username]">$vbphrase[send_icq_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['aim']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_aim.gif" /> <a href="#" dir="ltr" onclick="imwindow('aim', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_aim_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['msn']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_msn.gif" /> <a href="#" dir="ltr" onclick="imwindow('msn', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_msn_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['yahoo']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('yahoo', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_yahoo_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['skype']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('skype', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_skype_message_to_x]</phrase></a></li>
</if>
</if>
</ul>
<!-- / contact popup menu -->
</div>

<div id="profile_tabs">
$template_hook[profile_left_first]
$blocks[visitor_messaging]
$blocks[aboutme]
$blocks[stats]
$blocks[friends]
$blocks[infractions]
$blocks[contactinfo]
$template_hook[profile_left_last]
</div>

<script type="text/javascript">
<!--
vBulletin.register_control("vB_TabCtrl", "profile_tabs", "$selected_tab", "&raquo;", "profile.php?u=2&do=loadtab&tabid={1:tabid}");
//-->
</script>

</div>
</div>

<div id="sidebar_container">
<!-- sidebar -->
$template_hook[profile_right_first]
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
$template_hook[profile_right_last]
<!-- / sidebar -->
</div>

<!-- end usercss -->
</div>

$footer

</body>
</html>

Attilitus
06-02-2008, 02:34 PM
Check your vBulletin options for vBStatus. Is there an option for turning vBStatus on/off? Also are you sure that you are editting the template that your site is currently using?

Also, I have reuploaded the files to fix the bug which causes all users to be banned when no banned usergroup is specified. To fix just reupload the files, there is no need to reupload the product or update any templates.

hastyhost
06-02-2008, 02:34 PM
Ok I found my problem :)

What I did was I coded in "postbit_legacy" instead of "postbit" .

So for anyone else that may have this issue, just try either or if one doesn't work for you :) GREAT MOD

Attilitus
06-02-2008, 02:38 PM
Glad everything worked out. I would suggest reuploading the product and reuploading all the files now though. As I've fixed a few bugs in the past 15-20 minutes.

I'll release a v3 version once I'm satisfied all bugs have been squashed.

hastyhost
06-02-2008, 02:41 PM
Also, another thing I noticed in your instructions is you say: Upload all files in the Upload folder to your forum root.

lol At first like I said a minute ago, I uploaded all the actuall "files" in the vbstatus folder to the "root". But in order for this mod to work, you need to only upload "the folder" in the upload "folder" to the root of your forum.

So I think to save confusion, you should reword it like this: Upload all folders in the Upload folder to your forum root.

I may be wrong who knows as I am still a newb at this forum, but just trying to help if I did :) AGAIN GREAT MOD

edit-Yeah I reuploaded it

StuntFactoryX
06-02-2008, 02:42 PM
looks cool... any feedback on how it looks in postbit legacy? is there a text limit and can users break the style?

Attilitus
06-02-2008, 02:44 PM
It will look perfectly fine in postbit_legacy.

There might be some potential for users to break the style. I will add a word_wrap and a character limit. (Right now the practical character limit is 200 characters by virtue of the db table size).

dirtycrow
06-02-2008, 02:45 PM
v2 kills the header links in firefox.

hastyhost
06-02-2008, 02:46 PM
I'm getting database errors now after uploading the new files. You can view my forum at "forums.hastyhost.com"

hope it's ok to post links like that

kambiz
06-02-2008, 02:47 PM
first of all thanks a lot.
It seems there is issue with positioning in the code we have to add to headinclude. it made lmost half of header unclickable (did I use it right?). I mean the logo and some of links in the navbar are not in links style unless you click on Edit Status once.).
I checked the code and seems it's because of positioning. I tried to change it to fixed, relative and static. they solved that issue but made another one: extra height in header.
for now I solved my problem by removing the height from the code which I know is not a good solution.
anyone can help me?

dirtycrow
06-02-2008, 03:00 PM
first of all thanks a lot.
It seems there is issue with positioning in the code we have to add to headinclude. it made lmost half of header unclickable (did I use it right?). I mean the logo and some of links in the navbar are not in links style unless you click on Edit Status once.).
I checked the code and seems it's because of positioning. I tried to change it to fixed, relative and static. they solved that issue but made another one: extra height in header.
for now I solved my problem by removing the height from the code which I know is not a good solution.
anyone can help me?
i followed your advice, works. thanks.

Attilitus
06-02-2008, 03:04 PM
Change the following bit of code to fix the problem with unclickable header links:

headinclude

<div id='mypopup' name='mypopup' style='position: absolute; width: 250px; height: 200px; background: none; border: none;'></div>


change to:


<div id='mypopup' name='mypopup' style='position: absolute; background: none; border: none;'></div>


This will be fixed in the instructions in v3 once I finish adding a few features.

BlakeMichael
06-02-2008, 03:11 PM
Hey, I followed the instructions exactly and ended up with this:

Database error in vBulletin 3.7.0:

Invalid SQL:
SELECT vbstatus_status FROM userfield WHERE userid = '2';

MySQL Error : Unknown column 'vbstatus_status' in 'field list'
Error Number : 1054
Request Date : Monday, June 2nd 2008 @ 11:06:41 AM
Error Date : Monday, June 2nd 2008 @ 11:06:41 AM
Script : http://desertcalling.com/vbstatus/vbstatus_ajax.php?userid=2&postid=4528
Referrer : http://desertcalling.com/showthread.php?t=351
IP Address : 76.122.236.213
Username : Isaac
Classname : vb_database
MySQL Version : 4.1.22-standard
Can you help? :)

kambiz
06-02-2008, 03:13 PM
Change the following bit of code to fix the problem with unclickable header links:

headinclude

<div id='mypopup' name='mypopup' style='position: absolute; width: 250px; height: 200px; background: none; border: none;'></div>


change to:


<div id='mypopup' name='mypopup' style='position: absolute; background: none; border: none;'></div>


This will be fixed in the instructions in v3 once I finish adding a few features.
thanks a lot.

MindTrix
06-02-2008, 03:17 PM
Can this be changed so that people can change their status in the top right corner of each page? Same as you can with the Vmoods Manager hack?

Attilitus
06-02-2008, 03:19 PM
Wow. I'm sorry. I left a line of uninstallation code at the bottom of one of the files.

If you are encountering this DB error please do the following:

1) Go into the product manager.
2) Edit product vBStatus.
3) Delete everything inside the uninstallation code box.
4) Go back to the product maanger.
5) Uninstall the product vBStatus.
6) Reinstall version 3.0 fresh.

Zweeper
06-02-2008, 03:35 PM
Hey, I followed the instructions exactly and ended up with this:


Can you help? :)


i got the same problem

Attilitus
06-02-2008, 03:45 PM
Yea, that most recent update had a mistaken line of code in it. If you are getting that DB error follow my previous instructions to uninstall the product.

Version 3 is released now. Do a fresh reinstall of that version and everything ought to be fine.

Attilitus
06-02-2008, 03:47 PM
Can this be changed so that people can change their status in the top right corner of each page? Same as you can with the Vmoods Manager hack?

It can be changed, but I think that the intrusiveness of having a floating link on every page outweighs the benefits for the majority of the users.

tei727
06-02-2008, 03:56 PM
Database error in vBulletin 3.7.1:

Invalid SQL:
SELECT vbstatus_status FROM userfield WHERE userid = '1';

MySQL Error : Unknown column 'vbstatus_status' in 'field list'
Error Number : 1054

help

Attilitus
06-02-2008, 03:59 PM
help

Sorry you were one of the unlucky ones to download the package with the mistaken uninstall plugin code included. Follow the instructions in this post and then reinstall version 3.0. Do a totally fresh install (redo the template edits, reupload the product, and reuplod the files).

https://vborg.vbsupport.ru/showpost.php?p=1538869&postcount=36

Zweeper
06-02-2008, 04:50 PM
hm, i followed your instroductions and reinstalled/updated it, but the error is still the same. did i something wrong?

Attilitus
06-02-2008, 04:52 PM
Yes. You must have not reinstalled it properly. Make sure that you upload all the new files, uninstall the old product, and then reinstall the new product.

It is impossible for the same error to be generated, you must have not uploaded the new files. Or perhaps you tried to modify a user's status after reinstalling the product but before uploading the new files, thus causing the old-line of code to trigger itself again.

Zweeper
06-02-2008, 05:14 PM
hm, can you give me the code to create the sql tables?

hastyhost
06-02-2008, 05:23 PM
Just found a small bug. As for the DB errors, I fixed that with your new instructions, and the script itself works fine.

However, it seems to be having an issue with a secondary script which is the "current activity" which shows what the user is doing at the moment.

When you edit your status, then go to your public profile and see what the current activitly is, it gives you this message:

Current Activity: Unknown Location /vbstatus/vbstatus_ajax.php?userid=1&postid=1

Then of course when you refresh your browser, it goes to Current Activity: viewing profile

So that's just a small issue I found. Not a biggie but just so you know.

Attilitus
06-02-2008, 05:24 PM
ALTER TABLE " . TABLE_PREFIX . "userfield ADD vbstatus_status VARCHAR( 200 ) NOT NULL


Here you go. You'll have to replace " . TABLE_PREFIX . " with whatever table prefix your forum uses.

Mr. Hoddz
06-02-2008, 05:38 PM
/me clicks installed.

Got to say I like this hack alot. Will be voting for this for sure!

BlakeMichael
06-02-2008, 05:45 PM
Thank you for the quick fix, Attilitus! Love the mod!

Zweeper
06-02-2008, 05:59 PM
thx, works!

redlabour
06-02-2008, 08:11 PM
When will it be available without Template Edits?

Attilitus
06-02-2008, 08:14 PM
I never planned on adding automatic template edits. But I suppose it can be done in the next release.

Hornstar
06-02-2008, 08:31 PM
Thanks, this might be a winner on my site.

skooby
06-02-2008, 11:36 PM
Great install. Any way to change it so if the user doesn't put in a status, it won't display anything?

Attilitus
06-02-2008, 11:47 PM
Yes wrap the following code around the $post[username] section:


<if condition="$post['vbstatus_status']">
//code
</if>

Be sure that you do not include the link in that section, otherwise they won't be able to edit it.

Lea Verou
06-03-2008, 12:07 AM
Wow, this looks almost like what I had to make for my site!
Have you thought of allowing the user to change status from the header/navbar?
Also, it would be a good idea if the status was displayed in WOL and in Forumhome WOL (as tooltip). Perhaps in memberlist too, the profile and other places.
Also, an option to make the hack only show status for online users and/or clear status upon logout would be useful too.

Attilitus
06-03-2008, 12:10 AM
Thanks Michelle :) I'll keep all those features in mind for the next release.

Brandon Sheley
06-03-2008, 02:38 AM
Second post Reserved

ha... sorry, just had to laugh at the 2nd post reserved

nice hack, I may add it :)

MissKalunji
06-03-2008, 07:10 PM
Question : how many queries does this add?
Thanks

Attilitus
06-03-2008, 07:47 PM
This adds no queries per page. (Except for the queries to actually change your status, but I'm sure that isn't what you meant.)

MissKalunji
06-03-2008, 07:56 PM
nop :) thanks i wanted to know if i added any query when you view (wherever the status is showing)

kinggori
06-05-2008, 12:08 AM
LOVE this mod! Thank you so much :)

Would it be possible not to show the user's name if their status is empty?

kinggori
06-05-2008, 12:09 AM
Also would it be possible to have a section that displays the most recent status updates?

Mutt
06-05-2008, 04:54 PM
like this. would like it if the editor was inline instead of a popup like your profile page. I'm working on it

Attilitus
06-05-2008, 05:00 PM
hm. I'll add an inline option in the next version. The choice to have it be a popup was just a design choice, I happen to prefer it.

Mutt
06-06-2008, 06:46 PM
hm. I'll add an inline option in the next version. The choice to have it be a popup was just a design choice, I happen to prefer it.

thanks so much

Attilitus
06-07-2008, 03:15 AM
This hack has been updated to version 4.0

Please follow the update instructions to the letter!

In-line editting was added, as well as an admin-set default status message for users who have a blank status. More details are available in the original post (which has been editted) and in the update instructions within the download package.

Enjoy.

TimberFloorAu
06-07-2008, 03:39 AM
Please could you do a txt file set of instructions, as we do not use WORD.
We can open in editplus, but get unusual addedit codes on each line, which could knacker the file edits etc up.

Looks like a good mod, downloaded. Reserved

Attilitus
06-07-2008, 03:49 AM
I have changed the files to Rich Text Format (.rtf) and have included an additional folder which contains the instructions in normal .txt format. I find that being able to use bold text makes the instructions easier to follow, thats why I use the different format.

Download the package again to get the new instruction files.

TimberFloorAu
06-07-2008, 04:07 AM
I have changed the files to Rich Text Format (.rtf) and have included an additional folder which contains the instructions in normal .txt format. I find that being able to use bold text makes the instructions easier to follow, thats why I use the different format.

Download the package again to get the new instruction files.

You are the MAN !

Will do, thanks !:up:

TimberFloorAu
06-07-2008, 04:30 AM
One question.

We have added this, and will mark as installed.

In Postbit/postbit legacy, where it says Username.

Example.

Timberfloorau has no status

if we then edit this, to say playing a game

can we add in template the word IS after username.

So status reads, Timberfloorau is playing a game.

Most members will forget to add the word IS
And seeing as that is the most common word after their username, would be good if we could add that particular mod.

Ozzy

Attilitus
06-07-2008, 05:05 AM
I added a status prefix option. I am not going to release a new version I just updated the package. So re-download v4 (which I've modified to include this feature) and follow the following instructions:

Upload all files in the upload folder (overwrite any existing files)
Reimport the product with the overwrite option checked.
No template edits necessary.

TimberFloorAu
06-07-2008, 06:00 AM
I added a status prefix option. I am not going to release a new version I just updated the package. So re-download v4 (which I've modified to include this feature) and follow the following instructions:

Upload all files in the upload folder (overwrite any existing files)
Reimport the product with the overwrite option checked.
No template edits necessary.


Cheers Attilus, terrific service !

TimberFloorAu
06-07-2008, 06:07 AM
Installed.

WONDERFUL !

That works an absolute treat.

Will happily, add your website, or link to our links section in gratitude.

We have had 50% of members discussing this already.

TOP HACK !

Added your link :)

Mutt
06-07-2008, 01:29 PM
fantastic, thank you

Thelonius Beck
06-07-2008, 05:05 PM
Nice. Thank you.

goodwillstacy
06-07-2008, 05:34 PM
I love this hack and would really like to install it on my forum... I uploaded everything and did the template edits.. I checked and double checked... everything seems fine. It shows the status underneath the person's username, however when you click to edit the status, nothing happens (when you use inline editing or the pop-up). I have installed & re-installed this about 3 times trying to look for errors, but I have no idea what's going on!
When I troubleshoot the page to look for Javascript errors, I do get one error:

"Error: Att_AjaxDi is not defined." Source File: javascript:Att_AjaxDiv('inline=1&userid=1&postid=1','vbstatus/vbstatus_ajax.php','vbstatus_1')
Line: 1

I tried this in both Safari and Firefox, and I'm coming up with the same problems.
Thanks!
stacy

Attilitus
06-07-2008, 06:36 PM
Thats odd... could you perhaps give me a test account on your forums?

goodwillstacy
06-07-2008, 07:18 PM
Thanks so much for your quick help, Attilitus!

For anyone who might be having the same issue, for some reason my vbstatus folder was not allowing anyone to read or write it. I just changed the permissions and everything started working.

Great mod!!! Thanks again!
:)
stacy

whitetigergrowl
06-08-2008, 12:16 AM
Rather than show the word 'edit' under every name, why not make it so the status shows and we just click on the status to change it as admins. I have it set so admins can't edit other user statuses and still see that word. Its annoying seeing it under every name WITH the status.

Piratos
06-08-2008, 01:06 AM
Really i like that :D

Attilitus
06-08-2008, 01:10 AM
Rather than show the word 'edit' under every name, why not make it so the status shows and we just click on the status to change it as admins. I have it set so admins can't edit other user statuses and still see that word. Its annoying seeing it under every name WITH the status.
Hm. I think that you must be using an older version of the templates, for two reasons. First, the edit link should not appear under the name anymore, it ought to appear to the right of the status in small print. Second, the bug your reporting (links appearing when admins don't have permission to edit user's status) was fixed in a previous version.

I suggest that you reinstall version 4.01 and follow the upgrade/installation instructions to the letter. (ie. Reupload all files, reimport the product with Allow Overwrite set to Yes, and redo ALL template edits)

The behavior you are describing is not consistent with version 4.01. If you remove all admin usergroups from the usergroup list in vBstatus options admins will not see the edit link.

TimberFloorAu
06-08-2008, 05:41 AM
Just to say Attilitus,

Of all the hacks we have installed, this very un-obscure, un offending hack has caused the most conversation and debate for our users.

Good Onya

Love it !

pete_brady
06-08-2008, 07:09 AM
is it possible to remove the username from the start of the status display line? The user's status is shown directly under their username, so having it there again a little bit redundant.

Attilitus
06-08-2008, 07:15 AM
is it possible to remove the username from the start of the status display line? The user's status is shown directly under their username, so having it there again a little bit redundant.

This was a design decision, I like it better the way it is. But you can edit it manually VERY easily.

You can edit the template code. Find the vBstatus sections of the templates postbit and MEMBERINFO (you manually editted them before). Remove $post[username] from the postbit template and remove $userinfo[username] from the memberinfo template.

pete_brady
06-08-2008, 07:22 AM
This was a design decision, I like it better the way it is. But you can edit it manually VERY easily.

You can edit the template code. Find the vBstatus sections of the templates postbit and MEMBERINFO (you manually editted them before). Remove $post[username] from the postbit template and remove $userinfo[username] from the memberinfo template.
ah, of course

thanks attilitus

CP,
06-08-2008, 02:09 PM
Where else does this appear on postbit legacy? What about near the private messaging notification area?

Julie
06-08-2008, 03:57 PM
Awesome mod :D Works like a charm! :)

Just wondering, is there any way you can add in so that if people hit enter when in the text field, it'll.. edit? Now you have to click on the edit link, which might be a bit confusing :) Thanks!

Edit: Perhaps you could also add something like Facebook has, where it says how long ago people changed their status? Like 3 secs ago, 3 days ago... etc...

Julie
06-08-2008, 04:13 PM
Just found a small bug. As for the DB errors, I fixed that with your new instructions, and the script itself works fine.

However, it seems to be having an issue with a secondary script which is the "current activity" which shows what the user is doing at the moment.

When you edit your status, then go to your public profile and see what the current activitly is, it gives you this message:

Current Activity: Unknown Location /vbstatus/vbstatus_ajax.php?userid=1&postid=1

Then of course when you refresh your browser, it goes to Current Activity: viewing profile

So that's just a small issue I found. Not a biggie but just so you know.

Was there a fix for this one? Thanks :)

Attilitus
06-08-2008, 05:16 PM
However, it seems to be having an issue with a secondary script which is the "current activity" which shows what the user is doing at the moment.

This really isn't so much of a bug as it is a lack of a feature. I will add it in the next release. :)

PinkLiquorice
06-08-2008, 06:05 PM
Brill thanks! x

Roxie
06-08-2008, 07:56 PM
I love this so much better with the inline editing!

Attilitus
06-08-2008, 07:57 PM
I love this so much better with the inline editing!

Yea, so do I actually. That is why once I made the change, I had it set to in-line editting by default.

hdrmut
06-08-2008, 09:55 PM
Thanx but this not support arabic Character

charset=windows-1256"

Can you fix ?

Attilitus
06-08-2008, 10:15 PM
Thanx but this not support arabic Character

charset=windows-1256"

Can you fix ?

I haven't a clue how to fix it. Perhaps someone who has experience dealing with foriegn character sets can send me a PM?

TimberFloorAu
06-08-2008, 10:20 PM
We have found an issue.
If we view the USER PROFILE of one of our users, in the current activity, we get:

error

Current Activity: Unknown Location /forum/vbstatus/vbstatus_ajax.php?postid=9&doupdate=1&userid=9&statusupdate=havin%20a%20bit%20of %20toast

Any suggestions what could be causing this please?

TimberFloorAu
06-08-2008, 10:30 PM
I have reset the Status hack, using the previous version without the (is) in.

All seems to be working now.

Ozzy

Attilitus
06-08-2008, 10:30 PM
This issue has already brought up. This hack does not update a user's Last Activity location. The next version of the hack will, and thus this "problem" won't occur. Until then, don't worry too much about it. It will appear as "Unknown Location" for all non-admin usergroups on your forum. (Thus regular users are not seeing the URL as you see it)


I have reset the Status hack, using the previous version without the (is) in.

All seems to be working now.

Ozzy

That is a bad idea, and will not in any way fix your "problem" haha...

TimberFloorAu
06-08-2008, 11:36 PM
This issue has already brought up. This hack does not update a user's Last Activity location. The next version of the hack will, and thus this "problem" won't occur. Until then, don't worry too much about it. It will appear as "Unknown Location" for all non-admin usergroups on your forum. (Thus regular users are not seeing the URL as you see it)


That is a bad idea, and will not in any way fix your "problem" haha...

Gottya.

Sweet.

Seeing as you are such a smart bugger ;) fancy doing a weather module lol.
We have lots of requests for it, have found one on vbcpms, but not on vb.

Be cool to just have a weather temp thing, in users postbit.

Temp: 32c
Current: Sunny

Gonna have a look , see what I can do. :)

Brill work mate

snake-boy
06-08-2008, 11:40 PM
This is awesome, it's just what I was looking for!

Is there any way that status updates could be sent to the shoutbox? (inferno's shoutbox) as they are updated? If not, could I request that as a feature for an upcoming version?

Clicked "installed" - thank you ! :)

Attilitus
06-08-2008, 11:45 PM
This is awesome, it's just what I was looking for!

Is there any way that status updates could be sent to the shoutbox? (inferno's shoutbox) as they are updated? If not, could I request that as a feature for an upcoming version?

Clicked "installed" - thank you ! :)

I'm afraid that I won't integrate this into other third party modifications. It is too much of a hassle, and would require modifying and releasing new versions of other coder's work.

I may, however, make a box that will display recent status updates that can be displayed on the forum home page.

snake-boy
06-08-2008, 11:54 PM
I'm afraid that I won't integrate this into other third party modifications. It is too much of a hassle, and would require modifying and releasing new versions of other coder's work.

Thats a shame, but I get your reasoning...

I may, however, make a box that will display recent status updates that can be displayed on the forum home page.

Now that would be ideal :)

TimberFloorAu
06-09-2008, 12:11 AM
We use a marquee, that pulls the latest threads in our Betting shop, onto the forumhome page.
Similar system, for latest edits to status would be so funny.

Some people have a weird sense of humour, that we could then integrate a voting system,for best status message.

Or even setup a forum, called My Status Message for example.

And soon as someone edits their status message it writes that to the forum, as a new thread.

Similar to Staggers, latest high score in ib arcade.

Either would be fun

Ozzy

snake-boy
06-09-2008, 12:28 AM
We use a marquee, that pulls the latest threads in our Betting shop, onto the forumhome page.

Would that be this mod (https://vborg.vbsupport.ru/showthread.php?t=167061)?

Similar system, for latest edits to status would be so funny.


Agreed :)

Since this is a "Facebook Concept", the way they do it is pretty cool - have like the latest 3 status updates reflected somewhere on the homepage. (Ideally I'd like to see it just to the left of the block in the upper right that contains the "Welcome username" "Last Visit" and "Pm Status" etc) There's quite a big "block" of screen real-estate over there that never gets used for anything...

Attilitus
06-09-2008, 07:20 PM
Since this is a "Facebook Concept", the way they do it is pretty cool - have like the latest 3 status updates reflected somewhere on the homepage. (Ideally I'd like to see it just to the left of the block in the upper right that contains the "Welcome username" "Last Visit" and "Pm Status" etc) There's quite a big "block" of screen real-estate over there that never gets used for anything...
Yea that would be the direction that I would take.

LisaD1
06-09-2008, 08:39 PM
Very nice!! Thanks for the work, I like the inline editing, it is so easy!!

Martell
06-09-2008, 11:08 PM
Problem :confused:

https://vborg.vbsupport.ru/external/2008/06/51.jpg (http://www.radikal.ru)

charset=windows-1251

Can you fix ?

Or where to correct?

Attilitus
06-09-2008, 11:25 PM
I'm afraid that I do not know how to handle charset related errors, as I have only developed/worked with english-based websites. If someone has an easy way to fix these character set errors, please send me a PM.

imam1
06-10-2008, 01:06 PM
the mod do not Support Arabic ! :(

can you fix it plz?

and thanx

NeuroLancer
06-11-2008, 12:47 AM
Attilitus thank for this mod! :up:

I made a small change that suits me. With the postbit template edit i changed the first line of code to this:

<if condition="$vbulletin->options['vbstatus_active'] == '1' && $post['vbstatus_status'] != 'has no status.'">

in this way the has no status message doesn't display in the forum, yet still appears on the memberinfo page. I prefer this, especially in early stages when many people haven't updated their status yet.

Attilitus
06-11-2008, 05:00 AM
That template edit will be different depending on the default status message user's specify in the admincp. Replace "has no status" with $vbulletin->options['vbstatus_defaultstatus']


<if condition="$vbulletin->options['vbstatus_active'] == '1' && $post['vbstatus_status'] != $vbulletin->options['vbstatus_defaultstatus']">

That code will work even if you change the default status in the admincp.

However, I don't see why you want to remove that message. Seeing the "has no status" message will motivate users to set their status.

imam1
06-11-2008, 12:04 PM
araaaaaaaaaaaaabic plz :(

solidlink
06-11-2008, 01:42 PM
I cant find this if condition="$prepared['usertitle']"> in MEMBERINFO

cookiepants
06-11-2008, 04:19 PM
awesome, thank you so much!

Is it possible to make this bold in the postbit? Do I just use html in the template?

edenx
06-11-2008, 05:04 PM
Any chance to have a single page with the recent updates of your friends?

Attilitus
06-11-2008, 08:21 PM
Any chance to have a single page with the recent updates of your friends?

Possible, but unlikely. The next thing that will likely be added is a module displaying recent updates for the whole board.

g0dfather1984
06-12-2008, 03:16 AM
I am having a problem, great feature, but my problem is, I can't change the status. I click the edit button and nothing happens.

Please help!

Thank you.

LisaD1
06-12-2008, 03:48 AM
When I installed this wonderful mod, it worked great. But now today, one of my mods told me that it doesn't work for her so I tried it out again and now it doesn't work for me. When you edit it, it is fine but then when you go the "save" it you get this messege.

vBulletin MessageYou did not select any posts to which the action you picked can be applied.


Any ideas?

Attilitus
06-12-2008, 03:58 AM
I am having a problem, great feature, but my problem is, I can't change the status. I click the edit button and nothing happens.

Please help!

Thank you.

Make sure that you set the permissions for the vbstatus folder so that it is web-accessible. There is javascript in that folder which is loaded by the browser in that folder, and if it can't be assessed then the javascript won't work. Chmod the vbstatus folder to 777 to see if that is the problem.


When I installed this wonderful mod, it worked great. But now today, one of my mods told me that it doesn't work for her so I tried it out again and now it doesn't work for me. When you edit it, it is fine but then when you go the "save" it you get this messege.

There is no "save" link/button. If you are using in-line editting you click edit, change the status, then click edit again. If you are using the popup you click edit, edit the status in the popup, and click the "Edit" link within the popup.

If it worked before it ought to still work, unless something changed. My guess is that nothing changed but you/your mods forgot which button to click.

LisaD1
06-12-2008, 04:42 AM
There is no "save" link/button. If you are using in-line editting you click edit, change the status, then click edit again. If you are using the popup you click edit, edit the status in the popup, and click the "Edit" link within the popup.

If it worked before it ought to still work, unless something changed. My guess is that nothing changed but you/your mods forgot which button to click.

:o OK the reason why I shouldn't try to figure things out when I an tired. My brain stops working and others have to think for me!
It works. I forgot to click edit again. I am use to the facebook one where you can just click somewhere else on the page or hit enter and have it save.

Shill360
06-12-2008, 08:23 AM
This is a fantastic mod.

Just wondering how easy it would be to show status on memberlist.php ?

karnevil
06-12-2008, 12:51 PM
Daft question - i have tried with inline and the pop up - after typing in the inline box how do you actually send the text so it shows I'd have thought Enter but it doesn't work, also in the pop up it only has a Cancel bit ? What am I missing ?

Thankyou

karnevil
06-12-2008, 12:55 PM
Well as usual when I post I work it out...you have to click edit again once you have entered text. How would i change the Edit bit in the pop up to Enter ?

g0dfather1984
06-13-2008, 05:37 AM
Make sure that you set the permissions for the vbstatus folder so that it is web-accessible. There is javascript in that folder which is loaded by the browser in that folder, and if it can't be assessed then the javascript won't work. Chmod the vbstatus folder to 777 to see if that is the problem.




Thank you, I did try that and still no luck.

UltraFanatics
06-13-2008, 08:04 AM
Does anyone know the following?

The mod works but when you change the status in your profile it changes but gives an error on the page.

I changed the chmod to 777 to as it wasn't set as that on default it was 755

As users said earlier it would be awesome to link it to the homepage etc

Alfa1
06-13-2008, 10:41 AM
What is the difference between vbNow (https://vborg.vbsupport.ru/showthread.php?t=155945) and this?

Julrou
06-13-2008, 08:05 PM
Thanks a lot for this great mod ! :up: :)

I just made a modification in your template's edition, because i didn't want the username appear twice :

<!--BEGIN VB STATUS-->
<if condition="$vbulletin->options['vbstatus_active']">

<div class=smallfont>
// no username here
<em id="vbstatus_$post[postid]">
$post[vbstatus_status]
<if condition="$bbuserinfo['userid']==$post['userid'] OR $vbstatus_isadmin==1">
<if condition="$vbulletin->options['vbstatus_inline']">
<a href="javascript:Att_AjaxDiv('inline=1&userid=$post[userid]&postid=$post[postid]','vbstatus/vbstatus_ajax.php','vbstatus_$post[postid]')">Edit</a>

<else />
<a href="javascript:Att_Ajax('userid=$post[userid]&postid=$post[postid]','vbstatus/vbstatus_ajax.php')">Edit</a>
</if>

</if>
</em>
</div>


</if>
<!--END VB STATUS-->

AND

<!--BEGIN VB STATUS-->
<if condition="$vbulletin->options['vbstatus_active']">

<div class=smallfont>
// no username here
<em id="vbstatus_$userinfo[userid]">
$userinfo[vbstatus_status]
<if condition="$bbuserinfo['userid']==$userinfo['userid'] OR $vbstatus_isadmin==1">
<if condition="$vbulletin->options['vbstatus_inline']">
<a href="javascript:Att_AjaxDiv('inline=1&userid=$userinfo[userid]&postid=$userinfo[userid]','vbstatus/vbstatus_ajax.php','vbstatus_$userinfo[userid]')">Edit</a>

<else />
<a href="javascript:Att_Ajax('userid=$userinfo[userid]&postid=$userinfo[userid]','vbstatus/vbstatus_ajax.php')">Edit</a>
</if>

</if>
</em>
</div>


</if>
<!--END VB STATUS-->

Now i've just
"Julien (UserName by default)
is bla bla bla...(from your hack)"

and i'm happy with this ! :D :D ;)

:up::up:

Attilitus
06-13-2008, 08:40 PM
What is the difference between vbNow and this?

They really are nothing alike... vBStatus mimics the status update feature on facebook. If your members use facebook they ought to appreciate the feature.

Konstantinos
06-14-2008, 06:37 AM
it doesnt work for non english characters it messes up the encoding

psylenced
06-14-2008, 06:59 AM
Possible, but unlikely. The next thing that will likely be added is a module displaying recent updates for the whole board.

The friend version would just be a variation of this screen.

1 has an sql to join to friends list, one doesnt. The rest should be exactly the same.

aceofspades
06-14-2008, 12:21 PM
thank you

nnkjsc
06-14-2008, 06:45 PM
I used vietnamese (unicode utf-8) in my board and it doesn't work clearly
:-(

Sebi
06-15-2008, 06:43 PM
I'm not sure what the correct English translation would be like but when I try to click the Edit-Link in postbit(_legacy), my browser comes up with this error message:

The object does not support this attribute or method.

Editing the status in memberinfo works just fine. Any ideas how to solve this problem?

schlottkej
06-16-2008, 06:20 PM
Im getting the error "Object does not support this property or method"

intrigue
06-17-2008, 09:58 AM
can you make it so that when the user clicks edit the word "edit" changes to done so they know to press done, or better yet have it so that when the user presses enter it submits it (like facebook)

Thanks
Matt

Captain Tycoon
06-17-2008, 10:04 AM
Any chance of having it to show the last time it was updated?

Julrou
06-17-2008, 11:16 AM
It no longer works for me, after installing this mod (https://vborg.vbsupport.ru/showthread.php?t=180871).

It's probably a javascript conflict, because it works fine when i uninstall the QuickTab mod.

Is there a way to fix this ?

Thanks a lot.

Jul'

Amit86
06-17-2008, 07:03 PM
i love it, but got a problemo
i use hebrew language on my forums
and when i try to change the status it gives me gibbrish
i tried looking for the where language configurations goes but no luck
can you help me with that?
i think ur using utf-8 and i need WINDOWS-1255

abroad
06-17-2008, 07:25 PM
I get this error message:

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /html/forum/vbstatus_ajax.php on line 3

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/share/php') in /html/forum/vbstatus_ajax.php on line 3

ramsayeg
06-17-2008, 09:45 PM
When clicking on the edit button, I'm getting the edit box, but above it the following error:

Warning: in_array(): Wrong datatype for second argument in [path]/includes/init.php(293) : eval()'d code on line 1

newtsys
06-18-2008, 03:07 PM
I have it installed but there was no change in the version number I upgraded from vbstatus 2 to 4.01 and in admin panel shows version 3. What went wrong or did you just not change the version number?

abroad
06-19-2008, 03:11 AM
seems that is does not really work...going to uninstall it

intrigue
06-19-2008, 05:10 AM
I get this error message:

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /html/forum/vbstatus_ajax.php on line 3

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/share/php') in /html/forum/vbstatus_ajax.php on line 3

I can confirm it does actually work, have you checked you have the rigth version of VB?

Julrou
06-19-2008, 11:55 AM
It no longer works for me, after installing this mod (https://vborg.vbsupport.ru/showthread.php?t=180871).

It's probably a javascript conflict, because it works fine when i uninstall the QuickTab mod.

Is there a way to fix this ?

Thanks a lot.

Jul'

Bump ! ;)

abroad
06-19-2008, 02:41 PM
well...vb3.7...guess this is the right version :) But it does not work for me...!

Alfa1
06-20-2008, 03:24 PM
Please allow us to define usergroups that can use this function. I would like to use this to allow secondary usergroups to use this hack.

schlottkej
06-20-2008, 03:32 PM
A LOT of JS conflicts on this one.. any way around that?

srkrocks
06-21-2008, 11:26 AM
Installed!
Thanks!

ercy
06-21-2008, 07:38 PM
not work me

newtsys
06-22-2008, 11:17 PM
it works fine in 3.7.o I just wanted to know why the version shows diffrent than what is posted.

FreeLunchRoom
06-23-2008, 01:31 AM
It works great...how do I make it so that the status shows up right below the name before the avatar shows up? Maybe you could really implement the AJAX like features so pressing ENTER will work. Also maybe hiding the edit link while you're typing would be ideal too or change it to say UPDATE.

smnoel
06-23-2008, 05:59 AM
Not working.
Javascript conflicts.

RedeemedWarrior
06-23-2008, 06:12 AM
works grand

x YNWA x
06-23-2008, 07:20 PM
uploaded files and done template edits but nothing showing?

orij1nal
06-23-2008, 08:09 PM
there is a problem on my forum where one of the users cannot edit their status at all, the edit button has just become plain text, http://hkmediaonline.com/forum/member.php?u=1198 although you can't see the edit button, the message ends like this 'meowjanet is sick >Edit'

Pcwolfx?
06-24-2008, 08:20 AM
i think this mod must added vbulletin system. Thanks for mod working great.

BeerLuver
06-25-2008, 04:58 AM
seems that is does not really work...going to uninstall it
Same for me... it worked ONCE, and now I get internal server errors popping up, plus can't edit the status from a post in a thread. Your instructions need to be updated too, I noticed you had posted code changes within some replies in this thread, but those changes were not IN the instructions for the template edits at all. Looked to be a nice mod, but just not working so I think I'll uninstall til it's sorted out better. Thanks for the hard work so far though :)

Alfa1
06-25-2008, 06:18 PM
Please fix this hack. The idea is great, but cant get it to work.

khaleel
06-26-2008, 08:07 PM
Great work!

burlesque
06-26-2008, 11:12 PM
Version 2 was working fine for me, but since I upgraded to version 4, something has gone screwy. When I click the 'Edit' button on the postbit, it correctly shows the ajax window.

HOWEVER!

When I submit the new status, the same ajax popup then appears in the postbit instead of the new status.

How do I fix this?

KProjects
06-27-2008, 02:09 AM
Does this work with vmoods? Not sure why it wouldn't.. would be cool to use both.. or incorporate one into the other..

wmstalk
06-27-2008, 12:11 PM
there is a bug, see online people page (online.php)
it shows link instead of status please provide fix

aramiK89
06-29-2008, 10:48 AM
Hey, just need to check - once this is added it won't give birth to the security token error?

Has the line of code been added so that it works with the security token feature?

Just been having a lot of issues with this + mods

Thanks!

Thelonius Beck
06-29-2008, 07:53 PM
Hey, just need to check - once this is added it won't give birth to the security token error?

Has the line of code been added so that it works with the security token feature?

Just been having a lot of issues with this + mods

Thanks!

Not an issue.

Thelonius Beck
06-29-2008, 07:54 PM
I am using vBAdvance as a front page (outside the forum root), and I would really like to integrate this onto my front page. Any suggestions as to how I could make it work?

arcadian_girl
06-30-2008, 05:50 AM
loving this mod, my members like it too - thanks so much :)

marcinl
07-04-2008, 06:06 AM
For anyone having problems with non-English languages being improperly displayed by this mod, there is a very simple solution. But you need the iconv extension installed for you php - it's probably by default if you have PHP5.

Open the file vbstatus_ajax.php

find:

if($vbulletin->options['vbstatus_wordwrap']){
$att->clean['statusupdate']=wordwrap($att->clean['statusupdate'], $vbulletin->options['vbstatus_wordwrap'], "\n", true);
}

And after that add just one line:

$att->clean['statusupdate'] = iconv("utf-8", "iso-8859-2", $att->clean['statusupdate']);

Obviously, in place of iso-8859-2, you have to put the correct encoding that you're using on you VB site.

It works perfectly for me in case of Polish.

Spin Doctor
07-04-2008, 08:06 AM
uploaded files and done template edits but nothing showing?

same here......help?

Quantnet
07-04-2008, 08:39 PM
working great on 3.7.2
thanks

xxalexkimxx
07-05-2008, 03:35 PM
still got Javascript error on the page :(

Alfa1
07-05-2008, 04:24 PM
Is this mod still supported?

Smiry Kin's
07-05-2008, 06:30 PM
does it edit statuses in real time? or does it always have to pop up to beable to edit?

lisss001
07-06-2008, 03:42 PM
Nominated for MOTM ;)

PoetJA-1975
07-07-2008, 07:33 AM
Hi Attilitus - are you still supporting this modification please? There is evidently a javascript clash/conflicts - Edit button doesn't work even when folder/files chmod to 777 - Help please because this is a really nice idea.

3.7.2 - with QuickTab (https://vborg.vbsupport.ru/showthread.php?t=180871) installed and Dynamic Tab Content For Postbit Legacy (https://vborg.vbsupport.ru/showthread.php?t=184136)

At anyrate - thanx for the sharing.

Jacquii.

Ideal Web Tech
07-08-2008, 04:22 PM
I'm afraid that I won't integrate this into other third party modifications. It is too much of a hassle, and would require modifying and releasing new versions of other coder's work.


This can actually be done without editing vbshout at all. The following code shows how to utilize the shout engine to make a shout without actually editing vbshout. (this code is not adapted for the status system im just providing an example)

global $infernoshout;

require_once(DIR . '/infernoshout/engine/inferno_engine.php');
$infernoshout->load_engine('shout');

$msgvar = "This is the message that would be shouted";

$shout =& new shout;
$shout->silent = true;
$shout->process("$msgvar");


This issue has already brought up. This hack does not update a user's Last Activity location. The next version of the hack will, and thus this "problem" won't occur. Until then, don't worry too much about it. It will appear as "Unknown Location" for all non-admin usergroups on your forum. (Thus regular users are not seeing the URL as you see it)

Instead of making it update the whosonline location why not just bypass updating the online location as we do for most ajax scripts for actions such as this script has?


define('LOCATION_BYPASS', 1);



Now to report my own problem I have noticed and havent had time to fix myself yet.

In private messages it does not do the status's properly. It doesnt do the prefix if they have a status nor does it do the message for when a user doesnt have a status set and instead shows nothing.

zmmmzz
07-09-2008, 04:06 AM
i love this hack!

PoetJA-1975
07-09-2008, 07:43 AM
Um.... It doesn't work.

Jacquii.

TsirhCitna
07-09-2008, 08:34 PM
Guests are able to see the edit link for everyone's status.

Boosted Panda
07-09-2008, 10:51 PM
Easy as cake to install!

Amaresh
07-10-2008, 07:21 AM
thanks yes it was cake

Amit86
07-10-2008, 07:36 PM
i love it, but got a problemo
i use hebrew language on my forums
and when i try to change the status it gives me gibbrish
i tried looking for the where language configurations goes but no luck
can you help me with that?
i think ur using utf-8 and i need WINDOWS-1255

TimberFloorAu
07-11-2008, 10:45 PM
Please can you confirm, if this MOD, is in the Graveyard, or has since been updated.

I notice an update done yesterday, but the email via vb.org, came thru here late last night.

Please confirm, this mod's status.

pguy
07-12-2008, 07:14 AM
I too got the graveyard email and I dont see any mention of a security issue on this thread - was it fixed? Any leads on what happened?

PoetJA-1975
07-12-2008, 01:10 PM
The modification was updated on 10 July - So apparently the security issue has been sorted. Why on earth the modification author doesn't respond to the following post is beyond me though. Perhaps the modification should now be updated and marked as UNSUPPORTED perhaps?

Jacquii.

Hi Attilitus - are you still supporting this modification please? There is evidently a javascript clash/conflicts - Edit button doesn't work even when folder/files chmod to 777 - Help please because this is a really nice idea.

3.7.2 - with QuickTab (https://vborg.vbsupport.ru/showthread.php?t=180871) installed and Dynamic Tab Content For Postbit Legacy (https://vborg.vbsupport.ru/showthread.php?t=184136)

At anyrate - thanx for the sharing.

Jacquii.

Greg-J
07-12-2008, 04:59 PM
I reported the vulnerability as well as the fix, but it was removed. I didn't know there was a specific place to report them. I looked at the update and it does not include my fix though, so I'm not sure if this version is or is not at risk...

zmmmzz
07-12-2008, 07:57 PM
greg can you upload the mod with the fix so we can download it?

PoetJA-1975
07-12-2008, 08:41 PM
I reported the vulnerability as well as the fix, but it was removed. I didn't know there was a specific place to report them. I looked at the update and it does not include my fix though, so I'm not sure if this version is or is not at risk...

I saw your post and I reported the modification using the https://vborg.vbsupport.ru/external/2008/09/5.gif button -- Fortunately I'd already uninstalled the modification because the author is apparently no longer supporting it and it didn't work on my board.... Some sort of javascript conflict - clicking the edit button does nothing...

Jacquii.

calorie
07-13-2008, 02:39 PM
FYI, the author has addressed the reported vulnerability. To patch, grab the attachment updated as of today, and FTP the two PHP files to your server, making sure to overwrite the old files.

tazzarkin
07-13-2008, 04:45 PM
I wasn't going to install this, but it's been sent to the Modification Graveyard so many times that now I'm intrigued.

It feels like you're getting something they don't want you to have...

PS - I even nominated it for Mod of the Month

Boosted Panda
07-13-2008, 06:26 PM
Is this working again?

TFEX
07-13-2008, 07:42 PM
Installed, thanks :)

twister17e
07-13-2008, 08:32 PM
I upgraded today after removing my homemade patch and it appears this mod no longer allows html to be parsed. After running a few tests, html shows up as <b>testing</b> or <script>blah</script> just like it should. It appears that we are good to go!

TimberFloorAu
07-13-2008, 10:19 PM
Upload as per upgrade is:

2 js files , 2 php files , reimport the product ( allow overwrite )
3 or 4 template edits

Simple stuff.

Works fine :)

Thanks guys

PoetJA-1975
07-13-2008, 10:53 PM
Wonderful to see the security issues addressed and fixed. It's a great modification, one that I'd love to use on JPiC - Question - has the javascript conflicts been addressed as well? I know some had posted about the "Edit" button not working... Would be nice if there's a fix for it as well...

At anyrate - Thanx again for the sharing.

Jacquii.

TimberFloorAu
07-13-2008, 11:54 PM
Wonderful to see the security issues addressed and fixed. It's a great modification, one that I'd love to use on JPiC - Question - has the javascript conflicts been addressed as well? I know some had posted about the "Edit" button not working... Would be nice if there's a fix for it as well...

At anyrate - Thanx again for the sharing.

Jacquii.

According to Calorie, the vulnerabilty has been addressed. ( whether that is the js vulnerability who knows :) )

PoetJA-1975
07-14-2008, 01:02 AM
Thanx :D

Jacquii.

mallupirates
07-14-2008, 08:04 AM
i am sad to say, but this mod completely destroyed my forum built over 2 years. All because of the headinclude file. I could not even login to my admin cpanel. There might be some mistake in the codes...:(

Alfa1
07-14-2008, 09:43 AM
i am sad to say, but this mod completely destroyed my forum built over 2 years. All because of the headinclude file. I could not even login to my admin cpanel. There might be some mistake in the codes...:(

Please tell us more about this.

MissStacie
07-14-2008, 06:33 PM
Is this out of the quarantine?

transparent
07-14-2008, 11:11 PM
I updated to the latest version but in the products listing it's still showing as 3.0? I'm guessing this was just missed on the .xml file?

Thank you for the update ; )

timefactor
07-15-2008, 01:07 PM
Installed and working fine, thankyou

mattswanson
07-16-2008, 11:24 AM
I updated to the latest version but in the products listing it's still showing as 3.0? I'm guessing this was just missed on the .xml file?

Thank you for the update ; )
I noticed this too.

I've updated all of the templates, but I can't get anything to appear. I've gone into Options and configured the set up (not sure on the on/off yes/no buttons, but I've tried both settings) and I'm not seeing status appearing anywhere.

What am I missing?

pspmaster93
07-16-2008, 07:50 PM
hahaha that is AWESOME man lol im so installing this thx

H2O Snake
07-18-2008, 05:19 PM
I'm having the problem as well where the edit button does not work on both postbit and memberinfo and I followed the instructions. :(

PoetJA-1975
07-19-2008, 08:22 AM
I'm having the problem as well where the edit button does not work on both postbit and memberinfo and I followed the instructions. :(

Most likely a javascript conflict that others have reported.
Thus far the Author of the modification has shown no interest in fixing it :(

Jacquii.

bkerensa
07-21-2008, 06:31 AM
=/ When I click edit nothing happens

Alfa1
07-21-2008, 01:16 PM
Most of us have that problem.

PoetJA-1975
07-21-2008, 07:53 PM
LOL - Does noone actually take the opportunity to actually READ the thread :rolleyes:

Jacquii.

bocek
07-22-2008, 09:49 AM
installed, modified a little bit and working fine.

Thanks

truCido
07-22-2008, 07:12 PM
installed and working, on latest version of vb without any changes...thanks!!

only gripe i have is that if you press enter as you would on facebook then it takes you to a page about posting. You have to actually click edit again to submit the change

xLYNZx
07-22-2008, 07:24 PM
i got the status there, but when you click edit...nothing. Have followed the instructions as given

edenx
07-24-2008, 02:02 AM
can you make a history of last changes in status of a user, in profile? with dates and times

M4r5h4ll
07-24-2008, 10:49 AM
i installed it & edited everything in the theme & checked the options... but still i dont even see the box for the status :S
anyideas please?

Alfa1
07-24-2008, 11:20 AM
LOL - Does noone actually take the opportunity to actually READ the thread :rolleyes:

Jacquii.
I guess not.

bocek
07-24-2008, 06:13 PM
Attilitus here are some suggestions/requests:

* Anyway to limit number of characters to be entered?
Will be better to have an option in admin cp for this.

* To use "phrases" will be better. By this way admins can localize this hack for their own languages easly.

* I guess the phrase "EDIT" at Modify status screen chould be SAVE. (will be better if can be a button like Cancel.

Thans again.

grunt482
07-25-2008, 10:38 PM
How can I change the color of the font?

PoetJA-1975
07-26-2008, 12:01 AM
LOL

Jacquii.

TimberFloorAu
07-26-2008, 02:03 AM
What would be useful, is to update the product to version 4 , within product title. It is still recognised as pruct version 3 in products manager.

Ozzy

PoetJA-1975
07-26-2008, 03:33 AM
What would be useful is if the modification actually worked.
There's been many many many people (myself included) who have asked for support on the javascript conflict. Still the modification has made no reply - The vB.org Administrators should mark the mod as Unsupported :(

Jacquii.

TimberFloorAu
07-26-2008, 03:44 AM
What would be useful is if the modification actually worked.
There's been many many many people (myself included) who have asked for support on the javascript conflict. Still the modification has made no reply - The vB.org Administrators should mark the mod as Unsupported :(

Jacquii.

What issue do you have Jacquii ?

We have had it working 100% right out of the box.

PoetJA-1975
07-26-2008, 11:34 PM
Nope. If you read back over the thread you will see there has been some sort of javascript conflict for a lot of people: nothing happens when the edit button is clicked.

And, as I'm not much of a coder persay - I can't really troubleshoot the issue - I don't know very much about javascript...

It's a shame really because it's an excellent modification - maybe even a MOTM ........................ if you can get it to work LOL

Jacquii.

Alfa1
07-27-2008, 12:24 AM
I would really enjoy this modification, if it worked. I wonder why it does work for a few people.

TimberFloorAu
07-27-2008, 06:26 AM
We have had it working.

In fact this is a demo of it working.

http://www.yobromofo.com/forum/tutorials/changing_status/changing_status.html

Since the upgrade to version 4, I think any such html injection which compromised security , have been addressed.

Ste

PoetJA-1975
07-27-2008, 08:29 AM
yeah - it's not the security bit that's at issue.
There's evidently some sort of javascript conflict.
It's odd really - because you and others have had no issue with the mod, works right out-of-box so to say - But me and others have had an issue where the Edit button does absolutely nothing... It just sits and looks fabulous LOL

Jacquii.

grunt482
07-27-2008, 07:08 PM
Is it possible to change the color of you vb status. Maybe make the status in another color. Anyone got any idea of it can be done with a simple code manipulation?

Ov3rrun
07-29-2008, 08:12 AM
it doesnt work for non english characters it messes up the encoding

Yup, same here, dont work with spanish characters (? ?????)

orel
07-29-2008, 12:46 PM
what about hebrew support?

bocek
07-29-2008, 01:10 PM
Yup, same here, dont work with spanish characters (? ?????)

what about hebrew support?

working fine for me for turkish with below modification:

For anyone having problems with non-English languages being improperly displayed by this mod, there is a very simple solution. But you need the iconv extension installed for you php - it's probably by default if you have PHP5.

Open the file vbstatus_ajax.php

find:

if($vbulletin->options['vbstatus_wordwrap']){
$att->clean['statusupdate']=wordwrap($att->clean['statusupdate'], $vbulletin->options['vbstatus_wordwrap'], "\n", true);
}

And after that add just one line:

$att->clean['statusupdate'] = iconv("utf-8", "iso-8859-2", $att->clean['statusupdate']);

Obviously, in place of iso-8859-2, you have to put the correct encoding that you're using on you VB site.

It works perfectly for me in case of Polish.

thanks marcinl :up:

jlew24asu
07-29-2008, 09:14 PM
I'm sorry if this has been asked before but how do I add this above the post count (on the right), instead below the user name?

aykolandforum
07-30-2008, 07:28 AM
very nice thanx

bada_bing
07-30-2008, 03:11 PM
I have installed this but when I click the edit nothing happens. I tried both inline and popup and in both IE and Firefox. Whats going on?

chris1979
07-30-2008, 07:12 PM
Works great for me!

Alfa1
07-30-2008, 10:05 PM
I have installed this but when I click the edit nothing happens. I tried both inline and popup and in both IE and Firefox. Whats going on?
You're not exactly alone. Read the rest of the thread. On every page of this thread there are people asking the same question.

ShadowOne
07-30-2008, 10:46 PM
try these instructions...
no different really except that template edit 2 was not bolded...
i was copy n pasting 2 diff edits at once....
try those text instructions and see if anyone else had the same problem...
it works fine for me after i noticed it and fixed...
and the reason you can see everyones edit is because your admin or have permissions..
it is permission based...
im posting this because i dont see the creator..:)

ShadowOne
07-31-2008, 02:55 AM
anyone test it?

bada_bing
07-31-2008, 11:22 AM
You're not exactly alone. Read the rest of the thread. On every page of this thread there are people asking the same question.

If the coder of this mod does not assist very soon I will uninstall this thing and I suggest everyone else does too...

ShadowOne
07-31-2008, 11:37 AM
If the coder of this mod does not assist very soon I will uninstall this thing and I suggest everyone else does too...

did u even test what i said?

bada_bing
07-31-2008, 12:11 PM
did u even test what i said?

Which part of the template code do I need to change, your attachment has all the template changes included in the original install instructions but which portion did you change ?

ShadowOne
07-31-2008, 07:04 PM
Which part of the template code do I need to change, your attachment has all the template changes included in the original install instructions but which portion did you change ?

as i explained.... the second mod template changed wasent bolded... so i was copy n pasting 2 diff codes at once... after i fixed that it was working properly and fine... check back over the edits... and it should work...

Alfa1
07-31-2008, 07:27 PM
That does not make a difference for me. When I edit my status and hit enter, I get this message:
You did not select any posts to which the action you picked can be applied.

ShadowOne
07-31-2008, 07:47 PM
That does not make a difference for me. When I edit my status and hit enter, I get this message:

if youd like to give me access, i would look at it for u...

aspen1018
07-31-2008, 08:02 PM
works great for me

Thanks

ShadowOne
07-31-2008, 08:05 PM
yah theres no reason why it wouldnt work...unless it was installed improperly...

Alfa1
07-31-2008, 09:07 PM
Sure. I will PM you the login info.

ShadowOne
07-31-2008, 09:34 PM
Looks Like I Got It Working...

Alfa1
07-31-2008, 09:57 PM
When you are finished with editing your status, you need to click 'edit' to save it. That makes no sense. Since there is no 'save' button, many users will click enter. They will encounter this error message:
You did not select any posts to which the action you picked can be applied.
Does anyone have a solution to this?

ShadowOne
07-31-2008, 11:05 PM
When you are finished with editing your status, you need to click 'edit' to save it. That makes no sense. Since there is no 'save' button, many users will click enter. They will encounter this error message:

Does anyone have a solution to this?

You can change the word "EDIT" to somethin else if you'd like in all three template search the word "EDIT", you can change them in the ajax or inline.... i.e "Edit/Submit"...Change it to that... or change it to an icon....

Alfa1
07-31-2008, 11:40 PM
That would solve it, but it seems that it is only possible to edit the word that is there before editing. I cant find the place to edit the word that displays after editing. i.e. if I change the word "EDIT" to "Edit/Submit", but then this the word still displays as "EDIT" when editing inline.

ShadowOne
08-01-2008, 12:16 AM
ahh i see what your saying...let me take a look...give me a min

ShadowOne
08-01-2008, 12:37 AM
okay i got....

The Three Templates You Upload... Leave Those As EDIT...

Template Edit:

The AJAX Edit:

1. Go To vbstatus_modifystatus....
Search For: EDIT
Change To: Whatever You Want.... Submit or Enter....

Save.

The Inline Edit:

2. Then Go to vbstatus_modifystatus_inline
Search For: EDIT
Change To: Submit or Enter

Save.

That Should Do It...

Alfa1
08-01-2008, 01:07 AM
Yes, it does. Many thanks!

bada_bing
08-01-2008, 01:38 PM
did u even test what i said?

I just did the template edits you provided and Nothing changed. I can click on edit and nothing happens?