How to disable URL in the post of members in SMF ?

Started by rahuld, September 16, 2010, 06:17:38 AM

Previous topic - Next topic

rahuld

Dear Members,
I have Installed SMF 2 in my website and the software works very fine with lot of features in it.

However I want to have one feature enabled in my forum. As an administrator I should be able to post URL,Image ,Flash in my posting but the members should not be able to post or reply with URL,Image and Flash at the same time.

As an admin I have disabled features by unclicking the check box against URL or image in the options tab as
Admin --> Posts and Topics --> Bulletin Board Code
But this also disables even admin to post URL or image.

Is there such a feature that members ,moderators and administrator have different level of posting  ?

Please correct me if I am doing it wrong.

Please help me guide on this.

Regards
Rahul

Chas Large

Sorry no-one has answered this earlier.

As an Admin you can place HTML code in any post using the [html] code goes here [/html] tags

So if you wanted to post an image with all posting options turned off for members, including BBC you could place your code in a post like


[html]
http://www.simplemachines.org/community/Themes/smsite2/images/site/ombanner.jpg
[/html]


Produces


With BBC turned off, you'll still see the tags so just disable the IMG tags and leave the rest of BBC enabled.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Hj Ahmad Rasyid Hj Ismail


IceXaos

As said before, I would use HTML tags, and disable what you'd like members to not be able to use.

By the way, posting an image, you would have to use HTML tags as well as HTML BBC tags.
[html]<img src="http://linktoimage.com/image.jpg">[/html]

Hj Ahmad Rasyid Hj Ismail

Alright. Now I get this. To achieve the OP's wish, he is right in disabling all that. But for him to use html as admin, he just need to add the relevant tag. Thanks. I just learned this thing today. Lol....

IceXaos

Quote from: ahrasis on September 19, 2010, 02:18:11 PM
Alright. Now I get this. To achieve the OP's wish, he is right in disabling all that. But for him to use html as admin, he just need to add the relevant tag. Thanks. I just learned this thing today. Lol....
Yeah, it's plain HTML inside the HTML tags.

rahuld

Thanks Everyone.

Sorry for being late  to reply .That seems to  be good solution and I will do it at the earliest.

Regards
Rahul

IceXaos

Glad you could get it.  Please tick solved if you're finished here.

Advertisement: