Does anyone know how i would be able to make it so moderators and admins could delete topics and posts? im not sure because wouldnt you need a different form to process the delete? If you need to know the structure of my boards go to my site
thanks for all your help people 😃
can you show me your data base structure ... need to see it to figure out the logic and give you some help ...
Thanks
im not sure what you mean but ill post this if it helps:
forum_areas:
id name description
forum_topics:
id board_id subject username post date edit_date last_update
forum_posts:
id topic_id board_id username post date edit_date last_update
if this isnt what you mean could you explain it a bit more?
is that enough info?
Originally posted by Nathan__02 Does anyone know how i would be able to make it so moderators and admins could delete topics and posts? im not sure because wouldnt you need a different form to process the delete?
Why?
if ($_SESSION['auth_moderator']) { echo "<input type=checkbox name=delete>Delete this thread...<br>";
HTH,
thnx...but thats not exactly how i want it...is there anyway they could delete all the threads that were checked...thats what confused me
There's a post here already on this board like that... but if you research arrays it's possible. For instance, you could use this:
<input type="checkbox" name="$info['0']">
Not the right syntax but that's the basics of it, Im in a hurry. 🙂
ok thnx...ill try to find the other post to get a better understanding