News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Ghost Members

Started by !!kaos!!, September 18, 2009, 08:24:56 AM

Previous topic - Next topic

1mmolation

would be possible upgrade to SMF 2.0 RC4? please.

Scratching my Head

Can this work with the Increase Number of Visitors (cheat), because where it says to look for:


<div class="windowbg2 sectionbody">
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];


and replace with:


<div class="windowbg2 sectionbody">';
if (!(empty($modSettings['ghost_total_members'])))
echo '
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ', $ghostmember = ($context['num_guests'] + $modSettings['ghost_total_members']), ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'], ' ';
      else
      echo '
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'], ' ';


I have:

<p class="inline stats">';
if (!(empty($modSettings['feet'])))
echo '
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', comma_format($heyfeet = ($context['num_guests'] + $modSettings['feet'])), ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . comma_format($heyfeet1 = ($context['num_users_online'] + $modSettings['feet1'])), ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];
else
echo '
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', comma_format($context['num_guests']), ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . comma_format($context['num_users_online']), ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];


Does anyone know what to do here?

Thanks for looking !

:)

More-to-life

Are there going to be any updates for 2.0?

Thanks in advance
UK Bike Forum - The biggest motorcycle forum magazine in Wales UK.
Gear Up Magazine - Gear Up Motorcycle Magazine.
United Bikers UK Motorcycle Forum - A Brand New UK Bike Forum.
Used Cars South Wales - Search For Your Next Used Car In Laleston, Bridgend, South Wales.
Bikers Of Wales Motorcycle Website - Motorbike Info
Honda - Honda UK

Advertisement: