vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Extra profile field (https://vborg.vbsupport.ru/showthread.php?t=169728)

Greek76 02-05-2008 06:20 PM

Extra profile field
 
Hey all just a quick question. Im trying to add an additional profile field to appear under a users username in postbit legacy..
I want to look like it would on location where it shows
Location:USA

I added code like this in postbit legacy

<if condition="$post['favoritebook']"><div class="smallfont">$post[favoritebook]</div></if>
<if condition="$post['field7']">$post[field7]</if>

The problem Im having is that its only showing what the user put down in his or her profile its not showing the profile question. How can i get it to show both question and answer.

Also how can I get the question to show bold? Thanks guys

cirdok2 02-05-2008 10:56 PM

Already tried this?

<if condition="$post['favoritebook']"><div class="smallfont">Favorite book: $post[favoritebook]</div></if>

Greek76 02-06-2008 06:17 PM

That worked perfect thank you. Now my only question is hwo can I bold the questions? Thanks

Opserty 02-06-2008 07:02 PM

To bold something in HTML use the <b> or <strong> tag.
E.g.
HTML Code:

<b>Your Question here?</b>
If that is what you are asking.

Greek76 02-07-2008 02:44 PM

Thats not what I mean but thanks. I want to bold the questions in the profile fields...

MattLuria 02-08-2008 03:05 PM

I'm trying to create a post bit that has a url link to a site. this is for my gaming alliance's server so people can link to their nation's page for cybernations.net.

There is already a fieldbit in the profile for the page ID so when they enter in that page id, i'd like it to complete the url for the postbit.

For example, mine is http://cybernations.net/nation_drill...ation_ID=35639. My nation ID number is 35639. On the post bit, is there a way to get it to show something that says My Nation Page?

MattLuria 02-18-2008 04:37 PM

I figured this out using recoding a myspace mod.


All times are GMT. The time now is 11:26 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.00911 seconds
  • Memory Usage 1,721KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete