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

Home » FUDforum » How To » disable new topic
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
disable new topic [message #15580] Sat, 20 December 2003 13:16 Go to next message
hello-world is currently offline  hello-world   India
Messages: 47
Registered: December 2003
Karma: 0
Member

Hi,

How do I disable new topic creation for a single forum.

The members should be able to make posts to existing topics though,
but new_topic button shouldnt be displayed.

I checked the admin control panel, but couldn't find a detailed
single forum property management.

Thanks.
Re: disable new topic [message #15581 is a reply to message #15580] Sat, 20 December 2003 17:07 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Use the group permissions to do so (read the manual).

Basically you need to click on the "group manager" link on the forum's front page and then edit the permission for the group controlling resources for the forum who's permissions you want to alter.


FUDforum Core Developer
Re: disable new topic [message #15584 is a reply to message #15581] Sat, 20 December 2003 21:13 Go to previous messageGo to next message
hello-world is currently offline  hello-world   India
Messages: 47
Registered: December 2003
Karma: 0
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

Re: disable new topic [message #15585 is a reply to message #15584] Sat, 20 December 2003 22:43 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
This is a bad solution because someone could still access the post form, all you did was remove a link to it.

The proper way of doing it via group manager.


FUDforum Core Developer
Re: disable new topic [message #15588 is a reply to message #15585] Sun, 21 December 2003 04:30 Go to previous messageGo to next message
hello-world is currently offline  hello-world   India
Messages: 47
Registered: December 2003
Karma: 0
Member


I did block it through group manager too. But the button still shows,
which creates a clutter.


[Updated on: Sun, 21 December 2003 04:44]

Report message to a moderator

Re: disable new topic [message #15591 is a reply to message #15588] Sun, 21 December 2003 17:22 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Ah I see...

FUDforum Core Developer
Re: disable new topic [message #15596 is a reply to message #15580] Mon, 22 December 2003 10:26 Go to previous messageGo to next message
hello-world is currently offline  hello-world   India
Messages: 47
Registered: December 2003
Karma: 0
Member

Was that sarcasm or something?

I hate inconveniencing people who have the goodness of heart to come
and visit my site.

I strive to be a good host, unlike some people I can name.... Wink

I need a help.

I need to pre-create around 150 topics at one go. They all can have
the same subject and the same body.

Can you just point me to the function that does it. I did grep -ir
"post" inside, but found that "post" is some kind of generic word for
a lot of f'king things..

So is there anyway I can get my stuff done without losing my limb in
the process?

Thanks.
Re: disable new topic [message #15600 is a reply to message #15596] Mon, 22 December 2003 15:08 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Look @ imsg_edt.inc.t

FUDforum Core Developer
Re: disable new topic [message #15601 is a reply to message #15600] Mon, 22 December 2003 17:35 Go to previous messageGo to next message
hello-world is currently offline  hello-world   India
Messages: 47
Registered: December 2003
Karma: 0
Member
All I needed to do was send 150 mails. or run maillist.php 150 times.
I will disable the subject checking, that's all.

imsg.pnc.t is absolutely beyond me.

Thanks.
Re: disable new topic [message #15602 is a reply to message #15601] Mon, 22 December 2003 17:47 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Running mailist 150 times is probably easier especially if you write a quick script to run it for you Smile.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
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 30 20:29:19 GMT 2024

Total time taken to generate the page: 0.03059 seconds