View Thread
\n";
      echo "\n";
      echo "\n";
      echo "\n";
      echo "
 Print Thread
Adding Selz Link to User Profile
FreedomIOPList
I am stuck with something. I am trying to create a userfield for the profile that would allow the user to input their store username but Selz.com does their sub-domains like www.userstore.sel... instead of www.selz.com/user... I am wondering how I can turn this code:


// Display in profile
} elseif ($profile_method == "display") {
   if ($user_data['user_selz']) {
      echo "
".$locale['uf_selz']."";
      if (!strstr($user_data['user_selz'], "http://www.selz.com/")) {
         $urlprefix = "http://www.selz.com/profiles/";
      } else {
         $urlprefix = "";
      }

Into this code:



// Display in profile
} elseif ($profile_method == "display") {
   if ($user_data['user_selz']) {
      echo "
".$locale['uf_selz']."";
      if (!strstr($user_data['user_selz'], "http://www.storename.selz.com/")) {
         $urlprefix = "http://www.selz.com/profiles/";
      } else {
         $urlprefix = "";
      }

I'm not even sure if the code


$urlprefix = "http://www.selz.com/profiles/";
      } else {
         $urlprefix = "";


Is needed in this case or not but if not, should it be removed or changed to something entirely different? Any input is appreciated much. I eventually would like to create a link in the profile (based on Infusion to create pages) that will allow a user to click the link and be redirected to a page on the site with the members Selz.com products instead of linking to Selz.com or the need for manual page creation for each Selz user. If anyone is interested in helping with that too, please let me know.
[b][center]My PHP-Fusion Siteshttp://www.freedomioplist.comhttp://www.heavenshandmades.com/news.php
[b][color=#333366]PHP-Fusion Projects Portal
[url]http://www.p
 
http://www.freedomioplist.com
Jump to Forum
Similar Threads
Thread Forum Replies Last Post
Edit profile problem on this site General Chat 3 01-29-2019 00:38
How to get profile avatar to work across multi-sites General Support 2 08-27-2018 02:52
Different Homepage For Each User Group? Addon Requests 3 10-18-2017 12:06
Subject left colum link [7.02.XX] Code Snippets 1 12-06-2016 12:13
Adding picture to news post Errors and Bugs 5 11-18-2015 17:04