Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2014, 12:51 AM
Checkmate MK8 Checkmate MK8 is offline
 
Join Date: Mar 2014
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Using ALT characters in profile fields?

In vB4.2.2, how can I set one of the particular profile fields to accept ALT characters? Currently, when a user enters an ALT character, it defaults to the numerical reference to the character.

In other words, what should be showing as ★ is showing as "&9733" in the profile field upon clicking "save".

Thanks,
CheckM8
Reply With Quote
  #2  
Old 03-07-2014, 01:02 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this a default field or custom. Some screenshots would help explain
Reply With Quote
Благодарность от:
tbworld
  #3  
Old 03-07-2014, 01:45 AM
Checkmate MK8 Checkmate MK8 is offline
 
Join Date: Mar 2014
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is the Clan Tag profile field which is custom.
Reply With Quote
  #4  
Old 03-07-2014, 01:52 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Without more info we can't help.
The code being used
A place where you got the code from ie plugin, template change etc etc.
screenshots and link to site with temp login
Reply With Quote
  #5  
Old 03-07-2014, 02:02 AM
Checkmate MK8 Checkmate MK8 is offline
 
Join Date: Mar 2014
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added the Clan Tag profile via this mod.

https://vborg.vbsupport.ru/showthread.php?t=273551
Reply With Quote
  #6  
Old 03-07-2014, 02:09 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ForceHSS is right, you need to make it a bit easier for us to help you. Always error on the side of too much information. If you want us to spend 10-20 minutes helping you, then you need to spend more then 30 seconds typing out a one-liner. Anyway, I think you get the point. Try again and we will try to help.
Reply With Quote
  #7  
Old 03-07-2014, 02:13 AM
Checkmate MK8 Checkmate MK8 is offline
 
Join Date: Mar 2014
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What else can I tell you that would lead you in the right direction, LOL? All I did was add a single custom profile field per the simple instructions in the link above. It's not rocket science.
Reply With Quote
  #8  
Old 03-07-2014, 02:25 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is more of a science then you understand. Custom profile fields are processed differently, depending where they are being used. Sorry, I could not be of assistance.
Reply With Quote
  #9  
Old 03-07-2014, 02:32 AM
Checkmate MK8 Checkmate MK8 is offline
 
Join Date: Mar 2014
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did the following:


Go to AdminCP --> User Profile Fields --> Add New User Profile Field

for profile field type select Single-Line Text Box

Title= Clan Tag
Profile Field Category= (Uncategorized)
Max length of allowed user input= 4
Field Required= Yes, at registration and profile updating
Field Editable by User= Yes
Private Field= No
Field Searchable on Members List= Yes
Show on Members List= Yes

Now Go To postbit_legacy And Find:
HTML Code:
Code:
<vb:else />


{vb:raw post.musername}

right above it add: (Replace Red XX with the profile feild number)
Code:
Code:
<vb:if condition="$post['fieldXX']"> 
<font color="red" size="4"><B>{vb:rawphrase fieldXX}[{vb:raw post.fieldXX}]</B></font></vb:if>
Reply With Quote
  #10  
Old 03-07-2014, 02:40 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe the HTML, is already parsed, so just use the star character (copy & past it), not the alt code.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:15 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.04042 seconds
  • Memory Usage 2,254KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete