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

Home » FUDforum » How To » disable new topic
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: disable new topic [message #15584 is a reply to message #15581] Sat, 20 December 2003 21:13 Go to previous messageGo to previous message
hello-world is currently offline  hello-world   India
Messages: 47
Registered: December 2003
Karma:
Member

Thanks, I did something like this in the .tmpl files and it worked.

{SECTION: new_thread new thread link}

<?php if ($frm->forum_id != 1) { ?>
<a class="GenLink" href="{TEMPLATE: new_thread_lnk}"><img alt="{MSG: new_thread}" src="{THEME_IMAGE_ROOT}/new_thread.gif" /></a>
<?php } ?>

{SECTION: END}

This is weird though. I mean, if I do something like this in C, I
would be lucky if the computer doesn't fucking explode on my face.

But here, not only was my CPU intact, the display even came out as I
wanted it to.. Must have some fuckign mind reading mechanism or
something.

php is some weird shit, to say the least..

Anyway, I got my content system working, using the forum id = 1
for serving the articles and posting comments. The articles are read,
and the new_thread-button hidden if frm->id == 1.

Thanks for the good piece of software. But add the old fuckign style
if you want it to be fucking popular... Wink.


[Updated on: Sat, 20 December 2003 21:18]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ho to install the German spell check
Next Topic: How to increase default font size for new postings?
Goto Forum:
  

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

Current Time: Sat Nov 23 07:36:41 GMT 2024

Total time taken to generate the page: 0.04975 seconds