View Full Version : Mini Mods - Parse BBCode for Custom User Profile Fields
Sparky McSmith
12-26-2009, 10:00 PM
This mod will parse BBCode in any and all customer user profile fields you may have created for display on the profile page. It simply adds on plugin at the member_customfields hook location.
To install: Simply download and install the Product.
Please click "install" if you use it.
mandingo
12-26-2009, 11:47 PM
Nice,smilies work too. Too bad custom bbcode isn't working for me though. Are there settings anywhere?
wastemytime
01-03-2010, 09:05 PM
Is this also possible for Custom Profile Fields in the Postbit?
identitas
05-03-2010, 02:12 PM
Nice,smilies work too. Too bad custom bbcode isn't working for me though. Are there settings anywhere?
Change False to True in:
$bbcode_parser =& new vB_BbCodeParser($GLOBALS['vbulletin'], fetch_tag_list(),false);
zeroality
05-09-2010, 10:33 PM
Yeah, I would like to get this working for postbit too. Can anybody help?
I want to use my bbcoded custom profile fields in postbit. I know how to add the code to postbit, it's just not parsing properly.
Boofo
05-09-2010, 11:18 PM
Change False to True in:
$bbcode_parser =& new vB_BbCodeParser($GLOBALS['vbulletin'], fetch_tag_list(),false);
Isn't that kind of dangerous if you have some types of html code for bbcode?
zeroality
05-20-2010, 12:09 AM
So can anybody help with getting this to work in postbit?
Zombo
06-25-2010, 03:22 AM
for some reason this doesn't parse [img].
Zombo
06-27-2010, 08:14 PM
when you put & in a field, it converts to &
skizer
07-15-2010, 12:02 AM
Would be great if someone comes up with a solution for the postbit problem =)
RustyDogma
08-18-2010, 07:46 AM
Would be great if someone comes up with a solution for the postbit problem =)
I'd love to use this in postbit :D
RustyDogma
08-18-2010, 08:13 AM
when you put & in a field, it converts to &
Ahh, aye.. having this problem too :(
red-dna
09-26-2010, 07:27 AM
Anyone knows how to use that in postbit too??
GPOClan
05-08-2011, 01:50 PM
I also need the [IMG] code... Would be great if you coul fix that :)
but 5 stars!
midnz
05-08-2011, 11:26 PM
I also need the [IMG] code... Would be great if you coul fix that :)
but 5 stars!
The [img] code parses when used in profile fields. I've just tested it on external images and also with images hosted on my own server.
GPOClan
05-09-2011, 05:18 PM
The [img] code parses when used in profile fields. I've just tested it on external images and also with images hosted on my own server.
Thanks for testing, but I just get a link. I want to have displayed the whole image...
midnz
05-09-2011, 09:50 PM
The [img] code parses when used in profile fields. I've just tested it on external images and also with images hosted on my own server.
Thanks for testing, but I just get a link. I want to have displayed the whole image...
Are you using the full web address, including the preceding "http://" ?
I tested using "www.image name.gif" and doing it that way only displays a link. Using the entire web address makes the image display properly.
I tested on vB 4.0.8 PL2 in case that makes any difference.
GPOClan
05-10-2011, 01:28 PM
Are you using the full web address, including the preceding "http://" ?
I tested using "www.image name.gif" and doing it that way only displays a link. Using the entire web address makes the image display properly.
I tested on vB 4.0.8 PL2 in case that makes any difference.
Yes, I am using http://www.bund-deutscher-clans.de/themes/carbon/statusicon/forum_old-48.png. It displays just the link to the image. Is the problem my version of vB? I am using 4.0.7, maybe it's just working with 4.0.8 P2 ...
GPOClan
05-13-2011, 01:50 PM
Tested it under 4.0.8, but it did not show any effect, so it is not the version.
Are there other solutions?
Thanks for help!
tintin74
05-14-2011, 11:22 AM
when you put & in a field, it converts to &
I quote this .
DOes anyone coder could fix this please?
GPOClan
05-14-2011, 11:50 AM
Yes, this would be great. Developer was last online one year ago...
tintin74
05-14-2011, 01:10 PM
Solved GPOClan:
if (!is_object($bbcode_parser))
{
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($GLOBALS['vbulletin'], fetch_tag_list(),true);
}
$profilefield['value'] = strip_tags($profilefield['value']);
$profilefield['value'] = $bbcode_parser->do_parse($profilefield['value'],true,true,ture,true,false,false);
GPOClan
05-14-2011, 01:50 PM
Solved GPOClan:
if (!is_object($bbcode_parser))
{
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($GLOBALS['vbulletin'], fetch_tag_list(),true);
}
$profilefield['value'] = strip_tags($profilefield['value']);
$profilefield['value'] = $bbcode_parser->do_parse($profilefield['value'],true,true,ture,true,false,false);
Hello,
thanks for your help, but I get this error:
Parse error: syntax error, unexpected $end in /is/htdocs/wp10584736_RU569EW3DZ/BDC/includes/functions.php(1568) : eval()'d code on line 8
tintin74
05-15-2011, 12:23 PM
if (!is_object($bbcode_parser))
{
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($GLOBALS['vbulletin'], fetch_tag_list(),true);
}
$profilefield['value'] = strip_tags($profilefield['value']);
$profilefield['value'] = $bbcode_parser->do_parse($profilefield['value'],true,true,true,true,false,false);
Try now, there was a mistake...
GPOClan
05-15-2011, 12:42 PM
Try now, there was a mistake...
WOW! Thank you so very much dude! Great work! THANKS!!!
Moondust
08-02-2011, 04:52 PM
There is the Code as XML with working IMG Tag and Custom BB Codes
Diana Notacat
09-30-2011, 05:05 AM
Does any one else get a Permissions error when someone tries to move/edit a thread while this mod is enabled? The mod itself works, but then I get that weird error while trying to move topics! I can't figure that one out!
guitarcrazy44
12-25-2011, 10:55 PM
How could In edit this plugin so that if a user selected an option called "drums" in their profile settings as an answer then it would make a picture of drums "drums.png" appear in that custom field in their user profile?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.