News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Number of user topics in this forum visible on profile

Started by impreza, August 27, 2013, 05:54:18 AM

Previous topic - Next topic

impreza

How to do to be seen

Number of topics written by the user in posts

< - ---  By the number of posts
Portal Totemat - artykuły i filmy - treści w postaci artykułów i filmów.

Branko.

Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

impreza

I would prefer to insert the code manually to display.template but do not know how

This add-on files and spoils me with him the same mistakes
Portal Totemat - artykuły i filmy - treści w postaci artykułów i filmów.

kat

To see the manual edits, look under the download link, where it says "Manual Install Instructions for SMF".

Select the version of SMF that you're using and click on "Parse".

Arantor

Since the count of topics is not stored anywhere (and you haven't made it clear whether it's topics started by a user or topics participated in by a user, there's a huge difference), you'd have a *serious* performance hit to calculate and show that every page.
Perhaps it would have been better if I'd simply never bothered. Y'all clearly would be less unhappy that way.

impreza

I would like to add the code manually but no modifications

The calculation is the 'user statistics

But how does this show just in posts
Portal Totemat - artykuły i filmy - treści w postaci artykułów i filmów.

Arantor

-sigh-

It's calculated in the user statistics as needed. Doing it every post view would be a massive amount of work!

Literally the server would have to go through every post every single topic view.
Perhaps it would have been better if I'd simply never bothered. Y'all clearly would be less unhappy that way.

kat

That would bring your site to an absolute crawl, impreza.

As in "VERY SLOW, INDEED".

Not a good idea, I would say. :)

impreza

Portal Totemat - artykuły i filmy - treści w postaci artykułów i filmów.


Advertisement: