News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Don't allow Hyperlinks in posts

Started by fugitive, October 12, 2004, 06:20:49 PM

Previous topic - Next topic

fugitive

Is it possible to vorbit hyperlinks in posts?
And furthermore can I set this option in individual boards an not in the whole forum?
Thank u in advance

A.M.A

Admin --> Edit Features and Options --> Basic Forum Features: Disabled BBC Code
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

fugitive

But this causes a general setting in the whole forum
What I want is to disable this feature only in one board

(To avoid creating a new topic)...
When a user posts a post then he is going automatically to the previous board.
Can I  set it so as after a post to go back again to the same page showing (obviously) the new reply?
Of course the best would if this option could be user defined

Thank you

[Unknown]

The option is user-defined.  Look in your profile, under Look and Layout Preferences, if I remember right.

-[Unknown]

A.M.A

QuoteBut this causes a general setting in the whole forum
What I want is to disable this feature only in one board
will need some modifications ..

Quote(To avoid creating a new topic)...
When a user posts a post then he is going automatically to the previous board.
Can I set it so as after a post to go back again to the same page showing (obviously) the new reply?
Of course the best would if this option could be user defined

Thank you
Profile --> Look and Layout Preferences --> Return to topics after posting by default.
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

fugitive

Thanks.
But still remains the next problem

Quote from: fugitive on October 12, 2004, 07:00:35 PM
But this causes a general setting in the whole forum
What I want is to disable this feature only in one board

I mean to disable the Hyperlinks in a single board.
Do I have to use some programming?  :(

fugitive

Ok I should have been more specific:
I want to make a board to have advertisements.
But I don't want every shop-owner to come and add his link to his shop.
So how can I disable the option of hyperlinks just in this board?

One possible solution is to ban the words www and http from the board.
But how can I achieve this?
Thank you

A.M.A

ok .. here is a try .. please backup your Subs.php incase it did not work!

in Subs.php look for:
// If any tags are disabled then we won't add them.add after it:
if ($context['current_board'] == 1)
this will hopefully stop using whatever disabled tags, only on board (1) .. you need to change (1) to the board's number you are going to disable tags in it .. note that the tag's button will still not appear on other boards but the tags will work.
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Advertisement: