Welcome, Guest. Please Login or Register.
November 28, 2024, 07:52:26 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  How can I disable "Send Topic"? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: How can I disable "Send Topic"?  (Read 317 times)
Armadillo
Noobie
*
Posts: 22


Medieval Warrior

How can I disable "Send Topic"?
« on: May 12, 2003, 04:05:37 AM »
Reply with quote

How can I disable the "Send Topic" button?
Some people have been using it to send e-mails with my e-mail address. For "your e-mail address" they put in mine, so the mail seems to come from me.

I did not see an option in the Admin center to disable that.
Logged

Everything should be made as simple as possible, but no simpler.
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:How can I disable "Send Topic"?
« Reply #1 on: May 12, 2003, 04:11:26 AM »
Reply with quote

You will need to alter Display.php and remove the button as well as remove the Send topic call in index.php that way they can't type it into the url either.

I am sure someone will be along sooner or later with some simple code to do so.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:How can I disable "Send Topic"?
« Reply #2 on: May 12, 2003, 04:22:08 AM »
Reply with quote

This might work, in SendTopic.php:

$sendtopicphpver = 'YaBB SE 1.5.1';

add after:

is_admin();
Logged
Armadillo
Noobie
*
Posts: 22


Medieval Warrior

Re:How can I disable "Send Topic"?
« Reply #3 on: May 12, 2003, 05:12:35 AM »
Reply with quote

Cool!
I commented-out the button code in display.php
and used Gobaloppers code in sendtopic.php.

That's good for a quick fix. When I have more time to mess with it, I'll change display.php so that only an admin can use Send Topic.

Thanks.
8)
Logged

Everything should be made as simple as possible, but no simpler.
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  How can I disable "Send Topic"? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.192 seconds with 21 queries.