Jump to content
MakeWebGames

Forum, mods can't remove pin or delete threads


Hendrickson

Recommended Posts

Ok got an issue with the standard forums.php. For some reason my forum mods can remove , pin or lock threads. I can. I've found the code that works with the if user level = > 1 they should have right but it seems it doesn't work?

I've been trying to figure it ok. if($ir['user_level'] > 1 seems ok to me. As the players are level one anyone greater is a mod, assistant or admin etc.

 

echo "<br />";
if($ir['user_level'] > 1) {
echo "<form action='forums.php?act=move&topic=".$_GET['viewtopic']."' method='post'><strong>Move topic to:</strong> ".forum_dropdown($c, 'forum', -1)."<input type='submit' value='Move' /></form><br />
<a href='forums.php?act=pin&topic=".$_GET['viewtopic']."'><img src='/imageicons/book_go.png' alt='Pin/Unpin Topic' title='Pin/Unpin Topic' /></a><a href='forums.php?act=lock&topic=".$_GET['viewtopic']."'><img src='/imageicons/key.png' alt='Lock/Unlock Topic' title='Lock/Unlock Topic' /></a><a href='forums.php?act=deletopic&topic=".$_GET['viewtopic']."'><img src='/imageicons/delete.png' alt='Delete Topic' title='Delete Topic' /></a><br />";
}

 

Since no help is free here and people bitch if I post something like this, I will pay $5 (paypal) for the fix so my staff can mod the forums.....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...