vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   Profile Fields (https://vborg.vbsupport.ru/showthread.php?t=312528)

MajorKokosnuss 07-06-2014 05:45 AM

boomboomforums.com

http://prntscr.com/3zv4wr
http://prntscr.com/3zv53h
http://prntscr.com/3zv56m

Lynne 07-06-2014 03:44 PM

Can you post your conversation_fields template content. Also, make sure that template is created in the style that you are using. And, can you turn on AdminCP > Settings > Options > General Settings > Show Template Name in HTML > Yes.

MajorKokosnuss 07-06-2014 05:53 PM

http://prntscr.com/400ehu

http://prntscr.com/400f1d

Done it is activated now

Lynne 07-06-2014 10:17 PM

The template is being read (you can see the name in the page source), but it is totally blank.

How many styles do you have in the admincp > Style Manager? And did you add the template to each of the styles?

MajorKokosnuss 07-07-2014 01:49 PM

Only one Style :) the default style

Lynne 07-07-2014 08:27 PM

Can you remove the condition statements from the template and then see if it works. Are you sure the user who's post you are looking at has entered something for field5?

(Also, in the template, line 3 is a duplicate of line 1 - why do you have that line twice?)

MajorKokosnuss 07-09-2014 01:52 PM

"Can you remove the condition statements from the template"

D: how :P ? my english is really horrible and i have no idea from scripting.

Yes i am sure because i looked on my profile :).

I removed the duplicated line :D

Lynne 07-09-2014 04:52 PM

I mean remove the <vb:if...> and </vb:if> lines from your template, like this and then see what is in the page source:

HTML Code:

{vb:data userInfo, user, fetchProfileInfo, {vb:raw conversation.userid}}

<li><label>{vb:phrase field5_title}:</label> <span>{vb:raw userInfo.customFields.default.field5_title.val}</span></li>


MajorKokosnuss 07-10-2014 01:46 PM

Nothing changed :/ still not working

Lynne 07-10-2014 03:55 PM

There is still nothing showing up in the page source which means either the template is blank or it is calling a non-existing template.

edit: I just noticed the page source is looking for the template "converstation_fields" You have spelled it wrong in your plugin (or you gave the template the wrong name - one of those). In my tutorial, I call it the "conversation_fields" template. So, double-check your template names.


All times are GMT. The time now is 11:45 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.01107 seconds
  • Memory Usage 1,730KB
  • 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_html_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
  • (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