News:

SMF 2.0.19 has been released! Please update. Read more.

Main Menu

Topic Count On Display

Started by Yağız..., January 20, 2008, 11:03:58 PM

Previous topic - Next topic

Yağız...

After installing the mod go to Admin >> Forum Maintenance >> Recount all forum totals and statistics.

TheListener


Kimmie

Will this be updated for RC1.2 anytime soon? :)

TheListener

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.

Kimmie

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.


TheListener

Use the parse instructions for 2.0

TheListener

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.




Yağız...


TheListener

er ya got me on that one.

What is it?


Yağız...

Download TCD_1-2-1_20RC1.zip package and extract the file named dbinstall.php. Upload it to your server and run.

silber112

I dont know how but some members of my forum can change the number of topics in to 324523463246754743734 or Text

Yağız...

Are those members global moderators or admins? And, what is your SMF version?

silber112

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...

Yağız...


Eclipse16V

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>
I worked with:
SMF 2 in German

Shop:
SID Giessen

Yağız...

I can't see where is the problem?

Eclipse16V

<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
I worked with:
SMF 2 in German

Shop:
SID Giessen

Yağız...


Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

rexusdiablos

Installed from SMF 2.0 RC2 without a problem.

Practical mod! Thanks Yağız...
"You just can't make this stuff up!" - Alex Jones | www.infowars.com

Advertisement: