vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Vbulletin 4 user profile field help needed? (https://vborg.vbsupport.ru/showthread.php?t=286049)

nam6641 07-29-2012 02:38 PM

Quote:

Originally Posted by peugeot405 (Post 2352457)
i think the problem is that you placed in under usertitle.

Try placing it under

Code:

<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>

I replace the code as you instruct, but the nothing happened, same issue

peugeot405 07-29-2012 02:44 PM

I'm going to do a quick test on my testsite again.

nam6641 07-29-2012 02:47 PM

Quote:

Originally Posted by peugeot405 (Post 2352462)
I'm going to do a quick test on my testsite again.

okay, thank you very much for your kind help...

peugeot405 07-29-2012 03:00 PM

tested it on my site and working perfefctly.

hmm....

--------------- Added [DATE]1343577736[/DATE] at [TIME]1343577736[/TIME] ---------------

ach i see it now.

In postbit you used a cappital Y for years and you got a . after 5 years.

there's your problem.

--------------- Added [DATE]1343577951[/DATE] at [TIME]1343577951[/TIME] ---------------

edit your custom profile and change

Code:

1 year
2 years
3 years
5 years.

into

Code:

1 Year
2 Years
3 Years
5 Years


nam6641 07-29-2012 03:08 PM

hi, can you please put your postbit or postbit_legacy code here, i changed the cappital y with small y, and also remove . after 5 years. but nothing changed.

Thanks

peugeot405 07-29-2012 03:11 PM

it is working, i just tested it on your site.

Scanu 08-01-2012 12:16 PM

Also you can remove some code to be like this
Code:

                                <dt>Marketing level</dt>
<vb:if condition="$post['fieldXXX'] == '1 Year'">
                                <dd>Rookie Marketer</dd>
<vb:elseif condition="$post['fieldxxx'] == '2 Years'">
                                <dd>Scalper Marketer</dd>
<vb:elseif condition="$post['fieldxxx'] == '3 Years'" />
                                <dd>Technical Marketer</dd>
<vb:else />
                                <dd>Professional Marketer</dd>
</vb:if>


peugeot405 08-01-2012 04:37 PM

Quote:

Originally Posted by Scanu (Post 2353300)
Also you can remove some code to be like this
Code:

                                <dt>Marketing level</dt>
<vb:if condition="$post['fieldXXX'] == '1 Year'">
                                <dd>Rookie Marketer</dd>
<vb:elseif condition="$post['fieldxxx'] == '2 Years'">
                                <dd>Scalper Marketer</dd>
<vb:elseif condition="$post['fieldxxx'] == '3 Years'" />
                                <dd>Technical Marketer</dd>
<vb:else />
                                <dd>Professional Marketer</dd>
</vb:if>


much better indeed. Thanx Scanu.
Sorry about the complication, I'm still a novice myself. :p


All times are GMT. The time now is 02:12 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.01135 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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