vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Profile Enhancements - Extra Profile Fields Tab (https://vborg.vbsupport.ru/showthread.php?t=208358)

ludachris 05-13-2013 04:35 PM

Considering using this as a the basis for vehicle sub-profiles instead of some of the other plugins that are out there. I'm wondering if it would be possible to have an avatar associated with each tab. And maybe a mini photo gallery for each tab. And then finally, have an option for the tab to display under the username in postbit. Or at the very least, figure out a way to throw in some code that checks to see if the user has tab ID # and then display it in some templates - if tab ID 3 is not empty, then display this html here.

Wired1 05-14-2013 12:35 AM

Quote:

Originally Posted by ludachris (Post 2421762)
Considering using this as a the basis for vehicle sub-profiles instead of some of the other plugins that are out there. I'm wondering if it would be possible to have an avatar associated with each tab. And maybe a mini photo gallery for each tab. And then finally, have an option for the tab to display under the username in postbit. Or at the very least, figure out a way to throw in some code that checks to see if the user has tab ID # and then display it in some templates - if tab ID 3 is not empty, then display this html here.

It's outside the realm of this mod, but I suppose it could be done. The easiest way would be to have two fields:

field a - pictureID from an album for the avatar
field b - albumID for the photo gallery

Then some swanky code for the pics (or just re-use the vB gallery code).

Inna 11-27-2016 11:57 AM

I'm using vB 4.2.3 PL 2, and I'm having both Extra Profile Fields Page and Extra Profile Fields Tab, but when the Tab product is enabled, it shows error on the header of profile member page:
Code:

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_css_EPFP_tab in ..../includes/functions.php on line 4602

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2

Before this time, I've used this product with no error, but seems today it's showing error.

In the line 4602 functions.php:
Code:

trigger_error('fetch_template() calls should be replaced by the vB_Template class. Template name: ' . htmlspecialchars_uni($templatename), E_USER_WARNING);
and in line 599 member.php, it is:
Code:

($hook = vBulletinHook::fetch_hook('member_build_blocks_start')) ? eval($hook) : false;
What should I do? Any comments rather than disabling this product?

PHP version is 5.6.28

Wired1 11-27-2016 06:43 PM

I've never seen those errors before. How'd you install a 3.8.x mod on 4.x?

Inna 11-28-2016 07:29 AM

How? Easily!
Just installed it with no further actions

MarkFL 11-28-2016 07:59 AM

You will need to port that product to vB 4.2.x if you intend to use it. vB 3.8.x and vB 4.2.x use different methods for rendering templates.


All times are GMT. The time now is 10:26 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.01347 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (1)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
  • (6)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