FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Patch to show/hide reply and quote buttons
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Patch to show/hide reply and quote buttons [message #34731] Thu, 16 November 2006 16:02 Go to previous message
jmaimarc is currently offline  jmaimarc   Israel
Messages: 5
Registered: November 2006
Karma:
Junior Member
Ilia,

/* I added the "( $perms & 8 ) &&" conditional to show/hide the reply/quote buttons on non-reply forums */
if (( $perms & 8 ) && (!($obj->thread_opt & 1) || $perms & 4096)) {

on line 415ish of tree.php

It seems to be working. Did I get the right bitwise $perms? I tried looking for a chart but couldn't find it, you said it was in a sql file somewhere..

Thanks,

[Updated on: Thu, 16 November 2006 16:03]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Previous Topic: Show Own Topics and Files
Next Topic: Reporting a message
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat May 18 12:16:56 GMT 2024

Total time taken to generate the page: 0.06002 seconds