Additional Settings For Custom Profile Fields [1.2]
nier3 Offline
Member
***
Posts: 125
Joined: Jul 2012
Post: #125
RE: Additional Settings For Custom Profile Fields
(06-19-2012 08:20 AM)RateU Wrote:  [*]Facebook custom profile field (fid4) - {$xtpf_minp['fid4']}:
  • Regular Expression:

    Code:
    ^[A-Za-z0-9]{5,}$

  • Custom Input:

    HTML Code
    1
    2
    3
    4
    5
    6
    <tr>
    	<td style="width:1px">
    		<img src="images/facebook.png" alt="" title="<func htmlspecialchars_uni>{$xtpf_data['description']}</func>" />
    	</td>
    	<td>{INPUT}</td>
    </tr>

  • Display Format:

    HTML Code
    <a href="http://facebook.com/{VALUE}" target="_blank"><img src="images/facebook_button.png" alt="" /></a>

[*]Twitter custom profile field (fid5) - {$xtpf_minp['fid5']}:
  • Regular Expression:

    Code:
    ^[A-Za-z0-9_]+$

  • Custom Input:

    HTML Code
    1
    2
    3
    4
    5
    6
    <tr>
    	<td style="width:1px">
    		<img src="images/twitter.png" alt="" title="<func htmlspecialchars_uni>{$xtpf_data['description']}</func>" />
    	</td>
    	<td>{INPUT}</td>
    </tr>

  • Display Format:

    HTML Code
    <a href="http://twitter.com/{VALUE}" target="_blank"><img src="images/twitter_button.png" alt="" /></a>

[/list]

I have a problem with social things: I add my facebook page / twitter link / site web url in my usercp, then I save the page, I go on my member profile or my usercp again and social urls are disappeared. Why happen this?

In member profile I have added {$xtpf['fidX']} for facebook / twitter / site web urls.
(This post was last modified: 01-03-2013 11:45 AM by nier3.)
01-03-2013 11:10 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Additional Settings For Custom Profile Fields - nier3 - 01-03-2013 11:10 AM

 Standard Tools
Forum Jump: