PDA

View Full Version : Allow BB code to parse in Member titles on their profile page


j883376
04 Apr 2006, 21:57
If you happen to want to allow BB code to be in custom titles, you can do this simple modification to make BB code parse in titles on profile pages.

Open up member.php

Find:

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Change that to:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Now everything should parse properly, except for images, because they are not allowed. If you want to allow images to be added, change it to this instead:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

The Chief
05 Apr 2006, 00:21
awesome, will take a look!!

PabloAM
05 Apr 2006, 14:27
Installed ;)
THX

Princeton
05 Apr 2006, 15:03
can be abused and can get ugly ...
For example, what if somone uses [SIZE=7], , [LIST], etc ... it can wreak havoc on a layout

granted some people may not do it ... but it's the others who you would have to worry about ... if you have a small site--nothing to worry about ... if you have a big site--it could be a lot of work[I] (modifying title, warning, etc)

futuredood
22 Jun 2006, 08:18
can you get this to work for any profile field, not just usertitles? i'd like my users to be able to put bbcode in a specific profile field.. thanks.

TrekkerOfFiles
07 Sep 2006, 01:13
Is it possible to make this work elseware than just the member.php page, such as in posts?

Liz
27 Mar 2008, 03:43
I'm wondering this too. What would be the coding to make this work in posts, too?