Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: lordtron on July 22, 2008, 12:34:40 PM

Title: Membergroup Profiles
Post by: lordtron on July 22, 2008, 12:34:40 PM
SMF: 1.1.4

Is it possible to change the link to someones forum profile to a non-forum page?

Example:
Lets say I am in a membergroup called SMF.
So if anyone tries to goto my profile they will be going to the non-forum page.
And everyone that is not apart of the SMF membergroup will have the default forum Profile.
Title: Re: Membergroup Profiles
Post by: Robbo_ on July 22, 2008, 09:15:05 PM
Go into Sources/Load.php and find the line
'href' => $scripturl . '?action=profile;u=' . $profile['ID_MEMBER'],
      'link' => '<a href="' . $scripturl . '?action=profile;u=' . $profile['ID_MEMBER'] . '" title="' . $txt[92] . ' ' . $profile['realName'] . '">' . $profile['realName'] . '</a>',

and change it to
'href' => $profile['GROUP_ID'] == {group_id_here} ? {new_href} : $scripturl . '?action=profile;u=' . $profile['ID_MEMBER'],
      'link' => '<a href=" . ($profile['GROUP_ID'] == {group_id_here} ? {new_href} : $scripturl . '?action=profile;u=' . $profile['ID_MEMBER']). '" title="' . $txt[92] . ' ' . $profile['realName'] . '">' . $profile['realName'] . '</a>',


Replace {group_id_here} with the id of the group that has the changes and {new_href} with the url you would like them to go to.
Title: Re: Membergroup Profiles
Post by: lordtron on July 22, 2008, 10:03:29 PM
But will that allow everyone in the SMF group have there own custom Profile or will they all goto the same page?
Title: Re: Membergroup Profiles
Post by: Robbo_ on July 22, 2008, 10:32:56 PM
That is set for just one page. However if you were to do a bit of modding you could make them go to whatever they want.

You would have to add a field to the members table, add it to the memberContext array and also add an option (another array I think) to change it to whatever you want through the profile.

If you don't know how to do that then hopefully someone else isn't as tired as me and might go through it in detail :p
Title: Re: Membergroup Profiles
Post by: lordtron on July 22, 2008, 11:06:48 PM
Yeah, I will need someone that can go into detail with that for me. Cause I lost you half-way....

But thanks for at least telling me that much. Thats better than nothing.
Do you think it would be possible to do it by memberID instead of groupID?
Title: Re: Membergroup Profiles
Post by: Robbo_ on July 22, 2008, 11:41:06 PM
Yes it will be possible. If I had the time I would make a mod to do all this for you with a permission you can set for the membergroup. Unfortunately I have limited time to even do the stuff I want to do.
Title: Re: Membergroup Profiles
Post by: lordtron on July 22, 2008, 11:54:39 PM
Well thanks anyways man...This is a lot of help and a time saver.
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 23, 2008, 08:45:36 PM
Well in the new href URL just use the variable $profile['ID_MEMBER'] somewhere to make it different pointer for each member ID.
Title: Re: Membergroup Profiles
Post by: lordtron on July 23, 2008, 08:53:42 PM
But where would I put what ID goes to where then?
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 23, 2008, 09:04:35 PM
I don't know what is the URL you are sending them too or creating these 'custom' profiles at?  You would use your target URL and then add the membersID to it, so can make it look for different page maybe?
Title: Re: Membergroup Profiles
Post by: lordtron on July 23, 2008, 09:09:37 PM
I don't want to add there memberID to the URL cause then if I want to look for someone I have to look up there ID and that will be a pain after awhile.


I have this:
http://vainsoft.com/model/boards/index.php?action=profile;u=2

But I want this(URL to custom Profile):
http://vainsoft.com/model/ourgirls/stevie
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 23, 2008, 10:08:48 PM
Well then just use $profile['realName'] then to call their account name.  Just have to make sure they are one and the same and they never change it.
Title: Re: Membergroup Profiles
Post by: lordtron on July 23, 2008, 10:13:19 PM
Your just making it more confusing for me man lol

So where does $profile['realName'] go?
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 23, 2008, 10:27:19 PM
For the replacement URL try:
http://vainsoft.com/model/ourgirls/' . $profile['realName'] . '
Title: Re: Membergroup Profiles
Post by: lordtron on July 23, 2008, 10:39:47 PM
Well I know right off the back that won't work lol
Cause I only use there first name in the URL.
And I can't use memberName due to members having the same name.



Could I use a custom field I created with this method. Cause I enter in myself what the folder is called for the custom profile. Could I just use that.
(Only I can edit this field and nobody can see it if I have not entered in a value for it)
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 23, 2008, 11:40:53 PM
Well you'll have to write a function that extracts that information of that particular person and populate that variable with your details.  You're on your own on that one, as it's not really part of General Support for SMF.

Maybe easier to change it so you use their forums display name instead of just their first name in that profile URL.
Title: Re: Membergroup Profiles
Post by: lordtron on July 23, 2008, 11:45:05 PM
Oh I already figured out how to populate that variable, figured it out last night at 2am lol


I was just wondering if it would work with this.
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 23, 2008, 11:47:27 PM
Well if you worked it out 'last night at 2am' why didn't you just try it and see?  But each their own...
Title: Re: Membergroup Profiles
Post by: lordtron on July 23, 2008, 11:52:18 PM
Cause I didn't really do it last night at 2am for that reason. I did it to pull information from fields that where made by Custom Field Mod. And I used it has a test since I knew that field already had something entered in it.
Title: Re: Membergroup Profiles
Post by: lordtron on July 24, 2008, 01:02:55 AM
Alright, I put the code in and fixed the errors I was getting, but it doesn't work. I click on someones profile that is in the membergroup I selected and it still goes to there forum profile not where I want it to goto.

Title: Re: Membergroup Profiles
Post by: Rumbaar on July 24, 2008, 01:41:19 AM
Well I only focused on the URL, you'll need to make sure this part ($profile['GROUP_ID'] == {group_id_here}) is correct and correct populating.  What is the URL it's rendering to page?
Title: Re: Membergroup Profiles
Post by: lordtron on July 24, 2008, 01:46:19 AM
This is the code I am using to replace the other code.

'href' => $profile['GROUP_ID'] == 9 ? http://google.com : $scripturl . '?action=profile;u=' . $profile['ID_MEMBER'],
        'link' => '<a href="' . ($profile['GROUP_ID'] == 9 ? http://google.com : $scripturl . '?action=profile;u=' . $profile['ID_MEMBER']). '" title="' . $txt[92] . ' ' . $profile['realName'] . '">' . $profile['realName'] . '</a>',

I told it to goto google just for a test run. But it just ignores it or something and just goes to there default forum profile like I just said.
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 24, 2008, 03:55:12 AM
Well I'm sure $profile['GROUP_ID'] returns an array, so will never equal a single digit Group ID, so will never trigger $true to use that first URL.  You'll need to do a type of array_intersect check I'm sure.
Title: Re: Membergroup Profiles
Post by: lordtron on July 24, 2008, 10:25:15 AM
And how exactly would I do that?
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 24, 2008, 05:59:35 PM
Well getting the trigger, you might have to use if statements
$newprofile = array(id1,id2,etc);
         if (array_intersect($profile['GROUP_ID'], $newprofile))
Now that assumed $profile['GROUP_ID'] actual is populated where you are calling it.
Title: Re: Membergroup Profiles
Post by: lordtron on July 24, 2008, 07:22:03 PM
Alright where does that go, does that replace $profile['GROUP_ID']???
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 24, 2008, 07:35:06 PM
Well you can try (untested and off top of head), and I'm sure more elegant ways to do it but define a variable and then call upon that variable to trigger the swap.

$newprofile = array(id1,id2,etc);
if (array_intersect($profile['GROUP_ID'], $newprofile))
{
$showme = 'true';
}


'href' => $showme == true ? http://vainsoft.com/model/ourgirls/' . $variable . ' : $scripturl . '?action=profile;u=' . $profile['ID_MEMBER'],

Title: Re: Membergroup Profiles
Post by: lordtron on July 24, 2008, 07:45:13 PM
Ok, where do I put this?
   $newprofile = array(id1,id2,etc);
   if (array_intersect($profile['GROUP_ID'], $newprofile))
   {
   $showme = 'true';
   }
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 24, 2008, 08:15:46 PM
Anywhere in the file before it's call by those two references.  You might want to unset it after use or use an else statement to mark it false for none people in membergroups.
Title: Re: Membergroup Profiles
Post by: lordtron on July 24, 2008, 09:15:57 PM
Alright that didn't work at all. I got this error


Parse error: parse error, unexpected T_DOUBLE_ARROW, expecting ')' in /Sources/Load.php on line 1043

Fatal error: Call to undefined function: cache_get_data() in /Sources/Load.php on line 158
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 24, 2008, 09:19:32 PM
Yeah I'm sure I'm not populating the variable right, what's on line 1043.  I'll fully test on my test server tonight if you haven't gotten it working by then or someone else has corrected my mistake.
Title: Re: Membergroup Profiles
Post by: lordtron on July 24, 2008, 09:21:27 PM
Line 1043 is this:
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $profile['ID_MEMBER'] . '" title="' . $txt[92] . ' ' . $profile['realName'] . '">' . $profile['realName'] . '</a>',
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 24, 2008, 09:41:28 PM
That has none of the edits outlined in this thread.  You must have some other open code in previous edits before that.
Title: Re: Membergroup Profiles
Post by: lordtron on July 24, 2008, 09:47:18 PM
Oh, I new I forgot something. Well anyways I just changed the 2nd line to what the other guy said to replace it with and now I get this error


Parse error: parse error, unexpected '=' in /catchusers3/2014368/model/boards/Sources/Load.php on line 1042

Fatal error: Call to undefined function: cache_get_data() in /catchusers3/2014368/model/boards/Sources/Load.php on line 158

Line 1042 is the href code you gave me.
Line 158 is:
if (($modSettings = cache_get_data('modSettings', 90)) == null)
Title: Re: Membergroup Profiles
Post by: [SiNaN] on July 25, 2008, 03:26:39 AM
This link and href should work:

'href' => in_array($profile['ID_GROUP'], array(1,2,3)) ? ('http://www.google.com/girls/' . $profile['realName']) : ($scripturl . '?action=profile;u=' . $profile['ID_MEMBER']),
'link' => '<a href="' . (in_array($profile['ID_GROUP'], array(1,2,3)) ? ('http://www.google.com/girls/' . $profile['realName']) : ($scripturl . '?action=profile;u=' . $profile['ID_MEMBER'])) . '" title="' . $txt[92] . ' ' . $profile['realName'] . '">' . $profile['realName'] . '</a>',


1,2,3 are the ID of groups whose profile links will be changed.

Note that this will just affect the profile link which are loaded with loadMemberData(). For example in memberlist or messages.
Title: Re: Membergroup Profiles
Post by: lordtron on July 25, 2008, 03:41:41 AM
So are you saying that the link in posts won't change?
Title: Re: Membergroup Profiles
Post by: [SiNaN] on July 25, 2008, 03:45:17 AM
They change.
Title: Re: Membergroup Profiles
Post by: lordtron on July 25, 2008, 03:46:18 AM
So where wouldn't it change, cause you make it sound like in some places it won't change.
Title: Re: Membergroup Profiles
Post by: [SiNaN] on July 25, 2008, 03:58:34 AM
For example in the latest member, latest posts. These ones I spotted just now. This could help you, a query with 'realName':

Quote----------------------------------------
Find ''realName'' in '\www\smf\Sources\Admin.php':
\www\smf\Sources\Admin.php(144):   $context['administrators'][] = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';
Found ''realName'' 1 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\BoardIndex.php':
\www\smf\Sources\BoardIndex.php(229):     'name' => $row_board['realName'],
\www\smf\Sources\BoardIndex.php(231):     'link' => $row_board['posterName'] != '' ? (!empty($row_board['ID_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row_board['ID_MEMBER'] . '">' . $row_board['realName'] . '</a>' : $row_board['realName']) : $txt[470],
\www\smf\Sources\BoardIndex.php(293):   if (empty($row['realName']))
\www\smf\Sources\BoardIndex.php(306):    $link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '" style="color: ' . $row['onlineColor'] . ';">' . $row['realName'] . '</a>';
\www\smf\Sources\BoardIndex.php(308):    $link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';
\www\smf\Sources\BoardIndex.php(320):    'name' => $row['realName'],
Found ''realName'' 7 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Calendar.php':
\www\smf\Sources\Calendar.php(314):    'name' => $row['realName'],
Found ''realName'' 1 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Display.php':
\www\smf\Sources\Display.php(375):     $link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '" style="color: ' . $row['onlineColor'] . ';">' . $row['realName'] . '</a>';
\www\smf\Sources\Display.php(377):     $link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';
\www\smf\Sources\Display.php(389):     'name' => $row['realName'],
Found ''realName'' 3 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Load.php':
\www\smf\Sources\Load.php(483):   'name' => isset($user_settings['realName']) ? $user_settings['realName'] : '',
\www\smf\Sources\Load.php(617):       'name' => $row['realName'],
\www\smf\Sources\Load.php(619):       'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MODERATOR'] . '" title="' . $txt[62] . '">' . $row['realName'] . '</a>'
\www\smf\Sources\Load.php(1008):   'name' => &$profile['realName'],
\www\smf\Sources\Load.php(1016):   'link' => '<a href="' . (in_array($profile['ID_GROUP'], array(1,2,3)) ? ('www.google.com/girls/' . $profile['realName']) : ($scripturl . '?action=profile;u=' . $profile['ID_MEMBER'])) . '" title="' . $txt[92] . ' ' . $profile['realName'] . '">' . $profile['realName'] . '</a>',
\www\smf\Sources\Load.php(1623):       'name' => $row['realName'],
\www\smf\Sources\Load.php(1625):       'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MODERATOR'] . '" title="' . $txt[62] . '">' . $row['realName'] . '</a>'
Found ''realName'' 10 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\ManageBans.php':
\www\smf\Sources\ManageBans.php(718):       'name' => $row['realName'],
\www\smf\Sources\ManageBans.php(720):       'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>',
\www\smf\Sources\ManageBans.php(989):      'name' => $row['realName'],
\www\smf\Sources\ManageBans.php(991):      'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>',
\www\smf\Sources\ManageBans.php(1072):     'name' => $row['realName'],
\www\smf\Sources\ManageBans.php(1074):     'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>',
Found ''realName'' 6 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\ManageBoards.php':
\www\smf\Sources\ManageBoards.php(527):   $context['board']['moderators'][] = $row['realName'];
Found ''realName'' 1 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\ManageErrors.php':
\www\smf\Sources\ManageErrors.php(160):    'realName' => $txt[28]
\www\smf\Sources\ManageErrors.php(168):    $context['errors'][$id]['member']['name'] = $members[$memID]['realName'];
\www\smf\Sources\ManageErrors.php(184):    $context['filter']['value']['html'] = '<a href="' . $scripturl . '?action=profile;u=' . $id . '">' . $user_profile[$id]['realName'] . '</a>';
Found ''realName'' 3 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\ManageMembergroups.php':
\www\smf\Sources\ManageMembergroups.php(621):   'name' => 'realName',
\www\smf\Sources\ManageMembergroups.php(632):   $querySort = 'realName';
\www\smf\Sources\ManageMembergroups.php(673):    'name' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>',
Found ''realName'' 3 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\ManageMembers.php':
\www\smf\Sources\ManageMembers.php(276):     'db_fields' => array('memberName', 'realName'),
\www\smf\Sources\ManageMembers.php(421):   'realName' => array('label' => $txt['display_name']),
\www\smf\Sources\ManageMembers.php(493):    'name' => $row['realName'],
\www\smf\Sources\ManageMembers.php(500):    'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>'
\www\smf\Sources\ManageMembers.php(731):    'name' => $row['realName'],
Found ''realName'' 5 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\ManageNews.php':
\www\smf\Sources\ManageNews.php(507):    !empty($_POST['send_html']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>' : $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
\www\smf\Sources\ManageNews.php(509):    $row['realName']
Found ''realName'' 2 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Memberlist.php':
\www\smf\Sources\Memberlist.php(93):   'realName' => array(
\www\smf\Sources\Memberlist.php(160):  $use_cache = $modSettings['totalMembers'] > 2000 && (!isset($_REQUEST['sort']) || $_REQUEST['sort'] === 'realName') && isset($_REQUEST['start']) && $_REQUEST['start'] > $cache_step_size;
\www\smf\Sources\Memberlist.php(212):   $_REQUEST['sort'] = 'realName';
\www\smf\Sources\Memberlist.php(269):   'realName' => array(
\www\smf\Sources\Memberlist.php(314):  if ($use_cache && $_REQUEST['sort'] === 'realName' && !isset($_REQUEST['desc']))
\www\smf\Sources\Memberlist.php(323):  elseif ($use_cache && $_REQUEST['sort'] === 'realName')
\www\smf\Sources\Memberlist.php(347):  if ($_REQUEST['sort'] == 'realName')
\www\smf\Sources\Memberlist.php(385):    $fields = array('memberName', 'realName');
Found ''realName'' 8 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\MessageIndex.php':
\www\smf\Sources\MessageIndex.php(196):        'name' => $row_board['realName'],
\www\smf\Sources\MessageIndex.php(198):        'link' => $row_board['posterName'] != '' ? (!empty($row_board['ID_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row_board['ID_MEMBER'] . '">' . $row_board['realName'] . '</a>' : $row_board['realName']) : $txt[470],
\www\smf\Sources\MessageIndex.php(277):       'name' => $row['realName'],
\www\smf\Sources\MessageIndex.php(280):       'link' => $row['posterName'] != '' ? (!empty($row['ID_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>' : $row['realName']) : $txt[470],
\www\smf\Sources\MessageIndex.php(333):     $link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '" style="color: ' . $row['onlineColor'] . ';">' . $row['realName'] . '</a>';
\www\smf\Sources\MessageIndex.php(335):     $link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';
\www\smf\Sources\MessageIndex.php(346):     'name' => $row['realName'],
Found ''realName'' 9 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Modlog.php':
\www\smf\Sources\Modlog.php(233):     'name' => $row['realName'],
\www\smf\Sources\Modlog.php(235):     'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>'
\www\smf\Sources\Modlog.php(313):      'name' => $row['realName'],
\www\smf\Sources\Modlog.php(315):      'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>'
\www\smf\Sources\Modlog.php(318):     $context['entries'][$action]['extra']['member'] = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';
Found ''realName'' 5 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\News.php':
\www\smf\Sources\News.php(473):     'title' => cdata_parse($row['realName']),
\www\smf\Sources\News.php(481):     'title' => cdata_parse($row['realName']),
\www\smf\Sources\News.php(486):     'title' => cdata_parse($row['realName']),
\www\smf\Sources\News.php(496):     'name' => cdata_parse($row['realName']),
Found ''realName'' 4 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\PersonalMessage.php':
\www\smf\Sources\PersonalMessage.php(1162):     $form_message = '
Quote from: &quot;' . $row_quoted['realName'. "&quot;]\n" . $form_message . "\n
";
\www\smf\Sources\PersonalMessage.php(1164):     $form_message = '
Quote from: ' . $row_quoted['realName'. ' link=action=profile;u=' . $row_quoted['ID_MEMBER'] . ' date=' . $row_quoted['msgtime'] . "]\n" . $form_message . "\n
";
\www\smf\Sources\PersonalMessage.php(1176):     'name' => $row_quoted['realName'],
\www\smf\Sources\PersonalMessage.php(1180):     'link' => !empty($row_quoted['ID_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row_quoted['ID_MEMBER'] . '">' . $row_quoted['realName'] . '</a>' : $row_quoted['realName'],
\www\smf\Sources\PersonalMessage.php(1205):    $membersTo[] = '&quot;' . $row_quoted['realName'] . '&quot;';
\www\smf\Sources\PersonalMessage.php(1216):     $membersTo[] = '&quot;' . htmlspecialchars($row['realName']) . '&quot;';
\www\smf\Sources\PersonalMessage.php(1231):     $membersTo[] = '&quot;' . $row['realName'] . '&quot;';
\www\smf\Sources\PersonalMessage.php(1322):     'name' => $row_quoted['realName'],
\www\smf\Sources\PersonalMessage.php(1326):     'link' => !empty($row_quoted['ID_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row_quoted['ID_MEMBER'] . '">' . $row_quoted['realName'] . '</a>' : $row_quoted['realName'],
\www\smf\Sources\PersonalMessage.php(1622):     'name' => $row['realName'],
\www\smf\Sources\PersonalMessage.php(2136):    $context['admins'][$row['ID_MEMBER']] = $row['realName'];
Found ''realName'' 13 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Profile.php':
\www\smf\Sources\Profile.php(275):   'name' => !isset($user_profile[$memID]['realName']) || $user_profile[$memID]['realName'] == '' ? '' : $user_profile[$memID]['realName'],
\www\smf\Sources\Profile.php(469):  elseif (isset($profile_vars['realName']))
\www\smf\Sources\Profile.php(473):  if (isset($profile_vars['birthdate']) || isset($profile_vars['realName']))
\www\smf\Sources\Profile.php(704):   if (isset($_POST['realName']) && (!empty($modSettings['allow_editDisplayName']) || allowedTo('moderate_forum')) && trim($_POST['realName']) != $old_profile['realName'])
\www\smf\Sources\Profile.php(706):    $_POST['realName'] = trim(preg_replace('~[\s]~' . ($context['utf8'] ? 'u' : ''), ' ', $_POST['realName']));
\www\smf\Sources\Profile.php(707):    if (trim($_POST['realName']) == '')
\www\smf\Sources\Profile.php(709):    elseif ($func['strlen']($_POST['realName']) > 60)
\www\smf\Sources\Profile.php(714):     if (isReservedName($_POST['realName'], $memID))
\www\smf\Sources\Profile.php(718):    if (isset($_POST['realName']))
\www\smf\Sources\Profile.php(719):     $profile_vars['realName'] = '\'' . $_POST['realName'] . '\'';
\www\smf\Sources\Profile.php(1392):  $context['page_title'] = $txt[458] . ' ' . $user_profile[$memID]['realName'];
\www\smf\Sources\Profile.php(1616):  $context['page_title'] = $txt['statPanel_showStats'] . ' ' . $user_profile[$memID]['realName'];
\www\smf\Sources\Profile.php(1760):  $context['page_title'] = $txt['trackUser'] . ' - ' . $user_profile[$memID]['realName'];
\www\smf\Sources\Profile.php(1763):  $context['member']['name'] = $user_profile[$memID]['realName'];
\www\smf\Sources\Profile.php(1854):     $context['members_in_range'][$row['ID_MEMBER']] = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';
\www\smf\Sources\Profile.php(1865):     $context['members_in_range'][$row['ID_MEMBER']] = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';
\www\smf\Sources\Profile.php(2038):  $context['member']['name'] = $user_profile[$memID]['realName'];
\www\smf\Sources\Profile.php(2556):     'name' => $row['realName'],
\www\smf\Sources\Profile.php(2558):     'link' => empty($row['ID_MEMBER']) ? $row['realName'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>'
\www\smf\Sources\Profile.php(2610):    $pm_ignore_list .= "\n" . $row['realName'];
\www\smf\Sources\Profile.php(2626):   $buddy_list .= "\n" . $row['realName'];
\www\smf\Sources\Profile.php(2651):  $context['page_title'] = $txt['deleteAccount'] . ': ' . $user_profile[$memID]['realName'];
\www\smf\Sources\Profile.php(2760):   'name' => !isset($_POST['realName']) || $_POST['realName'] == '' ? $user_profile[$_REQUEST['userID']]['memberName'] : stripslashes($_POST['realName']),
Found ''realName'' 32 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Register.php':
\www\smf\Sources\Register.php(217):  if (isset($_POST['realName']) && (!empty($modSettings['allow_editDisplayName']) || allowedTo('moderate_forum')))
\www\smf\Sources\Register.php(219):   $_POST['realName'] = trim(preg_replace('~[\s]~' . ($context['utf8'] ? 'u' : ''), ' ', $_POST['realName']));
\www\smf\Sources\Register.php(220):   if (trim($_POST['realName']) != '' && !isReservedName($_POST['realName'], $memID) && $func['strlen']($_POST['realName']) <= 60)
\www\smf\Sources\Register.php(221):    $possible_strings[] = 'realName';
\www\smf\Sources\Register.php(404):   sendmail($row['emailAddress'], $txt['register_subject'], sprintf($txt[empty($modSettings['registration_method']) || $modSettings['registration_method'] == 1 ? 'resend_activate_message' : 'resend_pending_message'], $row['realName'], $row['memberName'], $row['validation_code'], $scripturl . '?action=activate;u=' . $row['ID_MEMBER'] . ';code=' . $row['validation_code']));
Found ''realName'' 8 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Reminder.php':
\www\smf\Sources\Reminder.php(131):   sprintf($txt['sendtopic_dear'], $row['realName']) . "\n\n" .
Found ''realName'' 1 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Reports.php':
\www\smf\Sources\Reports.php(205):   $moderators[$row['ID_BOARD']][] = $row['realName'];
\www\smf\Sources\Reports.php(697):   newTable($row['realName'], '', 'left', 'auto', 'left', 200, 'center');
Found ''realName'' 2 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\SplitTopics.php':
\www\smf\Sources\SplitTopics.php(372):    'poster' => $row['realName'],
\www\smf\Sources\SplitTopics.php(401):     'poster' => $row['realName']
Found ''realName'' 2 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Stats.php':
\www\smf\Sources\Stats.php(209):    'name' => $row_members['realName'],
\www\smf\Sources\Stats.php(213):    'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'] . '">' . $row_members['realName'] . '</a>'
\www\smf\Sources\Stats.php(398):    'name' => $row_members['realName'],
\www\smf\Sources\Stats.php(402):    'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'] . '">' . $row_members['realName'] . '</a>'
\www\smf\Sources\Stats.php(445):    'name' => $row_members['realName'],
\www\smf\Sources\Stats.php(449):    'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'] . '">' . $row_members['realName'] . '</a>'
Found ''realName'' 6 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Subs-Auth.php':
\www\smf\Sources\Subs-Auth.php(463):    'name' => $row['realName'],
\www\smf\Sources\Subs-Auth.php(467):    'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>'
\www\smf\Sources\Subs-Auth.php(566):    $utf8 = iconv($txt['lang_character_set'], 'UTF-8', $row['realName']);
\www\smf\Sources\Subs-Auth.php(568):     $row['realName'] = $utf8;
\www\smf\Sources\Subs-Auth.php(571):   $row['realName'] = strtr($row['realName'], array('&amp;' => '&', '&lt;' => '<', '&gt;' => '>', '&quot;' => '"'));
\www\smf\Sources\Subs-Auth.php(573):   if (preg_match('~&#\d+;~', $row['realName']) != 0)
\www\smf\Sources\Subs-Auth.php(585):    $row['realName'] = preg_replace('~&#(\d+);~e', '$fixchar(\'$1\')', $row['realName']);
\www\smf\Sources\Subs-Auth.php(588):   echo $row['realName'], "\n";
Found ''realName'' 10 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Subs-Members.php':
\www\smf\Sources\Subs-Members.php(701):   'realName' => "'$regOptions[username]'",
\www\smf\Sources\Subs-Members.php(787):  $realName = substr($regOptions['register_vars']['realName'], 1, -1);
Found ''realName'' 2 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Subs-Post.php':
\www\smf\Sources\Subs-Post.php(781):    $log['failed'][] = sprintf($txt['pm_error_data_limit_reached'], $row['realName']);
\www\smf\Sources\Subs-Post.php(788):    $log['failed'][] = sprintf($txt['pm_error_ignored_by_user'], $row['realName']);
\www\smf\Sources\Subs-Post.php(797):   $log['sent'][] = sprintf(isset($txt['pm_successfully_sent']) ? $txt['pm_successfully_sent'] : '', $row['realName']);
Found ''realName'' 3 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Subs.php':
\www\smf\Sources\Subs.php(568):    'realName',
Found ''realName'' 1 time(s).
----------------------------------------
Find ''realName'' in '\www\smf\Sources\Who.php':
\www\smf\Sources\Who.php(388):     $data[$k] = sprintf($session_text, $row['ID_MEMBER'], $row['realName']);
Found ''realName'' 1 time(s).
Search complete, found ''realName'' 149 time(s). (27 file(s)).

In BoardIndex, in Stats, etc..
Title: Re: Membergroup Profiles
Post by: lordtron on July 25, 2008, 10:57:31 AM
So does this mean that everything that deals with realName will have the new link status?



Well I am not going to do realName, due to the chance of someone changing there realName. Just yesterday I had to change someones name. And when I get into higher numbers this will be a pain. So I just changed it to ID_MEMBER and thats fine, cause you can't change your ID_MEMBER, but only 1 problem with this.

It doesn't work for New Member in the Stats and for Latest Post on the Boards.
But it does work for Memberlist, Mail, And if your in a post the Poster, thats all I checked so far.
Title: Re: Membergroup Profiles
Post by: [SiNaN] on July 25, 2008, 12:25:52 PM
Sorry, found the right one. See this:

Quote----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\Admin.php':
smf\Sources\Admin.php(144):   $context['administrators'][] = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';
Found '$scripturl . '?action=profile;u='' 1 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\BoardIndex.php':
smf\Sources\BoardIndex.php(148):      'href' => $scripturl . '?action=profile;u=' . $row_board['ID_MODERATOR'],
smf\Sources\BoardIndex.php(149):      'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_board['ID_MODERATOR'] . '" title="' . $txt[62] . '">' . $row_board['modRealName'] . '</a>'
smf\Sources\BoardIndex.php(151):     $this_category[$row_board['ID_BOARD']]['link_moderators'][] = '<a href="' . $scripturl . '?action=profile;u=' . $row_board['ID_MODERATOR'] . '" title="' . $txt[62] . '">' . $row_board['modRealName'] . '</a>';
smf\Sources\BoardIndex.php(230):     'href' => $row_board['posterName'] != '' && !empty($row_board['ID_MEMBER']) ? $scripturl . '?action=profile;u=' . $row_board['ID_MEMBER'] : '',
smf\Sources\BoardIndex.php(231):     'link' => $row_board['posterName'] != '' ? (!empty($row_board['ID_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row_board['ID_MEMBER'] . '">' . $row_board['realName'] . '</a>' : $row_board['realName']) : $txt[470],
smf\Sources\BoardIndex.php(306):    $link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '" style="color: ' . $row['onlineColor'] . ';">' . $row['realName'] . '</a>';
smf\Sources\BoardIndex.php(308):    $link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';
smf\Sources\BoardIndex.php(322):    'href' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
Found '$scripturl . '?action=profile;u='' 8 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\Display.php':
smf\Sources\Display.php(375):     $link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '" style="color: ' . $row['onlineColor'] . ';">' . $row['realName'] . '</a>';
smf\Sources\Display.php(377):     $link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';
smf\Sources\Display.php(391):     'href' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\Display.php(467):    $context['link_moderators'][] = '<a href="' . $scripturl . '?action=profile;u=' . $mod['id'] . '" title="' . $txt[62] . '">' . $mod['name'] . '</a>';
smf\Sources\Display.php(605):     'href' => $pollinfo['ID_MEMBER'] == 0 ? '' : $scripturl . '?action=profile;u=' . $pollinfo['ID_MEMBER'],
smf\Sources\Display.php(606):     'link' => $pollinfo['ID_MEMBER'] == 0 ? $row['posterName'] : '<a href="' . $scripturl . '?action=profile;u=' . $pollinfo['ID_MEMBER'] . '">' . $row['posterName'] . '</a>'
Found '$scripturl . '?action=profile;u='' 6 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\Load.php':
smf\Sources\Load.php(618):       'href' => $scripturl . '?action=profile;u=' . $row['ID_MODERATOR'],
smf\Sources\Load.php(619):       'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MODERATOR'] . '" title="' . $txt[62] . '">' . $row['realName'] . '</a>'
smf\Sources\Load.php(1015):   'href' => $scripturl . '?action=profile;u=' . $profile['ID_MEMBER'],
smf\Sources\Load.php(1016):   'link' => '<a href="' . $scripturl . '?action=profile;u=' . $profile['ID_MEMBER'] . '" title="' . $txt[92] . ' ' . $profile['realName'] . '">' . $profile['realName'] . '</a>',
smf\Sources\Load.php(1624):       'href' => $scripturl . '?action=profile;u=' . $row['ID_MODERATOR'],
smf\Sources\Load.php(1625):       'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MODERATOR'] . '" title="' . $txt[62] . '">' . $row['realName'] . '</a>'
Found '$scripturl . '?action=profile;u='' 6 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\ManageAttachments.php':
smf\Sources\ManageAttachments.php(329):     'href' => empty($row['ID_MEMBER']) ? '' : $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\ManageAttachments.php(330):     'link' => empty($row['ID_MEMBER']) ? $row['posterName'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['posterName'] . '</a>'
Found '$scripturl . '?action=profile;u='' 2 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\ManageBans.php':
smf\Sources\ManageBans.php(719):       'href' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\ManageBans.php(720):       'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>',
smf\Sources\ManageBans.php(782):     $context['ban_suggestions']['href'] = $scripturl . '?action=profile;u=' . $context['ban_suggestions']['member']['id'];
smf\Sources\ManageBans.php(990):      'href' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\ManageBans.php(991):      'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>',
smf\Sources\ManageBans.php(1073):     'href' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\ManageBans.php(1074):     'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>',
Found '$scripturl . '?action=profile;u='' 7 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\ManageErrors.php':
smf\Sources\ManageErrors.php(169):    $context['errors'][$id]['member']['href'] = empty($memID) ? '' : $scripturl . '?action=profile;u=' . $memID;
smf\Sources\ManageErrors.php(170):    $context['errors'][$id]['member']['link'] = empty($memID) ? $txt[28] : '<a href="' . $scripturl . '?action=profile;u=' . $memID . '">' . $context['errors'][$id]['member']['name'] . '</a>';
smf\Sources\ManageErrors.php(184):    $context['filter']['value']['html'] = '<a href="' . $scripturl . '?action=profile;u=' . $id . '">' . $user_profile[$id]['realName'] . '</a>';
Found '$scripturl . '?action=profile;u='' 3 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\ManageMembergroups.php':
smf\Sources\ManageMembergroups.php(673):    'name' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>',
Found '$scripturl . '?action=profile;u='' 1 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\ManageMembers.php':
smf\Sources\ManageMembers.php(499):    'href' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\ManageMembers.php(500):    'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>'
smf\Sources\ManageMembers.php(661):    'href' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\ManageMembers.php(662):    'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['memberName'] . '</a>',
Found '$scripturl . '?action=profile;u='' 4 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\ManageNews.php':
smf\Sources\ManageNews.php(467):    !empty($_POST['send_html']) ? '<a href="' . $scripturl . '?action=profile;u=' . $modSettings['latestMember'] . '">' . $modSettings['latestRealName'] . '</a>' : $modSettings['latestRealName'],
smf\Sources\ManageNews.php(507):    !empty($_POST['send_html']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>' : $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
Found '$scripturl . '?action=profile;u='' 3 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\ManageRegistration.php':
smf\Sources\ManageRegistration.php(174):     'href' => $scripturl . '?action=profile;u=' . $memberID,
smf\Sources\ManageRegistration.php(175):     'link' => '<a href="' . $scripturl . '?action=profile;u=' . $memberID . '">' . $_POST['user'] . '</a>',
Found '$scripturl . '?action=profile;u='' 2 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\MessageIndex.php':
smf\Sources\MessageIndex.php(84):    $context['link_moderators'][] ='<a href="' . $scripturl . '?action=profile;u=' . $mod['id'] . '" title="' . $txt[62] . '">' . $mod['name'] . '</a>';
smf\Sources\MessageIndex.php(197):        'href' => !empty($row_board['ID_MEMBER']) ? $scripturl . '?action=profile;u=' . $row_board['ID_MEMBER'] : '',
smf\Sources\MessageIndex.php(198):        'link' => $row_board['posterName'] != '' ? (!empty($row_board['ID_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row_board['ID_MEMBER'] . '">' . $row_board['realName'] . '</a>' : $row_board['realName']) : $txt[470],
smf\Sources\MessageIndex.php(224):      'href' => $scripturl . '?action=profile;u=' . $row_board['ID_MODERATOR'],
smf\Sources\MessageIndex.php(225):      'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_board['ID_MODERATOR'] . '" title="' . $txt[62] . '">' . $row_board['modRealName'] . '</a>'
smf\Sources\MessageIndex.php(227):     $context['boards'][$row_board['ID_BOARD']]['link_moderators'][] = '<a href="' . $scripturl . '?action=profile;u=' . $row_board['ID_MODERATOR'] . '" title="' . $txt[62] . '">' . $row_board['modRealName'] . '</a>';
smf\Sources\MessageIndex.php(279):       'href' => !empty($row['ID_MEMBER']) ? $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] : '',
smf\Sources\MessageIndex.php(280):       'link' => $row['posterName'] != '' ? (!empty($row['ID_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>' : $row['realName']) : $txt[470],
smf\Sources\MessageIndex.php(333):     $link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '" style="color: ' . $row['onlineColor'] . ';">' . $row['realName'] . '</a>';
smf\Sources\MessageIndex.php(335):     $link = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';
smf\Sources\MessageIndex.php(348):     'href' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\MessageIndex.php(542):       'href' => !empty($row['firstID_MEMBER']) ? $scripturl . '?action=profile;u=' . $row['firstID_MEMBER'] : '',
smf\Sources\MessageIndex.php(543):       'link' => !empty($row['firstID_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row['firstID_MEMBER'] . '" title="' . $txt[92] . ' ' . $row['firstDisplayName'] . '">' . $row['firstDisplayName'] . '</a>' : $row['firstDisplayName']
smf\Sources\MessageIndex.php(560):       'href' => !empty($row['lastID_MEMBER']) ? $scripturl . '?action=profile;u=' . $row['lastID_MEMBER'] : '',
smf\Sources\MessageIndex.php(561):       'link' => !empty($row['lastID_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row['lastID_MEMBER'] . '">' . $row['lastDisplayName'] . '</a>' : $row['lastDisplayName']
Found '$scripturl . '?action=profile;u='' 15 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\Modlog.php':
smf\Sources\Modlog.php(234):     'href' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\Modlog.php(235):     'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>'
smf\Sources\Modlog.php(314):      'href' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\Modlog.php(315):      'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>'
smf\Sources\Modlog.php(318):     $context['entries'][$action]['extra']['member'] = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';
Found '$scripturl . '?action=profile;u='' 5 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\News.php':
smf\Sources\News.php(474):     'link' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\News.php(477):     'guid' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\News.php(482):     'link' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\News.php(487):     'link' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\News.php(491):     'id' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\News.php(499):     'link' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER']
smf\Sources\News.php(581):      'link' => !empty($row['ID_MEMBER']) ? $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] : ''
smf\Sources\News.php(687):      'link' => !empty($row['ID_FIRST_MEMBER']) ? $scripturl . '?action=profile;u=' . $row['ID_FIRST_MEMBER'] : ''
smf\Sources\News.php(692):      'link' => !empty($row['ID_MEMBER']) ? $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] : ''
Found '$scripturl . '?action=profile;u='' 9 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\PersonalMessage.php':
smf\Sources\PersonalMessage.php(491):     $recipients[$row['ID_PM']][empty($row['bcc']) ? 'to' : 'bcc'][] = empty($row['ID_MEMBER_TO']) ? $txt[28] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER_TO'] . '">' . $row['toName'] . '</a>';
smf\Sources\PersonalMessage.php(977):     $recipients[$row['ID_PM']][empty($row['bcc']) ? 'to' : 'bcc'][] = empty($row['ID_MEMBER_TO']) ? $txt[28] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER_TO'] . '">' . $row['toName'] . '</a>';
smf\Sources\PersonalMessage.php(1179):     'href' => !empty($row_quoted['ID_MEMBER']) ? $scripturl . '?action=profile;u=' . $row_quoted['ID_MEMBER'] : '',
smf\Sources\PersonalMessage.php(1180):     'link' => !empty($row_quoted['ID_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row_quoted['ID_MEMBER'] . '">' . $row_quoted['realName'] . '</a>' : $row_quoted['realName'],
smf\Sources\PersonalMessage.php(1325):     'href' => !empty($row_quoted['ID_MEMBER']) ? $scripturl . '?action=profile;u=' . $row_quoted['ID_MEMBER'] : '',
smf\Sources\PersonalMessage.php(1326):     'link' => !empty($row_quoted['ID_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row_quoted['ID_MEMBER'] . '">' . $row_quoted['realName'] . '</a>' : $row_quoted['realName'],
smf\Sources\PersonalMessage.php(2179):     $recipients[] = ' . ']' . $row['toName'] . ' (http://'%20.%20$scripturl%20.%20'?action=profile;u='%20.%20$row['ID_MEMBER_TO')';
Found '$scripturl . '?action=profile;u='' 7 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\Profile.php':
smf\Sources\Profile.php(202):    $context['profile_areas']['info']['areas']['summary'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=summary">' . $txt['summary'] . '</a>';
smf\Sources\Profile.php(203):    $context['profile_areas']['info']['areas']['statPanel'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=statPanel">' . $txt['statPanel'] . '</a>';
smf\Sources\Profile.php(204):    $context['profile_areas']['info']['areas']['showPosts'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=showPosts">' . $txt['showPosts'] . '</a>';
smf\Sources\Profile.php(210):    $context['profile_areas']['info']['areas']['trackUser'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=trackUser">' . $txt['trackUser'] . '</a>';
smf\Sources\Profile.php(211):    $context['profile_areas']['info']['areas']['trackIP'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=trackIP">' . $txt['trackIP'] . '</a>';
smf\Sources\Profile.php(214):    $context['profile_areas']['info']['areas']['showPermissions'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=showPermissions">' . $txt['showPermissions'] . '</a>';
smf\Sources\Profile.php(226):    $context['profile_areas']['edit_profile']['areas']['account'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=account">' . $txt['account'] . '</a>';
smf\Sources\Profile.php(230):    $context['profile_areas']['edit_profile']['areas']['forumProfile'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=forumProfile">' . $txt['forumProfile'] . '</a>';
smf\Sources\Profile.php(231):    $context['profile_areas']['edit_profile']['areas']['theme'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=theme">' . $txt['theme'] . '</a>';
smf\Sources\Profile.php(232):    $context['profile_areas']['edit_profile']['areas']['notification'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=notification">' . $txt['notification'] . '</a>';
smf\Sources\Profile.php(233):    $context['profile_areas']['edit_profile']['areas']['pmprefs'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=pmprefs">' . $txt['pmprefs'] . '</a>';
smf\Sources\Profile.php(238):    $context['profile_areas']['edit_profile']['areas']['editBuddies'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=editBuddies">' . $txt['editBuddies'] . '</a>';
smf\Sources\Profile.php(259):    $context['profile_areas']['profile_action']['areas']['deleteAccount'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=deleteAccount">' . $txt['deleteAccount'] . '</a>';
smf\Sources\Profile.php(1372):  $context['page_index'] = constructPageIndex($scripturl . '?action=profile;u=' . $memID . ';sa=showPosts', $context['start'], $msgCount, $maxIndex);
smf\Sources\Profile.php(1818):  $context['page_index'] = constructPageIndex($scripturl . '?action=profile;u=' . $memID . ';sa=trackUser', $_REQUEST['start'], $totalErrors, 20);
smf\Sources\Profile.php(1854):     $context['members_in_range'][$row['ID_MEMBER']] = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';
smf\Sources\Profile.php(1865):     $context['members_in_range'][$row['ID_MEMBER']] = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>';
smf\Sources\Profile.php(1922):   $context['ips'][$row['memberIP']][] = '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['display_name'] . '</a>';
smf\Sources\Profile.php(1944):     'href' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\Profile.php(1945):     'link' => empty($row['ID_MEMBER']) ? $row['display_name'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['display_name'] . '</a>'
smf\Sources\Profile.php(1976):     'href' => $row['ID_MEMBER'] > 0 ? $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] : '',
smf\Sources\Profile.php(1977):     'link' => $row['ID_MEMBER'] > 0 ? '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['display_name'] . '</a>' : $row['display_name']
smf\Sources\Profile.php(2527):  $context['page_index'] = constructPageIndex($scripturl . '?action=profile;u=' . $memID . ';sa=notification', $_REQUEST['start'], $num_topics, $modSettings['defaultMaxMessages']);
smf\Sources\Profile.php(2557):     'href' => empty($row['ID_MEMBER']) ? '' : $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\Profile.php(2558):     'link' => empty($row['ID_MEMBER']) ? $row['realName'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>'
Found '$scripturl . '?action=profile;u='' 25 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\Recent.php':
smf\Sources\Recent.php(126):     'href' => empty($row['ID_MEMBER']) ? '' : $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\Recent.php(127):     'link' => empty($row['ID_MEMBER']) ? $row['posterName'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['posterName'] . '</a>'
smf\Sources\Recent.php(349):     'href' => empty($row['ID_FIRST_MEMBER']) ? '' : $scripturl . '?action=profile;u=' . $row['ID_FIRST_MEMBER'],
smf\Sources\Recent.php(350):     'link' => empty($row['ID_FIRST_MEMBER']) ? $row['firstPosterName'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_FIRST_MEMBER'] . '">' . $row['firstPosterName'] . '</a>'
smf\Sources\Recent.php(355):     'href' => empty($row['ID_MEMBER']) ? '' : $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\Recent.php(356):     'link' => empty($row['ID_MEMBER']) ? $row['posterName'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['posterName'] . '</a>'
smf\Sources\Recent.php(1026):      'href' => $scripturl . '?action=profile;u=' . $row['ID_FIRST_MEMBER'],
smf\Sources\Recent.php(1027):      'link' => !empty($row['ID_FIRST_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_FIRST_MEMBER'] . '" title="' . $txt[92] . ' ' . $row['firstPosterName'] . '">' . $row['firstPosterName'] . '</a>' : $row['firstPosterName']
smf\Sources\Recent.php(1043):      'href' => $scripturl . '?action=profile;u=' . $row['ID_LAST_MEMBER'],
smf\Sources\Recent.php(1044):      'link' => !empty($row['ID_LAST_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_LAST_MEMBER'] . '">' . $row['lastPosterName'] . '</a>' : $row['lastPosterName']
Found '$scripturl . '?action=profile;u='' 10 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\Search.php':
smf\Sources\Search.php(1662):     'href' => !empty($message['first_member_id']) ? $scripturl . '?action=profile;u=' . $message['first_member_id'] : '',
smf\Sources\Search.php(1663):     'link' => !empty($message['first_member_id']) ? '<a href="' . $scripturl . '?action=profile;u=' . $message['first_member_id'] . '" title="' . $txt[92] . ' ' . $message['first_member_name'] . '">' . $message['first_member_name'] . '</a>' : $message['first_member_name']
smf\Sources\Search.php(1678):     'href' => !empty($message['last_member_id']) ? $scripturl . '?action=profile;u=' . $message['last_member_id'] : '',
smf\Sources\Search.php(1679):     'link' => !empty($message['last_member_id']) ? '<a href="' . $scripturl . '?action=profile;u=' . $message['last_member_id'] . '" title="' . $txt[92] . ' ' . $message['last_member_name'] . '">' . $message['last_member_name'] . '</a>' : $message['last_member_name']
Found '$scripturl . '?action=profile;u='' 4 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\SplitTopics.php':
smf\Sources\SplitTopics.php(701):     'href' => empty($row['ID_MEMBER']) ? '' : $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\SplitTopics.php(702):     'link' => empty($row['ID_MEMBER']) ? $row['posterName'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '" target="_blank">' . $row['posterName'] . '</a>'
smf\Sources\SplitTopics.php(776):     'href' => empty($row['ID_MEMBER_STARTED']) ? '' : $scripturl . '?action=profile;u=' . $row['ID_MEMBER_STARTED'],
smf\Sources\SplitTopics.php(777):     'link' => empty($row['ID_MEMBER_STARTED']) ? $row['name_started'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER_STARTED'] . '">' . $row['name_started'] . '</a>'
smf\Sources\SplitTopics.php(782):     'href' => empty($row['ID_MEMBER_UPDATED']) ? '' : $scripturl . '?action=profile;u=' . $row['ID_MEMBER_UPDATED'],
smf\Sources\SplitTopics.php(783):     'link' => empty($row['ID_MEMBER_UPDATED']) ? $row['name_updated'] : '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER_UPDATED'] . '">' . $row['name_updated'] . '</a>'
Found '$scripturl . '?action=profile;u='' 6 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\Stats.php':
smf\Sources\Stats.php(212):    'href' => $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'],
smf\Sources\Stats.php(213):    'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'] . '">' . $row_members['realName'] . '</a>'
smf\Sources\Stats.php(401):    'href' => $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'],
smf\Sources\Stats.php(402):    'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'] . '">' . $row_members['realName'] . '</a>'
smf\Sources\Stats.php(448):    'href' => $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'],
smf\Sources\Stats.php(449):    'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'] . '">' . $row_members['realName'] . '</a>'
Found '$scripturl . '?action=profile;u='' 6 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\Subs-Auth.php':
smf\Sources\Subs-Auth.php(466):    'href' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
smf\Sources\Subs-Auth.php(467):    'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a>'
Found '$scripturl . '?action=profile;u='' 2 time(s).
----------------------------------------
Find '$scripturl . '?action=profile;u='' in 'smf\Sources\Subs.php':
smf\Sources\Subs.php(3159):   'href' => $scripturl . '?action=profile;u=' . $modSettings['latestMember'],
smf\Sources\Subs.php(3160):   'link' => '<a href="' . $scripturl . '?action=profile;u=' . $modSettings['latestMember'] . '">' . $modSettings['latestRealName'] . '</a>',
Found '$scripturl . '?action=profile;u='' 2 time(s).
Search complete, found '$scripturl . '?action=profile;u='' 134 time(s). (22 file(s)).
Title: Re: Membergroup Profiles
Post by: lordtron on July 25, 2008, 12:40:33 PM
ok, what about it?
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 25, 2008, 08:39:32 PM
Well unless you alter all the valid and applicable $link = ' ... ?action=profile;u=' ... code in all those files whenever they are called they will point to the forums profile and not your custom profile link.  SO you need to alter find and alter them all where needed.
Title: Re: Membergroup Profiles
Post by: lordtron on July 25, 2008, 08:51:11 PM
Yeah but they are all different.
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 25, 2008, 09:22:30 PM
I don't understand your point?  Of course they are different they are being called from different files.  Now you have to work out, in relation to your needs, which of the 'default' member profile links that are being generated and where it will be publicly available you want to change to now point to that alternate third party profile page.

So for example if you want when someone clicks on the profile link in the BoardIndex display, then you'll have to alter that source code.  Or if you want link in the statistics display to point to the alternate profile you'll have to alter the link in the stats source code as well.
Title: Re: Membergroup Profiles
Post by: lordtron on July 25, 2008, 09:38:30 PM
My point was that the href=... are all calling different things different ways.


But I guess I have a lot of work ahead of me for this little feature I wanted...
Title: Re: Membergroup Profiles
Post by: Rumbaar on July 25, 2008, 10:31:53 PM
Well for the most part the code link is the same, so can be easily translated to your needs.

Yes certainly not a simple task to change fundamental features of a piece of software.  But that's probably why there is a whole industry dedicated to professional coding :)
Title: Re: Membergroup Profiles
Post by: lordtron on July 25, 2008, 10:45:29 PM
Well I will get to work on it after I get the new variable I made setup system wide.
Title: Re: Membergroup Profiles
Post by: [SiNaN] on July 26, 2008, 05:29:10 AM
You should change the ones that are accessible by members only. No need to change the Admin files. For example just replace the ones in BoardIndex.php, Display.php, Load.php, Recent.php and Stats.php. Hope I didn't miss the others.
Title: Re: Membergroup Profiles
Post by: lordtron on September 30, 2008, 03:37:41 AM
I am just now finding this out. But this code does not work with multiple arrays.

Like lets say I wanted groups; 4,7,8 to goto google and I wanted groups 5,6,9 to goto yahoo, it would make all 6 groups goto yahoo(whichever one comes last).

So how would I make it work the right way?
Title: Re: Membergroup Profiles
Post by: [SiNaN] on September 30, 2008, 04:22:10 AM
You should do it like this:

$url = in_array('ID', array(4,7,8)) ? 'go_to_google' : (in_array('ID', array(5,6,9)) ? 'go_to_yahoo' : 'go_to_profile');
Title: Re: Membergroup Profiles
Post by: lordtron on September 30, 2008, 04:30:39 AM
Yeah, that did not work with me, I tried it several different ways with different types of arrays and still no luck.

Here is what I used but it only uses the URL from the last one.

'href' =>
in_array($profile['ID_GROUP'], array(9,10,16)) ? ('http://76.166.246.152/vg/ourgirls/' . $profile['ID_MEMBER'] ) :
in_array($profile['ID_GROUP'], array(15)) ? ('http://76.166.246.152/vg/photographers/' . $profile['ID_MEMBER'] ) :
($scripturl . '?action=profile;u=' . $profile['ID_MEMBER']),
'link' => '<a href="' .
(in_array($profile['ID_GROUP'], array(9,10,16)) ? ('http://76.166.246.152/vg/ourgirls/' . $profile['ID_MEMBER'] ) :
(in_array($profile['ID_GROUP'], array(15)) ? ('http://76.166.246.152/vg/photographers/' . $profile['ID_MEMBER'] ) :
($scripturl . '?action=profile;u=' . $profile['ID_MEMBER'])) . '" title="' . $txt[92] . ' ' . $profile['realName'] . '">' . $profile['realName'] . '</a>',
Title: Re: Membergroup Profiles
Post by: [SiNaN] on September 30, 2008, 05:04:32 AM
You've missed to put parenthesis in the first part and you forgot to close the parenthesis in the second one. This should work:

'href' =>
   in_array($profile['ID_GROUP'], array(9,10,16)) ? ('http://76.166.246.152/vg/ourgirls/' . $profile['ID_MEMBER']) :
   (in_array($profile['ID_GROUP'], array(15)) ? ('http://76.166.246.152/vg/photographers/' . $profile['ID_MEMBER'] ) :
   ($scripturl . '?action=profile;u=' . $profile['ID_MEMBER'])),
'link' => '<a href="' .
   (in_array($profile['ID_GROUP'], array(9,10,16)) ? ('http://76.166.246.152/vg/ourgirls/' . $profile['ID_MEMBER'] ) :
   (in_array($profile['ID_GROUP'], array(15)) ? ('http://76.166.246.152/vg/photographers/' . $profile['ID_MEMBER'] ) :
   ($scripturl . '?action=profile;u=' . $profile['ID_MEMBER']))) . '" title="' . $txt[92] . ' ' . $profile['realName'] . '">' . $profile['realName'] . '</a>';


But I'd suggest, before building the query, decide which url it will use like:

if(in_array($profile['ID_GROUP'], array(9,10,16)))
$url = 'http://76.166.246.152/vg/ourgirls/';
elseif(in_array($profile['ID_GROUP'], array(15)))
$url = 'http://76.166.246.152/vg/photographers/';
else
$url = $scripturl . '?action=profile;u=';


Then;

Find:
'href' => $scripturl . '?action=profile;u=' . $profile['ID_MEMBER'],

Replace:
'href' => $url . $profile['ID_MEMBER'],
Title: Re: Membergroup Profiles
Post by: lordtron on September 30, 2008, 12:52:35 PM
Alright that worked for the Load page. But I tried it with other pages, such as BoardIndex and Display and it just ignores it or I get a little error.
Title: Re: Membergroup Profiles
Post by: [SiNaN] on September 30, 2008, 01:01:46 PM
Did you change the $profile['ID_GROUP']? In most queries it is $row['ID_GROUP'].

Maybe you can show us what you have tried.
Title: Re: Membergroup Profiles
Post by: lordtron on September 30, 2008, 01:45:14 PM
Maybe I should just recreate the Profile.template file
Title: Re: Membergroup Profiles
Post by: [SiNaN] on September 30, 2008, 01:55:04 PM
Well, you would know the one that is best for your needs. :)
Title: Re: Membergroup Profiles
Post by: lordtron on September 30, 2008, 02:07:29 PM
Yeah, it would be best that way.  Since now I want everyone to have this new profile design.

But how would I go about doing that, cause the Profile.template file has a lot to it.
I tried working on it yesterday, but it didn't come out right.
I would only want the Summary page to look like my custom profile design, but I still want the other pages, like Account Settings, Forum Settings, etc..etc.. to look the same.
Title: Re: Membergroup Profiles
Post by: [SiNaN] on September 30, 2008, 02:12:32 PM
You can have a look at the Ultimate Profile Mod, it does exactly what you are after.
Title: Re: Membergroup Profiles
Post by: lordtron on September 30, 2008, 02:40:06 PM
Well I don't know if I would go as far as say exactly, but its a push into the right direction.
Title: Re: Membergroup Profiles
Post by: [SiNaN] on September 30, 2008, 07:15:49 PM
The exact thing is that, it also only uses a different template for summary section.
Title: Re: Membergroup Profiles
Post by: lordtron on September 30, 2008, 07:27:06 PM
Yeah I noticed that. I got everything loaded up into the summary section, but a number of things where not right.
The avatar wouldn't load, I changed how it was being pull to fit how the other information was but still no go. Plus if I go with this, then I will have to fix the whole forum, cause the background needs to be changed.
And I need to know how to pull ssi_news on the forum, instead of with ssi.
Title: Re: Membergroup Profiles
Post by: [SiNaN] on September 30, 2008, 07:50:29 PM
If you can provide the codes that are problematic, we can suggest some fixes maybe.

The best I can suggest is, copying the ssi_boardNews function to Subs.php and renaming it to something else. Then you will be able to use it all over the forum.