vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Parse BBCode for Custom User Profile Fields (https://vborg.vbsupport.ru/showthread.php?t=231267)

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:

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);


GPOClan 05-14-2011 01:50 PM

Quote:

Originally Posted by tintin74 (Post 2195561)
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

tintin74 05-15-2011 12:23 PM

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...

GPOClan 05-15-2011 12:42 PM

Quote:

Originally Posted by tintin74 (Post 2195961)
Try now, there was a mistake...

WOW! Thank you so very much dude! Great work! THANKS!!!

Moondust 08-02-2011 04:52 PM

1 Attachment(s)
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?


All times are GMT. The time now is 01:15 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01044 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete