Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: oOo--STAR--oOo on January 28, 2011, 07:04:59 PM

Title: Profile Statuses
Post by: oOo--STAR--oOo on January 28, 2011, 07:04:59 PM
Profile Statuses Modification


Author: Project Evolution (http://www.simplemachines.org/community/index.php?action=profile;u=164151) || Link to Modification (http://custom.simplemachines.org/mods/index.php?mod=2888) || Support Topic (http://www.simplemachines.org/community/index.php?topic=419486)



Profile Statuses is an SMF modification which allows users to post statuses on their profiles and allow/dis-allow comments to be made on these statuses. This is a similar concept to the way IPB uses profile statuses.


**Portal Block also available** by aljo1985 aka star
UPDATE: Removed require ssi.php << Should now work without any modifications to the code.
Corrected Icons location
Download file and copy and paste the contents into a PHP block in your portal
If your using PortaMX remove the <?php from the top as it will not work.

status.txt - download (http://www.uniquez-home.com/files/status.txt)

>> Live Demo << (http://code.uniquez-home.com/forums/index.php)

3.0 NEW changelog 17th Aug 2011
Edits by aljo1985 aka star



2.3 Changelog

Created by Project Evolution/Anthony`/Anthony Calandra.
Title: Re: Profile Statuses
Post by: eyo on January 29, 2011, 02:00:22 AM
it keeps saying my status is too short?
Title: Re: Profile Statuses
Post by: ascaland on January 29, 2011, 11:10:45 AM
The issue has been resolved. :)
Title: Re: Profile Statuses
Post by: eyo on January 29, 2011, 07:02:17 PM
can you tell me how? lol
Title: Re: Profile Statuses
Post by: ascaland on January 29, 2011, 09:07:49 PM
Reinstall the modification with the updated package. :)
Title: Re: Profile Statuses
Post by: eyo on January 29, 2011, 09:34:20 PM
ok thanks. didnt see it was update today :)
Title: Re: Profile Statuses
Post by: Neverhurry on January 30, 2011, 06:45:01 AM
Project Evolution,

that is a fantastic mod, but could you please have a look at the picture, is it difficult to show the last Profile Status here on the forum home page under the members name? And to make it more convenient to input new status, just to place one's mouse there and click, that will be great. I got this screen shot from Noisen.com

thanks a lot in advance

Paul

PS: Does this mod support SMF 2.0 RC3, i have too many mods installed and would like to wait a bit to upgrade to RC4.
Title: Re: Profile Statuses
Post by: ascaland on January 30, 2011, 11:42:20 AM
Quote from: Neverhurry on January 30, 2011, 06:45:01 AM
Project Evolution,

that is a fantastic mod, but could you please have a look at the picture, is it difficult to show the last Profile Status here on the forum home page under the members name? And to make it more convenient to input new status, just to place one's mouse there and click, that will be great. I got this screen shot from Noisen.com

thanks a lot in advance

Paul

PS: Does this mod support SMF 2.0 RC3, i have too many mods installed and would like to wait a bit to upgrade to RC4.

That sounds like a great idea which I can use for version 1.1 of the mod. I took a look at the site and I understand what you mean. I will implement it into SSI for the next version.

And as far as I know it should work for RC3.
Title: Re: Profile Statuses
Post by: Boricua012 on January 30, 2011, 09:37:51 PM
Does this mod work for Ultimate profile? Also, a code to show everyones status on a sidebar would be awesome.
Title: Re: Profile Statuses
Post by: ascaland on January 30, 2011, 10:00:22 PM
Quote from: Boricua012 on January 30, 2011, 09:37:51 PM
Does this mod work for Ultimate profile? Also, a code to show everyones status on a sidebar would be awesome.

I havnt tested it to work with Ultimate Profile but I imagine it wouldnt. And another idea, thanks.
Title: Re: Profile Statuses
Post by: De[v] on February 18, 2011, 12:10:37 AM
No problems on install but it does not work with '2.0 RC5' is there something i can do to this to make it work?
Title: Re: Profile Statuses
Post by: ascaland on February 18, 2011, 12:26:01 PM
I havnt tested it on RC5 yet, but I will tonight and update it if I need to.
Title: Re: Profile Statuses
Post by: ascaland on February 18, 2011, 05:04:47 PM
Quote from: De[v] on February 18, 2011, 12:10:37 AM
No problems on install but it does not work with '2.0 RC5' is there something i can do to this to make it work?

It works on RC5 I just double checked. Did you enable the feature through your profile in Modify Profile -> Forum Profile?
Title: Re: Profile Statuses
Post by: De[v] on February 19, 2011, 08:13:23 PM
 :o no, Thx works now,
Title: Re: Profile Statuses
Post by: alsaka on February 25, 2011, 05:09:24 PM
not work with '2.0 RC5'
i install mod Successfully
Modifications and Packages >> Profile Statuses >> Enable Profile Statuses is active
>>Display statuses per page [5]
>>Set max length of messages [20]

but when i join my profile  , I can't see any place to write case
Title: Re: Profile Statuses
Post by: ascaland on February 25, 2011, 05:46:33 PM
Quote from: alsaka on February 25, 2011, 05:09:24 PM
not work with '2.0 RC5'
i install mod Successfully
Modifications and Packages >> Profile Statuses >> Enable Profile Statuses is active
>>Display statuses per page [5]
>>Set max length of messages [20]

but when i join my profile  , I can't see any place to write case

Did you enable Profile Statuses for your profile? That can be found through: Modify Profile -> Forum Profile.
Title: Re: Profile Statuses
Post by: alsaka on February 26, 2011, 03:56:01 AM
Quote from: Project Evolution on February 25, 2011, 05:46:33 PM

Did you enable Profile Statuses for your profile? That can be found through: Modify Profile -> Forum Profile.

yes thx Project Evolution its solved now
nice mod
Title: Re: Profile Statuses
Post by: alsaka on February 26, 2011, 02:17:13 PM
i need more Characters


[Your message is too long, please try again.]
Title: Re: Profile Statuses
Post by: ascaland on February 26, 2011, 02:37:02 PM
Go into the admin control panel and increase the maximum length of statuses. This restriction is set so people cant bombard their profiles with long statuses and/or replies.
Title: Re: Profile Statuses
Post by: ascaland on March 01, 2011, 11:30:39 PM
I have updated the mod to version 1.1. It fixed some bugs, one of them actually replaced the statistics area in the profile.
Title: Re: Profile Statuses
Post by: agent47 on March 11, 2011, 08:36:06 PM
Pretty awesome. Just what I was looking for.
Just one thing though, now since I'm using Tiny Portal is there any way I can display "top 5 status updates" on the homepage with the use of a PHP/HTML block? That'll be really cool.
Title: Profile Statuses
Post by: agent47 on March 12, 2011, 07:26:34 AM
I had 2 errors while trying to install this and I'm assuming it's because I have Ultimate Profile installed.
So please help me out with this someone.
I've attached the two files which gave issues while trying to install the package.
Here are the codes the package had trouble replacing them with. Please replace/add before them on the attached files and re-attach them so that I can upload them back to my server. Thanks in advance.


Find (/Themes/default/Profile.template.php):
echo '
</div>
<span class="botslice"><span></span></span>
</div>
</div>
<div class="clear"></div>
</div>';
}


Replace with:
echo '
</div>
<span class="botslice"><span></span></span>
</div>
</div>';

if (!empty($modSettings['profile_statuses_enable']) && $context['member']['profilestatuses']['enabled'] == 1) {

echo '<br class="clear" />
<br />
<div id="detailedinfo">
<div class="cat_bar">
<h3 class="catbg">
<span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" class="icon" />', $txt['profile_statuses'], '</span>
</h3>
</div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">';

if ($context['user']['is_owner'] || allowedTo('profile_extra_any')) {
echo '<form action="' . $scripturl . '?action=profile;area=poststatus" method="post" accept-charset="', $context['character_set'], '">
<label for="status"><strong>' . $txt['update_status_text'] . '</strong> <textarea name="status" rows="4" style="width: 95%; margin: 5px;"></textarea></label>
<input type="hidden" name="sc" value="' . $context['session_id'] . '" />
<input type="submit" name="submit" value="' . $txt['statuses_submit'] . '" />&nbsp;&nbsp;<label for="locked">' . $txt['statuses_lock_status'] . ' <input type="checkbox" name="locked" value="1" /></label>
</form>
<dl></dl>';
}

if (isset($context['statuses'])) {
$status_count = count($context['statuses']);
for ($i = 0; $i < $status_count; $i++) {
echo '
<dl>
<dt>
<a href="' . $scripturl . '?action=profile;u=' . $context['statuses'][$i]['member_id'] . ';">' . $context['statuses'][$i]['name'] . '</a><div class="smalltext">' . $context['member']['title'] . '<br /><br />' . $context['member']['avatar']['image'] . '<br /></div>';

if ($context['user']['is_owner'] || allowedTo('profile_extra_any')) {
echo '<a href="' . $scripturl . '?action=profile;area=deletestatus;s=' . $context['statuses'][$i]['status_id'] . ';sesc=' . $context['session_id'] . '" style="font-weight: normal; font-size: 7pt;">' . $txt['statuses_delete'] . '</a> <a href="' . $scripturl . '?action=profile;area=lockstatus;s=' . $context['statuses'][$i]['status_id'] . ';sesc=' . $context['session_id'] . '" style="font-weight: normal; font-size: 7pt;">' . ($context['statuses'][$i]['locked'] == 0 ? $txt['statuses_lock'] : $txt['statuses_unlock']) . '</a>';
}

echo '</dt>
<dd>
' . ($context['statuses'][$i]['locked'] > 0 ? '<img src="' . $settings['theme_url'] . '/images/topic/normal_post_locked.gif" alt="" /> ' : '') . '' . parse_bbc($context['statuses'][$i]['post']) . '
<div class="smalltext">' . $context['statuses'][$i]['date'] . '</div>
</dd>
<dd>
<table width="75%" border="0" cellspacing="0" cellpadding="4" align="left" class="tborder">';
if (isset($context['replies'][$i])) {
$reply_count = count($context['replies'][$i]);
for ($j = 0; $j < $reply_count; $j++) {
if ($j & 1) {
echo '
<tr>
<td class="windowbg2" style="max-width: 300px; max-height: 300px;">
<a href="' . $scripturl . '?action=profile;u=' . $context['replies'][$i][$j]['member_id'] . ';">' . $context['replies'][$i][$j]['name'] . '</a> - ' . $context['replies'][$i][$j]['date'] . ' ' . ($context['user']['is_owner'] || allowedTo('profile_extra_any') ? '<a href="' . $scripturl . '?action=profile;area=deletereply;reply=' . $context['replies'][$i][$j]['reply_id'] . ';sesc=' . $context['session_id'] . '" style="font-weight: normal; font-size: 7pt;">' . $txt['statuses_delete'] . '</a>' : '') . '
<hr />
<div style="width: 300px; height: 40px; overflow: auto;">' . $context['replies'][$i][$j]['reply'] . '</div>
</td>
</tr>';
} else {
echo '
<tr>
<td class="windowbg" style="max-width: 300px; max-height: 300px;">
<a href="' . $scripturl . '?action=profile;u=' . $context['replies'][$i][$j]['member_id'] . ';">' . $context['replies'][$i][$j]['name'] . '</a> - ' . $context['replies'][$i][$j]['date'] . ' ' . ($context['user']['is_owner'] || allowedTo('profile_extra_any') ? '<a href="' . $scripturl . '?action=profile;area=deletereply;reply=' . $context['replies'][$i][$j]['reply_id'] . ';sesc=' . $context['session_id'] . '" style="font-weight: normal; font-size: 7pt;">' . $txt['statuses_delete'] . '</a>' : '') . '
<hr />
<div style="width: 300px; height: 40px; overflow: auto;">' . $context['replies'][$i][$j]['reply'] . '</div>
</td>
</tr>';
}
}
}

echo '
</tr>
<tr class="catbg">
<th style="text-align: left;"><div class="smalltext">' . ($context['statuses'][$i]['locked'] == 0 ? '<a href="javascript: void(0)" onclick="activateReplyBox(' . $context['statuses'][$i]['status_id'] . ')">' . $txt['statuses_comment'] . '</a>' : '') . ' - ' . ($context['reply_total'][$i] > 3 ? '<a href="' . $scripturl . '?action=profile;area=showstatus;s=' . $context['statuses'][$i]['status_id'] . '">' . $txt['statuses_view_all'] . ' (' . $context['reply_total'][$i] . ') ' . $txt['statuses_comments']. '</a>' : '') . '</div></th>
</tr>

<tr>
<td id="profile_statuses_replybox' . $context['statuses'][$i]['status_id'] . '" class="windowbg"></td>
</tr>
</table>
</dd>
</dl>';
}
}

echo constructPageIndex($scripturl . '?action=profile;u=' . $context['member_id'] . ';status=%d', $context['start'], $context['total'], $context['statuses_per_page'], true);

echo '
</div>
<span class="botslice"><span></span></span>
</div>
</div>';
}

echo '<div class="clear"></div>
</div>';
}

function template_showStatus() {

global $context, $txt, $modSettings, $settings, $scripturl;

echo '
<div id="basicinfo">
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content flow_auto">
' . $txt['statuses_showing_reply_total_pre'] . '' . ($context['reply_total'] > 0 ? $context['reply_total'] : 0) . '' . $txt['statuses_showing_reply_total_suf'] . '
</div>
<span class="botslice"><span></span></span>
</div>
</div>
<div id="detailedinfo">
<div class="cat_bar">
<h3 class="catbg">
<span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" class="icon" />', $txt['statuses_showing_status'], '' . $context['status'] . '</span>
</h3>
</div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<form action="' . $scripturl . '?action=profile;area=postreply" method="post" accept-charset="', $context['character_set'], '">
<label for="status"><strong>' . $txt['statuses_showing_status_reply'] . '</strong> <textarea name="reply" rows="4" style="width: 95%; margin: 5px;"></textarea></label>
<input type="hidden" name="sc" value="' . $context['session_id'] . '" />
<input type="hidden" value="' . $context['status'] . '" name="s" />
<input type="submit" name="submit" value="' . $txt['statuses_submit'] . '" />
</form>
<dl></dl>';

echo '
<dl>
<dt>
<a href="' . $scripturl . '?action=profile;u=' . $context['statuses']['member_id'] . ';">' . $context['statuses']['name'] . '</a><div class="smalltext">' . $context['member']['title'] . '<br /><br />' . $context['member']['avatar']['image'] . '<br /></div>';

if ($context['user']['is_owner'] || allowedTo('profile_extra_any')) {
echo '<a href="' . $scripturl . '?action=profile;area=deletestatus;s=' . $context['statuses']['status_id'] . ';sesc=' . $context['session_id'] . '" style="font-weight: normal; font-size: 7pt;">' . $txt['statuses_delete'] . '</a> <a href="' . $scripturl . '?action=profile;area=lockstatus;s=' . $context['statuses']['status_id'] . ';sesc=' . $context['session_id'] . '" style="font-weight: normal; font-size: 7pt;">' . ($context['statuses']['locked'] == 0 ? $txt['statuses_lock'] : $txt['statuses_unlock']) . '</a>';
}

echo '</dt>
<dd>
' . ($context['statuses']['locked'] > 0 ? '<img src="' . $settings['theme_url'] . '/images/topic/normal_post_locked.gif" alt="" /> ' : '') . '' . parse_bbc($context['statuses']['post']) . '
<div class="smalltext">' . $context['statuses']['date'] . '</div>
</dd>
<dd>
<table width="75%" border="0" cellspacing="0" cellpadding="4" align="left" class="tborder">';
if (isset($context['replies'])) {
$reply_count = count($context['replies']);
for ($i = 0; $i < $reply_count; $i++) {
if ($i & 1) {
echo '
<tr>
<td class="windowbg2" style="max-width: 300px; max-height: 300px;">
<a href="' . $scripturl . '?action=profile;u=' . $context['replies'][$i]['member_id'] . ';">' . $context['replies'][$i]['name'] . '</a> - ' . $context['replies'][$i]['date'] . ' ' . ($context['user']['is_owner'] || allowedTo('profile_extra_any') ? '<a href="' . $scripturl . '?action=profile;area=deletestatus;reply=' . $context['replies'][$i]['reply_id'] . ';sesc=' . $context['session_id'] . '" style="font-weight: normal; font-size: 7pt;">' . $txt['statuses_delete'] . '</a>' : '') . '
<hr />
<div style="width: 400px; height: 60px; overflow: auto;">' . $context['replies'][$i]['reply'] . '</div>
</td>
</tr>';
} else {
echo '
<tr>
<td class="windowbg" style="max-width: 300px; max-height: 300px;">
<a href="' . $scripturl . '?action=profile;u=' . $context['replies'][$i]['member_id'] . ';">' . $context['replies'][$i]['name'] . '</a> - ' . $context['replies'][$i]['date'] . ' ' . ($context['user']['is_owner'] || allowedTo('profile_extra_any') ? '<a href="' . $scripturl . '?action=profile;area=deletereply;reply=' . $context['replies'][$i]['reply_id'] . ';sesc=' . $context['session_id'] . '" style="font-weight: normal; font-size: 7pt;">' . $txt['statuses_delete'] . '</a>' : '') . '
<hr />
<div style="width: 300px; height: 40px; overflow: auto;">' . $context['replies'][$i]['reply'] . '</div>
</td>
</tr>';
}
}
}

echo '
</tr>
<tr class="catbg">
<th>&nbsp;</th>
</tr>

<tr>
<td id="profile_statuses_replybox' . $context['statuses']['status_id'] . '" class="windowbg"></td>
</tr>
</table>
</dd>
</dl>';

echo '
</div>
<span class="botslice"><span></span></span>
</div>
</div>';

echo '<div class="clear"></div>
</div>';
}


Find (./Sources/Load.php):
'aim' => $profile['aim'] != '' && (empty($modSettings['guest_hideContacts']) || !$user_info['is_guest']) ? array(
'name' => $profile['aim'],
'href' => 'aim:goim?screenname=' . urlencode(strtr($profile['aim'], array(' ' => '%20'))) . '&amp;message=' . $txt['aim_default_message'],
'link' => '<a class="aim" href="aim:goim?screenname=' . urlencode(strtr($profile['aim'], array(' ' => '%20'))) . '&amp;message=' . $txt['aim_default_message'] . '" title="' . $txt['aim_title'] . ' - ' . $profile['aim'] . '"><img src="' . $settings['images_url'] . '/aim.gif" alt="' . $txt['aim_title'] . ' - ' . $profile['aim'] . '" /></a>',
'link_text' => '<a class="aim" href="aim:goim?screenname=' . urlencode(strtr($profile['aim'], array(' ' => '%20'))) . '&amp;message=' . $txt['aim_default_message'] . '" title="' . $txt['aim_title'] . ' - ' . $profile['aim'] . '">' . $profile['aim'] . '</a>'
) : array('name' => '', 'href' => '', 'link' => '', 'link_text' => ''),


Add before:

'profilestatuses' => $profile['profilestatuses'] != '' && (!$user_info['is_guest']) ? array(
'name' => $txt['profile_statuses'],
'enabled' => $profile['profilestatuses']
) : array('name' => '', 'enabled' => ''),
Title: Re: Profile Statuses
Post by: ascaland on March 12, 2011, 07:47:23 PM
Give the attatched below a try.
Title: Re: Profile Statuses
Post by: agent47 on March 12, 2011, 07:53:44 PM
I'm gonna try it now buddy.. Please stick around.
Title: Re: Profile Statuses
Post by: agent47 on March 12, 2011, 08:02:36 PM
Doesn't work man....even after enabling it from admin pane and forum profile.
Title: Re: Profile Statuses
Post by: ascaland on March 12, 2011, 08:45:14 PM
Quote from: agent47 on March 12, 2011, 08:02:36 PM
Doesn't work man....even after enabling it from admin pane and forum profile.

Can I have a link to your forum?
Title: Re: Profile Statuses
Post by: agent47 on March 13, 2011, 05:28:26 AM
www.superheroalliance.net
Title: Re: Profile Statuses
Post by: ascaland on March 13, 2011, 12:10:04 PM
Looks like this mod just isnt compatible with the Ultimate Profile mod. To get this to work you would obviously have to disable Ultimate Profile... But give me a week or two and I will update this so it can work properly with UP installed.

But im not sure why the edits I gave you wouldnt work...
Title: Re: Profile Statuses
Post by: Xarcell on March 14, 2011, 06:05:10 PM
Quote from: Project Evolution on March 13, 2011, 12:10:04 PM
Looks like this mod just isnt compatible with the Ultimate Profile mod. To get this to work you would obviously have to disable Ultimate Profile... But give me a week or two and I will update this so it can work properly with UP installed.

But im not sure why the edits I gave you wouldnt work...

I'll most likely use this mod once it's compatible with UP.
Title: Re: Profile Statuses
Post by: Rain Forest on March 16, 2011, 08:15:25 AM
Nice mod! I will use it! :)

Somehow, this mod is not comtable with the Member Color Link

(http://www.decashare.com/images/GL6mEwM3s-Untitled-2.jpg)

Name should me orange. How to fix? :)
Title: Re: Profile Statuses
Post by: ascaland on March 16, 2011, 12:07:40 PM
Cool, thanks for giving me the heads up. I will be sure to include that in the next version of Profile Statuses. :)

As for a quick fix, give me some time today to get you one. Im a little short on time. :P
Title: Re: Profile Statuses
Post by: Rain Forest on March 19, 2011, 11:19:30 AM
Ok :)

Btw, smileys should be enabled in the next version! :)
Title: Re: Profile Statuses
Post by: ascaland on March 19, 2011, 12:46:11 PM
Im going to see if I could get the SMF editor in there as well. :)
Title: Re: Profile Statuses
Post by: fdr77 on March 22, 2011, 03:44:03 PM
News regard compatibility with the Ultimate Profile mod
Title: Re: Profile Statuses
Post by: ascaland on March 22, 2011, 04:21:14 PM
Currently working on that for version 1.2. Just finishing up integrating that SMF editor.
Title: Re: Profile Statuses
Post by: fdr77 on March 23, 2011, 12:59:47 PM
Thanks and good  work :)
Title: Re: Profile Statuses
Post by: ascaland on March 24, 2011, 07:25:19 PM
Finally Profile Statuses has reached version 2! The update includes compatibility with the Ultimate Profile modification and now uses SMF's editor as opposed to a simple textarea and filters out certain BB codes.
Title: Re: Profile Statuses - still too short and rejected
Post by: OCJ on March 24, 2011, 11:28:22 PM
I just set up the latest version on smf5 and getting the 'resolved' error.
status is too short and all data is lost going back to input.


Title: Re: Profile Statuses - still too short and rejected
Post by: ascaland on March 24, 2011, 11:41:01 PM
Quote from: igirisjin on March 24, 2011, 11:28:22 PM
I just set up the latest version on smf5 and getting the 'resolved' error.
status is too short and all data is lost going back to input.

Are you using Ultimate Profile? Are the statuses/replies your sending more than 4 characters in length?

I tested this fine on a blank RC5 forum and im having no problems. Anyone else having this problem?
Title: Re: Profile Statuses
Post by: OCJ on March 27, 2011, 01:32:37 AM
no portal ... the statuses were varying lengths but 3 characters or 100 characters gives the same 'too short' message.

Display statuses per page - set to '0'
Set max length of messages 200
Title: Re: Profile Statuses
Post by: ascaland on March 27, 2011, 01:39:04 AM
Quote from: igirisjin on March 27, 2011, 01:32:37 AM
no portal ... the statuses were varying lengths.

My apologies I meant Ultimate Profile...
Title: Re: Profile Statuses
Post by: OCJ on March 27, 2011, 01:46:44 AM
Not using ultimate profile - is it needed?
Title: Re: Profile Statuses
Post by: ascaland on March 27, 2011, 01:51:21 AM
Quote from: igirisjin on March 27, 2011, 01:46:44 AM
Not using ultimate profile - is it needed?

Nope, not at all. Just checking to make sure there is no problems in it with UP installed.
Hmmm, I cant seem to replicate this error though...
Title: Re: Profile Statuses
Post by: Xarcell on March 27, 2011, 03:52:44 PM
Ok, I have installed version 2 and successfully activated it without any problems.errors.

I have Ultimate Profile installed.

I cannot find where I enter in my status. Surely I'm overlooking it?
Title: Re: Profile Statuses
Post by: ascaland on March 27, 2011, 03:54:36 PM
Quote from: Xarcell on March 27, 2011, 03:52:44 PM
Ok, I have installed version 2 and successfully activated it without any problems.errors.

I have Ultimate Profile installed.

I cannot find where I enter in my status. Surely I'm overlooking it?

Did you enable it in your profile -> Forum Profile?
Also, if thats enabled, did you install Profile Statuses before UP?
Title: Re: Profile Statuses
Post by: Xarcell on March 27, 2011, 04:11:43 PM
Quote from: Project Evolution on March 27, 2011, 03:54:36 PM
Quote from: Xarcell on March 27, 2011, 03:52:44 PM
Ok, I have installed version 2 and successfully activated it without any problems.errors.

I have Ultimate Profile installed.

I cannot find where I enter in my status. Surely I'm overlooking it?

Did you enable it in your profile -> Forum Profile?
Also, if thats enabled, did you install Profile Statuses before UP?

I see now, I didn't enable it via profile. Only in admin.

Off to play with it now.

Thanks.
Title: Re: Profile Statuses
Post by: Xarcell on March 27, 2011, 04:35:10 PM
I have to admin, as wonderful as this mod is, it's not very friendly on the eyes. It's hard to tell what's-what...

I'll brainstorm on how to make it look better.

1.| I know it's meant to look like facebook, but FB allows you to hit enter to submit a comment, so that subtracts the submit button. But that's ok how you've done it.
2.| Avatars of of status post should be no bigger than 40x40, and comment avatars should be no larger than 25x25. Comment avatars should be shown.
3.| Comments background of each status should be windowbg3 or approvebg, with 2-3px margin in between.
4.| More padding to the left on comments to status...
5.| Text of status should be slightly larger than comment text. Very slightly.
6.| move [delete][lock] beside timestamp on status.
7.| Status comments should be in windowbg/windowbg2 alternation, not comments see # 3.

I would like to see an option to hide BBC panel and smaller textarea for profile status.

Just are just some thoughts, very nice mod BTW.

:)
Title: Re: Profile Statuses
Post by: ascaland on March 27, 2011, 04:51:44 PM
Thanks for your suggestions, I just want to point out some things.

1. At the time, using the enter key to submit wasnt around yet so I didnt add it in. However I personally (and other people I know as well) find it annoying so I thought I would just leave it. :)
2. Cool, I will tone down the status avatars. Just wondering, I dont know if im going to add comment avatars simply because I think it would make the comment space too cluttered and I wanted to make the comment area simple and clean.
3. I will look into that actually.
4. I would be more than happy to do that, as I also agree it cna be changed. Are you meaning the text in each comment box or is this the entire box under the actual status?
5. I agree it should be slightly larger. However, I kept the font size option available on the editor so users can choose from the defined sizes.

So you want an option to hide the BBC editor and replace it with a simple textarea? :)
Title: Re: Profile Statuses
Post by: fdr77 on March 27, 2011, 08:39:37 PM
Thank you ;)
Title: Re: Profile Statuses
Post by: NHWD on April 14, 2011, 05:47:40 AM
Is there a way to have this mod automatically enabled for everybody instead of the members having to enable it themselves?
Title: Re: Profile Statuses
Post by: ascaland on April 14, 2011, 12:44:47 PM
Quote from: CL0WNER on April 14, 2011, 05:47:40 AM
Is there a way to have this mod automatically enabled for everybody instead of the members having to enable it themselves?

In the install.php script, change this,
$smcFunc['db_add_column']("{db_prefix}members",
array(
        'name' => 'profilestatuses',
        'type' => 'int(1)',
        'null' => false,
        ), array(), 'do_nothing', ''
);


To this,
$smcFunc['db_add_column']("{db_prefix}members",
array(
        'name' => 'profilestatuses',
        'type' => 'int(1)',
        'null' => false,
                'default' => 1,
        ), array(), 'do_nothing', ''
);


This is all from memory. ;)
Title: Re: Profile Statuses
Post by: NHWD on April 15, 2011, 01:03:56 AM
wow thanks!
Title: Re: Profile Statuses
Post by: ascaland on April 17, 2011, 04:33:33 PM
Profile Statuses version 2.1 is out! I recommend users to please update to this version. :)
The changes can be found in the changelog list (last two).
Title: Re: Profile Statuses
Post by: waruna on April 18, 2011, 01:46:56 PM
Hi..

May I ask one question? I just want the status to be shown in post profile only (below avatar), not in profile summary because I've set my forum users cannot view any profile.

Can it be done? Thanks.
Title: Re: Profile Statuses
Post by: Caltan on April 18, 2011, 03:39:08 PM
Even with the profile_extra_any permission option enabled, users are unable to add statuses to any profile but their own.  The status add box shows up, but the status posts to that user's profile rather than on the profile they had been viewing. 
Title: Re: Profile Statuses
Post by: ascaland on April 18, 2011, 04:15:21 PM
Quote from: waruna on April 18, 2011, 01:46:56 PM
Hi..

May I ask one question? I just want the status to be shown in post profile only (below avatar), not in profile summary because I've set my forum users cannot view any profile.

Can it be done? Thanks.

Im sure it can be done, only problem is everything would have to be minimized and im not sure how I would work out having to display these statuses for others to see.

Quote from: Caltan on April 18, 2011, 03:39:08 PM
Even with the profile_extra_any permission option enabled, users are unable to add statuses to any profile but their own.  The status add box shows up, but the status posts to that user's profile rather than on the profile they had been viewing.

Well, users arent supposed to be making statuses on other user's profiles. Statuses are supposed to be for the user to make on their own profile, and having others reply to it.
Title: Re: Profile Statuses
Post by: Caltan on April 18, 2011, 04:57:23 PM
QuoteWell, users arent supposed to be making statuses on other user's profiles. Statuses are supposed to be for the user to make on their own profile, and having others reply to it.

Okay, but then why is there a permissions option to do so?  :)  If I want administrators or moderators to make comments on profiles this status mod is the way to go, but even the userid #1 admin, when entering a new status on a user's profile, actually ends up appending it to their own profile.  This is not correct.
Title: Re: Profile Statuses
Post by: ascaland on April 18, 2011, 05:24:46 PM
Thanks for catching that. :)
I also fixed a tiny problem which was causing an error in the error log. If you find anything else dont hesitate to post. :p
Title: Re: Profile Statuses
Post by: Caltan on April 18, 2011, 07:36:52 PM
In version 2.2 profile_extra_any users do not see the status post box at all.  I find it a little disappointing that you'd remove the functionality rather than fix the bug; is fixing it anywhere on your roadmap at all, or do I need to look elsewhere for a simple, user-friendly mod that does exactly this?
Title: Re: Profile Statuses
Post by: ascaland on April 18, 2011, 07:40:49 PM
Quote from: Caltan on April 18, 2011, 07:36:52 PM
In version 2.2 profile_extra_any users do not see the status post box at all.  I find it a little disappointing that you'd remove the functionality rather than fix the bug; is fixing it anywhere on your roadmap at all, or do I need to look elsewhere for a simple, user-friendly mod that does exactly this?

When I designed this mod I wasnt looking to have special membergroups post statuses on another user's profile, which is why I gave the option for those special groups to simply lock and delete statuses. I could implement this in a later version, but right now I dont have the time to create such features. If you dont like it, use something else.
Title: Re: Profile Statuses
Post by: RvG on May 28, 2011, 09:07:12 AM
Hi PE, i have installed, enabled it but where to find the box to update the status?
Title: Re: Profile Statuses
Post by: ascaland on May 28, 2011, 10:28:44 AM
Did you enable it in your profile?
Your Profile -> Forum Profile -> Enable Profile Statuses?
Title: Re: Profile Statuses
Post by: OCJ on May 31, 2011, 06:23:18 AM
Version 2.2 is working for me now ... older one wasn't.
Thanks...BTW, youve got some great mods.

An idea... the profile statuses can only be seen on each persons page, rather than the typical shared activity stream between friends of many social networks.
Just an idea but an admin option to post statuses as a topic in a chosen board might be a nice idea. They could be seen all together there.
Title: Re: Profile Statuses
Post by: ascaland on May 31, 2011, 12:00:35 PM
Hey I like that idea. I will look into it for the next version. Im not going to be able to update my mods for a while though, so patience is the best we have. :P
Title: Re: Profile Statuses
Post by: KensonPlays on May 31, 2011, 04:18:22 PM
Looks nice :) Installing! (get my friends to switch FROM facebook lol :P)
Title: Re: Profile Statuses
Post by: treehugger on July 09, 2011, 09:09:55 AM
Am having a problem with the mod - it didnt install properly first time and I had to make changes to profile.templete and Load.php. Next time it said all tests were successful and it installed fine but now when I go to Admin/Configuration/Mod Settings/Profile Statuses I get the message "The website cannot display the page" - same when I try to go to my profile.

Am using SMF 2.0 RC5  and I do have Ultimate Profile installed already.
Title: Re: Profile Statuses
Post by: ascaland on July 09, 2011, 01:33:47 PM
Quote from: treehugger on July 09, 2011, 09:09:55 AM
Am having a problem with the mod - it didnt install properly first time and I had to make changes to profile.templete and Load.php. Next time it said all tests were successful and it installed fine but now when I go to Admin/Configuration/Mod Settings/Profile Statuses I get the message "The website cannot display the page" - same when I try to go to my profile.

Am using SMF 2.0 RC5  and I do have Ultimate Profile installed already.

I dont think Profile Statuses should have caused a problem like that. Are you sure you editted everything correctly in Load.php?
Title: Re: Profile Statuses
Post by: treehugger on July 09, 2011, 05:56:44 PM
Sorry to take so long replying - email notification didn't arrive for some reason.

After I posted I had a panic and took the mod off - I also couldn't get to the forum posts  - was getting a message showing saying something about a mem.profilestatuses column in the database and mention of the database always gives me the jitters.

As I said, the mod installed fine once I'd made the changes, but looking at the Load file that I took off I see    mem.openid_uri, mem.profilestatuses, mem.profilestatuses, mem.profilestatuses, mem.birthdate, mem.icq, - haven't a clue how that happened.

When the old nerves have settled I'll try uploading a clean copy of the file and then making the changes again and see what happens.
Title: Re: Profile Statuses
Post by: MiY4Gi on July 10, 2011, 07:57:05 PM
Quote from: igirisjin on May 31, 2011, 06:23:18 AM
Version 2.2 is working for me now ... older one wasn't.
Thanks...BTW, youve got some great mods.

An idea... the profile statuses can only be seen on each persons page, rather than the typical shared activity stream between friends of many social networks.
Just an idea but an admin option to post statuses as a topic in a chosen board might be a nice idea. They could be seen all together there.


Quote from: Project Evolution on May 31, 2011, 12:00:35 PM
Hey I like that idea. I will look into it for the next version. Im not going to be able to update my mods for a while though, so patience is the best we have. :P

Can we have an ETA?  :P Igirisjin's idea would be an excellent addition to the mod.

Also rather than having new threads posted each time (since it would be a hell of a lot of threads), why not create ONE thread titled Status Updates, and post each person status in there. Those posts could have a link to the status update in the relevant person's profile. The link could be called Reply, Reply Here, or something of that sort.

Oh, and is there a way to automatically purge outdated status updates? Perhaps you can make it so that only the latest 10 or 20 updates are stored, or give an option to specify the amount of status updates to store per user.
Title: Re: Profile Statuses
Post by: ascaland on July 10, 2011, 10:36:20 PM
No ETA available right now. Im on hiatus.
Title: Re: Profile Statuses An Error Has Occurred! Your message is too short...
Post by: OCJ on July 22, 2011, 03:43:05 AM
I used this mod a while ago but gave it  up as people were not enabling it in their options. ... so many people are PC/internet dumb.
Anyway, I just reinstalled it and used the code change to set it default enabled - that worked.
When I tried to leave a status message it gave this:
Quote
An Error Has Occurred!
Your message is too short, please try again.


even very long messages are being rejected and there seems to be no setting for minimum length - only max length.

?
Title: Re: Profile Statuses
Post by: ascaland on July 25, 2011, 01:14:59 PM
Hello igirisjin, I have a feeling this problem may be steming from an SMF 2 update that was made. I tested this on SMF 2 RC5 and it works, however on a clean SMF 2 installation it actually fails to send the status at all. I will look into this and update as soon as I can.
Title: Re: Profile Statuses
Post by: OCJ on July 25, 2011, 11:24:54 PM
Thanks, I was wondering if it was a setting left over in the database from previous versions installed several months ago. Anyway, no rush, I will be happy when it works for me.
Title: Re: Profile Statuses
Post by: MissyNL on July 26, 2011, 04:03:15 PM
This is really a nice mod :) An enhancement would really be if i could show a block on my Simple portal frontpage showing the status of my friends in where i could reply in... that really would be a nice FB like addon...
Title: Re: Profile Statuses
Post by: MiY4Gi on August 09, 2011, 01:07:11 PM
Alright, here are my suggestions for this mod:

- Create PHP code that can go in any portal block to show the statuses with a link to the comments page.

- Show each member's status in their forum signatures, just above their main signatures. Display the status inside a bb quote. Instead of using "Quote by User, Date" in the quote header, rather use "My Status". The quote header should be a link to the comments page. The status in the sig should only show the latest user status, in other words, the status displayed should be dynamic.

- Incorporate permissions for who can view the status (in the signatures, and elsewhere).

- In each person's profile/status-page show everyone else's latest status in a column or block, also in bb quotes. This could also be subject to certain permissions.

- For a bb quote, I'm particularly fond of the vBulletin style quotes. It's very simple in that it only has a thin line surrounding the quote in the shape of a speech bubble. I'm currently adapting the vb quotes to my forum's theme. For some reason the quotes have a white background. I'm gonna attempt to make this background transparent, and only keep the thin line surrounding the quotes. See Quote and Code like VB4 (http://dragomano.ru/page/quote-and-code-like-vb4).

- If you're not doing it already, try to incorporate Ajax into the status comments page, so that the whole page doesn't reload every time you post a comment.

- If you're not doing it already, incorporate bbcode into the comments. 
Title: Re: Profile Statuses
Post by: ascaland on August 09, 2011, 10:08:23 PM
Im implementing some of the suggested features into version 2.3 as the bug has been fixed. :)
Ive been thinking about the status topics idea suggested by igirisjin, however I cant really decide between relaying statuses to either a board or a topic. Both have their reasons. Although I was thinking of having a topic for each user, then any updated status would go in their individual topic.

Any suggestions/ideas?
Title: Re: Profile Statuses
Post by: MiY4Gi on August 10, 2011, 09:12:07 AM
Quote from: Project Evolution on August 09, 2011, 10:08:23 PM
Im implementing some of the suggested features into version 2.3 as the bug has been fixed. :)
Ive been thinking about the status topics idea suggested by igirisjin, however I cant really decide between relaying statuses to either a board or a topic. Both have their reasons. Although I was thinking of having a topic for each user, then any updated status would go in their individual topic.

Any suggestions/ideas?

I think a key requirement for this mod is exposure to forum users. People should be able to see everyone's status's in as many places as possible. A dedicated board/topic helps with exposure, and I have suggestions in that regard.

A board could contain everyone's status's, but then what would the topic titles be? If the topic titles are just the usernames, nobody would be able to tell whether someone has an interesting status or not, so they would need to browse through everyone's status (well, only the ones with new posts).

A single topic would be more compact, but then having status replies in that topic as well would make everything confusing since one status would be difficult to tell apart from another.

If you do want to relay status to the forum, then rather use a board. Admins should be allowed to pick the location of the board, or if need be, create a new board with a name, description and location of their choice.

Use usernames for the each topics title, however inside each topic, use different names for the post titles. Since the topics title is set in the OP, make the opening post contain only a description of the user. The OP should have the users avatar etc, as if he himself had posted the topic.

Each status update (note: this excludes the OP) should have a unique post title, and any replies to that status update, could have that same title, but it would "Re:" in front.

Also, a user should be able to reply inside the forum board, as well as in the users profile. Both should be synchronized, so that if someone edits a post in the board, then that post would automatically change in the relevant user's profile. 

Now, all of this is just to increase exposure of status updates. So, all of my previous suggestions still stand.

     
Title: Re: Profile Statuses
Post by: ascaland on August 10, 2011, 11:30:08 AM
Well I was thinking oj just having a board used and then each new status gets posted with the actual status as the name. Because if usernames are used then status updates get relayed to the topic, people reply to them and have the ability to change up the title when they reply. One thing I dont want to do is change SMF's posting. So instead I was thinking just a topic for each status updates then have people simply reply to them.
Title: Re: Profile Statuses
Post by: MiY4Gi on August 10, 2011, 03:59:51 PM
I thought of that as well, but then the topic titles could become too long. Perhaps the first few words of the status update could be used for the title. For example:

Status: I've got a baby girl and she's full of life. We've decided to name her Bonnie.

Post Title: I've got a baby girl and she's full of life. We've...
Title: Re: Profile Statuses
Post by: ascaland on August 10, 2011, 07:49:45 PM
SMF has a function to shorten subjects (shorten_subject() I believe? :)), so thats no big deal.
Title: Re: Profile Statuses
Post by: ascaland on August 10, 2011, 10:32:48 PM
Hmm, after actually getting started I realize this is going to be too much work for a couple reasons. Firstly, other membergroups would be able to modify statuses even though they arent given the same permissions in the profiles. Modifying statuses and replies from actual topics will require permission changes for the person who owns the status in the actual status. And deleting and adding replies from the topic will require some modification.

Sorry guys but its actually an impractical idea for a mod, at least in one offered for general use. Dang.
Title: Re: Profile Statuses
Post by: bedeceived on August 11, 2011, 05:29:37 AM
Isn't there a way to just put a box at the bottom of the main index that will display the most recent statuses?  Like a "news feed"?
Title: Re: Profile Statuses
Post by: ascaland on August 11, 2011, 11:52:34 AM
Quote from: bedeceived on August 11, 2011, 05:29:37 AM
Isn't there a way to just put a box at the bottom of the main index that will display the most recent statuses?  Like a "news feed"?

I have incorporated this mod into SSI. So anywhere you need a list of the latest status posts can be retrieved using the ssi_retrieveLatestStatuses function and can help you customize the mod yourself if need be. But that feature may or may not be implemented, I have to think about that one.
Title: Re: Profile Statuses
Post by: MiY4Gi on August 11, 2011, 12:45:10 PM
Quote from: Project Evolution on August 10, 2011, 10:32:48 PM
Hmm, after actually getting started I realize this is going to be too much work for a couple reasons. Firstly, other membergroups would be able to modify statuses even though they arent given the same permissions in the profiles. Modifying statuses and replies from actual topics will require permission changes for the person who owns the status in the actual status. And deleting and adding replies from the topic will require some modification.

Sorry guys but its actually an impractical idea for a mod, at least in one offered for general use. Dang.

Which suggestion are you referring to? Are you saying all the suggestions are impractical?
Title: Re: Profile Statuses
Post by: ascaland on August 11, 2011, 01:23:17 PM
Quote from: MiY4Gi on August 11, 2011, 12:45:10 PM
Quote from: Project Evolution on August 10, 2011, 10:32:48 PM
Hmm, after actually getting started I realize this is going to be too much work for a couple reasons. Firstly, other membergroups would be able to modify statuses even though they arent given the same permissions in the profiles. Modifying statuses and replies from actual topics will require permission changes for the person who owns the status in the actual status. And deleting and adding replies from the topic will require some modification.

Sorry guys but its actually an impractical idea for a mod, at least in one offered for general use. Dang.

Which suggestion are you referring to? Are you saying all the suggestions are impractical?

Having statuses and replies relayed to topics. Maybe one day I will feature that but thats a big customization and definitely wont be in todays release.
Title: Re: Profile Statuses
Post by: MiY4Gi on August 11, 2011, 02:37:56 PM
Quote from: Project Evolution on August 11, 2011, 01:23:17 PM
Having statuses and replies relayed to topics. Maybe one day I will feature that but thats a big customization and definitely wont be in todays release.

Today's release?
Title: Re: Profile Statuses
Post by: ascaland on August 11, 2011, 03:35:27 PM
Yes, which will be version 2.3.
Title: Re: Profile Statuses
Post by: ascaland on August 12, 2011, 07:23:38 PM
Updated to version 2.3!
Title: Re: Profile Statuses
Post by: Sci-Fi_Fan on August 13, 2011, 09:31:59 AM
Hi, this mod is a great idea, but I keep getting the following error message when trying to post a status:

Quote
An Error Has Occurred!
The database value you're trying to insert does not exist: reply_count

Any ideas?
Title: Re: Profile Statuses
Post by: ascaland on August 13, 2011, 11:39:43 AM
Quote from: Sci-Fi_Fan on August 13, 2011, 09:31:59 AM
Hi, this mod is a great idea, but I keep getting the following error message when trying to post a status:

Quote
An Error Has Occurred!
The database value you're trying to insert does not exist: reply_count

Any ideas?

I dont know how the heck that could have slipped in there, but I fixed it so download the new archive in the mod page.
Title: Re: Profile Statuses
Post by: Sci-Fi_Fan on August 13, 2011, 11:44:44 AM
Quote from: Project Evolution on August 13, 2011, 11:39:43 AM
Quote from: Sci-Fi_Fan on August 13, 2011, 09:31:59 AM
Hi, this mod is a great idea, but I keep getting the following error message when trying to post a status:

Quote
An Error Has Occurred!
The database value you're trying to insert does not exist: reply_count

Any ideas?

I dont know how the heck that could have slipped in there, but I fixed it so download the new archive in the mod page.

Will do. Thanks for the prompt response!
Title: Re: Profile Statuses
Post by: Sci-Fi_Fan on August 13, 2011, 12:46:47 PM
That works great now, thanks!

If I may make one suggestion for improvement, though? Perhaps you could have an option to display the profile statuses either above or below the user profile summary? Just so it's more "obvious" that it's there when a user profile is clicked.

Other than that minor suggestion, this is a great mod and I hope you keep supporting it. Good work!
Title: Re: Profile Statuses
Post by: MiY4Gi on August 13, 2011, 12:49:48 PM
Alright, I installed this mod and enabled profile statuses, but I don't see any changes in my profile. I'm using 2.0 Gold. Do I need to have Ultimate Profile installed?

Also, have you implemented any of the suggestions we gave?
Title: Re: Profile Statuses
Post by: ascaland on August 13, 2011, 03:31:43 PM
Quote from: MiY4Gi on August 13, 2011, 12:49:48 PM
Alright, I installed this mod and enabled profile statuses, but I don't see any changes in my profile. I'm using 2.0 Gold. Do I need to have Ultimate Profile installed?

Also, have you implemented any of the suggestions we gave?

Yes I did however not all of them, this was more of a bugfix release with some updates. Did you enable it in your profile?
Title: Re: Profile Statuses
Post by: MiY4Gi on August 13, 2011, 05:02:13 PM
Ah, yes, I see now. I had to enable it in my profile. Is there any way to enable it by default?

Also, you should start working on some forms of exposure, otherwise no one will know who changed their status.

Edit: The avatars in the comments are too large. Maybe scale them down to 50px wide or so? Oh, the only avatar is the one belonging to the status poster, so I guess it's fine.
Title: Re: Profile Statuses
Post by: Sci-Fi_Fan on August 13, 2011, 05:04:22 PM
Quote from: MiY4Gi on August 13, 2011, 05:02:13 PM
Ah, yes, I see now. I had to enable it in my profile. Is there any way to enable it by default?

Also, you should start working on some forms of exposure, otherwise no one will know who changed their new status.

I was going to suggest you had some sort of "portal" or "recent status changes" list that can be switched on/off in the admin settings. Just so everyone can see when a new status has been posted.
Title: Re: Profile Statuses
Post by: ascaland on August 13, 2011, 06:57:31 PM
In the meantime I just left an SSI function in there that retrieves the most updated statuses since nothing specific came to mind yet.

What you can do is access phpmyadmin and run the followng query,
UPDATE smf_members
SET profilestatuses = 1


This will set all their settings to enable the feature.
Title: Re: Profile Statuses
Post by: MiY4Gi on August 13, 2011, 07:09:00 PM
Quote from: Project Evolution on August 13, 2011, 06:57:31 PM
In the meantime I just left an SSI function in there that retrieves the most updated statuses since nothing specific came to mind yet.

What you can do is access phpmyadmin and run the followng query,
UPDATE smf_members
SET profilestatuses = 1


This will set all their settings to enable the feature.

I'm the only member on my forum at the moment.

Running that query every time I get a new member is a little crazy. Is there a setting that turns on profile status for new members? Or is it already setup so that all new members have the feature turned on?
Title: Re: Profile Statuses
Post by: ascaland on August 13, 2011, 07:23:24 PM
You can just uninstall (entirely) and then reinstall the modification, however before you do, replace the install_db_2.php file with the attached.
Title: Re: Profile Statuses
Post by: MiY4Gi on August 14, 2011, 12:52:44 PM
Thanks for the help, however I decided put this mod on hold. A status mod needs some way to notify members of status updates. I'm going to wait for such a feature to be implemented before I give this mod another go.
Title: Re: Profile Statuses
Post by: OCJ on August 15, 2011, 01:28:27 PM
Just installed the new version on smf 2.0...

messages are being accepted but not over 40 characters - even when the limit is set higher in admin.
Title: Re: Profile Statuses
Post by: OCJ on August 15, 2011, 01:38:42 PM
As people have said, exposure is needed for this to be useful. If topic posts are not possible then maybe something like a shoutbox format on the board with a link to the persons profile. This way old profile statuses would drop off the end (admin limit to display like a shoutbox).
the ssi script isnt much use if you use a portal other than the SMF ones ... I use Joomla. SMF portals are not as good at handling multi-language pages, menus and mods.

Title: Re: Profile Statuses
Post by: ascaland on August 15, 2011, 01:51:21 PM
Quote from: igirisjin on August 15, 2011, 01:28:27 PM
Just installed the new version on smf 2.0...

messages are being accepted but not over 40 characters - even when the limit is set higher in admin.

This includes BB code and I believe HTML from the WYSIWYG editor.
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on August 15, 2011, 01:59:25 PM
Quote from: igirisjin on August 15, 2011, 01:28:27 PM
Just installed the new version on smf 2.0...

messages are being accepted but not over 40 characters - even when the limit is set higher in admin.

Temporary FIX for you..
To increase the amount of characters open
/Sources/Profile-Actions.php

Code (find) Select
if (strlen($_POST['status']) > 50) {
Code (replace) Select
if (strlen($_POST['status']) > $maxlen) {


Hope this helps till the developer decides to update the mod.
Title: Re: Profile Statuses
Post by: ascaland on August 15, 2011, 02:08:06 PM
Actually, just replace ENTER VALUE HERE with $maxlen. In the meantime I updated the mod. Probably going to give this and a couple other mods to new developers since I cant be bothered constantly updating these bigger mods.
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on August 15, 2011, 03:16:28 PM
I found a few problems with this mod and I am manually fixing these myself..
I will post all fix's when done so you can update..

EDIT: Edited previous post to include $maxlen
Title: Re: Profile Statuses
Post by: ascaland on August 15, 2011, 03:33:04 PM
Quote from: aljo1985 on August 15, 2011, 03:16:28 PM
I found a few problems with this mod and I am manually fixing these myself..
I will post all fix's when done so you can update..

EDIT: Edited previous post to include $maxlen

What sort of problems?
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on August 15, 2011, 04:44:35 PM
Things like.. Not deleting status replies, not updating totals.
No comment box on the full status mode.

Here is some fix's I applied to the code that made deleting and accurate counting.

In Profile.template

Code (find) Select
<a href="' . $scripturl . '?action=profile;u=' . $context['replies'][$i][$j]['member_id'] . '">' . $context['replies'][$i][$j]['name'] . '</a> - ' . $context['replies'][$i][$j]['date'] . ' ' . ($context['user']['is_owner'] || allowedTo('profile_extra_any') ? '<a href="' . $scripturl . '?action=profile;area=deletereply;reply=' . $context['replies'][$i][$j]['reply_id'] . ';sesc=' . $context['session_id'] . '" style="font-weight: normal; font-size: 7pt;">' . $txt['statuses_delete'] . '</a>' : '') . '


Code (replace) Select

<a href="' . $scripturl . '?action=profile;u=' . $context['replies'][$i][$j]['member_id'] . '">' . $context['replies'][$i][$j]['name'] . '</a> - ' . $context['replies'][$i][$j]['date'] . ' ' . ($context['user']['is_owner'] || allowedTo('profile_extra_any') ? '<a href="' . $scripturl . '?action=profile;area=deletereply;reply=' . $context['replies'][$i][$j]['reply_id'] . ';s=' . $context['statuses'][$i]['status_id'] . ';sesc=' . $context['session_id'] . '" style="font-weight: normal; font-size: 7pt;">' . $txt['statuses_delete'] . '</a>' : '') . '



There is 2 of these so replace both!

Code (find) Select

<a href="' . $scripturl . '?action=profile;u=' . $context['replies'][$i]['member_id'] . '">' . $context['replies'][$i]['name'] . '</a> - ' . $context['replies'][$i]['date'] . ' ' . ($context['user']['is_owner'] || allowedTo('profile_extra_any') ? '<a href="' . $scripturl . '?action=profile;area=deletereply;reply=' . $context['replies'][$i]['reply_id'] . ';sesc=' . $context['session_id'] . '" style="font-weight: normal; font-size: 7pt;">' . $txt['statuses_delete'] . '</a>' : '') . '


Code (replace) Select

<a href="' . $scripturl . '?action=profile;u=' . $context['replies'][$i]['member_id'] . '">' . $context['replies'][$i]['name'] . '</a> - ' . $context['replies'][$i]['date'] . ' ' . ($context['user']['is_owner'] || allowedTo('profile_extra_any') ? '<a href="' . $scripturl . '?action=profile;area=deletereply;reply=' . $context['replies'][$i]['reply_id'] . ';s=' . $context['status']['status_id'] . ';sesc=' . $context['session_id'] . '" style="font-weight: normal; font-size: 7pt;">' . $txt['statuses_delete'] . '</a>' : '') . '


There is also 2 in here, so replace both here as well.

Then in Profile-Actions.php

Code (find) Select
function delete_reply($memID) {

global $context, $smcFunc, $scripturl, $modSettings;

checkSession('get');
$reply = (int) $_GET['reply'];


Code (ADD AFTER) Select

$status = (int) $_GET['s'];



Code (find) Select

'id_stat' => $row['id_status'],


Code (replace) Select

'id_stat' => $status,


This enabled me to delete reply's to status's and also updated the count on the cat bar for quick reply.




Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on August 15, 2011, 05:01:29 PM
I am currently updating the forums into SMF gold because we are replacing the RC3 version.

So I am basically setting everything up on a sub-domain.. I used to use profile comments but it looks OLD outdated and wasn't used that much.
I saw this then I thought.. This looks cool and people would update there status all the time..

Also I was going to code a block for MX portal to show last few status's on the home page.. Which would be pretty simple todo as we only want to display this info. Simple DB query would do it :D.

There is a few things in this modification that do not function correctly..

One is you can only lock a status its not unlocking.
Double posting happens SOMETIMES.
Order BY seems to be off aswell, for instance I delete a reply then I make a new one.. its a 50% chance that it will be in the wrong order.
Sometimes it happens when just posting a reply 2.

Also no reply on full mode where it displays all status's

So other than the solution above there is only 3 things wrong with this mod.
Minor things... Nothing major but its not working as designed...

I am trying to fix things myself and leave feedback here but I am stuck on the status lock thing..
That's my next task lol.. I can't seem to get it to unlock only one or the other...
Any ideas?


Title: Re: Profile Statuses
Post by: ascaland on August 15, 2011, 05:07:12 PM
The next developer can deal with this because I sure as hell wont.
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on August 15, 2011, 06:29:04 PM
Another fix.. To correctly display the order of replies.

Profile-View.php

Code (find) Select

// Top 3 replies only please! The rest will be saved for another page
    $query2 = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}log_status_replies
WHERE id_status = {int:id_stat}


Code (add after) Select

ORDER BY reply_date DESC



AND here,

Code (find) Select
// Retrieve the replies to the status
    $query = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}log_status_replies
WHERE id_status = {int:id_stat}',


Code (replace) Select

// Retrieve the replies to the status
    $query = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}log_status_replies
WHERE id_status = {int:id_stat}
ORDER BY reply_date DESC',



I will fix this mod because I like the idea and its something that is good.
I will also code a block for it for Porta MX it should work with any other portal 2.. I will update when I find and fix more.
Title: Re: Profile Statuses
Post by: ascaland on August 15, 2011, 06:29:44 PM
Post here if your interested,
http://www.simplemachines.org/community/index.php?topic=446701.0
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on August 16, 2011, 12:35:44 AM
O.k. my friend.. Unfortunately.. I really don't have time to keep updating mods..
But I have fixed all issues with the mod and it is working perfect on my test site.

If you like I can replace the code in the package send it to you and then you can post it on here.
Its complete and working .. No errors that I know of and I am on a fresh SMF gold
EDIT:
you can use this account to have a look at this mod as I have removed the big edit box for a reply on the view all comments section.
I have made it so there is the little comments box at the bottom that you click and it open the small txt area to reply to a comment.
Just like you see on your profile.
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on August 16, 2011, 12:45:12 AM
I am also going to be updating my own to have member colour links inside this mod aswell.
I have done this with a few things on my forums so this will need that edit 2.. I will post a solution to that in here also.

EDIT: I have also modded it to display member colour links if people have that mod installed. I know it is extremely popular.
So I would be happy to share that 2.

EDIT2: Added PM notifications.

Previews
(http://www.uniquez-home.com/Images/statusfull.png)
(http://www.uniquez-home.com/Images/statuspro.png)
Title: Re: Profile Statuses
Post by: MiY4Gi on August 16, 2011, 12:34:29 PM
Dude, take over the mod, even if it's temporarily. Your changes should be included in the official package, if Project Evolution permits it. I'm also learning a bit about php and css, so I'll also offer advice where I can.
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on August 16, 2011, 06:03:39 PM
Quote from: MiY4Gi on August 16, 2011, 12:34:29 PM
Dude, take over the mod, even if it's temporarily. Your changes should be included in the official package, if Project Evolution permits it. I'm also learning a bit about php and css, so I'll also offer advice where I can.

Alright cool.. If he wants me to I can take over the mod.
I have finished a working version of this mod but its not packaged up.
I have also made a block panel for portals.

Preview:
(http://www.uniquez-home.com/Images/statusblock.png)
Features slide toggle for comments and also a VIEW all button if there is more than 3 comments.
It should work for any portal.. I have not tested, only in MX Portal.

I should be-able to package this up later this evening..
With permission I will throw it here.
Title: Re: Profile Statuses
Post by: Sci-Fi_Fan on August 16, 2011, 06:05:11 PM
Quote from: aljo1985 on August 16, 2011, 06:03:39 PM
Quote from: MiY4Gi on August 16, 2011, 12:34:29 PM
Dude, take over the mod, even if it's temporarily. Your changes should be included in the official package, if Project Evolution permits it. I'm also learning a bit about php and css, so I'll also offer advice where I can.

Alright cool.. If he wants me to I can take over the mod.
I have finished a working version of this mod but its not packaged up.
I have also made a block panel for portals.

Preview:
(http://www.uniquez-home.com/Images/statusblock.png)
Features slide toggle for comments and also a VIEW all button if there is more than 3 comments.
It should work for any portal.. I have no tested, only in MX Portal.

I should be-able to package this up later this evening..
With permission I will throw it here.

That would be awesome! Good job.
Title: Re: Profile Statuses
Post by: MiY4Gi on August 16, 2011, 07:22:48 PM
....I am speechless.

This is gonna be incredible!

Also, see if you can somehow integrate status updates into post signatures.
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on August 17, 2011, 05:17:02 AM
O.k. I see the mod has been handed over to me now.. I have the package ready, I am just testing it now on a fresh SMF..
Will be posted in less than a few hours.
Also I am a lil unsure about how to include the block for portals?

If anyone can suggest the best method for that?
Title: Re: Profile Statuses
Post by: MiY4Gi on August 17, 2011, 08:27:12 AM
Quote from: aljo1985 on August 17, 2011, 05:17:02 AM
O.k. I see the mod has been handed over to me now.. I have the package ready, I am just testing it now on a fresh SMF..
Will be posted in less than a few hours.
Also I am a lil unsure about how to include the block for portals?

If anyone can suggest the best method for that?

Well done.

For the block, just post the code on the Mod's page, stating clearly that it's the code for displaying profile statuses in a portal block (which has only been tested on PortaMx so far. If the block isn't compatible with other portals then I'm sure others will port the code to various portals, then you can just list that code below the PortaMx code.
Title: Re: Profile Statuses
Post by: OCJ on August 17, 2011, 03:50:37 PM
Installed version 3 but I found it in a disabled state for all users (on profile)...? I had previously run the sql query in this thread to set it enabled for all users in version 2.3.
QuoteUPDATE smf_members
SET profilestatuses = 1

It is enabled in admin section.


I was expecting this version to have it enabled for all users;
QuoteMod is enabled on install. User now has to disable it in there profile -> forum profile

Run the query again with
UPDATE smf_members
SET profilestatuses = 0  ?

1 error message after install:

.../index.php?action=admin;area=packages;sa=install2;package=ProfileStatuses_v3.0.zip;pid=0
512: parseModification(): The filename 'SSI.php' is not a full path!
File: ..../public_html/events/Sources/Subs-Package.php
Line: 1848
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on August 18, 2011, 12:10:50 AM
QuoteRun the query again with
UPDATE smf_members
SET profilestatuses = 0  ?

Yes please update query for all members to have 0 for it to be enabled.
I preferred it to be enabled for all lol.

Quote1 error message after install:

.../index.php?action=admin;area=packages;sa=install2;package=ProfileStatuses_v3.0.zip;pid=0
512: parseModification(): The filename 'SSI.php' is not a full path!
File: ..../public_html/events/Sources/Subs-Package.php
Line: 1848

I will look into that.. It will not effect anything.. Its just a warning.

EDIT:
Resolved the SSI.php error also resolved the undefined index error on all statuses view.
Sorry for the mess.. Everything is perfect now..
If you like just uninstall the version you have now and update to 3.1
Leave
Remove all data associated with this modification. [Details]
UNCHECKED

So all comments and statuses remain intact.
Title: Re: Profile Statuses
Post by: 9mmtylenol on August 21, 2011, 01:14:39 PM
Ugh I got an error XD

"Table 'ninetyle_fm.smf_members' doesn't exist
File: /home/ninetyle/public_html/forum/Sources/Profile-View.php
Line: 282"

I know the table is there, just don't know why that it won't pick it up. And I checked that line and it's just a curly bracket "{" and nothing more.

I am using a couple of mods that use member id's and my skin is Zone99 by dzinerstudio, hope that helps with solving the problem :)
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on August 22, 2011, 01:50:49 PM
Quote from: 9mmtylenol on August 21, 2011, 01:14:39 PM
Ugh I got an error XD

"Table 'ninetyle_fm.smf_members' doesn't exist
File: /home/ninetyle/public_html/forum/Sources/Profile-View.php
Line: 282"

I know the table is there, just don't know why that it won't pick it up. And I checked that line and it's just a curly bracket "{" and nothing more.

I am using a couple of mods that use member id's and my skin is Zone99 by dzinerstudio, hope that helps with solving the problem :)

Is that an error in your error log or when you try to install it?
Does it stop the use of the modification..
What do you do to trigger the error?
Title: Re: Profile Statuses
Post by: MiY4Gi on August 29, 2011, 03:49:01 PM
Excellent. I just installed in and it's working great. I just gotta tweak the colors a bit. One thing though, is it possible to stretch the Profile Statuses block to fill up the whole width of the forum? Check the image I attached for clarification.

I'm busy testing out the portal block. I'll let you know how it goes.

Edit:

Alright, the block is working nicely. I would say that the block is necessary to take full advantage of the mod.

Again, great work.
Title: Re: Profile Statuses
Post by: mattio41 on August 29, 2011, 08:36:36 PM
I am sorry if I am the village idiot speaking here. I am extremely new to all of this, and I am building a forum. I have version smf 2.0. I uploaded the package from the mod site, and it appeared to have installed without errors. I followed the instructions of enabling it through the admin portion of modification settings, and clicking enabling. I allowed 3 lines - 100 characters.

And when I go to my profile page, There is no place to actually enter a status? I have tried reading this thread, and I see people have had to enter code, and honestly, I am not sure where they are actually placing it, so that the status can actually be entered.

Anybody care to take pitty on a newbie, and give me a hand with this?  Could actually use some help on a few topics, but that is a different story..

Sincerely,
The Village Idiot !!  ;)
Title: Re: Profile Statuses
Post by: awolexpat on September 02, 2011, 01:41:13 AM
Quote from: 9mmtylenol on August 21, 2011, 01:14:39 PM
Ugh I got an error XD

"Table 'ninetyle_fm.smf_members' doesn't exist
File: /home/ninetyle/public_html/forum/Sources/Profile-View.php
Line: 282"

I know the table is there, just don't know why that it won't pick it up. And I checked that line and it's just a curly bracket "{" and nothing more.

I am using a couple of mods that use member id's and my skin is Zone99 by dzinerstudio, hope that helps with solving the problem :)

I had the same error but mine was caused by my database not being called 'smf_members' (something I changed when I installed SMF) so all I had to do was edit Profile-View.php and replace all instances of smf_ with the prefix used on my database. Hope that helps.
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on September 04, 2011, 11:58:51 AM
Quote from: MiY4Gi on August 29, 2011, 03:49:01 PM
Excellent. I just installed in and it's working great. I just gotta tweak the colors a bit. One thing though, is it possible to stretch the Profile Statuses block to fill up the whole width of the forum? Check the image I attached for clarification.

I'm busy testing out the portal block. I'll let you know how it goes.

Edit:

Alright, the block is working nicely. I would say that the block is necessary to take full advantage of the mod.

Again, great work.

Yeah there is with a few edits to the template..
I did consider it myself but then it didn't look right as everything gets stretched kinda.. Looks out of place.
If you still wanna try it. I'll put down what todo when I get back later.
Title: Re: Profile Statuses
Post by: MiY4Gi on September 04, 2011, 03:04:32 PM
Kewl. I've got quite a bit of time since I still have plenty of mods I want to install on my forum before I start encouraging people to join.
Title: Re: Profile Statuses
Post by: PS4DEV on September 12, 2011, 09:20:25 AM
Quote from: awolexpat on September 02, 2011, 01:41:13 AM
Quote from: 9mmtylenol on August 21, 2011, 01:14:39 PM
Ugh I got an error XD

"Table 'ninetyle_fm.smf_members' doesn't exist
File: /home/ninetyle/public_html/forum/Sources/Profile-View.php
Line: 282"

I know the table is there, just don't know why that it won't pick it up. And I checked that line and it's just a curly bracket "{" and nothing more.

I am using a couple of mods that use member id's and my skin is Zone99 by dzinerstudio, hope that helps with solving the problem :)

I had the same error but mine was caused by my database not being called 'smf_members' (something I changed when I installed SMF) so all I had to do was edit Profile-View.php and replace all instances of smf_ with the prefix used on my database. Hope that helps.
yep, replacing smf_ with the prefix helps :)
Title: Re: Profile Statuses
Post by: Dai Li on September 25, 2011, 05:07:34 PM
Installed just fine, the only problem I seem to have is the status block outputs a stray <br> at the end of updates after the first one. As in, the first status update doesn't have the stray HTML tag but the ones posted after it do, and I'm wondering if there's a way to make that stray tag like... vamoose. lol I already checked the code itself but all those parse, and no one's enter-keying on accident at the end, so it's gotta be somewhere in the back-end. Any ideas? =3 (I'm on 2.0.1 with SimplePortal if you needa know.)
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on September 30, 2011, 09:18:31 AM
Hey,

I am sorry for the late reply, I been very busy with life recently.
Can you show me a screen shot or provide a link to your website?
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on September 30, 2011, 09:44:57 AM
Quote from: MiY4Gi on September 04, 2011, 03:04:32 PM
Kewl. I've got quite a bit of time since I still have plenty of mods I want to install on my forum before I start encouraging people to join.

Hey I really sorry for the late replies..
If you could send me your /Default/Profile.template.php
And /ThemeName/css/index.css file

I could make it full width for you.
Title: Re: Profile Statuses
Post by: MiY4Gi on September 30, 2011, 10:19:04 AM
Quote from: aljo1985 on September 30, 2011, 09:44:57 AM
Hey I really sorry for the late replies..
If you could send me your /Default/Profile.template.php
And /ThemeName/css/index.css file

I could make it full width for you.

I'm considering some major changes to my website (including domain, concept and layout), so small changes in the profile status aren't really important. Thanks though.
Title: Re: Profile Statuses
Post by: Caltan on September 30, 2011, 09:32:42 PM
Is it possible to add a permission option to allow other users (admins) to add statuses to user profiles?
Title: Re: Profile Statuses
Post by: david090366 on October 03, 2011, 07:17:16 AM
I installed this on a 2.0.1 site with ultimate Profile installed. I started to post there was no place to post comments. However, I decided to disable ultimate profiles, set the enable for all members button off, and lo and behold there it was. Is there any way to get this working with ultimate profile?
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on October 06, 2011, 12:41:49 AM
Quote from: david090366 on October 03, 2011, 07:17:16 AM
I installed this on a 2.0.1 site with ultimate Profile installed. I started to post there was no place to post comments. However, I decided to disable ultimate profiles, set the enable for all members button off, and lo and behold there it was. Is there any way to get this working with ultimate profile?

Hi..

I will update soon to get compatibility for ultimate profile.
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on October 06, 2011, 12:44:42 AM
Quote from: Caltan on September 30, 2011, 09:32:42 PM
Is it possible to add a permission option to allow other users (admins) to add statuses to user profiles?

Hmmm. Sounds like an al-right idea, it wouldn't be statuses then?

I dunno how that would work?
Title: Re: Profile Statuses
Post by: 9mmtylenol on October 06, 2011, 01:51:22 AM
Quote from: aljo1985 on August 22, 2011, 01:50:49 PM
Quote from: 9mmtylenol on August 21, 2011, 01:14:39 PM
Ugh I got an error XD

"Table 'ninetyle_fm.smf_members' doesn't exist
File: /home/ninetyle/public_html/forum/Sources/Profile-View.php
Line: 282"

I know the table is there, just don't know why that it won't pick it up. And I checked that line and it's just a curly bracket "{" and nothing more.

I am using a couple of mods that use member id's and my skin is Zone99 by dzinerstudio, hope that helps with solving the problem :)

Is that an error in your error log or when you try to install it?
Does it stop the use of the modification..
What do you do to trigger the error?

WOAH, sorry my SMF didn't email me of this thread, and the error occurred after installing and trying to view a member of the member list.
Title: Re: Profile Statuses
Post by: 9mmtylenol on October 06, 2011, 03:10:08 AM
Okay well it works with the table change in the .php file, but I hate editing core SMF files, so you think that you can tell the status package to find the member list from the SMF config file?
Title: Re: Profile Statuses
Post by: Caltan on October 07, 2011, 09:00:24 AM
Quote from: aljo1985 on October 06, 2011, 12:44:42 AM
Hmmm. Sounds like an al-right idea, it wouldn't be statuses then?

I dunno how that would work?
It would still be a status, it could just be set by someone else if they have the permission/ability to do so.  I run a RPGs on forums, and this would be really helpful for admins/DMs to set character status for the players to comment on.  Both Profile Comments and Ultimate Profile are way, WAY more intense than I need -- this works smoothly and beautifully and just the way I want, with the exception that there's no admin permission setting.
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on October 07, 2011, 12:19:42 PM
You mean like the facebook kinda thing?

You know it is an interesting idea for people to post on other peoples statuses..
But it would need a whole make over of the mod. maybe.

For instance.. It wouldn't be just statuses if everyone can post on your profile a new status..
I like the idea..

It would look a little like profile comments.
And how facebook operates..

I think it would involve a new name for the mod though..
Well I can't promise anything yet.. But I will look at updating the mod..
Possibly a good idea.
Title: Re: Profile Statuses
Post by: david090366 on October 10, 2011, 03:42:35 AM
There's a mod that already does something like that, make a facebook like wall, here http://custom.simplemachines.org/mods/index.php?mod=2407 (http://custom.simplemachines.org/mods/index.php?mod=2407) The creator quit supporting it sometime around 2.0 RC3 and also posted the paid version in the mod's thread. It installs fine though if you emulate RC3 in the package manager. BTW thanks for the response about ultimate profile.
Title: Re: Profile Statuses
Post by: Caltan on October 11, 2011, 09:33:13 AM
Quote from: david090366 on October 10, 2011, 03:42:35 AM
There's a mod that already does something like that, make a facebook like wall, here http://custom.simplemachines.org/mods/index.php?mod=2407 (http://custom.simplemachines.org/mods/index.php?mod=2407)

Thanks for the suggestion, but after installing it and playing around with it that's not really what I'm looking for; Social Network is a giant full-featured suite that also requires a series of separate pages, so it's not really useful for my purposes.

What I like about Profile Statuses is that it's right on the profile screen, doesn't require any separate pages, and is quick, fast, and small.  It's awesome, and everything about it is perfect for what I need except that it only works for that one user on their one profile.  It's not like my RP will die without it or anything, this would just be a nicer way of doing things than making a million PMs or public posts.  :)
Title: Re: Profile Statuses
Post by: agent47 on October 28, 2011, 08:32:12 PM
How do I get it to display an avatar before the users nick?
Title: Re: Profile Statuses
Post by: evilservo on November 19, 2011, 12:53:21 PM
Is it competible with Ultimate profile and what do i do when it says
Test Failed Error in Installation
Title: Re: Profile Statuses
Post by: Biology Forums on November 20, 2011, 01:37:59 AM
Is there are chance this will become available for 1.x?
Title: Re: Profile Statuses
Post by: ibtkm on May 18, 2012, 03:03:58 AM
Is there any way to send private message to those who have commented on a status after that other people commented on that too?
I mean sth like editing the codes ...
Title: Re: Profile Statuses
Post by: sayl3r on August 19, 2012, 06:52:28 PM
Dears, we installed a mode named "profile statuses" on our web site. We want the system to show one's status instead of that person's signature. what we should change to make this happen? It will be great if you please help us faster! Would you please look for a solution for this following alternatives after solving that problem? 1. The statuses with extra large size, be shown in the normal size. 2. The ones in person's ignore list, could not post any comments for that person's status.
actually we want to replace signature with the last status of every one.
Title: Re: Profile Statuses
Post by: WhiteEagle on April 06, 2013, 07:58:03 PM
Does anyone have the status.txt file? I need it so I can add profile statuses to my site's portal!

TIA!
Nathan P.
Title: Re: Profile Statuses
Post by: Dhayzon on May 24, 2013, 02:51:29 AM
updated please status.txt ::) ::) ::)
Title: Re: Profile Statuses
Post by: sayl3r on June 06, 2013, 05:36:50 AM
is there any way to edit statuses?
and subscribe the statuses?
Title: Re: Profile Statuses
Post by: Kitsuen-sha on July 30, 2013, 10:45:22 PM
Quote from: 9mmtylenol on August 21, 2011, 01:14:39 PM
Ugh I got an error XD

"Table 'ninetyle_fm.smf_members' doesn't exist
File: /home/ninetyle/public_html/forum/Sources/Profile-View.php
Line: 282"

I know the table is there, just don't know why that it won't pick it up. And I checked that line and it's just a curly bracket "{" and nothing more.

I am using a couple of mods that use member id's and my skin is Zone99 by dzinerstudio, hope that helps with solving the problem :)

-> Extract the package.
-> Open modification_2.xml
-> Find
      g.id_group, g.online_color
      FROM {db_prefix}log_statuses AS c
      LEFT JOIN smf_members AS m ON m.id_member = c.id_member
      LEFT JOIN smf_membergroups AS g ON g.id_group = m.id_group
      WHERE c.id_member = {int:id_mem}
      ORDER BY post_date DESC
      LIMIT {int:start}, {int:limit}',
-> Replace smf_ to {db_prefix}
-> Save modification_2.xml
-> Repackage all files

Ready for installation :D
Title: Re: Profile Statuses
Post by: Motahhari on August 11, 2013, 08:12:34 AM
if you want to display status instead of signature edit Display.template.php

find show member siganture part and add befor it :




  // Show the member's status
$status_writer=$message['member']['id'];
       $statuses_result=mysql_query("SELECT * FROM `smf_log_statuses` WHERE id_status=( SELECT max(id_status) FROM `smf_log_statuses` WHERE id_member=$status_writer ) ") or die(mysql_error());

while($status = mysql_fetch_array( $statuses_result ))
{ $statuspost=parse_bbc_e($status['post']);
$statusdate=$status['post_date'];
                                                 settype($statusdate, "int");
                                                 
                                                 $currenttime=forum_time();
                                                 settype($currenttime, "int");
                                                 $subtraction=($currenttime-$statusdate);
if ($subtraction<168800){
echo "<div class='signature'>$statuspost</div>";}
                                                }




It shows latest status that is not older than two weeks.
Title: Re: Profile Statuses
Post by: N i g h t m a r e on September 12, 2013, 08:57:53 PM
What code would i use to put this in a PortaMx block to display as "Recent Statuses"?
Title: Re: Profile Statuses
Post by: Joshie on June 09, 2015, 01:02:52 AM
I would love to know the codes for status.txt for copy and paste or update the status.txt file because the link for status.txt file is no longer exists. I would greatly appreciate if anyone would post the code here or at least update the details in the modification page for this plugin with a new link for the status.txt file.

I have just installed this plugin and then to find that the link to status.txt (for portal block) is no longer exists makes me sad. :(

Greatly appreciated!
Title: Re: Profile Statuses
Post by: JerzyLS on May 12, 2016, 01:46:52 PM
It's working on 2.0.11?
Title: Re: Profile Statuses
Post by: Arantor on May 12, 2016, 01:48:20 PM
How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version)
Title: Re: Profile Statuses
Post by: JerzyLS on May 12, 2016, 02:48:35 PM
At the moment I have no test forum, so I'm questioning.

I can install older modifications.
Title: Re: Profile Statuses
Post by: oOo--STAR--oOo on July 06, 2016, 11:12:58 PM
I am in the process of updating this mod to be more streamline and I will supply the status.txt file


// Define all Javacsript here for like button!
echo '<style type="text/css" media="screen">
#hwall .bbc_img
{
max-width: 150px;
max-height: 150px;
}
</style>
<script type="text/javascript">
function likeS(sesc,s){
$("span#num_likes" + s).html("<img src=\"http://www.uniquez-home.com/Themes/Uniquez/images/loading-small.gif\" alt=\"\" /></span>");
$.ajax({
type: "GET",
url: "/../Sources/Status_Like.php",
data: "sesc="+ sesc +"& s="+ s,
success: function(html){
$("span#num_likes" + s).fadeIn("slow").html("").append(" " + html + " ");
},
error: function(){
alert("Whoops, something went wrong.. Please try again!");
return false;
}
});
}
function likeC(sesc,reply){
$("span#num_likes" + reply).html("<img src=\"http://www.uniquez-home.com/Themes/Uniquez/images/loading-small.gif\" alt=\"\" /></span>");
$.ajax({
type: "GET",
url: "/../Sources/Status_Like-Comments.php",
data: "sesc="+ sesc +"& reply="+ reply,
success: function(html){
$("span#num_likes" + reply).fadeIn("slow").html("").append(" " + html + " ");
},
error: function(){
alert("Whoops, something went wrong.. Please try again!");
return false;
}
});
}
</script>
<div id="hwall">';
// Let's get this ball rolling...

//Set globals
global $settings, $scripturl, $smcFunc, $context, $user_info;

    //Do the Database Query for Statuses
$query = $smcFunc['db_query']('', 'SELECT
c.id_status, c.id_member, c.id_poster, c.reply_count, c.locked, c.post_date, c.post, c.likes,
m.id_member, m.id_group, real_name,
g.id_group, g.online_color
FROM smf_log_statuses AS c
LEFT JOIN smf_members AS m ON m.id_member = c.id_poster
LEFT JOIN smf_membergroups AS g ON g.id_group = m.id_group
WHERE c.id_member = c.id_poster
ORDER BY c.id_status DESC
LIMIT 8',
array(
)
);

$i = 0;

while ($info = $smcFunc['db_fetch_assoc']($query)) {
$statusc = $info['id_status'];

     //Do the Database Query for Comments
$query2 = $smcFunc['db_query']('', 'SELECT
c.id_reply, c.id_member, c.id_status, c.reply_date, c.reply, c.likes,
m.id_member, m.id_group, real_name,
g.id_group, g.online_color
FROM smf_log_status_replies AS c
LEFT JOIN smf_members AS m ON m.id_member = c.id_member
LEFT JOIN smf_membergroups AS g ON g.id_group = m.id_group
WHERE c.id_status = {int:id_stat}
ORDER BY c.id_reply DESC
LIMIT 3',
array(
'id_stat' => $statusc,
)
);

// Member Name
echo '<a href="' . $scripturl . '?action=profile;u=' . $info['id_poster'] . '" style="color:' . $info['online_color'] . ';">' . $info['real_name'] . '</a> <img src="' . $settings['default_theme_url'] . '/PortaMx/TitleIcons/star.png" style="display:inline-block;vertical-align: bottom; alt="" /><br />';
// Post Icon Locked - Unlocked
echo '' . ($info['locked'] > 0 ? '<img src="' . $settings['theme_url'] . '/images/topic/normal_post_locked.gif" style="display:inline-block;vertical-align: bottom; alt="" /> ' : '<img src="' . $settings['theme_url'] . '/images/topic/normal_post.gif" style="display:inline-block;vertical-align: bottom; alt="" /> ') . '';
// The Status its self.
echo parse_bbc($info['post']) . '<br /><br />';
// Status Time
echo timeformat($info['post_date']) . '<hr />';

// Set CSS and Javascript for Slide toggle for the comments section.
echo '
<style type="text/css" media="screen">

#comslid'.$i.' {
display:none; /* initial state */
padding:0px 0 0 0px;
}
#comslid'.$i.' .select {
position:relative;
display:inline;
bottom:0px;
}
</style>
<script type="text/javascript">
    jQuery.fx.off = false; // Global animations switch

$(document).ready(function(){

$(".comslid'.$i.'").click(function(){
$("#comslid'.$i.'").slideToggle("slow");
$(this).toggleClass("active"); return false;
});

});
</script>';

echo '<div align="center">';
// Status Likes
if(!$user_info['is_guest'])
echo '<a href="javascript:likeS(\''.$context['session_id'].'\',\''.$info['id_status'].'\');"><img src="' . $settings['theme_url'] . '/images/buttons/like_wall.png" style="vertical-align:bottom" alt="like"/><span class="smalltext"> Like</span>
</a>
<span id="num_likes' . $info['id_status'] . '" class="smalltext" style="background-color: #FFF; color:#000;"> ' . $info['likes'] . ' </span>     ';
//javascript botton for comments
echo '<a href="javascript:slideToggle(\'comslid'.$i.'\')" class="comslid'.$i.'" title="Expand"><span> Comments(' . $info['reply_count'] . ')</span></a></div><hr />';
//Javascript DIV content.
echo '<div id="comslid'.$i.'">';
// Comments fetch
while ($info2 = $smcFunc['db_fetch_assoc']($query2)) {
// Member Name
echo '<a href="' . $scripturl . '?action=profile;u=' . $info2['id_member'] . '" style="color:' . $info2['online_color'] . ';">' . $info2['real_name'] . '</a> <img src="' . $settings['default_theme_url'] . '/PortaMx/TitleIcons/comment.png" style="display:inline-block;vertical-align: bottom; alt="" /><br />';
// The comment limit of 3.
echo '<div class="smalltext" style="display:inline;">' . parse_bbc($info2['reply']) . '</div><br />';
// Reply Time
echo timeformat($info2['reply_date']) . '<hr />';
// Reply Likes
if(!$user_info['is_guest'])
echo '<div align="center"><a href="javascript:likeC(\''.$context['session_id'].'\',\''.$info2['id_reply'].'\');"><img src="' . $settings['theme_url'] . '/images/buttons/like_comm.png" style="vertical-align:bottom" alt="like"/><span class="smalltext" style="color:white"> Like</span>
</a>
<span id="num_likes' . $info2['id_reply'] . '" class="smalltext" style="background-color: #FFF; color:#000;"> ' . $info2['likes'] . ' </span></div><hr />';
}
$smcFunc['db_free_result']($query2);
// If more than 3 comments show a link to status!
if ($info['reply_count'] > 3)
echo '<a href="' . $scripturl . '?action=profile;area=showstatus;s=' . $info['id_status'] . '"><div align="center"><strong>View All</strong></div></a><hr />';
echo'</div>';
$i++;
}
$smcFunc['db_free_result']($query);
echo '</div>';
?>


This is all going to be cleaned up, as is only a rough for now extracted from my old design.

You can insert this into your portal block and view statuses.
Title: Re: Profile Statuses
Post by: Dhayzon on July 07, 2016, 01:59:10 AM
aljo1985  Thank you :)
Title: Re: Profile Statuses
Post by: profzelonka on February 12, 2017, 10:51:10 PM
Quote from: oOo--STAR--oOo on July 06, 2016, 11:12:58 PM
I am in the process of updating this mod to be more streamline and I will supply the status.txt file

Any update on this?
Title: Re: Profile Statuses
Post by: SGTC on June 05, 2022, 11:11:36 PM
I apologize about bumping this years old thread, but I want to use Profile Statuses for my forum to go along with Ultimate Profile that I have installed. However, I'm afraid I might mess up if I install Profile Statuses with the containing errors, which would interfere with the forum and Ultimate Profile badly. Can anyone please help me guide through this? It would be very helpful.
(https://i.imgur.com/csGSNoq.png)
Title: Re: Profile Statuses
Post by: Oldiesmann on June 05, 2022, 11:44:53 PM
If you click on the icon next to each step it'll show you what it's trying to do that's failing. Usually this just means that another mod has changed the same code that it wants to change already. Your only solution here is to just manually make those changes yourself.
Title: Re: Profile Statuses
Post by: Kindred on June 05, 2022, 11:51:53 PM
That being said,  I'm not sure these changes will trigger within the ultimate profile mod, because iirc ultimate profile replaces the normal profile code with its own file
Title: Re: Profile Statuses
Post by: Oldiesmann on June 05, 2022, 11:59:58 PM
Now that you mention it, I seem to remember that as well from when I had that mod on one of my forums.
Title: Re: Profile Statuses
Post by: SGTC on June 06, 2022, 10:15:49 AM
I installed, but I don't see where to find the mod working in the profiles I go to. I uninstalled that which got Ultimate Profile working again, and I tried uninstalling Profile Comments then reinstall Profile Statuses, and it didn't work. Even the Profile Comments is still there despite being uninstalled.

As for putting in the block for Profile Statuses, it gave me an internal server error, even when changing the db_prefix.
Title: Re: Profile Statuses
Post by: SGTC on June 13, 2022, 07:28:27 PM
I still need help in getting Profile Statuses to work. The PHP block in TinyPortal gives me Internal Server Errors, rendering it unable to use the block code for Profile Statuses, and I haven't gotten a response to my issue with Profile Statuses not appearing in profiles.

There's this recent thread on a mod request for profile statuses, but I do not know if it's worth replying to a years old thread mainly meant for requesting a mod. https://www.simplemachines.org/community/index.php?topic=573619.0

Can anyone please give me solutions, alternatives, or workarounds to getting profile statuses like how the Invision forum software has, and integrate it well to Ultimate Profile?
Title: Re: Profile Statuses
Post by: Oldiesmann on June 15, 2022, 01:18:03 AM
What code are you using for the TP block?
Title: Re: Profile Statuses
Post by: SGTC on June 17, 2022, 09:33:30 AM
Quote from: Oldiesmann on June 15, 2022, 01:18:03 AMWhat code are you using for the TP block?

I was using the PHP block with these codes for the Profile Statuses mod, one new, one old. They both don't work as it given me an "Internal Server Error". It's the same with trying to add a code preset from TinyPortal.

https://www.simplemachines.org/community/index.php?msg=3881939 (New code)

http://web.archive.org/web/20120901000000*/http://www.uniquez-home.com/files/status.txt (Old code)