Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Parse BBCode for Custom User Profile Fields Details »»
Parse BBCode for Custom User Profile Fields
Version: 0.10, by Sparky McSmith Sparky McSmith is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.0 Rating:
Released: 12-26-2009 Last Update: Never Installs: 42
Re-useable Code  
No support by the author.

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.

Download Now

File Type: xml product-bbcode_for_custom_profile.xml (1.0 KB, 289 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 05-14-2011, 11:50 AM
GPOClan GPOClan is offline
 
Join Date: Oct 2010
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, this would be great. Developer was last online one year ago...
Reply With Quote
  #23  
Old 05-14-2011, 01:10 PM
tintin74 tintin74 is offline
 
Join Date: Jul 2007
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Solved GPOClan:

Code:
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);
Reply With Quote
  #24  
Old 05-14-2011, 01:50 PM
GPOClan GPOClan is offline
 
Join Date: Oct 2010
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tintin74 View Post
Solved GPOClan:

Code:
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
Reply With Quote
  #25  
Old 05-15-2011, 12:23 PM
tintin74 tintin74 is offline
 
Join Date: Jul 2007
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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...
Reply With Quote
  #26  
Old 05-15-2011, 12:42 PM
GPOClan GPOClan is offline
 
Join Date: Oct 2010
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tintin74 View Post
Try now, there was a mistake...
WOW! Thank you so very much dude! Great work! THANKS!!!
Reply With Quote
  #27  
Old 08-02-2011, 04:52 PM
Moondust Moondust is offline
 
Join Date: Jan 2010
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is the Code as XML with working IMG Tag and Custom BB Codes
Attached Files
File Type: xml product-bbcode_for_custom_profile.xml (1.1 KB, 48 views)
Reply With Quote
  #28  
Old 09-30-2011, 05:05 AM
Diana Notacat's Avatar
Diana Notacat Diana Notacat is offline
 
Join Date: Dec 2003
Location: Arkansas
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #29  
Old 12-25-2011, 10:55 PM
guitarcrazy44 guitarcrazy44 is offline
 
Join Date: Apr 2011
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 09:20 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10151 seconds
  • Memory Usage 2,308KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (2)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete