PDA

View Full Version : How can I stop users from editing one of their own posts ?


mihai11
07-20-2007, 03:24 AM
Hi,

I don't want to forbid editing posts per thread or per forum, just per post – more precisely, the first post from a thread. The reasons is that the first post will be created using a form (not the VB standard input) so the information from the form must be formatted in the same manner in all the threads.

How can this be achieved ? I am thinking to do it with a plugin that will check if the post that the user wants to edit is the first in the thread and if the thread belongs to forum "abc". What hook should I use ?

Regards,
Razvan

ShawneyJ
07-20-2007, 04:25 AM
Usergroups>>>Usergroup Manager>>>Registered Users>>>Edit>>>Post / Thread Permissions>>>Can edit own posts>>>NO

Roms
07-20-2007, 04:37 AM
Usergroups>>>Usergroup Manager>>>Registered Users>>>Edit>>>Post / Thread Permissions>>>Can edit own posts>>>NO

That's not what he's asking for.... He wants "more precisely, the first post from a thread".

I would suggest (until you find a modification that will work...) using the timed edit feature.

Try this (for now...)

ACP: vBulletin Options (drop down), vBulletin Options> Message Posting and Editing Options (scroll down), Time Limit on Editing of Thread Title... the setting (I have mine at 5).

Hope that helps,
Roms

ShawneyJ
07-20-2007, 04:40 AM
me mess read opps am i bad.

Eikinskjaldi
07-20-2007, 04:41 AM
How can this be achieved ? I am thinking to do it with a plugin that will check if the post that the user wants to edit is the first in the thread and if the thread belongs to forum "abc". What hook should I use?

editpost_start

mihai11
07-20-2007, 05:26 AM
editpost_start

Thank you. I will see how can I use this hook.