Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #16  
Old 24 Nov 2005, 00:18
merk merk is offline
 
Join Date: Nov 2001
Real name: Tim
It is (afaik) possible to do what you want, except its complex. The way I see you being able to do it is using the bbcode_create hook to modify the $this->tag_list array to modify the replacement html of the bbcode as the bbcode parser starts up.

It would look something like below, but note that i did it based on the tag example [newsimg]url[/newsimg] not [newsimg=url]text[/newsimg]. To do the second one, change no_option to option. I havent tested this and it could break the bbcode parser (with either setting).


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by merk; 24 Nov 2005 at 00:31. Reason: found a way
Reply With Quote
  #17  
Old 24 Nov 2005, 02:10
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Real name: Paul
I would be interested in something like this that could also turn on the swear filter.

I don't filter anything on my site but there have been problems with people getting locked out when their work software detects profanities.
Reply With Quote
  #18  
Old 24 Nov 2005, 02:43
merk merk is offline
 
Join Date: Nov 2001
Real name: Tim
in global_start


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #19  
Old 01 Dec 2005, 23:02
ZGeek ZGeek is offline
 
Join Date: Jan 2003
thanks merk, I will give that a shot.
__________________
http://www.zgeek.com
Reply With Quote
  #20  
Old 08 May 2006, 13:07
robgeo robgeo is offline
 
Join Date: Mar 2006
Originally Posted by Dean C
Well make a child style of the current one you have. And just edit out the avatars and signatures from the postbit/userprofile templates

Thanks!!!!
Reply With Quote
  #21  
Old 06 Jan 2008, 21:18
Kooldino Kooldino is offline
 
Join Date: Sep 2006
Originally Posted by merk View Post
Done

Not sure if this will work in 3.5.0, only tested on 3.5.1

Upload the attached plugin and modify it (change STYLEID = 67 to STYLEID = <styleid> of your worksafe style).
Where do I find out the styleID?

Also, how will the user use this? I was looking for some kind of one-click solution to toggle between normal view and no avatars/no signatures.
Reply With Quote
  #22  
Old 06 Jan 2008, 22:16
dismas's Avatar
dismas dismas is offline
 
Join Date: Jun 2007
You can find the styleID by going to your Style Manager and pulling down the menu to "Edit Settings". The resulting page will list the id at the top.

And for switching, the stock vB install include a pull down menu style chooser in the lower left hand corner of every page.
__________________
"Not all those who wander are lost" - J.R.R. Tolkien
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 10:38.

Layout Options | Width: Wide Color: