vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   vB Code in Custom Profile Fields (https://vborg.vbsupport.ru/showthread.php?t=59704)

ImportPassion 01-05-2004 02:36 AM

vB Code in Custom Profile Fields
 
PLease make it so.

Buczilla 01-05-2004 02:36 AM

Yes, or html. I need this too!

deathemperor 01-05-2004 03:23 AM

vb3 by default has that, but one thing I found that I can't use the dropdown for image, e.g: there will be 3 dropdown options for users to choose: Male, Female, Question Mark, if users choose Male, it will show the Male image in postbit ( or anywhere u want to put it in ), same as Female and Question Mark.
If we can do like this, then there are many funny options we may want to create for user to choose :)

ImportPassion 01-05-2004 03:25 AM

no, it doesn't, trust me. I have like 15-20 fields from the vb2 hack and the code just shows as code.

ImportPassion 02-12-2004 01:28 AM

anyone?

Andreas 02-12-2004 01:51 AM

@deathemperor1st
What about just
1) Create a Dropdown (rr radio) fieldx with Male, Female, Undisclosed
2) Put Male.gif, Female.gif and Undisclosed.gif in your images/misc folder
3) In Template postbit
Code:

<img src="$stylevar[imgdir_misc]/$post[fieldx].gif" alt="Gender: $post[fieldx]">
?

@7thgenCivic.Com

In functions.php FIND
PHP Code:

$usercache["$userid"] = $user

ABOVE that ADD
PHP Code:

require_once('./includes/functions_bbcodeparse.php');
foreach (
$user as $key => $val) {
  if (
preg_match("/field\d*/"$key))
    
$user[$key] = parse_bbcode($val);


This should work.

ImportPassion 02-12-2004 03:16 AM

i'll try it out.

thanks,
D

ImportPassion 02-13-2004 03:12 PM

well, i tried it, there was a small misplacement of a ) but I fixed it, but it gives an error on line 1801 for some reason now.

ImportPassion 02-13-2004 03:33 PM

even more weird, if i undo allt he changes I still get the error. Only way to make it work is upload the original from the rc4 download.

Rampag33 02-13-2004 03:59 PM

Yeah if this works it would be greatly appreciated


All times are GMT. The time now is 10:40 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.01090 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_code_printable
  • (2)bbcode_php_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