News:

Wondering if this will always be free?  See why free is better.

Main Menu

Membergroup Profiles

Started by lordtron, July 22, 2008, 12:34:40 PM

Previous topic - Next topic

[SiNaN]

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'] . '';
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)).
Former SMF Core Developer | My Mods | SimplePortal

lordtron


VainSoftGames.com - New Design To Gaming

Rumbaar

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.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

lordtron

Yeah but they are all different.

VainSoftGames.com - New Design To Gaming

Rumbaar

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.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

lordtron

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...

VainSoftGames.com - New Design To Gaming

Rumbaar

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 :)
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

lordtron

Well I will get to work on it after I get the new variable I made setup system wide.

VainSoftGames.com - New Design To Gaming

[SiNaN]

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.
Former SMF Core Developer | My Mods | SimplePortal

lordtron

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?

VainSoftGames.com - New Design To Gaming

[SiNaN]

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');
Former SMF Core Developer | My Mods | SimplePortal

lordtron

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>',

VainSoftGames.com - New Design To Gaming

[SiNaN]

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'],
Former SMF Core Developer | My Mods | SimplePortal

lordtron

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.

VainSoftGames.com - New Design To Gaming

[SiNaN]

Did you change the $profile['ID_GROUP']? In most queries it is $row['ID_GROUP'].

Maybe you can show us what you have tried.
Former SMF Core Developer | My Mods | SimplePortal

lordtron

Maybe I should just recreate the Profile.template file

VainSoftGames.com - New Design To Gaming

[SiNaN]

Well, you would know the one that is best for your needs. :)
Former SMF Core Developer | My Mods | SimplePortal

lordtron

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.

VainSoftGames.com - New Design To Gaming

[SiNaN]

You can have a look at the Ultimate Profile Mod, it does exactly what you are after.
Former SMF Core Developer | My Mods | SimplePortal

lordtron

Well I don't know if I would go as far as say exactly, but its a push into the right direction.

VainSoftGames.com - New Design To Gaming

Advertisement: