Smartys wrote:Now that I think about it, if you keep a "last edited" and "last edited post id" for each topic, you can check both: I was only thinking in terms of modding the code from what already existed.
Sorry , but once again, I really can't say that I understand what you're saying.
Smartys wrote:Oh, and to explain #4 a little better
With a plain PunBB install, it's impossible to add another moderator group. However, if you edit the line in certain files for the variable $is_admmod (ie: edit.php, delete.php, viewforum.php, etc) so that another group matches it, you've "added" a group as moderators. You also have to make edits in profile.php so you can assign people in that user group to forums
Ok, I see what you're saying now. My PHP isn't that good, and I'm not that familiar with PunBB's source or inner workings or anything, but anyway could I do something along these lines?:
if ($someusergroup) {$is_admmod = TRUE}
If that's possible, is there a file in /include or something (common.php? - I dunno, just guessing by the name) to which I could add the code? Or would I just have to add it individually to each file where it's needed (assuming that would work, of course).
Hopefully multiple moderator user groups will be a feature in an upcoming version.
Jérémie wrote:For pogenwurst: look at the MarkAsRead modification. But it's a mod, so that mean ssh, svn, diff, patch, grep and all kind of dino-geeky-wizard things to keep your punbb updated after it (when it can be updated).
Do you mean this: http://punres.org/viewtopic.php?id=321 ? Does that mod achieve the desired effect with editing posts that I mentioned before? I haven't seen anything saying it does, but maybe I missed something. Anyway, I don't mind installing mods - actually, I enjoy it, and have done so on several occasions. That mod was actually one I was planning on adding anyway.
Paul wrote:I can't see the difficulty either. Isn't it just a case of checking against both the post time and edit time and if either is newer than the last visit time mark the post as new. Or did you mean posts that have been edited during the current visit.
Current visit would be preferrable, but just from last visit would be good too, and, in most cases, be good enough. How would I go about doing this?
Looking for a certain modification for your forum? Please
take a look here before posting.