SMF Community Helpers > Mod Development

[MOD] PostLimit

<< < (2/3) > >>

The Craw:
Well, I finally got around to looking over the code today, and it looks great. The one thing I did find that I would change, even though it isn't important, is the end of $txt['PostLimit_profile_panel'].


--- Code: ---the default message will appear: '. $txt['PostLimit_message_default'] .'';

--- End code ---

I don't see a need to start the string again, only to end it.


--- Code: ---the default message will appear: '. $txt['PostLimit_message_default'];

--- End code ---

Also, one suggestion for the user interface. It might be worth the effort to hide the reply button when the user has no replies left.

Beside those couple things, this is a good mod that, for what it's worth, get's my stamp of approval. Well done!  ;D

live627:

--- Quote ---Also, one suggestion for the user interface. It might be worth the effort to hide the reply button when the user has no replies left.
--- End quote ---
"Why can't I reply?"

This will almost certainly be a hot support request.

Suki:
Yes it would be nice to implement that.

The mod already shows a message explaining why they can't post. They even see a message explaining to them how many messages they have, the message appears when they have 3 or less post left.

The Craw:
Yes, I noticed that, but it seems contradictory to have a reply button when they can't, in fact, reply. Not that it's a deal breaker by any means, just something to think about. Very nice mod. :)

Suki:
I was actually replying to Live, I just forgot to add the @Live part.

Users won't ask that if they already can read a message, the admin can even set a custom message.

I don't know about hiding the reply button, I usually don't like editing the templates that much, perhaps can be done by disabling the reply button via some JavaScript trickery.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version