vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Profile Report (https://vborg.vbsupport.ru/showthread.php?t=308994)

ozzy47 03-13-2014 02:11 AM

I think what you want is, {vb:raw prepared.userid} instead of {vb:raw user.userid}

On a side note, the error Warning: fetch_template, is being caused by this line in the XML:

Code:

$vbulletin->templatecache['memberinfo_block_ministats'] = str_replace($rui_button,fetch_template('report_user_info_button'),$vbulletin->templatecache['memberinfo_block_ministats'].$rui_button);
How to fix, off the top of my head I am not sure, have not installed the mod myself.

blind-eddie 03-13-2014 02:22 AM

I swear I tried prepared.userid... it worked, Thanks oZZy.
Not sure why I am not getting that error.

ozzy47 03-13-2014 02:24 AM

TBH, it does not work for me at all in vB4.

Elixar 03-13-2014 02:33 AM

It won't work at all?

ozzy47 03-13-2014 02:35 AM

Not for me, it actually breaks the sideblock in the users profile.

Elixar 03-13-2014 02:36 AM

Quote:

Originally Posted by ozzy47 (Post 2486833)
Not for me, it actually breaks the sideblock in the users profile.

Damn, let me try it again.

EDIT: I don't see the Report option on the profile, and I'm getting the error in the header.

ozzy47 03-13-2014 02:37 AM

TBH I am not even sure how Eddie has it working at all in vB4, with the fetch_template call.

ForceHSS 03-13-2014 03:16 AM

I see you uploaded a new version eddie in post 15 put the same error is still there
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: report_user_info_button in ..../includes/functions.php on line 4591

ozzy47 03-13-2014 03:20 AM

Yep, and the funny thing is, it is working on his site, and I have no idea why. :confused:

ForceHSS 03-13-2014 03:37 AM

maybe because he has no other custom plugins not sure if that is why it works for him


All times are GMT. The time now is 04:32 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.01025 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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