vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   trying to make php code work for profile (https://vborg.vbsupport.ru/showthread.php?t=92762)

sabret00the 07-25-2005 09:13 PM

Quote:

Originally Posted by gio~logist
<b> will appear as <b> and every code will jsut appear as is but it wont work

ok so that being the case, we're seeing that the problem is down to the method you're using to echo out the data, if <b> is still <b> in the database then when it gets to your script should you be selecting it yourself (as the query i swapped for you earlier provided) it will still be <b> at which point your duty is to echo it out via whatever method you feel fit should it be to eval(); it, print(); it or echo();

Gio~Logist 07-25-2005 09:16 PM

and where would i do this? what edit would i have to make?

sabret00the 07-25-2005 09:18 PM

without knowing how you plan to implement this i wouldn't be able to tell you?

Gio~Logist 07-25-2005 09:25 PM

i want it to be implemented the same way $webpage[text] is implemented on this post https://vborg.vbsupport.ru/showpost....68&postcount=2 (the second code)

sabret00the 07-25-2005 09:32 PM

you're not getting me, i mean is this going on it's own page or member.php? why does it need to be with the additional fields on member.php if it's there etc.

Gio~Logist 07-25-2005 09:43 PM

i want it on member.php i want it to wor for the fields in member.php, for the $post[fieldx] 's that appear in member.php

sabret00the 07-25-2005 10:18 PM

i say add the extra query and go from there.

Gio~Logist 07-25-2005 10:23 PM

this is what i dont know how to do?

if you were to tell me what code to add or edit i would have no problems doin this... however, i myself cannot come up with a code...

sabret00the 07-25-2005 10:26 PM

insert the query i gave you as profilefields2 and your code above
PHP Code:

 eval('$customfields .= "' fetch_template('memberinfo_customfields') . '";'); 

and then call it in your template as $profilefields2[fieldx] in your template :)

Gio~Logist 07-25-2005 10:28 PM

i think i kind of get what your saying but all together... the code i should add above that would look like WHAT?


All times are GMT. The time now is 08:43 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.01816 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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