Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: snork13 on June 01, 2006, 02:09:14 PM

Title: Active Members In Topic
Post by: snork13 on June 01, 2006, 02:09:14 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=355)
Name: Active Members In Topic
Version: 1.3
Author: Snork13
Email: [email protected]

Description: Active Members In Topic Mod - adds a feature to the display template which allows the ability to show which members posted in a topic, how many times, and order by lowest posts in the topic to highest.


Files edited:

Sources/Display.php     
Sources/ManagePermissions.php    
Sources/ModSettings.php    
Themes/default/Display.template.php
Themes/default/index.template.php        
Themes/default/languages/Help.english.php
Themes/default/languages/index.english.php   
Themes/default/languages/ManagePermissions.english.php    
Themes/default/languages/ModSettings.english.php    
Themes/default/languages/Modifications.english.php

1 database change via add_setting.php


Features:

Mod may be turned on/off via admin->(Configuration)->Features and Options->Layout and Options.
Ability to show/count post in topic controlled via admin->(Configuration)->Features and Options->Layout and Options.
Permissions to view based on usergroup
Members linked to profile
Members color based on membergroup
Ability for the user to toggle on/off


Instructions:
To install, simply upload the entire zip file to the package manager (Admin -> Package Manager -> Download New Packages).
Title: Re: Active Members In Topic
Post by: snork13 on June 01, 2006, 06:02:51 PM
If you downloaded and installed, please download version 1.2. Fixed error in colspan in display.template.php
Title: Re: Active Members In Topic
Post by: Dazzler on June 01, 2006, 06:43:58 PM
Hey there this looks cool but i am getting error in "installing"

2. Execute Modification ./Sources/ManagePermissions.php Test failed

I am running tinyportal.. could this be where the problem is?
Title: Re: Active Members In Topic
Post by: Skipdawg on June 01, 2006, 09:37:55 PM
Quote from: dodgydazzler on June 01, 2006, 06:43:58 PM
Hey there this looks cool but i am getting error in "installing"

2. Execute Modification ./Sources/ManagePermissions.php Test failed

I am running tinyportal.. could this be where the problem is?

Same error on test forum with tinyportal also.
Title: Re: Active Members In Topic
Post by: snork13 on June 01, 2006, 11:47:03 PM
yes, that could be the problem, i tested on a fresh default install of 1.1rc2. you could make the changes manually, you would need to look at the xml file.
Title: Re: Active Members In Topic
Post by: Skipdawg on June 02, 2006, 12:32:10 AM
Removed TP since I was done testing it. Issue still there.  :o
Title: Re: Active Members In Topic
Post by: Niteblade on June 02, 2006, 02:51:57 AM
*Imagines when 200 members post in a topic*

Maybe this mod should link to something on the Stats page ? "Stats for this topic .." or something similar. Else, you're gonna have like 30+ rows of members listed before anyone can actually read the topic.
Title: Re: Active Members In Topic
Post by: snork13 on June 02, 2006, 08:04:52 AM
Quote from: Skipdawg on June 02, 2006, 12:32:10 AM
Removed TP since I was done testing it. Issue still there.  :o

I'll look into it, try uploading an unmodded ManagePermissions.php file, then try the mod again.

-Snork13
Title: Re: Active Members In Topic
Post by: Skipdawg on June 02, 2006, 10:11:57 AM
Yea I had thought about that. But could conflict with other Mods I am toying with right now. If I clean it up fresh I may try your mod again later. Great idea though!  ;D ;)
Title: Re: Active Members In Topic
Post by: rkirkw on June 07, 2006, 03:00:52 PM
I installed your mod Active Members In Topic 1.2 and it caused some issues
I was unable to view any messages until I edited the file display.php
The problem came from the fact that my table prefixes were not smf_ but customized.
This is common on web hosting sites.

I hope this helps and that you can use it to prevent others from having the same problem in the future.

Here is what I had to edit:

    $request = db_query("
            SELECT COUNT(*) AS 'POSTCOUNT', {$db_prefix}members.ID_MEMBER, {$db_prefix}members.memberName, {$db_prefix}membergroups.onlineColor
            FROM ({$db_prefix}messages INNER JOIN {$db_prefix}members ON {$db_prefix}messages.ID_MEMBER = {$db_prefix}members.ID_MEMBER) LEFT JOIN {$db_prefix}membergroups ON {$db_prefix}members.ID_GROUP = {$db_prefix}membergroups.ID_GROUP
            WHERE ((({$db_prefix}messages.ID_TOPIC)=$topic))
            GROUP BY {$db_prefix}members.ID_MEMBER ORDER BY POSTCOUNT DESC ", __FILE__, __LINE__);

Where you previously had:

    $request = db_query("
            SELECT COUNT(*) AS 'POSTCOUNT', smf_members.ID_MEMBER, smf_members.memberName, smf_membergroups.onlineColor
            FROM (smf_messages INNER JOIN smf_members ON smf_messages.ID_MEMBER = smf_members.ID_MEMBER) LEFT JOIN smf_membergroups ON smf_members.ID_GROUP = smf_membergroups.ID_GROUP
            WHERE (((smf_messages.ID_TOPIC)=$topic))
            GROUP BY smf_members.ID_MEMBER ORDER BY POSTCOUNT DESC ", __FILE__, __LINE__);

Kirk
Title: Re: Active Members In Topic
Post by: Vinspire on June 09, 2006, 08:22:10 AM
I installed this mod but didnt see any different in the mod ....

Anyway, what is the mod suppose to do ?

Show the no. of post the member have made in the thread ?
Title: Re: Active Members In Topic
Post by: snork13 on June 09, 2006, 02:51:01 PM
Quote from: rkirkw on June 07, 2006, 03:00:52 PM
I installed your mod Active Members In Topic 1.2 and it caused some issues
I was unable to view any messages until I edited the file display.php
The problem came from the fact that my table prefixes were not smf_ but customized.
This is common on web hosting sites.

I hope this helps and that you can use it to prevent others from having the same problem in the future.

Here is what I had to edit:

    $request = db_query("
            SELECT COUNT(*) AS 'POSTCOUNT', {$db_prefix}members.ID_MEMBER, {$db_prefix}members.memberName, {$db_prefix}membergroups.onlineColor
            FROM ({$db_prefix}messages INNER JOIN {$db_prefix}members ON {$db_prefix}messages.ID_MEMBER = {$db_prefix}members.ID_MEMBER) LEFT JOIN {$db_prefix}membergroups ON {$db_prefix}members.ID_GROUP = {$db_prefix}membergroups.ID_GROUP
            WHERE ((({$db_prefix}messages.ID_TOPIC)=$topic))
            GROUP BY {$db_prefix}members.ID_MEMBER ORDER BY POSTCOUNT DESC ", __FILE__, __LINE__);

Where you previously had:

    $request = db_query("
            SELECT COUNT(*) AS 'POSTCOUNT', smf_members.ID_MEMBER, smf_members.memberName, smf_membergroups.onlineColor
            FROM (smf_messages INNER JOIN smf_members ON smf_messages.ID_MEMBER = smf_members.ID_MEMBER) LEFT JOIN smf_membergroups ON smf_members.ID_GROUP = smf_membergroups.ID_GROUP
            WHERE (((smf_messages.ID_TOPIC)=$topic))
            GROUP BY smf_members.ID_MEMBER ORDER BY POSTCOUNT DESC ", __FILE__, __LINE__);

Kirk

oh, thanks for reminding me. I was a bad boy hard coding and actual fixed, but uploaded the wrong 1.2 version. So i will release 1.3 soon to fix the database prefix, along with a few new features as well!

-Snork13
Title: Re: Active Members In Topic
Post by: PrizeLive.com on June 09, 2006, 03:57:24 PM
Quote from: snork13 on June 09, 2006, 02:51:01 PM
oh, thanks for reminding me. I was a bad boy hard coding and actual fixed, but uploaded the wrong 1.2 version. So i will release 1.3 soon to fix the database prefix, along with a few new features as well!

-Snork13

soiunds good, looking forward to it!!

do you have an estimated date available?
Title: Re: Active Members In Topic
Post by: Jay T on June 24, 2006, 04:30:09 PM
Snork very nice as always.

I do have one request if it is possible. I like the way VB has it. The amount of replies is a link that will popup this list. This info is sometimes good to have. The way VB has it is it just a little cleaner. Can this be done?

Here is a s/s to help explain
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg45.imageshack.us%2Fimg45%2F9760%2F062420061634556gz.th.png&hash=54ae9f70b4a8793826cb35cf2ebef0e7d2dffcfd) (http://img45.imageshack.us/my.php?image=062420061634556gz.png)
Title: Re: Active Members In Topic
Post by: Vinspire on June 24, 2006, 10:58:25 PM
Quote from: Jay T on June 24, 2006, 04:30:09 PM
Snork very nice as always.

I do have one request if it is possible. I like the way VB has it. The amount of replies is a link that will popup this list. This info is sometimes good to have. The way VB has it is it just a little cleaner. Can this be done?

Here is a s/s to help explain
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg45.imageshack.us%2Fimg45%2F9760%2F062420061634556gz.th.png&hash=54ae9f70b4a8793826cb35cf2ebef0e7d2dffcfd) (http://img45.imageshack.us/my.php?image=062420061634556gz.png)

I second this. Even IPB have this and it is very useful ... Can someone pls create this mod ? Thanks :)
Title: Re: Active Members In Topic
Post by: Vinspire on June 28, 2006, 12:21:35 AM
Can someone show me a printscreen of how it would look like when you click the post count in a board ?
Title: Re: Active Members In Topic
Post by: LostProphecy on June 28, 2006, 07:16:52 AM
just another add on that i think would be great... i'm sure it's not a big modify...

but at the moment it displays the number of posts as the membername and not the displayname, which is what i think it should display in as if you sign up as say.... cwjfiaog and then change your name to say "jessi" and become known as that then you really want "jessi" displaying for you and not "cwjfiaog" that is showing at the moment
Title: Re: Active Members In Topic
Post by: snork13 on June 28, 2006, 09:16:10 AM
Quote from: Vinspire on June 28, 2006, 12:21:35 AM
Can someone show me a printscreen of how it would look like when you click the post count in a board ?


working example, toggle on/off too

http://www.snork13.net/smf11/index.php?topic=20.0 (http://www.snork13.net/smf11/index.php?topic=20.0)
Title: Re: Active Members In Topic
Post by: PrizeLive.com on June 28, 2006, 10:07:28 AM
looks great!
Title: Re: Active Members In Topic
Post by: snork13 on June 28, 2006, 10:15:07 AM
Quote from: SurfExcelerator.com on June 28, 2006, 10:07:28 AM
looks great!

Thanks, it's a start :D
Title: Re: Active Members In Topic
Post by: Vinspire on June 28, 2006, 10:30:13 AM
Quote from: snork13 on June 28, 2006, 09:16:10 AM
working example, toggle on/off too

http://www.snork13.net/smf11/index.php?topic=20.0 (http://www.snork13.net/smf11/index.php?topic=20.0)

Thanks snork. When will be the next version of this ? I want it to be like this screenshot  ;D

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg45.imageshack.us%2Fimg45%2F9760%2F062420061634556gz.png&hash=7c6a99ddf9cb77361ebc927fd33935b093770ac6)
Title: Re: Active Members In Topic
Post by: snork13 on June 28, 2006, 10:52:48 AM
Quote from: Vinspire on June 28, 2006, 10:30:13 AM
Quote from: snork13 on June 28, 2006, 09:16:10 AM
working example, toggle on/off too

http://www.snork13.net/smf11/index.php?topic=20.0 (http://www.snork13.net/smf11/index.php?topic=20.0)

Thanks snork. When will be the next version of this ? I want it to be like this screenshot  ;D



Not sure, only time will tell ;)
Title: Re: Active Members In Topic
Post by: Vinspire on July 08, 2006, 05:43:57 AM
Hmm ... hope to c an update of this mod soon. The popup window is really awesome :(
Title: Re: Active Members In Topic
Post by: PrizeLive.com on July 13, 2006, 09:00:27 AM
Installations actions for "Active Members In Topic":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Sources/Display.php    Test successful
2.    Execute Modification    ./Sources/ManagePermissions.php    Test failed
3.    Execute Modification    ./Sources/ModSettings.php    Test successful
4.    Execute Modification    ./Themes/default/Display.template.php    Test successful
5.    Execute Modification    ./Themes/default/index.template.php    Test successful
6.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
7.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
8.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test successful
9.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test failed
10.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
11.    Execute Code    add_settings.php


If I just manually edit those two files that failed, will it work right/
Title: Re: Active Members In Topic
Post by: ArkServer on July 13, 2006, 10:20:09 AM
Quote from: Vinspire on June 28, 2006, 10:30:13 AM
Quote from: snork13 on June 28, 2006, 09:16:10 AM
working example, toggle on/off too

http://www.snork13.net/smf11/index.php?topic=20.0 (http://www.snork13.net/smf11/index.php?topic=20.0)

Thanks snork. When will be the next version of this ? I want it to be like this screenshot  ;D

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg45.imageshack.us%2Fimg45%2F9760%2F062420061634556gz.png&hash=7c6a99ddf9cb77361ebc927fd33935b093770ac6)

Awesome
Title: Re: Active Members In Topic
Post by: PrizeLive.com on July 13, 2006, 03:07:55 PM
Any way to choose how its sorted in the admin side?  I'd like to see it sorted by username, but be able to switch based on post count as well..

One big issue I think.......

It's display the username and not the display name..... Some people want to hide their username so people dont know what name they log in with... Can you modify the code or how would I if I wanted to change this?
Title: Re: Active Members In Topic
Post by: fiver on July 13, 2006, 11:56:39 PM
Hi snork13... a feature request:

How about making it Active and Inactive Members In Topic? or maybe another mod called Inactive Members in Topic? so we can see a list of those members who has read but not posted. Thanks.

;)
Title: Re: Active Members In Topic
Post by: LostProphecy on July 14, 2006, 09:49:37 AM
oooh i would love the read but not posted bit but i imagine it would be ultra hard if not impossible to code...
Title: Re: Active Members In Topic
Post by: snork13 on July 14, 2006, 11:14:47 AM
Quote from: SurfExcelerator.com on July 13, 2006, 03:07:55 PM
Any way to choose how its sorted in the admin side?  I'd like to see it sorted by username, but be able to switch based on post count as well..

One big issue I think.......

It's display the username and not the display name..... Some people want to hide their username so people dont know what name they log in with... Can you modify the code or how would I if I wanted to change this?

this could be changed in the "query" I chose the name the member sign up with. I look into it after the weekend.

-Snork13
Title: Re: Active Members In Topic
Post by: PrizeLive.com on July 14, 2006, 12:20:46 PM
Quote from: snork13 on July 14, 2006, 11:14:47 AM
this could be changed in the "query" I chose the name the member sign up with. I look into it after the weekend.

-Snork13

Ok great.. Just let me know..
Title: Re: Active Members In Topic
Post by: snork13 on July 14, 2006, 09:58:59 PM
Quote from: SurfExcelerator.com on July 14, 2006, 12:20:46 PM
Quote from: snork13 on July 14, 2006, 11:14:47 AM
this could be changed in the "query" I chose the name the member sign up with. I look into it after the weekend.

-Snork13

Ok great.. Just let me know..


i think this is what you want.

in sources/Display.php  find 

{$db_prefix}members.memberName

and replace with

{$db_prefix}members.realName

-Snork13
Title: Re: Active Members In Topic
Post by: PrizeLive.com on July 15, 2006, 02:18:19 PM
Thanks snork13, it worked!
Title: Re: Active Members In Topic
Post by: PrizeLive.com on July 15, 2006, 02:49:01 PM
I have another request.... How can I have it so when I view a post, that my total is bolded when I view the active members in topic area?  So each member can find his/her stats quickly...
Title: Re: Active Members In Topic
Post by: PrizeLive.com on July 15, 2006, 10:45:17 PM
Take the picture below as an example.. Would there be anyway to reset all members numbers whenever you want to? Just for that topic only? I'd still want the posts to remain in the thread but the members totals be reset back to 0...

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg373.imageshack.us%2Fimg373%2F8875%2Funtitledce6.png&hash=40ac098548bc9fbdd37f36d7e04e63dcae70f276)
Title: Re: Active Members In Topic
Post by: PrizeLive.com on July 17, 2006, 10:15:18 AM
Is it possible to reset it?
Title: Re: Active Members In Topic
Post by: snork13 on July 17, 2006, 01:53:25 PM
Quote from: SurfExcelerator.com on July 17, 2006, 10:15:18 AM
Is it possible to reset it?
Not at this time, the query for the mod would need to be changed and I have no plan on doing that, but your welcome to.

-Snork13
Title: Re: Active Members In Topic
Post by: PrizeLive.com on July 17, 2006, 02:03:00 PM
Quote from: snork13 on July 17, 2006, 01:53:25 PM
Not at this time, the query for the mod would need to be changed and I have no plan on doing that, but your welcome to.

-Snork13

Can you give me the code (query) to run in the database (phpmyadmin) to reset the numbers for a given topic number?
Title: Re: Active Members In Topic
Post by: Vinspire on August 04, 2006, 05:25:39 PM
Quote from: Jay T on June 24, 2006, 04:30:09 PM
Snork very nice as always.

I do have one request if it is possible. I like the way VB has it. The amount of replies is a link that will popup this list. This info is sometimes good to have. The way VB has it is it just a little cleaner. Can this be done?

Here is a s/s to help explain
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg45.imageshack.us%2Fimg45%2F9760%2F062420061634556gz.th.png&hash=54ae9f70b4a8793826cb35cf2ebef0e7d2dffcfd) (http://img45.imageshack.us/my.php?image=062420061634556gz.png)

snork, can we have this in the next update ?
Title: Re: Active Members In Topic
Post by: angelillovk on September 10, 2006, 01:43:52 PM
Good afternoon, I have installed mod "Activates Members In Topic", gustaria to know to me as I can put the bottom of the black box.
Title: Re: Active Members In Topic
Post by: kriskd on October 07, 2006, 07:37:17 PM
Are any file modifications required for those of us not using the default theme?  (I use the classic theme.)
Title: Re: Active Members In Topic
Post by: kriskd on October 07, 2006, 10:20:26 PM
Quote from: kriskd on October 07, 2006, 07:37:17 PM
Are any file modifications required for those of us not using the default theme?  (I use the classic theme.)

Okay, I went through the XML file and saw the mod specs, but that looks like a big undertaking and I fear not getting it right.  Is there any guidelines out there to walk me through an XML file before I start hacking up my template files too much?
Title: Re: Active Members In Topic
Post by: snork13 on October 08, 2006, 12:46:20 AM
Quote from: kriskd on October 07, 2006, 10:20:26 PM
Quote from: kriskd on October 07, 2006, 07:37:17 PM
Are any file modifications required for those of us not using the default theme?  (I use the classic theme.)

Okay, I went through the XML file and saw the mod specs, but that looks like a big undertaking and I fear not getting it right.  Is there any guidelines out there to walk me through an XML file before I start hacking up my template files too much?

I would make a back up all files before editing. Other then that use the .xml file to find what need to be changed.

-Snork13
Title: Re: Active Members In Topic
Post by: kriskd on October 08, 2006, 07:04:22 AM
Quote from: snork13 on October 08, 2006, 12:46:20 AM
I would make a back up all files before editing. Other then that use the .xml file to find what need to be changed.

-Snork13

I'm looking at Display.template.php right now and part of the problem is in the Classic template, the piece that needs to be replaced doesn't exactly match how it's done in Display.template.php within the default template.  For example, here is the piece that needs to be replaced:


echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="catbg3">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr>'


And here is what's in the classic template:


echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="catbg3">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">';
if (!empty($modSettings['activeMemberEnable']) && AllowedTo('activeMember_view'))
{ echo '<a href="#" onclick="shrinkHeaderAM(!current_header_am); return false;"><img id="upshrink_am" src="', $settings['images_url'], '/', empty($options['collapse_header_am']) ? 'collapse.gif' : 'expand.gif', '" alt="*" title="', $txt['am_description'], '" style="margin-right: 2ex;" align="right" /></a>';}
echo'', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr></table>';


Note that the </tr> tag does end with an apostrophe and if I replaced up to the </tr> tag I don't think the table tags would match up correctly.  I checked the version of this file in the default template and it is an exact match.  So, I'm not sure how far I should replace since it doesn't match.

Also, I noticed I'd have to fix some of the style tags.  It appears that catbg3 is titlebg in the classic template.  Not a big deal, just something more to keep track of.

I'd appreciate it if I could get some direction on how to mod the classic template based on this.
Title: Re: Active Members In Topic
Post by: MissYeh on December 28, 2006, 06:30:24 PM
ooohh.. I need this one

Also working for 1.1.1 ?

:)
Title: Re: Active Members In Topic
Post by: kriskd on December 30, 2006, 06:58:32 AM
I got brave with my classic template, modified the Display.template.php and got this to work!  Recall the changes in the active_members.xml file were not a match for the classic template.  For documentation purposes, here is what I did:


<search position="replace" whitespace="loose" ><![CDATA[ echo '
<table cellpadding="3" cellspacing="0" border="0" width="100%" align="center" class="tborder" style="border-bottom: 0;">
<tr class="titlebg">
<td valign="middle" align="left" width="15%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" alt="" />
', $txt[29], '
</td>
<td valign="middle" align="left" width="85%" style="padding-left: 6px;" id="top_subject">
', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr>
</table>';]]></search>
<add><![CDATA[ echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="titlebg">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">';
if (!empty($modSettings['activeMemberEnable']) && AllowedTo('activeMember_view'))
{ echo '<a href="#" onclick="shrinkHeaderAM(!current_header_am); return false;"><img id="upshrink_am" src="', $settings['images_url'], '/', empty($options['collapse_header_am']) ? 'collapse.gif' : 'expand.gif', '" alt="*" title="', $txt['am_description'], '" style="margin-right: 2ex;" align="right" /></a>';}
echo'', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr></table>';
if (!empty($modSettings['activeMemberEnable']) && AllowedTo('activeMember_view'))
{
echo'<div id="upshrinkHeaderAM"', empty($options['collapse_header_am']) ? '' : ' style="display: none;"', '><table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;"><tr style="background-color:#FFFFFF;">
<td valign="middle" width="90%" style="padding-left: 6px;font-size:10px;" colspan="3">',$txt['activeMembers_title'],'<br />';

echo $context['members_posted'];

echo'</td>
</tr></table></div>';
}
]]></add>

Title: Re: Active Members In Topic
Post by: kriskd on December 30, 2006, 02:25:44 PM
Now that I have this working, I already had a complaint from a member that the default white background of the display box looks awful against my template and I agree.  To "fix" this, I just put the proper background style in the display.template.php file and it looks great now.

However, it would be the wrong color against any other template.  So, I'd like to suggest for future versions there be a place in the admin panel to set the background color of this.  (Assuming I'm not just missing something here....)
Title: Re: Active Members In Topic
Post by: recentcoin on February 08, 2007, 11:44:28 PM
I'm running 1.1.1 and when I try to install it from my "Dowload Packages" in the forum, it says that the package is corrupt or not for my version, but it lists 1.1.1 as a compatible version.   
Title: Re: Active Members In Topic
Post by: ZeroSkill on February 11, 2007, 11:55:07 AM
Hello Snork,

I've successfully installed your mod manually using Daniel15's Package Parser. But he fact is there is nothing about Active Members on Topic in the admin->(Configuration)->Features and Options->Layout and Options . I'm using RocketTheme's Versatility. I've attached a screenshot.

Title: Re: Active Members In Topic
Post by: ZeroSkill on February 16, 2007, 09:23:31 AM
No reply?  :-\
Title: Re: Active Members In Topic
Post by: snork13 on February 16, 2007, 10:57:28 AM
Quote from: ZeroSkill on February 11, 2007, 11:55:07 AM
Hello Snork,

I've successfully installed your mod manually using Daniel15's Package Parser. But he fact is there is nothing about Active Members on Topic in the admin->(Configuration)->Features and Options->Layout and Options . I'm using RocketTheme's Versatility. I've attached a screenshot.



does it work on the default theme? check this:


<file name="$sourcedir/ModSettings.php">
      <operation>
         <search position="before"><![CDATA[
         // Who's online.
         array('check', 'who_enabled'),]]></search>
         <add><![CDATA[
         // Active Members In Topic.
         array('check', 'activeMemberEnable'),
         array('check', 'activeMemberCountenable'),
         array('text', 'activeMemberColor'),
         array('text', 'activeMemberTextColor'),]]></add>
      </operation>
</file>      
Title: Re: Active Members In Topic
Post by: ZeroSkill on February 16, 2007, 11:08:51 AM
Hi, Yes it worked on default theme but not on Versility.

What I'll have to do with those code? Pardon me. I'm a newbie.
Title: Re: Active Members In Topic
Post by: snork13 on February 16, 2007, 11:13:08 AM
Quote from: ZeroSkill on February 16, 2007, 11:08:51 AM
Hi, Yes it worked on default theme but not on Versility.

What I'll have to do with those code? Pardon me. I'm a newbie.
I don't know that theme, but if it uses any of the below files and doesn't fall back on the default files, then you will need to edit the file manually.

<file name="$themedir/Display.template.php">
<operation>
<search position="replace" whitespace="loose" ><![CDATA[echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="catbg3">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr>';]]></search>
<add><![CDATA[ echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="catbg3">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">';
if (!empty($modSettings['activeMemberEnable']) && AllowedTo('activeMember_view'))
{ echo '<a href="#" onclick="shrinkHeaderAM(!current_header_am); return false;"><img id="upshrink_am" src="', $settings['images_url'], '/', empty($options['collapse_header_am']) ? 'collapse.gif' : 'expand.gif', '" alt="*" title="', $txt['am_description'], '" style="margin-right: 2ex;" align="right" /></a>';}
echo'', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr></table>';
if (!empty($modSettings['activeMemberEnable']) && AllowedTo('activeMember_view'))
{
echo'<div id="upshrinkHeaderAM"', empty($options['collapse_header_am']) ? '' : ' style="display: none;"', '><table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;"><tr style="background-color:'.$modSettings['activeMemberColor'].';">
<td valign="middle" width="90%" style="padding-left: 6px; font-size:10px; color:'.$modSettings['activeMemberTextColor'].'" colspan="3">',$txt['activeMembers_title'],'<br />';

echo $context['members_posted'];

echo'</td>
</tr></table></div>';
}
echo'<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">';
]]></add>
</operation>
</file>
<file name="$themedir/index.template.php">
<operation>
<search position="after"><![CDATA[</head>]]></search>
<add><![CDATA[<script language="JavaScript" type="text/javascript">
var current_header_am = ', empty($options['collapse_header_am']) ? 'false' : 'true', ';

function shrinkHeaderAM(mode)
{';

if ($context['user']['is_guest'])
echo '
document.cookie = "upshrinkAM=" + (mode ? 1 : 0);';
else
echo '
smf_setThemeOption("collapse_header_am", mode ? 1 : 0, null, "', $context['session_id'], '");';

echo '
document.getElementById("upshrink_am").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

document.getElementById("upshrinkHeaderAM").style.display = mode ? "none" : "";

current_header_am = mode;
}
</script>]]></add>
</operation>
</file>

<file name="$themedir/languages/Help.english.php">
<operation>
<search position="end"><![CDATA[ ?>]]></search>
<add><![CDATA[
$helptxt['activeMemberEnable'] = 'This option allows you to turn on or off the ability for users to see who is active in a topic.';
$helptxt['activeMemberCountenable'] = 'This option allows you to turn on or off the ability to count posts';

]]></add>
</operation>
</file>

<file name="$themedir/languages/index.english.php">
<operation>
<search position="end"><![CDATA[ ?>]]></search>
<add><![CDATA[
$txt['am_description'] = 'Shrink or expand the Active Members In Topic List.';
]]></add>
</operation>
</file>

<file name="$themedir/languages/ManagePermissions.english.php">
<operation>
<search position="end"><![CDATA[ ?>]]></search>
<add><![CDATA[
$txt['cannot_activeMember_view'] = 'Sorry, you\'re not allowed to view the Active Members In Topic.';
$txt['permissionname_activeMember_view'] = 'View Active Members In Topic';
$txt['permissionhelp_activeMember_view'] = 'Allow the members to view the Active Members In A Topic.  If not set, they will not see the the active members.';

]]></add>
</operation>
</file>

<file name="$themedir/languages/ModSettings.english.php">
<operation>
<search position="before"><![CDATA[
$txt['karmaLabel'] = 'Karma label';
$txt['karmaApplaudLabel'] = 'Karma applaud label';
$txt['karmaSmiteLabel'] = 'Karma smite label';
]]></search>
<add><![CDATA[
$txt['activeMemberEnable'] = 'Enable the active members in topic';
$txt['activeMemberCountenable'] = 'Enable the active members post count in topic';
$txt['activeMemberColor'] = 'Background color of the active member row';
$txt['activeMemberTextColor'] = 'Color of the active member text';
]]></add>
</operation>
</file>

<file name="$themedir/languages/Modifications.english.php">
<operation>
<search position="end"><![CDATA[ ?>]]></search>
<add><![CDATA[
$txt['activeMembers_title'] = 'Active members:';

]]></add>
</operation>
</file>

</modification>


-Snork13
Title: Re: Active Members In Topic
Post by: Hadrian on February 23, 2007, 02:14:54 PM
i am vary good at asking stupid questions because i don't know much about this code.. when you say you need to edit do you need to include the above code in the file of find and modify the code already in it????   :)

i using babylon

Hadrian
Title: Re: Active Members In Topic
Post by: snork13 on February 23, 2007, 04:39:11 PM
Quote from: Hadrian on February 23, 2007, 02:14:54 PM
i am vary good at asking stupid questions because i don't know much about this code.. when you say you need to edit do you need to include the above code in the file of find and modify the code already in it????   :)

i using babylon

Hadrian

yes, you would need to edit the file manually for the babylon theme. If you install the mod and switch to the default them you will see how it works. So, you will need to edit the theme files, and the language file associated with the theme. hope this helps.

-Snork13
Title: Re: Active Members In Topic
Post by: Hadrian on February 23, 2007, 04:55:36 PM
thanks.  i have a look  at it next week. i am little apprehensive as i am certain what i am doing. my little forum is quite busy so i don't want to take it off line if i can help it.

so am i lookingfor the relative section in the file and then changing it?  
Title: Re: Active Members In Topic
Post by: snork13 on February 23, 2007, 11:22:37 PM
Quote from: Hadrian on February 23, 2007, 04:55:36 PM
thanks.  i have a look  at it next week. i am little apprehensive as i am certain what i am doing. my little forum is quite busy so i don't want to take it off line if i can help it.

so am i lookingfor the relative section in the file and then changing it? 

yes, that is correct. make sure to make backups of the file before editing.
Title: Re: Active Members In Topic
Post by: ferrix on April 18, 2007, 07:20:38 PM
This plugin seems to list the login name instead of the display name.  That seems wrong to me, is there a reason not to show the display name instead?
Title: Re: Active Members In Topic
Post by: snork13 on April 19, 2007, 09:59:50 AM
Quote from: ferrix on April 18, 2007, 07:20:38 PM
This plugin seems to list the login name instead of the display name.  That seems wrong to me, is there a reason not to show the display name instead?

that's correct, and how the query works
Title: Re: Active Members In Topic
Post by: RiderRaghav on June 29, 2007, 11:40:57 PM
Will it work on smf v1.1.3 ... ???
 
Thanks in advance ;)
Title: Re: Active Members In Topic
Post by: ~Unkn0wn~ on July 05, 2007, 12:03:38 PM
I like the print button on your forum, can i know which mod it is :).


Ty,
Assasinkilla
Title: Re: Active Members In Topic
Post by: kamili34 on July 05, 2007, 03:58:50 PM
What do to  install it on smf 1.1.3   ???
Title: Re: Active Members In Topic
Post by: kamili34 on July 07, 2007, 03:21:19 PM
Please help  :'( :'( :'(
Title: Re: Active Members In Topic
Post by: snork13 on July 08, 2007, 10:57:25 AM
I'm not sure what the problem is. I updated it for 1.1.3 and tested on a fresh install and it works fine with no errors.

-snork13
Title: Re: Active Members In Topic
Post by: kamili34 on July 08, 2007, 06:38:00 PM
<file name="$themedir/Display.template.php">
<operation>
<search position="replace" whitespace="loose" ><![CDATA[echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="catbg3">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr>';]]></search>
<add><![CDATA[ echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="catbg3">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">';
if (!empty($modSettings['activeMemberEnable']) && AllowedTo('activeMember_view'))
{ echo '<a href="#" onclick="shrinkHeaderAM(!current_header_am); return false;"><img id="upshrink_am" src="', $settings['images_url'], '/', empty($options['collapse_header_am']) ? 'collapse.gif' : 'expand.gif', '" alt="*" title="', $txt['am_description'], '" style="margin-right: 2ex;" align="right" /></a>';}
echo'', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr></table>';
if (!empty($modSettings['activeMemberEnable']) && AllowedTo('activeMember_view'))
{
echo'<div id="upshrinkHeaderAM"', empty($options['collapse_header_am']) ? '' : ' style="display: none;"', '><table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;"><tr style="background-color:'.$modSettings['activeMemberColor'].';">
<td valign="middle" width="90%" style="padding-left: 6px; font-size:10px; color:'.$modSettings['activeMemberTextColor'].'" colspan="3">',$txt['activeMembers_title'],'<br />';

echo $context['members_posted'];

echo'</td>
</tr></table></div>';
}
echo'<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">';
]]></add>
</operation>
</file>


I got error on <file name="$themedir/Display.template.php"> and it can't parser because this phrase
<search position="replace" whitespace="loose" ><![CDATA[echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="catbg3">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr>';]]></search>


is different in my Display.template

Title: Re: Active Members In Topic
Post by: snork13 on July 09, 2007, 08:58:57 AM
Quote from: kamili34 on July 08, 2007, 06:38:00 PM
<file name="$themedir/Display.template.php">
<operation>
<search position="replace" whitespace="loose" ><![CDATA[echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="catbg3">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr>';]]></search>
<add><![CDATA[ echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="catbg3">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">';
if (!empty($modSettings['activeMemberEnable']) && AllowedTo('activeMember_view'))
{ echo '<a href="#" onclick="shrinkHeaderAM(!current_header_am); return false;"><img id="upshrink_am" src="', $settings['images_url'], '/', empty($options['collapse_header_am']) ? 'collapse.gif' : 'expand.gif', '" alt="*" title="', $txt['am_description'], '" style="margin-right: 2ex;" align="right" /></a>';}
echo'', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr></table>';
if (!empty($modSettings['activeMemberEnable']) && AllowedTo('activeMember_view'))
{
echo'<div id="upshrinkHeaderAM"', empty($options['collapse_header_am']) ? '' : ' style="display: none;"', '><table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;"><tr style="background-color:'.$modSettings['activeMemberColor'].';">
<td valign="middle" width="90%" style="padding-left: 6px; font-size:10px; color:'.$modSettings['activeMemberTextColor'].'" colspan="3">',$txt['activeMembers_title'],'<br />';

echo $context['members_posted'];

echo'</td>
</tr></table></div>';
}
echo'<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">';
]]></add>
</operation>
</file>


I got error on <file name="$themedir/Display.template.php"> and it can't parser because this phrase
<search position="replace" whitespace="loose" ><![CDATA[echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="catbg3">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr>';]]></search>


is different in my Display.template



You'll need to make the changes manually if you are using a custom theme or have other mods installed.
Title: Re: Active Members In Topic
Post by: kamili34 on July 09, 2007, 12:16:01 PM
I know this but I got erro becasue another mod change sth and I can't do this even manualy.
Title: Re: Active Members In Topic
Post by: snork13 on July 10, 2007, 10:21:35 AM
Quote from: kamili34 on July 09, 2007, 12:16:01 PM
I know this but I got erro becasue another mod change sth and I can't do this even manualy.

Manually is your only option without removing the other mods.

-snork13
Title: Re: Active Members In Topic
Post by: karenwalkersnipple on August 17, 2007, 11:29:44 PM
I can never understand the .xml info.  Can someone please post what code needs to be changed in order for this mod to work in custom themes?  I use about 7 different themes on my site. 

TIA
Title: Re: Active Members In Topic
Post by: falguni1 on January 02, 2008, 07:21:34 PM
how to change active members to members who posted here.
Title: Re: Active Members In Topic
Post by: TrueSatan on January 02, 2008, 07:34:53 PM
@ karenwalkersnippl

Please read (information on manual installs):

http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)

http://www.simplemachines.org/community/index.php?topic=34526.0 (http://www.simplemachines.org/community/index.php?topic=34526.0)

The following may also prove helpful:

http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)

Mirror of the last link:

http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)

The package parser gives the xml data in a more human readable form.
Title: Re: Active Members In Topic
Post by: snork13 on January 03, 2008, 12:14:11 AM
Quote from: falguni1 on January 02, 2008, 07:21:34 PM
how to change active members to members who posted here.

you mean the txt string?
Title: Re: Active Members In Topic
Post by: falguni1 on January 03, 2008, 06:31:36 AM
Quote from: snork13 on January 03, 2008, 12:14:11 AM
Quote from: falguni1 on January 02, 2008, 07:21:34 PM
how to change active members to members who posted here.

you mean the txt string?

yes

because people may feel active members means members who are online.
Title: Re: Active Members In Topic
Post by: snork13 on January 03, 2008, 12:35:19 PM
Quote from: falguni1 on January 03, 2008, 06:31:36 AM
Quote from: snork13 on January 03, 2008, 12:14:11 AM
Quote from: falguni1 on January 02, 2008, 07:21:34 PM
how to change active members to members who posted here.

you mean the txt string?

yes

because people may feel active members means members who are online.

in file $themedir/languages/Modifications.english.php


find:

$txt['activeMembers_title'] = 'Active members:';


change:

'Active members:

to whatever you wish to say

-snork13
Title: Re: Active Members In Topic
Post by: Durial on January 19, 2008, 07:17:30 PM
Link doesnt work :(
Title: Re: Active Members In Topic
Post by: falguni1 on February 02, 2008, 09:06:35 AM
I like this mod very much.
Title: Re: Active Members In Topic
Post by: THE BRA1N on May 10, 2008, 08:24:07 PM
any plan to update to 2.0?
Title: Re: Active Members In Topic
Post by: badmasketa on June 21, 2008, 02:09:31 PM
i installed "Active Members In Topic" successfully but its not working on mine.. i also checked on the Features and Options but no positive result....

can you guys please help me out??
Title: Re: Active Members In Topic
Post by: Cais on August 07, 2008, 05:43:51 PM
THis mod looks very interesting, but can it be insalled on SMF 1.1.5?

The automated install gives the standard corrupt or incorrect version error message; and, the manual install choice "here" says the mod is not compatible with 1.1.5.

Thanks, in advance, for your time to answer this ... or suggested work-arounds?!

J.
Title: Re: Active Members In Topic
Post by: Mystiquo on August 12, 2008, 11:13:02 AM
scuse me but with this mod i see who had read the post?????
Title: Re: Active Members In Topic
Post by: Apllicmz on September 28, 2008, 12:44:12 AM
sorry but iam update to 1.1.6 and translate portuguese_pt and brazilian

Plaese update
Title: Re: Active Members In Topic
Post by: InternetMafia on October 09, 2008, 06:47:30 PM
Any plans on making this compatible with 1.1.6
Title: Re: Active Members In Topic
Post by: snork13 on January 30, 2009, 03:39:24 PM
I updated the mod for 1.1.7 and 2.0 Beta 4. I added a new feature for 2.0 Beta 4.

-snork13
Title: Re: Active Members In Topic
Post by: chrisb on February 07, 2009, 07:46:00 PM
I have checked your files and you have stated its for 1.1.8 and in the modication file, there is no version for 1.1.8 , Please update
Title: Re: Active Members In Topic
Post by: valanar on February 08, 2009, 05:22:17 AM
Currently it shows members by account name, could we alter this to show display name?
If so, how?
Title: Re: Active Members In Topic
Post by: snork13 on February 08, 2009, 10:07:10 AM
Quote from: valanar on February 08, 2009, 05:22:17 AM
Currently it shows members by account name, could we alter this to show display name?
If so, how?

Sure, the query in display.php would need to be changed. I will make this an admin choice in the next release. I hope i can get this done by the end of the month.

-snork13
Title: Re: Active Members In Topic
Post by: snork13 on February 10, 2009, 09:23:06 AM
Quote from: valanar on February 08, 2009, 05:22:17 AM
Currently it shows members by account name, could we alter this to show display name?
If so, how?

ok, give it a try now. version 1.8

real_name is display name (which is how the database is).

-snork13
Title: Re: Active Members In Topic
Post by: jabisai on February 15, 2009, 12:06:24 PM
I have a problem beacause i upload the archive.zip but when i try to install says "Not defined option of installation""No se han definido las opciones de instlacion"

What can i do!!!
Title: Re: Active Members In Topic
Post by: Doburpally on February 18, 2009, 01:58:24 AM
Quote from: chrisb on February 07, 2009, 07:46:00 PM
I have checked your files and you have stated its for 1.1.8 and in the modication file, there is no version for 1.1.8 , Please update

I have checked the forum version that this is compatible with and when I come to apply the mod I get this error
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: Active Members In Topic
Post by: snork13 on February 18, 2009, 02:02:54 PM
Quote from: Guy with a Colt on February 18, 2009, 01:58:24 AM
Quote from: chrisb on February 07, 2009, 07:46:00 PM
I have checked your files and you have stated its for 1.1.8 and in the modication file, there is no version for 1.1.8 , Please update

I have checked the forum version that this is compatible with and when I come to apply the mod I get this error
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

try uploading the package to the package folder via ftp

-snork13
Title: Re: Active Members In Topic
Post by: Doburpally on February 19, 2009, 03:50:59 AM
hmm ::) well it does this, see pic

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.5starimage.coldyshangout.com%2Fthumb-480D_499D0964.jpg&hash=55633dc0972cd079e3d389bb0f99bacc8c8ab147) (http://www.5starimage.coldyshangout.com/share-480D_499D0964.html)

I also tried re downloading zip file and same results :(
Title: Re: Active Members In Topic
Post by: snork13 on February 19, 2009, 09:19:27 AM
Quote from: Guy with a Colt on February 19, 2009, 03:50:59 AM
hmm ::) well it does this, see pic

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.5starimage.coldyshangout.com%2Fthumb-480D_499D0964.jpg&hash=55633dc0972cd079e3d389bb0f99bacc8c8ab147) (http://www.5starimage.coldyshangout.com/share-480D_499D0964.html)

I also tried re downloading zip file and same results :(

what version of smf are you running?
Title: Re: Active Members In Topic
Post by: Doburpally on February 20, 2009, 06:10:56 AM
i'm running 1.1.8 (didnt update from 1.1.7 it was a straight install 1.1.8 )
Title: Re: Active Members In Topic
Post by: snork13 on February 20, 2009, 10:14:58 AM
Quote from: Guy with a Colt on February 20, 2009, 06:10:56 AM
i'm running 1.1.8 (didnt update from 1.1.7 it was a straight install 1.1.8 )

ok, download the new version. I just updated it :)

-snork13
Title: Re: Active Members In Topic
Post by: Doburpally on February 20, 2009, 11:57:41 AM
Cheers m8, it works like a dream now ;)
Title: Re: Active Members In Topic
Post by: snork13 on February 20, 2009, 02:33:14 PM
Quote from: Guy with a Colt on February 20, 2009, 11:57:41 AM
Cheers m8, it works like a dream now ;)

good to hear :)
Title: Re: Active Members In Topic
Post by: wickedstangs on March 02, 2009, 01:10:44 AM
need help installing on my Template...
Title: Re: Active Members In Topic
Post by: mattchewone on March 02, 2009, 06:48:04 AM
Is it possible to have the 'members in topic' at the bottom of the board like in VB?
Title: Re: Active Members In Topic
Post by: snork13 on March 02, 2009, 07:55:43 PM
Quote from: mattchewone on March 02, 2009, 06:48:04 AM
Is it possible to have the 'members in topic' at the bottom of the board like in VB?

maybe i can add the option in the next release, or you could edit display.template.php and add it where you like ;)

-snork13
Title: Re: Active Members In Topic
Post by: mattchewone on March 03, 2009, 05:39:42 AM
Quote from: snork13 on March 02, 2009, 07:55:43 PM
Quote from: mattchewone on March 02, 2009, 06:48:04 AM
Is it possible to have the 'members in topic' at the bottom of the board like in VB?

maybe i can add the option in the next release, or you could edit display.template.php and add it where you like ;)

-snork13

What would i need to be looking for to move??
Thanks
Title: Re: Active Members In Topic
Post by: Kanianlak on March 06, 2009, 06:28:52 AM
Hello!

I have a big problem. I installed manually this mod, but I can't fot display.template.php, because it's in table, not div.

Can anyone provide me a table version istead of the div? Thanks a lot :)
Title: Re: Active Members In Topic
Post by: Blinker on March 07, 2009, 11:30:08 PM
Hi snork13, nice mod. Installed fine and works on my custom theme.

One problem though: when I go to my permissions it generates two errors -

8: Undefined index: permissionname_0_any
File: /home/content/x/x/x/xxxxxxxxx/html/forum/Sources/ManagePermissions.php
Line: 1524

8: Undefined index: permissionname_0_own
File: /home/content/x/x/x/xxxxxxxxx/html/forum/Sources/ManagePermissions.php
Line: 1520


Line 1520 in my managepermissions.php is

'name' => $has_own_any ? $txt['permissionname_' . $perm . '_own'] : ''

It's the same code for line 1524 except "own" changes to "any" at the end.

How can I stop these errors?
Title: Re: Active Members In Topic
Post by: DeviDarkL on March 18, 2009, 09:59:16 PM
Great Mod ;)

Here are the Portuguese and Brazilian Translations:
<file name="$themedir/languages/Help.portuguese_pt.php" error="skip">
<operation>
<search position="end"><![CDATA[ ?>]]></search>
<add><![CDATA[
$helptxt['activeMemberEnable'] = 'Esta opção permite que ligues ou desligues a habilidade dos utilizadores verem quem é que é mais activo no tópico.';
$helptxt['activeMemberCountenable'] = 'Esta opção permite que ligues ou desligues a habilidade de contar posts';

]]></add>
</operation>
</file>

<file name="$themedir/languages/index.portuguese_pt.php" error="skip">
<operation>
<search position="end"><![CDATA[ ?>]]></search>
<add><![CDATA[
$txt['am_description'] = 'Minimizar ou Expandir a lista de Membros mais Activos no Tópico.';
]]></add>
</operation>
</file>

<file name="$themedir/languages/ManagePermissions.portuguese_pt.php" error="skip">
<operation>
<search position="end"><![CDATA[ ?>]]></search>
<add><![CDATA[
$txt['cannot_activeMember_view'] = 'Desculpa, não estás autorizado a ver os Membros mais Activos no Tópico.';
$txt['permissionname_activeMember_view'] = 'Ver os Membros mais Activos no Tópico';
$txt['permissionhelp_activeMember_view'] = 'Permitir aos membros ver os Membros mais Activos no Tópico.  Se não estiver ligado, não verão os Membros mais Activos.';

]]></add>
</operation>
</file>

<file name="$themedir/languages/ManageSettings.portuguese_pt.php" error="skip">
<operation>
<search position="before"><![CDATA[
$txt['karmaLabel'] = 'Título do Karma';
$txt['karmaApplaudLabel'] = 'Aumentar Karma';
$txt['karmaSmiteLabel'] = 'Diminuir Karma';
]]></search>
<add><![CDATA[
$txt['activeMemberEnable'] = 'Activar os membros mais activos no tópico';
$txt['activeMemberCountenable'] = 'Permitir a contagem de posts nos membros mais activos no tópico';
$txt['activeMemberColor'] = 'Cor de fundo da fila dos membros mais activos';
$txt['activeMemberTextColor'] = 'Cor do texto do membros mais activo';
$txt['activeMemberSort'] = 'Ordenar por posts mais altos ou mais baixos no tópico';
$txt['activeMemberName'] = 'Odernar pelo nome do membro ou nome real';
$txt['active_desc'] = 'Ordenação Descendente';
$txt['active_asc'] = 'Ordenação Ascendente';
$txt['active_mname'] = 'Nome do Membro';
$txt['active_rname'] = 'Nome Real';
]]></add>
</operation>
</file>

<file name="$themedir/languages/Modifications.portuguese_pt.php" error="skip">
<operation>
<search position="end"><![CDATA[ ?>]]></search>
<add><![CDATA[
$txt['activeMembers_title'] = 'Membros mais Activos:';

]]></add>
</operation>
</file>
<file name="$themedir/languages/Help.brazilian.php" error="skip">
<operation>
<search position="end"><![CDATA[ ?>]]></search>
<add><![CDATA[
$helptxt['activeMemberEnable'] = 'Esta opção permite que ligues ou desligues a habilidade dos utilizadores verem quem é que é mais activo no tópico.';
$helptxt['activeMemberCountenable'] = 'Esta opção permite que ligues ou desligues a habilidade de contar posts';

]]></add>
</operation>
</file>

<file name="$themedir/languages/index.brazilian.php" error="skip">
<operation>
<search position="end"><![CDATA[ ?>]]></search>
<add><![CDATA[
$txt['am_description'] = 'Minimizar ou Expandir a lista de Membros mais Activos no Tópico.';
]]></add>
</operation>
</file>

<file name="$themedir/languages/ManagePermissions.brazilian.php" error="skip">
<operation>
<search position="end"><![CDATA[ ?>]]></search>
<add><![CDATA[
$txt['cannot_activeMember_view'] = 'Desculpa, não estás autorizado a ver os Membros mais Activos no Tópico.';
$txt['permissionname_activeMember_view'] = 'Ver os Membros mais Activos no Tópico';
$txt['permissionhelp_activeMember_view'] = 'Permitir aos membros ver os Membros mais Activos no Tópico.  Se não estiver ligado, não verão os Membros mais Activos.';

]]></add>
</operation>
</file>

<file name="$themedir/languages/ManageSettings.brazilian.php" error="skip">
<operation>
<search position="before"><![CDATA[
$txt['karmaLabel'] = 'Etiqueta de Karma';
$txt['karmaApplaudLabel'] = 'Etiqueta de Karma Positivo';
$txt['karmaSmiteLabel'] = 'Etiqueta de Karma Negativo';
]]></search>
<add><![CDATA[
$txt['activeMemberEnable'] = 'Activar os membros mais activos no tópico';
$txt['activeMemberCountenable'] = 'Permitir a contagem de posts nos membros mais activos no tópico';
$txt['activeMemberColor'] = 'Cor de fundo da fila dos membros mais activos';
$txt['activeMemberTextColor'] = 'Cor do texto do membros mais activo';
$txt['activeMemberSort'] = 'Ordenar por posts mais altos ou mais baixos no tópico';
$txt['activeMemberName'] = 'Odernar pelo nome do membro ou nome real';
$txt['active_desc'] = 'Ordenação Descendente';
$txt['active_asc'] = 'Ordenação Ascendente';
$txt['active_mname'] = 'Nome do Membro';
$txt['active_rname'] = 'Nome Real';
]]></add>
</operation>
</file>

<file name="$themedir/languages/Modifications.brazilian.php" error="skip">
<operation>
<search position="end"><![CDATA[ ?>]]></search>
<add><![CDATA[
$txt['activeMembers_title'] = 'Membros mais Activos:';

]]></add>
</operation>
</file>
Title: Re: Active Members In Topic
Post by: Blinker on April 06, 2009, 07:28:32 PM
Quote from: Blinker on March 07, 2009, 11:30:08 PM
Hi snork13, nice mod. Installed fine and works on my custom theme.

One problem though: when I go to my permissions it generates two errors -

8: Undefined index: permissionname_0_any
File: /home/content/x/x/x/xxxxxxxxx/html/forum/Sources/ManagePermissions.php
Line: 1524

8: Undefined index: permissionname_0_own
File: /home/content/x/x/x/xxxxxxxxx/html/forum/Sources/ManagePermissions.php
Line: 1520


Line 1520 in my managepermissions.php is

'name' => $has_own_any ? $txt['permissionname_' . $perm . '_own'] : ''

It's the same code for line 1524 except "own" changes to "any" at the end.

How can I stop these errors?

Still getting these errors. Can anyone help me.

One other question - the mod displays the members original account name. Some of my members have different display names. Is it possible to get it to show the display name instead of the original username?
Title: Re: Active Members In Topic
Post by: Dr.Stinglock on April 06, 2009, 11:59:17 PM
Quote from: Blinker on April 06, 2009, 07:28:32 PM
One other question - the mod displays the members original account name. Some of my members have different display names. Is it possible to get it to show the display name instead of the original username?

One other answer..
Quote
New in 1.7->1.8

+Added ability for admin to change active members display name from either member name(name registered with) or real name(display name in profile)
Title: Re: Active Members In Topic
Post by: Blinker on April 07, 2009, 04:45:09 AM
Hey rodregis

I did notice earlier in the thread that this ability should be in v1.8 yet that is what I have installed and no such option appears. Even the option to change the order of post count (asc vs desc) is missing (it's in the screenshot on the mod page).

Here are screenshots from my forum...both my custom theme and default theme.
Title: Re: Active Members In Topic
Post by: Kanianlak on April 07, 2009, 04:56:00 AM
Still needed a table verison instead of the div for display.template.php

Anyone? Please.
Title: Re: Active Members In Topic
Post by: snork13 on April 07, 2009, 01:58:24 PM
Quote from: Kanianlak on April 07, 2009, 04:56:00 AM
Still needed a table verison instead of the div for display.template.php

Anyone? Please.

the older version were table, the default theme for 2.0 is moving away from tables.
Title: Re: Active Members In Topic
Post by: snork13 on April 07, 2009, 01:59:28 PM
Quote from: Blinker on April 07, 2009, 04:45:09 AM
Hey rodregis

I did notice earlier in the thread that this ability should be in v1.8 yet that is what I have installed and no such option appears. Even the option to change the order of post count (asc vs desc) is missing (it's in the screenshot on the mod page).

Here are screenshots from my forum...both my custom theme and default theme.

i may have only added that to the 2.0 rc1
Title: Re: Active Members In Topic
Post by: Patriot89 on April 20, 2009, 08:53:11 PM
Is there a way to have it show the Users that are Online and viewing it instead of people who were active in that thread days ago?
Title: Re: Active Members In Topic
Post by: snork13 on April 21, 2009, 08:37:11 AM
Quote from: Patriot89 on April 20, 2009, 08:53:11 PM
Is there a way to have it show the Users that are Online and viewing it instead of people who were active in that thread days ago?

that is already a built in feature in smf, look at your theme settings

-snork13
Title: Re: Active Members In Topic
Post by: Blinker on April 25, 2009, 05:28:55 AM
I solved my permission error problem - turned out to be another mod causing it. See this post - http://www.simplemachines.org/community/index.php?topic=297946.msg2030594#msg2030594
Title: Re: Active Members In Topic
Post by: Gwydion Frost on May 03, 2009, 07:58:20 PM
Quote from: snork13 on April 07, 2009, 01:59:28 PM
Quote from: Blinker on April 07, 2009, 04:45:09 AM
Hey rodregis

I did notice earlier in the thread that this ability should be in v1.8 yet that is what I have installed and no such option appears. Even the option to change the order of post count (asc vs desc) is missing (it's in the screenshot on the mod page).

Here are screenshots from my forum...both my custom theme and default theme.

i may have only added that to the 2.0 rc1

Yeah, looking through the modifications, you did only add it to the 2.0 file. Any chance of getting those options for the 1.1.X version? My members are a little upset that their log in name is being displayed versus their display name...
Title: Re: Active Members In Topic
Post by: snork13 on May 04, 2009, 10:03:27 AM
Quote from: Gwydion Frost on May 03, 2009, 07:58:20 PM
Quote from: snork13 on April 07, 2009, 01:59:28 PM
Quote from: Blinker on April 07, 2009, 04:45:09 AM
Hey rodregis

I did notice earlier in the thread that this ability should be in v1.8 yet that is what I have installed and no such option appears. Even the option to change the order of post count (asc vs desc) is missing (it's in the screenshot on the mod page).

Here are screenshots from my forum...both my custom theme and default theme.

i may have only added that to the 2.0 rc1

Yeah, looking through the modifications, you did only add it to the 2.0 file. Any chance of getting those options for the 1.1.X version? My members are a little upset that their log in name is being displayed versus their display name...

you can change it manually, you just need to edit the query. If you wish to do this lmk and I can help.

-snork13

Title: Re: Active Members In Topic
Post by: Gwydion Frost on May 17, 2009, 09:04:07 AM
Oh yes, I have been hearing non-stop complaints. Same with having the login names appearing in Flashchat.
Title: Re: Active Members In Topic
Post by: snork13 on May 26, 2009, 09:07:03 AM
Quote from: Gwydion Frost on May 17, 2009, 09:04:07 AM
Oh yes, I have been hearing non-stop complaints. Same with having the login names appearing in Flashchat.

did you need me to tell you what to change in the query, or have you gotten it done already.
-snork13
Title: Re: Active Members In Topic
Post by: Gwydion Frost on May 30, 2009, 11:51:13 AM
Yeah... looking to have the DISPLAY NAMES appear in 1.1.8 1.1.9, like the option is in 2.0, versus log in names.
Title: Re: Active Members In Topic
Post by: Nameless? on June 17, 2009, 07:01:23 AM
snork !! this is what happends when i uninstall it !

Installing this package will perform the following actions:   Type Action Description
1. Execute Modification ./Sources/Display.php Test successful
  1. Replace ./Sources/Display.php Test successful

2. Execute Modification ./Sources/ManagePermissions.php Test successful
  1. Replace ./Sources/ManagePermissions.php Test successful

3. Execute Modification ./Sources/ManageSettings.php Test successful
  1. Replace ./Sources/ManageSettings.php Test successful

4. Execute Modification ./Themes/default/Display.template.php Test successful
  1. Replace ./Themes/default/Display.template.php Test successful

5. Execute Modification ./Themes/default/index.template.php Test failed
  1. Replace ./Themes/default/index.template.php Test failed

6. Execute Modification ./Themes/default/css/forum.css Test successful
  1. Replace ./Themes/default/css/forum.css Test successful

7. Execute Modification ./Themes/default/languages/Help.english.php Test successful
  1. Add Before ./Themes/default/languages/Help.english.php Test successful

8. Execute Modification ./Themes/default/languages/index.english.php Test successful
  1. Add Before ./Themes/default/languages/index.english.php Test successful

9. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
  1. Add Before ./Themes/default/languages/ManagePermissions.english.php Test successful

10. Execute Modification ./Themes/default/languages/ManageSettings.english.php Test successful
  1. Replace ./Themes/default/languages/ManageSettings.english.php Test successful

11. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful


I Hope you got an Good Explanation for this!!
Title: Re: Active Members In Topic
Post by: snork13 on June 17, 2009, 09:14:43 AM
Quote from: Nameless? on June 17, 2009, 07:01:23 AM
snork !! this is what happends when i uninstall it !

Installing this package will perform the following actions:   Type Action Description
1. Execute Modification ./Sources/Display.php Test successful
  1. Replace ./Sources/Display.php Test successful

2. Execute Modification ./Sources/ManagePermissions.php Test successful
  1. Replace ./Sources/ManagePermissions.php Test successful

3. Execute Modification ./Sources/ManageSettings.php Test successful
  1. Replace ./Sources/ManageSettings.php Test successful

4. Execute Modification ./Themes/default/Display.template.php Test successful
  1. Replace ./Themes/default/Display.template.php Test successful

5. Execute Modification ./Themes/default/index.template.php Test failed
  1. Replace ./Themes/default/index.template.php Test failed

6. Execute Modification ./Themes/default/css/forum.css Test successful
  1. Replace ./Themes/default/css/forum.css Test successful

7. Execute Modification ./Themes/default/languages/Help.english.php Test successful
  1. Add Before ./Themes/default/languages/Help.english.php Test successful

8. Execute Modification ./Themes/default/languages/index.english.php Test successful
  1. Add Before ./Themes/default/languages/index.english.php Test successful

9. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
  1. Add Before ./Themes/default/languages/ManagePermissions.english.php Test successful

10. Execute Modification ./Themes/default/languages/ManageSettings.english.php Test successful
  1. Replace ./Themes/default/languages/ManageSettings.english.php Test successful

11. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful


I Hope you got an Good Explanation for this!!

I really like the thumb down, very classy.

I have a great answer, you or another modification changed the code that the uninstall is looking for. You will need to look at that file and figure out what changed.

-snork13
Title: Re: Active Members In Topic
Post by: Gwydion Frost on June 19, 2009, 05:38:00 PM
So, ahhh... what's the query I need to change to get it to display DISPLAY names, instead of LOG IN names...?

Really appreciate it. [this is for 1.1.X]
Title: Re: Active Members In Topic
Post by: snork13 on June 19, 2009, 11:35:30 PM
Please make a backup of the file before editing O:)

In Sources Dir edit the file Display.php

find:


//get members who posted in topic and how many times
$member_count=0;
$request = db_query("
            SELECT COUNT(*) AS 'POSTCOUNT', {$db_prefix}members.ID_MEMBER, {$db_prefix}members.memberName, {$db_prefix}membergroups.onlineColor




change

.memberName



to(i think it's realName in 1.1.x, but  in 2.0 it is real_name):


.realName





-snork13

Title: Re: Active Members In Topic
Post by: Rockz on June 28, 2009, 01:00:08 PM
Hey snork, do you think you can make this compatible for 2.0 RC1-1?  I just tried to install it with that SMF version and was given the following message in the package manager:

QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Thanks a lot!
Title: Re: Active Members In Topic
Post by: bros on July 13, 2009, 12:54:42 PM
Got an error in SMF 2 RC1-1

won't install, same reason as above
Title: Re: Active Members In Topic
Post by: CesarManara on July 25, 2009, 01:41:57 AM
Language portuguese_brazilian on SMF 2.0 RC1.2.

Help.portuguese_brazilian.php
$helptxt['activeMemberEnable'] = 'Esta opção permite você permitir ou negar os usuários de verem quem esteve ativo no tópico.';
$helptxt['activeMemberCountenable'] = 'Esta opção permite você ligar ou desligar a contagem de posts.';



index.portuguese_brazilian.php
$txt['am_description'] = 'Esconder ou Expandir a lista de membros ativos em um tópico.';


ManagePermissions.portuguese_brazilian.php
$txt['cannot_activeMember_view'] = 'Desculpe, você não tem permissão para ver a lista de membros ativos neste tópico.';
$txt['permissionname_activeMember_view'] = 'Ver membros ativos no tópico';
$txt['permissionhelp_activeMember_view'] = 'Permite os membros verem os usuários ativos nos tópicos.  Se não selecionada, eles não verão os membros ativos.';


ManageSettings.portuguese_brazilian.php
$txt['activeMemberEnable'] = 'Habilitar a lista de membros ativos no tópico';
$txt['activeMemberCountenable'] = 'Habilitar a exebição do número de posts na lista de membros ativos';
$txt['activeMemberColor'] = 'Cor do preenchimento do fundo da lista de membros ativos';
$txt['activeMemberTextColor'] = 'Cor do texto da lista de membros ativos';
$txt['activeMemberSort'] = 'Classificar por ordem crescente ou decrescente de posts no tópico';
$txt['activeMemberName'] = 'Classificar por nome do membro ou nome real';
$txt['active_desc'] = 'Classificar em ordem Decrescente';
$txt['active_asc'] = 'Classificar em ordem Crescente';
$txt['active_mname'] = 'Nome do membro';
$txt['active_rname'] = 'Nome real';



Modifications.portuguese_brazilian.php
$txt['activeMembers_title'] = 'Membros ativos:';
Title: Re: Active Members In Topic
Post by: snork13 on July 25, 2009, 08:58:35 AM
Quote from: CesarManara on July 25, 2009, 01:41:57 AM
Language portuguese_brazilian on SMF 2.0 RC1.2.

Help.portuguese_brazilian.php
$helptxt['activeMemberEnable'] = 'Esta opção permite você permitir ou negar os usuários de verem quem esteve ativo no tópico.';
$helptxt['activeMemberCountenable'] = 'Esta opção permite você ligar ou desligar a contagem de posts.';



index.portuguese_brazilian.php
$txt['am_description'] = 'Esconder ou Expandir a lista de membros ativos em um tópico.';


ManagePermissions.portuguese_brazilian.php
$txt['cannot_activeMember_view'] = 'Desculpe, você não tem permissão para ver a lista de membros ativos neste tópico.';
$txt['permissionname_activeMember_view'] = 'Ver membros ativos no tópico';
$txt['permissionhelp_activeMember_view'] = 'Permite os membros verem os usuários ativos nos tópicos.  Se não selecionada, eles não verão os membros ativos.';


ManageSettings.portuguese_brazilian.php
$txt['activeMemberEnable'] = 'Habilitar a lista de membros ativos no tópico';
$txt['activeMemberCountenable'] = 'Habilitar a exebição do número de posts na lista de membros ativos';
$txt['activeMemberColor'] = 'Cor do preenchimento do fundo da lista de membros ativos';
$txt['activeMemberTextColor'] = 'Cor do texto da lista de membros ativos';
$txt['activeMemberSort'] = 'Classificar por ordem crescente ou decrescente de posts no tópico';
$txt['activeMemberName'] = 'Classificar por nome do membro ou nome real';
$txt['active_desc'] = 'Classificar em ordem Decrescente';
$txt['active_asc'] = 'Classificar em ordem Crescente';
$txt['active_mname'] = 'Nome do membro';
$txt['active_rname'] = 'Nome real';



Modifications.portuguese_brazilian.php
$txt['activeMembers_title'] = 'Membros ativos:';

Thanks, I will commit on the next update very soon.
Title: Re: Active Members In Topic
Post by: DragonKith on October 12, 2009, 07:09:43 PM
I can't seem to find this file in my Sources Folder i am not sure if its a error and mispelled the name of the file or what Sources/ManageSettings.php   Can someone help me i am lost i am using SMF 1.1.10 right now there is no file called that in the Source Folder at all
Title: Re: Active Members In Topic
Post by: snork13 on October 14, 2009, 01:03:04 PM
i think it is modsetting in 1.1, make sure you are looking at the correct xml mod file
Title: Re: Active Members In Topic
Post by: Sudhakar Arjunan on November 20, 2009, 07:54:45 PM
Thanks for the update. great mod.
Title: Re: Active Members In Topic
Post by: c-o-d-e on November 28, 2009, 07:54:53 PM
Is there anyway to put an image on the background colour?
Also perhaps changing the padding?
Title: Re: Active Members In Topic
Post by: Swer on March 05, 2010, 05:47:33 PM
no updates for rc2? :(
Title: Re: Active Members In Topic
Post by: TheListener on March 11, 2010, 04:47:40 AM
Quote from: Swer on March 05, 2010, 05:47:33 PM
no updates for rc2? :(

Er don't ya mean RC3?

;)
Title: Re: Active Members In Topic
Post by: TheListener on March 29, 2010, 09:31:30 AM
Love this mod.

Installed the mod with no errors.

However the members names are NOT showing in the topic view.

Have checked all the files and found nothing missing.
Title: Re: Active Members In Topic
Post by: TheListener on April 18, 2010, 09:38:22 PM
Despite the required edits there section in admin is not there.

Any advice please.
Title: Re: Active Members In Topic
Post by: snork13 on April 20, 2010, 09:21:18 AM
Quote from: Brack1 on April 18, 2010, 09:38:22 PM
Despite the required edits there section in admin is not there.

Any advice please.
are using a custom theme, have those file been checked? does it work on the default theme?
Title: Re: Active Members In Topic
Post by: TheListener on April 20, 2010, 10:16:29 AM
Managed to get it sorted eventually.

Darn edits.  :)
Title: Re: Active Members In Topic
Post by: robg2251 on April 27, 2010, 11:37:58 AM
Will this be compatible with RC3 soon? 
Title: Re: Active Members In Topic
Post by: TheListener on April 27, 2010, 11:40:39 AM
Quote from: robg2251 on April 27, 2010, 11:37:58 AM
Will this be compatible with RC3 soon?

It already is.

Are you familiar with the emulate verion which is below the mod list? ( click advance)
Title: Re: Active Members In Topic
Post by: Snape on April 29, 2010, 01:55:46 PM
Quote from: Brack1 on April 27, 2010, 11:40:39 AM
Quote from: robg2251 on April 27, 2010, 11:37:58 AM
Will this be compatible with RC3 soon?

It already is.

Are you familiar with the emulate verion which is below the mod list? ( click advance)
It works, but it's not entirely curve-happy as is.
Title: Re: Active Members In Topic
Post by: TheListener on April 29, 2010, 01:56:47 PM
Looks ok on my forum.
Title: Re: Active Members In Topic
Post by: frozenas on July 25, 2010, 10:06:04 PM
Hi. I would like this table to move to the end of the topic, like it is in other forums by default. I think it would look better. How can i do that?

And nice mod, thanks.
Title: Re: Active Members In Topic
Post by: Bugo on September 21, 2010, 05:44:47 AM
snork13, why not add a space in the code? (see attachment for exampe)

Display.php, find
'('. $memberPosted_id[$member_count] . ')</a>'

Replace with
' ('. $memberPosted_id[$member_count] . ')</a>'
Title: Re: Active Members In Topic
Post by: marwan on September 23, 2010, 01:47:29 PM
Trying to install this mod on RC3. I'm using the package manager to install. I got an error updating "./Themes/default/languages/ManageSettings.english.php".

Please help.
Title: Re: Active Members In Topic
Post by: Bugo on November 15, 2010, 10:17:25 AM
Updated files for install on SMF 2.0 RC4 + russian translation.
Title: Re: Active Members In Topic
Post by: Apllicmz on January 09, 2011, 05:13:05 AM
When Update send PM i have all file translated in portuguese_pt
thank you
Title: Re: Active Members In Topic
Post by: snork13 on January 09, 2011, 10:15:54 AM
Quote from: Bugo on November 15, 2010, 10:17:25 AM
Updated files for install on SMF 2.0 RC4 + russian translation.

i will add these on the next update
Title: Re: Active Members In Topic
Post by: snork13 on January 09, 2011, 10:16:19 AM
Quote from: Joomlamz on January 09, 2011, 05:13:05 AM
When Update send PM i have all file translated in portuguese_pt
thank you

can u attach to this thread and i will add
Title: Re: Active Members In Topic
Post by: impreza on January 09, 2011, 03:20:56 PM
Interesting mod, thanks for making
Title: Re: Active Members In Topic
Post by: Apllicmz on January 12, 2011, 04:56:46 PM
Yes all done

<file name="$themedir/languages/Help.portuguese_pt.php" error="skip">
        <operation>
            <search position="end"><![CDATA[ ?>]]></search>
            <add><![CDATA[
$helptxt['activeMemberEnable'] = 'Esta op&ccedil;&atilde;o permite ligar ou desligar a capacidade para os utilizadores para ver quem est&aacute; activo em um t&oacute;pico.';
$helptxt['activeMemberCountenable'] = 'Esta op&ccedil;&atilde;o permite ligar ou desligar a capacidade de contar postes';

]]></add>
        </operation>
</file>
<file name="$themedir/languages/Help.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end"><![CDATA[ ?>]]></search>
            <add><![CDATA[
$helptxt['activeMemberEnable'] = 'Esta op&ccedil;&atilde;o permite ligar ou desligar a capacidade para os utilizadores para ver quem est&aacute; activo em um t&oacute;pico.';
$helptxt['activeMemberCountenable'] = 'Esta op&ccedil;&atilde;o permite ligar ou desligar a capacidade de contar postes';

]]></add>
        </operation>
</file>



<file name="$themedir/languages/index.portuguese_pt.php" error="skip">
        <operation>
            <search position="end"><![CDATA[ ?>]]></search>
            <add><![CDATA[
$txt['am_description'] = 'Encolher ou expandir o membros Activo em na lista do T&oacute;pico.';
]]></add>
        </operation>
</file>
<file name="$themedir/languages/index.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end"><![CDATA[ ?>]]></search>
            <add><![CDATA[
$txt['am_description'] = 'Encolher ou expandir o membros Activo em na lista do T&oacute;pico.';
]]></add>
        </operation>
</file>



<file name="$themedir/languages/ManagePermissions.portuguese_pt.php" error="skip">
        <operation>
            <search position="end"><![CDATA[ ?>]]></search>
            <add><![CDATA[
$txt['cannot_activeMember_view'] = 'Desculpa, n&atilde;o tem permiss&atilde;o para ver os membros activo no t&oacute;pico.';
$txt['permissionname_activeMember_view'] = 'Ver os membros activos em T&oacute;pico';
$txt['permissionhelp_activeMember_view'] = 'Permitir que os membros vejam os t&oacute;pico activos. Se n&atilde;o for definido, que n&atilde;o ver&aacute; o os membros activos.';

]]></add>
        </operation>
</file>
<file name="$themedir/languages/ManagePermissions.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end"><![CDATA[ ?>]]></search>
            <add><![CDATA[
$txt['cannot_activeMember_view'] = 'Desculpa, n&atilde;o tem permiss&atilde;o para ver os membros activo no t&oacute;pico.';
$txt['permissionname_activeMember_view'] = 'Ver os membros activos em T&oacute;pico';
$txt['permissionhelp_activeMember_view'] = 'Permitir que os membros vejam os t&oacute;pico activos. Se n&atilde;o for definido, que n&atilde;o ver&aacute; o os membros activos.';

]]></add>
        </operation>
</file>



<file name="$themedir/languages/ModSettings.portuguese_pt.php" error="skip">
        <operation>
            <search position="before"><![CDATA[
$txt['karmaLabel'] = 'T&iacute;tulo do Karma';
$txt['karmaApplaudLabel'] = 'Aumentar Karma';
$txt['karmaSmiteLabel'] = 'Diminuir Karma';
]]></search>
            <add><![CDATA[
$txt['activeMemberEnable'] = 'Habilitar os membros activos no t&oacute;pico';
$txt['activeMemberCountenable'] = 'Habilitar os membros activos ap&oacute;s postar no t&oacute;pico';
$txt['activeMemberColor'] = 'Cor do fundo do membro activo na fila';
$txt['activeMemberTextColor'] = 'Cor do texto membro activo';
]]></add>
        </operation>
</file>
<file name="$themedir/languages/ModSettings.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="before"><![CDATA[
$txt['karmaLabel'] = 'T&iacute;tulo do Karma';
$txt['karmaApplaudLabel'] = 'Aumentar Karma';
$txt['karmaSmiteLabel'] = 'Diminuir Karma';
]]></search>
            <add><![CDATA[
$txt['activeMemberEnable'] = 'Habilitar os membros activos no t&oacute;pico';
$txt['activeMemberCountenable'] = 'Habilitar os membros activos ap&oacute;s postar no t&oacute;pico';
$txt['activeMemberColor'] = 'Cor do fundo do membro activo na fila';
$txt['activeMemberTextColor'] = 'Cor do texto membro activo';
]]></add>
        </operation>
</file>



<file name="$themedir/languages/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end"><![CDATA[ ?>]]></search>
            <add><![CDATA[
$txt['activeMembers_title'] = 'Membros activos:';

]]></add>
        </operation>
</file>
<file name="$themedir/languages/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end"><![CDATA[ ?>]]></search>
            <add><![CDATA[
$txt['activeMembers_title'] = 'Membros activos:';

]]></add>
        </operation>
</file>
Title: Re: Active Members In Topic
Post by: samurai-lupin on May 01, 2011, 11:20:45 AM
Hello,

I do really enjoy this mod but unfortunately the Shrink button in display.template.php is not working for?! Instead of shrinking the desired table it takes me down to the bottom of my page. I would appreciate any advice on how to fix this.

echo ' <a href="#" onclick="shrinkHeaderAM(!current_header_am); return false;"><img id="upshrink_am" src="', $settings['images_url'], '/', empty($options['collapse_header_am']) ? 'collapse.gif' : 'expand.gif', '" alt="*" title="', $txt['am_description'], '" align="right" /></a>';

echo ' </td>
</tr>
</table>';
}



echo '
</td>
</tr>
</table>';

if (!empty($modSettings['activeMemberEnable']) && AllowedTo('activeMember_view'))
{
echo '<div id="upshrinkHeaderAM"', empty($options['collapse_header_am']) ? '' : ' style="display: none;"', '>

<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;"><tr style="background-color:'.$modSettings['activeMemberColor'].';">
<td valign="middle" align="left" width="100%" style="padding-left: 6px; font-size:10px; color:'.$modSettings['activeMemberTextColor'].'" colspan="3">

',$txt['activeMembers_title'],'<br />';

echo $context['members_posted'];

echo' </td>
</tr>
</table>

</div>';
}


I'm attaching my full display.template.php, too.

Thank you!
Title: Re: Active Members In Topic
Post by: mikser on August 02, 2011, 04:04:18 AM
The Mod page has two files, which are names EXACTLY the same = "active_members.zip". Which one should I download for SMF2.0?

Could you please delete the redundant one, or at least change the name of these packages, so there wouldn't no more confusion?
Title: Re: Active Members In Topic
Post by: Eclipse16V on August 03, 2011, 04:10:57 AM
Thanks for this Mod
Title: Re: Active Members In Topic
Post by: hcfwesker on September 03, 2011, 12:35:53 AM
Any, any, any possible chance, cause this was available on Proboards so it has got to be able to be done here .... can the links to the members name, or even just the number next to their name, link to JUST that member's posts in that topic?

It's a feature we miss after leaving Proboards,  I'll donate if need be.
Title: Re: Active Members In Topic
Post by: ishy on October 22, 2011, 06:24:57 AM
Where do I change to the Real Name?

I am unable to access the .xml files. I get an error:

QuoteThe XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

End tag 'add' does not match the start tag 'search'. Error processing resource 'file:///C:/Users/Ishy/Downloads/active_memb...

   <add><![CDATA['activeMember_view',]]></add>
------------------------------------------^

Title: Re: Active Members In Topic
Post by: Jessica. on April 25, 2012, 10:32:07 PM
suggestion:

make it appear in a popup when you click the number of replies on a board section page - like vBulletin
Title: Re: Active Members In Topic
Post by: JimDevil on August 18, 2012, 02:44:02 PM
I have it installed on my forum
works fine, but
this is not exactly what I want
but is close

with this mod
if the message is removed
disappears also the name of the list
I want the name remains in the list even if the message is removed

is this possible in order to adapt it
thank you
Title: Re: Active Members In Topic
Post by: TheListener on August 20, 2012, 07:53:58 PM
@JimDevil

It looks as though you will have to keep the mod as it is.

The author has not been active since May 2012.
Title: Re: Active Members In Topic
Post by: Dhayzon on December 07, 2014, 11:59:16 PM
como agregar un avatar?
Title: Re: Active Members In Topic
Post by: Querkopf on March 22, 2022, 09:46:15 AM
v1.8 fitted as v1.8.1 for SMF v2.1.1
I commented out the shrinking option.

There will be no support done by me ;)