vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Custom Rank Image for each User (https://vborg.vbsupport.ru/showthread.php?t=105286)

barca4ever 10-23-2006 12:18 AM

Thanks man for this great mod :)

But one thing is not accomplished :( In MEMBERINFO the BB codes are not parsed :( Any idea why !! BTW I'm using VB3.5.4

RFViet 10-23-2006 12:05 PM

does it work with vB3.5.5 ??

Blindchild02 10-23-2006 01:33 PM

Im having that error with 3.5.3 so not sure if it works with 3.5.5
author doesnt seem to be providing support

Blindchild02 10-24-2006 01:28 AM

bump, need help please!

Marris 10-25-2006 09:42 AM

Sorry, this mod has not been updated for versions beyond 3.5.3.

The key to the BBCode displaying is the Plugin in step 3:

Quote:

Hook Location: member_complete

Title: Custom Rank Image in MEMBERINFO

Plugin PHP Code:

*IMPORTANT: Again, you must replace field99 with the field Name of your newly created field in three locations in the following code:

PHP Code:

PHP Code:

if ($userinfo['field99'])
{
if (!
is_object($bbcode_parser))
{
    require_once(
DIR '/includes/class_bbcode.php');
    
$bbcode_parser =& new vB_BbCodeParser($vbulletinfetch_tag_list());
}
$userinfo['field99'] = $bbcode_parser->parse($userinfo['field99'],3true);


You must replace field99 with the field Name of your newly created field in Three locations in the following code.
I'm not sure if or how this code was changed in later versions. Have a look at the newer class_bbcode.php parser and see if there are any clues.

Another solution might be to search for a different "BBCode in Custom Profile Fields" mod that is compatible with 3.5.5. If you find one, then you can substitute that code for the plugin in step 3.

Blindchild02 10-25-2006 11:24 AM

Im using 3.5.3 and i still get the error :|

Quote:

Fatal error: Call to a member function on a non-object in includes/class_bbcode.php on line 181

Marris 10-26-2006 06:52 AM

Quote:

Originally Posted by Blindchild02
Im using 3.5.3 and i still get the error :|

Sorry, I looked at class_bbcode.php line 181, but I can't even guess at what's causing that error. It's possible that you have another plugin or mod that is conflicting.

You might try looking at what trackpads did here:

https://vborg.vbsupport.ru/showthrea...866#post875866

As I explained in the install intructions, the BBCode parsing code was written by another user (The Geek) and his original post seems to have been moved or removed from the vb.org forum. I'm not sure of all the ins and outs of how it works or why it's spitting out errors.

Maybe you could try asking why you're getting this error in the general Programming Discussions forum.


All times are GMT. The time now is 04:17 PM.

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.01149 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)bbcode_php_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
  • (7)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