Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Yağız... on January 20, 2008, 11:03:58 PM

Title: Topic Count On Display
Post by: Yağız... on January 20, 2008, 11:03:58 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1003)

Topic Count On Display
[Created by Blue Dream(a.k.a [SiNaN]) - Maintained and converted to SMF 2.0 by Yağız...]

This modification adds a topic count field to the profiles.
In,
-message display
-profile summary
-profile stats
-memberlist
-stats
it shows the topic count for each member.

Also you can change the number of topics of a members
from their profile, as the post count.

When you install the package, go to:

Admin >> Forum Maintenance >> Recount all forum totals and statistics. (for 1.1.x)
Admin >> Forum Maintenance >> Routine >> Recount all forum totals and statistics (for 2.0 RC1)

By this feature, you can recount the topic counts also.
Once you recount the topic counts, from that time, when;
-Member creates a topic it increase
-Member's topic is erased it decrease
-Members' topic is split it increase each members'
-Members' topics are merged it decrease each members'
topic count(s).

By the addition of topics field, we could get rid of useless db queries.
You can use the field wherever loadMemberContext function is run for member.

If you have enabled Advanced Profile Fields, you can disable showing topic counts in Admin >> Features and Options >> Profile Fields.
[SiNaN]
Title: Re: Topic Count On Display
Post by: Yağız... on January 21, 2008, 05:23:30 AM
Finally, it's approved :)
Thank for the mod Bab-i Esrar ;)
Title: Re: Topic Count On Display
Post by: [SiNaN] on January 22, 2008, 05:36:13 PM
Me too, had been glad that it's approved. Thanks for team. 2 new modifications coming, soon...
Title: Re: Topic Count On Display
Post by: Badboy on January 23, 2008, 04:17:37 AM
Thx for the mod nice work ;)

You can made a little modification to show the topics count in members profile summary. (I did it manually in my site).

And topics count can be changed by admin (i mean manually) in profile like posts count(I did it manually in my site)

And i think u have to made another function to calculate the topics count on forum manintance. I mean it can be seperated from the "Admin >> Forum Maintenance >> Recount all forum totals and statistics" function.

Edit: When we use Recount all forum totals and statistics the topics in recycle are not ignored. I think the topics which were in recycle must be ignored.(I fixed it in my site)

Thx
Title: Re: Topic Count On Display
Post by: Apllicmz on January 23, 2008, 01:42:54 PM
thank you
that mod is good
Title: Re: Topic Count On Display
Post by: ne.miguelito on January 23, 2008, 02:50:01 PM
Quote from: Badboy on January 23, 2008, 04:17:37 AM

And topics count can be changed by admin (i mean manually) in profile like posts count(I did it manually in my site)

Edit: When we use Recount all forum totals and statistics the topics in recycle are not ignored. I think the topics which were in recycle must be ignored.(I fixed it in my site)

Thx


You could say how it proceeded?
Title: Re: Topic Count On Display
Post by: SgtMic on January 23, 2008, 04:04:02 PM
I just installed this and ran the recount in forum maintenance. Should I see anything different? I'm not seeing anything that stands out different.
Title: Re: Topic Count On Display
Post by: SgtMic on January 23, 2008, 04:11:27 PM
NVM, I see it. :)
Title: Re: Topic Count On Display
Post by: Badboy on January 24, 2008, 02:33:11 AM
Quote from: ne.miguelito on January 23, 2008, 02:50:01 PMYou could say how it proceeded?

Pls install the original mod first. Then

NOTE: Don't forget to backup your files ;)

1) To fix that When we use Recount all forum totals and statistics the topics in recycle are not ignored.

Open Sources/Admin.php
Code (FIND) Select
WHERE t.ID_BOARD = b.ID_BOARD
AND b.countPosts = 0


Code (REPLACE) Select
WHERE t.ID_BOARD = b.ID_BOARD
AND b.countPosts = 0" . (!empty($modSettings['recycle_enable']) && $modSettings['recycle_board'] > 0 ? "
AND t.ID_BOARD != " . (int) $modSettings['recycle_board'] : '') . "





2) To make the topics count can be changed by admin (i mean manually) in profile like posts count.

Open Sources/Profile.php
Code (FIND) Select
// Change the number of posts.
if (isset($_POST['posts']) && allowedTo('moderate_forum'))
$profile_vars['posts'] = $_POST['posts'] != '' ? (int) strtr($_POST['posts'], array(',' => '', '.' => '', ' ' => '')) : '\'\'';


Code (REPLACE) Select
// Change the number of posts.
if (isset($_POST['posts']) && allowedTo('moderate_forum'))
$profile_vars['posts'] = $_POST['posts'] != '' ? (int) strtr($_POST['posts'], array(',' => '', '.' => '', ' ' => '')) : '\'\'';

// Change the number of topics.
if (isset($_POST['topics']) && allowedTo('moderate_forum'))
$profile_vars['topics'] = $_POST['topics'] != '' ? (int) strtr($_POST['topics'], array(',' => '', '.' => '', ' ' => '')) : '\'\'';


Open Themes/default/Profile.template.php
Code (FIND) Select
<tr>
<td><b>', $txt[86], ': </b></td>
<td><input type="text" name="posts" size="4" value="', $context['member']['posts'], '" /></td>
</tr>';


Code (REPLACE) Select
<tr>
<td><b>', $txt[86], ': </b></td>
<td><input type="text" name="posts" size="4" value="', $context['member']['posts'], '" /></td>
</tr>
<tr>
<td><b>', $txt['topiccount'], ': </b></td>
<td><input type="text" name="topics" size="4" value="', $context['member']['topics'], '" /></td>
</tr>';





3) To show the topics count in members profile summary.

Open Themes/default/Profile.template.php
Code (FIND) Select
<tr>
<td><b>', $txt[86], ': </b></td>
<td>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</td>
</tr><tr>


Code (REPLACE) Select
<tr>
<td><b>', $txt[86], ': </b></td>
<td>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</td>
</tr><tr>
<td><b>', $txt['topiccount'], ': </b></td>
<td>', $context['member']['topics'], '</td>
</tr><tr>
Title: Re: Topic Count On Display
Post by: SgtMic on January 24, 2008, 02:38:12 AM
^ I'll have to give that a try. Cool.
Title: Re: Topic Count On Display
Post by: ne.miguelito on January 24, 2008, 08:20:04 AM
Thank you...
Title: Re: Topic Count On Display
Post by: [SiNaN] on January 24, 2008, 12:32:00 PM
I was planning to make some additions too. I will fix them also, thanks Badboy. Upgrade will be given soon.
Title: Re: Topic Count On Display
Post by: SgtMic on January 26, 2008, 12:47:19 AM
On a test site of mine, I installed the Topic_Count_on_display mod. Installed fine. Decided to just wipe the majority of the forum to start from scratch. It's a test site. :)

So now when I go to reinstall this mod via package manager, I get this:

Duplicate column name 'topics'
File: /home/fastsqua/public_html/sgtmic.com/smf/Packages/temp/Topic_Count_On_Display/Topic_Count_On_Display/dbinstall.php
Line: 12
Title: Re: Topic Count On Display
Post by: Badboy on January 26, 2008, 02:23:43 AM
You must uninstall the mod first. Because Topic_Count_on_display mod makes some changes on database. And when you try to reinstall it again without uninstall, the mod will want to change the database again. So it will give this error because there is also a column named "topics" ;)
Title: Re: Topic Count On Display
Post by: SgtMic on January 26, 2008, 03:08:16 AM
Since it's too late to uninstall, what can I do to fix this?
Title: Re: Topic Count On Display
Post by: Badboy on January 26, 2008, 03:12:24 AM
Is Topic_Count_on_display mod listed in installed packages list?
Title: Re: Topic Count On Display
Post by: SgtMic on January 26, 2008, 03:42:39 AM
No it's not.
Title: Re: Topic Count On Display
Post by: Badboy on January 26, 2008, 03:51:15 AM
Ok. Now pls install the mod (attached file)(Topic_Count_On_Display_Uninstall_db.zip) which will uninstall the database changes. After that delete this mod from the installed packages list. Then install the original mod.
Title: Re: Topic Count On Display
Post by: SgtMic on January 26, 2008, 04:20:57 AM
It definitely deletes the database. I accidently used it on a working forum. *Note to self, don't work on forums when tired* Since I did that, it won't allow me to uninstall the mod. So I had to replace the code in load.php back to default and the forums are working again. I'll have to work on this new problem later.



Title: Re: Topic Count On Display
Post by: SgtMic on January 26, 2008, 04:24:41 AM
OK, ran the uninstall on the test site. What it did was automatically installed the original mod. Which is not working correctly. I use sorted package manager mod. The original file was in the not installed section. Now it shows in the installed section.

When I go to uninstall the mod, I get this:
Uninstall Actions "TopicCountOnDispla":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Themes/default/languages/index.english.php    Test failed
2.    Execute Modification    ./Themes/default/languages/index.turkish.php    Skipping file
3.    Execute Modification    ./Sources/Load.php    Test failed
4.    Execute Modification    ./Sources/Profile.php    Test failed
5.    Execute Modification    ./Sources/RemoveTopic.php    Test failed
6.    Execute Modification    ./Sources/SplitTopics.php    Test failed
7.    Execute Modification    ./Sources/Subs-Post.php    Test failed
8.    Execute Modification    ./Themes/default/Display.template.php    Test failed
9.    Execute Modification    ./Sources/Admin.php    Test failed
10.    Execute Code    dbuninstall.php    

When I click on uninstall anyways, I get this:
Database Error
Can't DROP 'topics'; check that column/key exists
File: /home/fastsqua/public_html/sgtmic.com/smf/Packages/temp/Topic_Count_On_Display/Topic_Count_On_Display/dbuninstall.php
Line: 11
Title: Re: Topic Count On Display
Post by: Badboy on January 26, 2008, 05:07:26 AM
Ok just delete the mod from the packages list (installed section)(Don't use uninstall). Then if you want to use this mod again reupload the original mod and then install it. And tell me if you have any error?
Title: Re: Topic Count On Display
Post by: SgtMic on January 26, 2008, 09:00:08 PM
That solved it. Everything is good to go now. Thanks for the help.
Title: Re: Topic Count On Display
Post by: [SiNaN] on January 29, 2008, 04:46:29 AM
Thanks Badboy. I don't have time these days unfortunately.
Title: Re: Topic Count On Display
Post by: [SiNaN] on February 07, 2008, 06:34:11 AM
At last I could manage to add the upgrade. Know topic count is shown in profile summary, profile stats, forum stats and memberlist. Also it can be changed from the users' profile.

Version 1.1

http://custom.simplemachines.org/mods/index.php?mod=1003
Title: Re: Topic Count On Display
Post by: minos on February 07, 2008, 02:58:34 PM
is there a way to choose wich boards count topic created by user

i means no count topic created  in free talk etc¿
Title: Re: Topic Count On Display
Post by: [SiNaN] on February 08, 2008, 04:05:54 AM
When you uncheck the post count for the board, topic count is not counted too.
Title: Re: Topic Count On Display
Post by: kamu8recon on February 19, 2008, 11:59:04 AM
I installed 1.1 and it doesn't show up on my forum, Should I have installed the original version first? I am also using the YaBB theme if their is a change in a certain file please let me know, i checked out one of your files and I really like this mod please let me know what i need to do to get this installed
Title: Re: Topic Count On Display
Post by: [SiNaN] on February 20, 2008, 01:23:43 AM
No, you can directly install the version 1.1. Did you get any errors during the install? What is your forum's language?
Title: Re: Topic Count On Display
Post by: kamu8recon on February 20, 2008, 05:52:59 AM
sorry i was unclear earlier

it is in english, i did directly install it. and i also followed the directions (reset all forum totals)   

i am able to change the posts and topic counter in a member profile, its just that when I look under a profile on a post the topic counter does not show up. please advise. thank you.
Title: Re: Topic Count On Display
Post by: [SiNaN] on February 20, 2008, 06:07:20 AM
Are you using the default theme?
Title: Re: Topic Count On Display
Post by: kamu8recon on February 20, 2008, 06:28:12 AM
No I am using YaBB
Title: Re: Topic Count On Display
Post by: [SiNaN] on February 20, 2008, 06:32:40 AM
The package only edits default theme files. For YaBB, you should make theme changes manually.
Title: Re: Topic Count On Display
Post by: kamu8recon on February 20, 2008, 06:38:22 AM
Ok will do, thanks!
Title: Re: Topic Count On Display
Post by: kamu8recon on February 20, 2008, 06:49:24 AM
Hey I did a new download of the current version 1.1 and when i ran it in package parser by daniel15 i came up with this error

parseArchive(): No package-info.xml in this mod! Is it corrupted?

i then went to check the zip file and it is their, could it be corrupted?
Title: Re: Topic Count On Display
Post by: [SiNaN] on February 20, 2008, 07:08:13 AM
I don't now the reason but I'm sure it's not corrupted.


file name="$themedir/Display.template.php"

Find:
// Show how many posts they have made.
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';


Replace:
// Show how many posts they have made.
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />';

// Show how many topics they have started.
echo '
', $txt['topiccount'], ': ', $message['member']['topics'], '<br />
<br />';


file name="$themedir/Memberlist.template.php"

Find:
<td class="titlebg" colspan="12">', $txt[139], ': ', $context['page_index'], '</td>

Replace:
<td class="titlebg" colspan="14">', $txt[139], ': ', $context['page_index'], '</td>


Find:
<td colspan="12" class="windowbg">', $txt[170], '</td>

Replace:
<td colspan="13" class="windowbg">', $txt[170], '</td>


Find:
<td colspan="12">';

Replace:
<td colspan="14">';


Find:
<td colspan="12" class="', empty($settings['use_tabs']) ? 'catbg' : 'titlebg', '">';

Replace:
<td colspan="14" class="', empty($settings['use_tabs']) ? 'catbg' : 'titlebg', '">';


Find:
<td class="windowbg2" width="15">', $member['posts'], '</td>
<td class="windowbg" width="100" align="left">
', $member['posts'] > 0 ? '<img src="' . $settings['images_url'] . '/bar.gif" width="' . $member['post_percent'] . '" height="15" alt="" />' : '', '
</td>


Replace:
<td class="windowbg2" width="15">', $member['posts'], '</td>
<td class="windowbg" width="100" align="left">
', $member['posts'] > 0 ? '<img src="' . $settings['images_url'] . '/bar.gif" width="' . $member['post_percent'] . '" height="15" alt="" />' : '', '
</td>
<td class="windowbg2" width="15">', $member['topics'], '</td>
<td class="windowbg" width="100" align="left">
', $member['topics'] > 0 ? '<img src="' . $settings['images_url'] . '/bar.gif" width="' . $member['topic_percent'] . '" height="15" alt="" />' : '', '
</td>


file name="$themedir/Profile.template.php"

Find:
<tr>
<td><b>', $txt[86], ': </b></td>
<td><input type="text" name="posts" size="4" value="', $context['member']['posts'], '" /></td>
</tr>';



Replace:
<tr>
<td><b>', $txt[86], ': </b></td>
<td><input type="text" name="posts" size="4" value="', $context['member']['posts'], '" /></td>
</tr>
<tr>
<td><b>', $txt['topicp'], ': </b></td>
<td><input type="text" name="topics" size="4" value="', $context['member']['topics'], '" /></td>
</tr>';



Find:
<td><b>', $txt[86], ': </b></td>
<td>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</td>
</tr><tr>



Replace:
<td><b>', $txt[86], ': </b></td>
<td>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</td>
</tr><tr>
<td><b>', $txt['topicp'], ': </b></td>
<td>', $context['member']['topics'], ' (', $context['member']['topics_per_day'], ' ', $txt['topics_per_day'], ')</td>
</tr><tr>

Title: Re: Topic Count On Display
Post by: kamu8recon on February 20, 2008, 07:18:48 AM
that is a lot, I will go ahead and take care of that. thank you for your quick response and I will let you know when I complete everything (prob tomorrow). oncea again thanks.
Title: Re: Topic Count On Display
Post by: [SiNaN] on February 20, 2008, 07:21:08 AM
It's not that much. Only 8 edits and these are only in 3 files. Okay, I'll be waiting.
Title: Re: Topic Count On Display
Post by: kamu8recon on February 20, 2008, 09:32:49 AM
ok after laying in bed contemplating if i should get rest or finish this mod I have altered all the files that you said to alter. the  display.temp was in the my current theme so that was easy, the other 2 were in the default theme so i just altered it and changed the default because it rolls back to default anyway right? is it good practice to just change the file in the default or should i just input the file into the theme. all in all thank you for your help and this mod is working good and i love it thus far.

thanks!
Title: Re: Topic Count On Display
Post by: [SiNaN] on February 20, 2008, 09:46:17 AM
I'm glad that you solved it. Have a good use.(Don't know is it true gramatically or not but sounds good. :D)
Title: Re: Topic Count On Display
Post by: Basie on February 20, 2008, 10:20:03 AM
Great mod. Thankyou.
Title: Re: Topic Count On Display
Post by: Kimmie on March 16, 2008, 03:56:56 AM
Very nice mod. Thanks!! :)
Title: Re: Topic Count On Display
Post by: Bazil Greyson on April 04, 2008, 10:37:41 AM
Is there any way I can give the permission to change post counts to someone other than the Administrator?

My website, Suburban Conspiracy (http://www.suburbanconspiracy.com), is an e-zine.  Due to the way I set up the layout of the current and next issue, I actually do not have myself set as Administrator (viewing all the blocks in Tiny Portal does not help with layout).  While I can just log into Admin to change post count, I do like to have everything the Admin account has at my fingertips (just without the visual problem of two issues at once)
Title: Re: Topic Count On Display
Post by: [SiNaN] on April 05, 2008, 06:52:45 AM
Give the admin permissions to the user that you log in with. Just set additional group as Administrator.
Title: Re: Topic Count On Display
Post by: Marcus Forsberg on April 21, 2008, 10:48:15 AM
Another great mod! Thanks!
Title: Re: Topic Count On Display
Post by: SgtMic on July 31, 2008, 11:24:24 PM
Unknown column 'topics' in 'field list'
File: /home/thesqua1/public_html/forums/Sources/Admin.php
Line: 681

Help? LOL

SMF 1.1.5
Mod is 1.1
Title: Re: Topic Count On Display
Post by: [SiNaN] on August 01, 2008, 11:41:26 AM
SgtMic:

They are different. The mod is for SMF 1.x versions and the mods latest version is 1.1. It supports 1.1.5.

Seems like the database query is not run. Run this query from PhpMyAdmin:

ALTER TABLE smf_members
ADD topics MEDIUMINT( 8 ) UNSIGNED DEFAULT 0 NOT NULL
AFTER posts
Title: Re: Topic Count On Display
Post by: SgtMic on August 03, 2008, 11:25:46 AM
Ran the query and that fixed the error above. Thanks.

I kept getting parse errors coming from the subs-post.php when starting a new topic.

Then I ended up just completely removing the mod manually from all the files.
I'll reinstall it later and see what happens.

Title: Re: Topic Count On Display
Post by: [SiNaN] on August 03, 2008, 02:14:39 PM
There could be some problems, it was my first mod; I was a newbie that time. Will update it I hope, for the old days.
Title: Re: Topic Count On Display
Post by: SgtMic on August 03, 2008, 10:15:33 PM
LOL, good to go.
Title: Re: Topic Count On Display
Post by: SgtMic on August 04, 2008, 01:54:50 AM
Reinstalled vs. 1.1
The only error during install was for sources/profile.php.
Did a manual edit and all works fine.
Title: Re: Topic Count On Display
Post by: [SiNaN] on August 04, 2008, 07:43:51 AM
Glad you get it working. ;)
Title: Re: Topic Count On Display
Post by: timned88 on September 02, 2008, 08:19:05 PM
could you add in a bit of code that shows the number of attachments uploaded?  thanks!
Title: Re: Topic Count On Display
Post by: [SiNaN] on September 03, 2008, 05:08:45 PM
Well, that needs quite much coding. You can make a request for it in Mod Requests (http://www.simplemachines.org/community/index.php?board=79.0) board.
Title: Re: Topic Count On Display
Post by: alex30 on October 29, 2008, 07:12:16 PM
Quick question, why does it say under topics: "I'm a geek" and how to remove that?
Title: Re: Topic Count On Display
Post by: [SiNaN] on November 01, 2008, 09:51:57 AM
It's an easter-egg. To remove it:

http://www.simplemachines.org/community/index.php?topic=263051.msg1735919#msg1735919
Title: Re: Topic Count On Display
Post by: alex30 on November 02, 2008, 10:21:11 AM
i came to this thread because it seems that i screw up with topic count on display and it brought me to the point when i and members are unable to get to thier profiles. Please help me to resolve this problem. i attached all files where i probably messed up. If you'll need any other files, please let me know so i can attach. Thank you very much for your time.
Title: Re: Topic Count On Display
Post by: [SiNaN] on November 02, 2008, 10:28:36 AM
And where is the Profile.php file?
Title: Re: Topic Count On Display
Post by: alex30 on November 02, 2008, 10:33:16 AM
sorry, added.
Title: Re: Topic Count On Display
Post by: [SiNaN] on November 02, 2008, 11:05:07 AM
Try the attached Load.php file.
Title: Re: Topic Count On Display
Post by: alex30 on November 02, 2008, 06:56:29 PM
Quote from: [SiNaN] on November 02, 2008, 11:05:07 AM
Try the attached Load.php file.

SiNan unfort. this doesn't work. Don't know what to do...

(http://i33.tinypic.com/ezk9jm.jpg)
Title: Re: Topic Count On Display
Post by: [SiNaN] on November 03, 2008, 05:51:01 AM
Okay, try the attached one.
Title: Re: Topic Count On Display
Post by: alex30 on November 03, 2008, 08:07:37 AM
SiNan you're master damn!  ;) finally it works, im so happy that you helped us! i appreciate your help and if you would be here i would share with you a beer!

i just tried to add your mod again (count topics on display) and it gave me  plenty of errors in

Sources/Load.php

Sources/Stats.php     

Themes/default/Display.template.php

Themes/default/Memberlist.template.php


i would also like to remove this symbol from display, where do i need to go to do so?

(http://i36.tinypic.com/25ukzeb.jpg)
Title: Re: Topic Count On Display
Post by: [SiNaN] on November 03, 2008, 08:10:31 AM
It's in Display.template.php file. Search for $message['member']['topics'] and you will see it. Attach your file if you can't do that.
Title: Re: Topic Count On Display
Post by: alex30 on November 03, 2008, 07:37:16 PM
SiNan im scared, i can mess up again, please do it for me if you'll have a time, what file do you need?
Title: Re: Topic Count On Display
Post by: Final60 on November 03, 2008, 07:54:47 PM
This works a charm on 1.1.6, 0.9.8, even though it brings up Failed om stats.php.
Title: Re: Topic Count On Display
Post by: alex30 on November 03, 2008, 08:46:45 PM
well it shows errors on 4 files, it is a high risk to install it.  :-X
Title: Re: Topic Count On Display
Post by: [SiNaN] on November 04, 2008, 05:15:10 AM
Quote from: alex30 on November 03, 2008, 07:37:16 PM
SiNan im scared, i can mess up again, please do it for me if you'll have a time, what file do you need?

Quote from: alex30 on November 03, 2008, 08:46:45 PM
well it shows errors on 4 files, it is a high risk to install it.  :-X

Attach your Display.template.php file. Do not install it again before you make sure that you removed everything about this mod.

Quote from: Final60 on November 03, 2008, 07:54:47 PM
This works a charm on 1.1.6, 0.9.8, even though it brings up Failed om stats.php.

I'm aware of that. This mod actually fixed an SMF bug in Stats.php which is also fixed in SMF 1.1.6.
Title: Re: Topic Count On Display
Post by: alex30 on November 04, 2008, 03:37:54 PM
Aaa ok i won't change anything there, i attached file. thanks in advance SiNan!
Title: Re: Topic Count On Display
Post by: [SiNaN] on November 05, 2008, 03:19:54 AM
Attached.
Title: Re: Topic Count On Display
Post by: alex30 on November 05, 2008, 08:14:25 AM
i appreciate SiNan, i added it but can't see topics on display, is there anything else needs to be done?
Title: Re: Topic Count On Display
Post by: [SiNaN] on November 05, 2008, 10:32:08 AM
I removed this mod from the files you gave me. You want it to be installed?
Title: Re: Topic Count On Display
Post by: alex30 on November 05, 2008, 02:28:28 PM
yes, but only post count on display, without appearing geek thing anymore, just straight count.

thanks SiNan.
Title: Re: Topic Count On Display
Post by: [SiNaN] on November 06, 2008, 06:05:35 AM
You want topic count or post count to appear? I couldn't get it.
Title: Re: Topic Count On Display
Post by: thenepalgallery on November 06, 2008, 06:40:33 AM
does it work with 1.1.6 version?

i tried to install it but shows test fail error

does anybody use this in the smf 1.1.6 version?

Title: Re: Topic Count On Display
Post by: [SiNaN] on November 06, 2008, 06:51:08 AM
It will just have an error for Stats.php edit, which is actually a bug fix for SMF. You can ignore that, as it is fixed with 1.1.6.
Title: Re: Topic Count On Display
Post by: thenepalgallery on November 06, 2008, 07:26:03 AM
Quote from: [SiNaN] on November 06, 2008, 06:51:08 AM
It will just have an error for Stats.php edit, which is actually a bug fix for SMF. You can ignore that, as it is fixed with 1.1.6.

thanx for information
i just install it, but there is a problem

topic count 0, to all the members
Title: Re: Topic Count On Display
Post by: thenepalgallery on November 06, 2008, 07:30:50 AM
Quotetopic count 0, to all the members

problem solved

thank you very very much

good mod.

:)
Title: Re: Topic Count On Display
Post by: alex30 on November 07, 2008, 08:21:00 PM
Quote from: [SiNaN] on November 06, 2008, 06:05:35 AM
You want topic count or post count to appear? I couldn't get it.

Oo im sorry. just topic count if possible.

thanks.
Title: Re: Topic Count On Display
Post by: alex30 on November 27, 2008, 01:36:25 AM
Can anyone help me?
Title: Re: Topic Count On Display
Post by: [SiNaN] on December 10, 2008, 06:29:41 AM
I'll not have enough time to install it manually for you. But you can try that yourself using the manual installation instructions here (http://custom.simplemachines.org/mods/index.php?mod=1003). Of course, do not forget to take a back-up of the files you are editing.
Title: Re: Topic Count On Display
Post by: Kimmie on February 15, 2009, 10:20:56 AM
are there any specific changes that need to be made so that this mod is compatible with 1.1.8 (other than changing the package-xml file for the install/uninstall)?

Thanks :)
Title: Re: Topic Count On Display
Post by: [SiNaN] on February 15, 2009, 03:56:39 PM
Stats.php edit will probably fail too. You can ignore it.
Title: Re: Topic Count On Display
Post by: timned88 on February 15, 2009, 06:37:25 PM
can this be made for 2.0RC1?
Title: Re: Topic Count On Display
Post by: M-DVD on February 15, 2009, 06:41:42 PM
Quote from: timned88 on February 15, 2009, 06:37:25 PM
can this be made for 2.0RC1?

AFAIK, Blue Dream is searching somebody to take this MOD.

I hope doing this on this week ^^
Title: Re: Topic Count On Display
Post by: [SiNaN] on February 16, 2009, 02:34:17 AM
Yağız... (http://www.simplemachines.org/community/index.php?action=profile;u=102749) is working on this and hopefully he will come up with an update very soon.
Title: Re: Topic Count On Display
Post by: M-DVD on February 16, 2009, 07:52:14 AM
As always, I arrive late  :'(
Title: Re: Topic Count On Display
Post by: Eclipse16V on March 13, 2009, 07:39:48 PM
I become an error on my SMF 2.0RC1 when I will remove a topic:

QuoteOperand should contain 1 column(s)
Datei: .../Sources/RemoveTopic.php
Zeile: 304


This is a line from this mod:

Quote<file name="$sourcedir/RemoveTopic.php">
      <operation>
         <search position="after"><![CDATA[   // Recycle topics that aren't in the recycle board...]]></search>
         <add><![CDATA[   // Decrease the topic count for member.
   if ($decreasePostCount)
   {
      $requestMembers = $smcFunc['db_query']('', '
         SELECT t.id_member_started
         FROM {db_prefix}topics AS t
            INNER JOIN {db_prefix}boards AS b ON (b.id_board = t.id_board)
         WHERE t.id_topic = ({array_int:topics})
            AND b.id_board = t.id_board
            AND b.count_posts = {int:do_count_posts}',
         array(
            'do_count_posts' => 0,
            'topics' => $topics,
         )
      );
         while ($rowMembers = $smcFunc['db_fetch_assoc']($requestMembers))
            updateMemberData($rowMembers['id_member_started'], array('topics' => '-'));
      $smcFunc['db_free_result']($requestMembers);
   }

]]></add>
      </operation>
   </file>
Title: Re: Topic Count On Display
Post by: Yağız... on March 14, 2009, 05:57:53 PM
Sorry about this error. Quick fix:
Search in ../Sources/RemoveTopic.php:
WHERE t.id_topic = ({array_int:topics})
Replace with:
WHERE t.id_topic IN ({array_int:topics})
Title: Re: Topic Count On Display
Post by: haito on March 14, 2009, 09:36:20 PM
i got error
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Themes/default/languages/Modifications.turkish.php File not found
3. Execute Modification ./Sources/Memberlist.php Test successful
4. Execute Modification ./Sources/Load.php Test successful
5. Execute Modification ./Sources/Profile.php Test successful
6. Execute Modification ./Sources/RemoveTopic.php Test successful
7. Execute Modification ./Sources/SplitTopics.php Test successful
8. Execute Modification ./Sources/Subs-Post.php Test successful
9. Execute Modification ./Sources/Stats.php Test failed
10. Execute Modification ./Themes/default/Display.template.php Test successful
11. Execute Modification ./Themes/default/Memberlist.template.php Test successful
12. Execute Modification ./Themes/default/Profile.template.php Test successful
13. Execute Modification ./Sources/Admin.php Test successful
14. Execute Code dbinstall.php

what should i do?
Title: Re: Topic Count On Display
Post by: Yağız... on March 14, 2009, 09:46:10 PM
Sorry, I forgot to add something. You can install the mod. It's not an important error.
Title: Re: Topic Count On Display
Post by: haito on March 14, 2009, 10:17:27 PM
installed successfully~
thanks.. great mod
Title: Re: Topic Count On Display
Post by: Yağız... on March 15, 2009, 01:31:23 PM
Fixed an error on the Member list. Please reinstall if you are using for 2.0 RC1 version.
Title: Re: Topic Count On Display
Post by: Mystery? on March 15, 2009, 09:47:04 PM
Theres a typo I think... when you look at someone's profile it says their topic count like this


Topic: /
...................(Number Here) per day

. = Space




Also.... I don't really know.... I think this mods been causing me errors in posts:
http://www.simplemachines.org/community/index.php?topic=299085.msg1976718#msg1976718

I am not sure if this is because of your mod, but this never happened to me.

Title: Re: Topic Count On Display
Post by: Yağız... on March 16, 2009, 02:25:13 AM
Quote from: Mystery? on March 15, 2009, 09:47:04 PM
Theres a typo I think... when you look at someone's profile it says their topic count like this


Topic: /
...................(Number Here) per day

. = Space
Fixed. Quick fix:
Find in ../Themes/default/Profile.template.php:
<dt>', $txt['topicp'], ' /: <dt>
Replace with:
<dt>', $txt['topicp'], ':</dt>
Title: Re: Topic Count On Display
Post by: akbora on July 04, 2009, 05:46:20 AM
I tried install it but there are a lot of errors. Isn't it compatible for RC2.1-1?
Title: Re: Topic Count On Display
Post by: Yağız... on July 04, 2009, 07:01:07 AM
Updated.
Title: Re: Topic Count On Display
Post by: akbora on July 04, 2009, 07:16:40 AM
Thanks a lot but I still see errors

       Tür     Eylem     Açıklama
*    1.    Değişiklik Yap    ./Themes/default/languages/Modifications.english.php    Test Başarılı
      1.    Öncesine Ekle    ./Themes/default/languages/Modifications.english.php    Test Başarılı
*    2.    Değişiklik Yap    ./Themes/default/languages/Modifications.turkish.php    Test Başarılı
      1.    Öncesine Ekle    ./Themes/default/languages/Modifications.turkish.php    Test Başarılı
*    3.    Değişiklik Yap    ./Sources/Load.php    Test başarısız
      1.    Öncesine Ekle    ./Sources/Load.php    Test Başarılı
      2.    Değiştir    ./Sources/Load.php    Test başarısız
      3.    Değiştir    ./Sources/Load.php    Test başarısız
      4.    Değiştir    ./Sources/Load.php    Test Başarılı
      5.    Öncesine Ekle    ./Sources/Load.php    Test Başarılı
*    4.    Değişiklik Yap    ./Sources/ManageMaintenance.php    Test Başarılı
      1.    Öncesine Ekle    ./Sources/ManageMaintenance.php    Test Başarılı
*    5.    Değişiklik Yap    ./Sources/ManageSettings.php    Test Başarılı
      1.    Değiştir    ./Sources/ManageSettings.php    Test Başarılı
      2.    Değiştir    ./Sources/ManageSettings.php    Test Başarılı
      3.    Değiştir    ./Sources/ManageSettings.php    Test Başarılı
*    6.    Değişiklik Yap    ./Sources/Memberlist.php    Test başarısız
      1.    Değiştir    ./Sources/Memberlist.php    Test Başarılı
      2.    Öncesine Ekle    ./Sources/Memberlist.php    Test başarısız
      3.    Öncesine Ekle    ./Sources/Memberlist.php    Test başarısız
      4.    Öncesine Ekle    ./Sources/Memberlist.php    Test Başarılı
      5.    Öncesine Ekle    ./Sources/Memberlist.php    Test başarısız
*    7.    Değişiklik Yap    ./Sources/Profile-Modify.php    Test Başarılı
      1.    Değiştir    ./Sources/Profile-Modify.php    Test Başarılı
      2.    Değiştir    ./Sources/Profile-Modify.php    Test Başarılı
*    8.    Değişiklik Yap    ./Sources/Profile-View.php    Test Başarılı
      1.    Öncesine Ekle    ./Sources/Profile-View.php    Test Başarılı
      2.    Öncesine Ekle    ./Sources/Profile-View.php    Test Başarılı
*    9.    Değişiklik Yap    ./Sources/RemoveTopic.php    Test Başarılı
      1.    Öncesine Ekle    ./Sources/RemoveTopic.php    Test Başarılı
*    10.    Değişiklik Yap    ./Sources/SplitTopics.php    Test Başarılı
      1.    Öncesine Ekle    ./Sources/SplitTopics.php    Test Başarılı
      2.    Öncesine Ekle    ./Sources/SplitTopics.php    Test Başarılı
*    11.    Değişiklik Yap    ./Sources/Subs.php    Test Başarılı
      1.    Değiştir    ./Sources/Subs.php    Test Başarılı
      2.    Değiştir    ./Sources/Subs.php    Test Başarılı
*    12.    Değişiklik Yap    ./Sources/Subs-Post.php    Test Başarılı
      1.    Öncesine Ekle    ./Sources/Subs-Post.php    Test Başarılı
*    13.    Değişiklik Yap    ./Themes/default/Memberlist.template.php    Test Başarılı
      1.    Sonrasına Ekle    ./Themes/default/Memberlist.template.php    Test Başarılı
*    14.    Değişiklik Yap    ./Themes/default/Display.template.php    Test Başarılı
      1.    Öncesine Ekle    ./Themes/default/Display.template.php    Test Başarılı
*    15.    Değişiklik Yap    ./Themes/default/Profile.template.php    Test Başarılı
      1.    Öncesine Ekle    ./Themes/default/Profile.template.php    Test Başarılı
   16.    Kod Çalıştır    dbinstall.php    
Title: Re: Topic Count On Display
Post by: Yağız... on July 04, 2009, 07:17:46 AM
Those errors are because of another mod installed on your forum. Try to install it manually.
Title: Re: Topic Count On Display
Post by: akbora on July 04, 2009, 07:20:37 AM
Ok thanks. I will try it.
Title: Re: Topic Count On Display
Post by: TheListener on July 14, 2009, 05:37:44 PM
Managed to manually edit the mod so it appears on the forum.

Regarding topics started before the mod was installed should these show as the number is still at 0.

Would it be possible for someone to take a look for me please?

Title: Re: Topic Count On Display
Post by: Yağız... on July 14, 2009, 05:50:14 PM
After installing the mod go to Admin >> Forum Maintenance >> Recount all forum totals and statistics.
Title: Re: Topic Count On Display
Post by: TheListener on July 14, 2009, 06:05:23 PM
Wahey sorted.

Thanks.

Title: Re: Topic Count On Display
Post by: Kimmie on August 24, 2009, 12:51:00 PM
Will this be updated for RC1.2 anytime soon? :)
Title: Re: Topic Count On Display
Post by: TheListener on August 24, 2009, 02:17:02 PM
Quote from: Kimmie on August 24, 2009, 12:51:00 PM
Will this be updated for RC1.2 anytime soon? :)

Do you mean 2.0 RC1.2?

If so it works on my forum with no problem.
Title: Re: Topic Count On Display
Post by: Kimmie on August 26, 2009, 12:43:41 AM
Quote from: TheListener on August 24, 2009, 02:17:02 PM
Quote from: Kimmie on August 24, 2009, 12:51:00 PM
Will this be updated for RC1.2 anytime soon? :)

Do you mean 2.0 RC1.2?

If so it works on my forum with no problem.


Uhmmm...Is there "another" RC1.2 floating around out there somewhere that I am unaware of?   ;D


According to the mod page, its not compatible with that version yet (and wen you parse it, it tells you its not compatible) so that is why I asked. Thanks for your feedback.

Title: Re: Topic Count On Display
Post by: TheListener on September 18, 2009, 01:59:45 AM
Use the parse instructions for 2.0
Title: Re: Topic Count On Display
Post by: TheListener on September 18, 2009, 01:19:39 PM
I now use the mod on a second forum and plan on doing so on a third.

However there is an error on a file.


Apply Filter: Only show the errors with the same message
Database Error: Unknown column 'mem.topics' in 'field list'


SELECT
mem.referrals_no, mem.referrals_hits, mem.referred_on, mem.referred_by,
IFNULL(lo.log_time, 0) AS is_online, IFNULL(a.id_attach, 0) AS id_attach, a.filename, a.attachment_type,
mem.signature, mem.personal_text, mem.location, mem.gender, mem.avatar, mem.id_member, mem.member_name,
mem.real_name, mem.email_address, mem.hide_email, mem.date_registered, mem.website_title, mem.website_url,
mem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.topics, mem.last_login, mem.karma_good, mem.mgal_total_items, mem.mgal_total_comments,
mem.karma_bad, mem.member_ip, mem.member_ip2, mem.lngfile, mem.id_group, mem.id_theme, mem.buddy_list,
mem.pm_ignore_list, mem.pm_email_notify, mem.time_offset, mem.usertitle,
mem.time_format, mem.secret_question, mem.is_activated, mem.additional_groups, mem.smiley_set, mem.show_online,
mem.total_time_logged_in, mem.id_post_group, mem.notify_announcements, mem.notify_regularity, mem.notify_send_body,
mem.thank_you_post_made, mem.thank_you_post_became, last_thank_you_time,
mem.notify_types, lo.url, mg.online_color AS member_group_color, IFNULL(mg.group_name, '') AS member_group,
pg.online_color AS post_group_color, IFNULL(pg.group_name, '') AS post_group, mem.ignore_boards, mem.warning,
mg.stars AS stars, pg.stars AS pg_stars
FROM smf_members AS mem
LEFT JOIN smf_log_online AS lo ON (lo.id_member = mem.id_member)
LEFT JOIN smf_attachments AS a ON (a.id_member = mem.id_member)
LEFT JOIN smf_membergroups AS pg ON (pg.id_group = mem.id_post_group)
LEFT JOIN smf_membergroups AS mg ON (mg.id_group = mem.id_group)
WHERE mem.id_member = 13

I get the error line as 1057 yet all there is on the line is a  );

Attachment included.



Title: Re: Topic Count On Display
Post by: Yağız... on September 18, 2009, 01:31:59 PM
Try to run dbinstall.php.
Title: Re: Topic Count On Display
Post by: TheListener on September 18, 2009, 01:33:22 PM
er ya got me on that one.

What is it?

Title: Re: Topic Count On Display
Post by: Yağız... on September 18, 2009, 01:40:35 PM
Download TCD_1-2-1_20RC1.zip package and extract the file named dbinstall.php. Upload it to your server and run.
Title: Re: Topic Count On Display
Post by: silber112 on October 25, 2009, 06:04:00 PM
I dont know how but some members of my forum can change the number of topics in to 324523463246754743734 or Text
Title: Re: Topic Count On Display
Post by: Yağız... on October 25, 2009, 06:07:47 PM
Are those members global moderators or admins? And, what is your SMF version?
Title: Re: Topic Count On Display
Post by: silber112 on October 27, 2009, 10:37:46 AM
Quote from: Yağız... on October 25, 2009, 06:07:47 PM
Are those members global moderators or admins? And, what is your SMF version?

No, they area normal users. I am using smf 1.1.10...
Title: Re: Topic Count On Display
Post by: Yağız... on November 11, 2009, 09:09:35 AM
Updated for SMF 2.0 RC2.
Title: Re: Topic Count On Display
Post by: Eclipse16V on December 08, 2009, 09:38:11 AM
Thanks for the update

Ther is an error in the rc2 version

<file name="$sourcedir/Load.php">
<operation>
<search position="replace"><![CDATA['posts' => empty($user_settings['posts']) ? 0 : $user_settings['posts'],]]></search>
<add><![CDATA['posts' => empty($user_settings['posts']) ? 0 : $user_settings['posts'],
'topics' => empty($user_settings['topics']) ? 0 : $user_settings['topics'],]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[mem.birthdate, mem.member_ip, mem.member_ip2, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login,]]></search>
<add><![CDATA[mem.birthdate, mem.member_ip, mem.member_ip2, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.topics, mem.last_login,]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[mem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good,]]></search>
<add><![CDATA[mem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.topics, mem.last_login, mem.karma_good,]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[mem.posts, mem.last_login, mem.member_ip, mem.member_ip2, mem.lngfile, mem.id_group';]]></search>
<add><![CDATA[mem.posts, mem.topics, mem.last_login, mem.member_ip, mem.member_ip2, mem.lngfile, mem.id_group';]]></add>
</operation>
<operation>
<search position="after"><![CDATA['posts' => $profile['posts'] > 500000 ? $txt['geek'] : comma_format($profile['posts']),]]></search>
<add><![CDATA['posts' => $profile['posts'] > 500000 ? $txt['geek'] : comma_format($profile['posts']),
'real_topics' => $profile['topics'],
'topics' => $profile['topics'] > 500000 ? $txt['geek'] : comma_format($profile['topics']),
]]></add>
</operation>
</file>


right
<file name="$sourcedir/Load.php">
<operation>
<search position="replace"><![CDATA['posts' => empty($user_settings['posts']) ? 0 : $user_settings['posts'],]]></search>
<add><![CDATA['posts' => empty($user_settings['posts']) ? 0 : $user_settings['posts'],
'topics' => empty($user_settings['topics']) ? 0 : $user_settings['topics'],]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[mem.birthdate, mem.member_ip, mem.member_ip2, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login,]]></search>
<add><![CDATA[mem.birthdate, mem.member_ip, mem.member_ip2, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.topics, mem.last_login,]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[mem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good,]]></search>
<add><![CDATA[mem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.topics, mem.last_login, mem.karma_good,]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[mem.posts, mem.last_login, mem.member_ip, mem.member_ip2, mem.lngfile, mem.id_group';]]></search>
<add><![CDATA[mem.posts, mem.topics, mem.last_login, mem.member_ip, mem.member_ip2, mem.lngfile, mem.id_group';]]></add>
</operation>
<operation>
<search position="replace"><![CDATA['posts' => $profile['posts'] > 500000 ? $txt['geek'] : comma_format($profile['posts']),]]></search>
<add><![CDATA['posts' => $profile['posts'] > 500000 ? $txt['geek'] : comma_format($profile['posts']),
'real_topics' => $profile['topics'],
'topics' => $profile['topics'] > 500000 ? $txt['geek'] : comma_format($profile['topics']),
]]></add>
</operation>
</file>
Title: Re: Topic Count On Display
Post by: Yağız... on December 08, 2009, 12:29:59 PM
I can't see where is the problem?
Title: Re: Topic Count On Display
Post by: Eclipse16V on December 10, 2009, 03:43:10 PM
<file name="$sourcedir/Load.php">
      <operation>
         <search position="replace"><![CDATA['posts' => empty($user_settings['posts']) ? 0 : $user_settings['posts'],]]></search>
         <add><![CDATA['posts' => empty($user_settings['posts']) ? 0 : $user_settings['posts'],
      'topics' => empty($user_settings['topics']) ? 0 : $user_settings['topics'],]]></add>
      </operation>
      <operation>
         <search position="replace"><![CDATA[mem.birthdate, mem.member_ip, mem.member_ip2, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login,]]></search>
         <add><![CDATA[mem.birthdate, mem.member_ip, mem.member_ip2, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.topics, mem.last_login,]]></add>
      </operation>
      <operation>
         <search position="replace"><![CDATA[mem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good,]]></search>
         <add><![CDATA[mem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.topics, mem.last_login, mem.karma_good,]]></add>
      </operation>
      <operation>
         <search position="replace"><![CDATA[mem.posts, mem.last_login, mem.member_ip, mem.member_ip2, mem.lngfile, mem.id_group';]]></search>
         <add><![CDATA[mem.posts, mem.topics, mem.last_login, mem.member_ip, mem.member_ip2, mem.lngfile, mem.id_group';]]></add>
      </operation>
      <operation>
         <search position="after"><![CDATA['posts' => $profile['posts'] > 500000 ? $txt['geek'] : comma_format($profile['posts']),]]></search>
         <add><![CDATA['posts' => $profile['posts'] > 500000 ? $txt['geek'] : comma_format($profile['posts']),
      'real_topics' => $profile['topics'],
      'topics' => $profile['topics'] > 500000 ? $txt['geek'] : comma_format($profile['topics']),
]]></add>
      </operation>
   </file>

replace not after
Title: Re: Topic Count On Display
Post by: Yağız... on December 10, 2009, 03:51:00 PM
Ah, ok :) Thank you! Updated :)
Title: Re: Topic Count On Display
Post by: Eclipse16V on December 10, 2009, 04:02:01 PM
no problem  :)
Title: Re: Topic Count On Display
Post by: rexusdiablos on January 25, 2010, 04:00:52 PM
Installed from SMF 2.0 RC2 without a problem.

Practical mod! Thanks Yağız...
Title: Re: Topic Count On Display
Post by: Bugo on February 06, 2010, 01:51:24 AM
Russian translation:
// Topic Count on Display
$txt['topics_per_day'] = 'в день';
$txt['topicp'] = 'Тем';
$txt['topicsmb'] = $txt['topicp'];
$txt['topiccount'] = $txt['topicp'];


And add redirect post install (for recount all forum totals and statistics):
File package.info.xml:
<install for="2.0-2.0.999, 2.0 RC2">
<redirect url="$scripturl?action=admin;area=maintain;sa=routine;done=recount" timeout="3000">redirect.txt</redirect>
</install>
Title: Re: Topic Count On Display
Post by: Yağız... on February 13, 2010, 11:24:14 AM
Oh, I was thinking to add a redirect but I never had time to do it. BTW, thank you Bugo.
Title: Re: Topic Count On Display
Post by: TheListener on February 16, 2010, 10:14:26 PM
Have an error on the sources/memberlist file.

'width' => '115',

Is missing.

Title: Re: Topic Count On Display
Post by: Yağız... on February 17, 2010, 03:38:50 AM
Do you have any installed mods?
Title: Re: Topic Count On Display
Post by: TheListener on February 17, 2010, 02:02:35 PM
 
[BBCode] Blink    
Active Members In Topic    
Activity_Bar    
Ad Managment    
Add IP2Location to Track IP
Aeva Media    
AjaxChat Integration
Arcade Users Online    
Avatar On Board RC2
AvatarSelect    
Bakers Dozen Pages    
Best 3    
Center User Info In Posts    
Change Forum Cursor    
Change Report Text To Image
Colored_Calendar_Frame
Contact Page    
Countdown_BBCode    
Country Flags
Custom Copyright
Custom Page With Tab Button    
Custom_Greeting_Depending_on_Time_2.0    
Do not enter
Dynamic_Memberlist
E-Arcade    Beta4-SMF2rc1
Enhanced Profile Header
Error Log Counter
Guests Cursor
Hide ip stuff for users    
Joined Date
MCLegendII RC1    
Member Color Link    
Message index like vbulletin    
MessagePreviewOnHover    
More Spiders
New Topic Button
Next Post Level    
PM Attachments
PM Notification Bar    
PM Readed    
PM to New Members    
Post_Board_Select    
Posters In Recent Posts RC1    
Posting_Announcement
Random_Quote    
Regular Groups with Post Count Based Groups
Regular smileys to dark background smiley set
Relative Dates
SA Affiliates
Simple Ad Rotator
SimplePortal    2.3.1
Sitemap    2.1.0    
Sortable Packages (and Installed Time)    
Team Page    
The Rules
TopicCountOnDisplay    2.0 RC1    N/A    [ Install Mod ]
TopicStarter Mod    
Treasury    2.02    
Twitter and Facebook Publisher mod
User Control Panel By Alan S    3.0    
Users Online Today    1.5.5
Welcome Back    1.0    
Word Count Limits    1.1    
Wrap Text Around Image


You had to ask didn't you?

:)

Title: Re: Topic Count On Display
Post by: Yağız... on February 17, 2010, 02:14:38 PM
WOW, lol :P
OK, I found the problem, it's because of Dynamic Memberlist mod. I'll try to add support for it.
Title: Re: Topic Count On Display
Post by: TheListener on February 17, 2010, 02:16:37 PM
Thanks bud.
Title: Re: Topic Count On Display
Post by: Napaster on February 20, 2010, 07:09:09 PM
Hello,

I installed this mod, and I have a problem with the statistics do not show exact number of open topics in the posts ... Whether it can be solved? My current version of SMF 1.1.11, a problem is this example I have 3550 posts and 2500 posts in the open issue shows that I have only a 1135 issue on page stats.php shows that I have 2500 open issue ... What is the problem? I ask you urgently to help ....  :(
Title: Re: Topic Count On Display
Post by: Swer on March 04, 2010, 04:23:38 PM
hi,i install the mod in my forum 2.0 rc2,but not showing,watch please (http://img28.imageshack.us/img28/2467/forumi.png) , any ideas? sorry for my english :)
Title: Re: Topic Count On Display
Post by: TheListener on March 04, 2010, 04:32:06 PM
Quote from: Swer on March 04, 2010, 04:23:38 PM
hi,i install the mod in my forum 2.0 rc2,but not showing,watch please (http://img28.imageshack.us/img28/2467/forumi.png) , any ideas? sorry for my english :)

Were the any errors on install? What other mods do you have?
Title: Re: Topic Count On Display
Post by: Swer on March 05, 2010, 11:35:33 AM
1.     TopicCountOnDisplay      2.0 RC1       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    SimplePortal    2.3.1    [ Uninstall ] [ List Files ] [ Delete ]
3.    Member Color Link    3.0.8    [ Uninstall ] [ List Files ] [ Delete ]
4.    Next Post Level    1.3.2    [ Uninstall ] [ List Files ] [ Delete ]
5.    YouTube BBCode    2.6    [ Uninstall ] [ List Files ] [ Delete ]
6.    Language Drop    1.0    [ Install Mod ] [ List Files ] [ Delete ]
7.    OS & Browser Detection    1.4

and no errors.
Title: Re: Topic Count On Display
Post by: TheListener on March 06, 2010, 05:05:29 PM
   TopicCountOnDisplay      2.0 RC1   

This is why because the mods author has not adapted the mod for 2.0 rc2
Title: Re: Topic Count On Display
Post by: Yağız... on March 06, 2010, 05:10:01 PM
Quote from: Brack1 on March 06, 2010, 05:05:29 PM
   TopicCountOnDisplay      2.0 RC1   

This is why because the mods author has not adapted the mod for 2.0 rc2
It is :)

Quote from: Swer on March 04, 2010, 04:23:38 PM
hi,i install the mod in my forum 2.0 rc2,but not showing,watch please (http://img28.imageshack.us/img28/2467/forumi.png) , any ideas? sorry for my english :)
Do Dilber MC theme has a Display.template.php?
Title: Re: Topic Count On Display
Post by: TheListener on March 06, 2010, 05:11:53 PM
Oops.

Have you had any luck regarding the error I had.

( was related to the user cp mod).
Title: Re: Topic Count On Display
Post by: Yağız... on March 06, 2010, 05:14:12 PM
I couldn't ... I'm really busy with my school right now, but I'm trying to get some free times for needed updates, supports etc. I'll do it soon but can't say when.
Title: Re: Topic Count On Display
Post by: TheListener on March 06, 2010, 05:15:31 PM
No rush kiddo ( did I reall say that?)  :-[
Title: Re: Topic Count On Display
Post by: Eclipse16V on March 15, 2010, 02:14:53 AM
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks
Title: Re: Topic Count On Display
Post by: Yağız... on April 08, 2010, 06:57:04 PM
Update:
- Compatibility with SMF 2.0 RC3
- Compatibility with Dynamic Memberlist mod.
Title: Re: Topic Count On Display
Post by: khera on April 09, 2010, 04:48:57 AM
i am facing some errors plz help me any 1 mod plz

im using 2.0 RC3

Title: Re: Topic Count On Display
Post by: Yağız... on April 09, 2010, 12:12:01 PM
Edit those files manually.
Title: Re: Topic Count On Display
Post by: khera on April 09, 2010, 12:15:09 PM
ok i try this
Title: Re: Topic Count On Display
Post by: luuuciano on June 17, 2010, 08:00:35 PM
SOLVED!
I just did the "Recount all forum totals and statistics" maintenance task


btw, nice mod!


mmm, the Topics column in user list shows 0 to all the members...
and display information shows 0 too
is that normal?
it is a 2.0rc3... mod installed without errors/warnings...
any idea?
Title: Re: Topic Count On Display
Post by: Kurakama on November 03, 2010, 02:06:59 AM
update for rc4 pls?
Title: Re: Topic Count On Display
Post by: Apllicmz on November 08, 2010, 01:53:14 PM
Portuguese Update

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[$txt['topics_per_day'] = 'Por dia';
$txt['topicp'] = 'T&oacute;picos';
$txt['topicsmb'] = 'T&oacute;picos';
$txt['topiccount'] = 'T&oacute;picos';
]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[$txt['topics_per_day'] = 'Por dia';
$txt['topicp'] = 'T&oacute;picos';
$txt['topicsmb'] = 'T&oacute;picos';
$txt['topiccount'] = 'T&oacute;picos';
]]></add>
        </operation>
    </file>
Title: Re: Topic Count On Display
Post by: Omen on June 06, 2011, 02:46:13 PM
rc5 update?
Title: Re: Topic Count On Display
Post by: FireDitto on September 30, 2012, 08:12:26 AM
Would it be possible for a 2.0 update?

I phased, but it's cropping up all kinds of errors in Sources/Load and Sources/Profile-Modify
Title: Re: Topic Count On Display
Post by: FragaCampos on June 22, 2013, 11:54:55 AM
Thanks a lot for this mod. I wish this could be implemented on the original SMF installation.
This mod works fine on 2.0.4. You just need to make the small edits manually.
However, the memberlist column doesn't seem to show up. Anyone managed to solve this?


(http://img802.imageshack.us/img802/7743/ycim.png)
Title: Re: Topic Count On Display
Post by: FragaCampos on July 23, 2013, 08:20:33 AM
Bump.  O:)
Title: Re: Topic Count On Display
Post by: FragaCampos on August 14, 2013, 10:34:02 AM
Well, it just seems the mod is not making the right modifications.
As margarett stated here (http://www.simplemachines.org/community/index.php?topic=508220.msg3591823#msg3591823), you need to manually edit Memberlist.template.php and make the missing changes. (check parser)
Title: Re: Topic Count On Display
Post by: impreza on October 03, 2013, 06:50:45 PM
Maybe it will be updated modification?
Title: Re: Topic Count On Display
Post by: IMSassafras on March 07, 2014, 11:37:46 AM
If someone could update this mod for 2.0.7 I would appreciate it and I would presume others would too.  If the original author of the mod isn't going to update this, then maybe someone else can take it over.  When I had 1.x version of SMF, it was a great addition to my forum.  In accordance to the number of topics started, members get perks.  ASAP would be appreciated.

~Sass