News:

On Deck: Next is "Bluemoon" For SMF 2.1.4! ;)

 

Recent Topics

Members
Stats
  • Total Posts: 10,779
  • Total Topics: 1,379
  • Online today: 138
  • Online ever: 879
  • (Jan 21, 20, 05:49:15 PM)
Users Online
Users: 0
Guests: 151
Total: 151

Nocturno

Started by pikkeltje, Aug 12, 11, 01:34:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pikkeltje

At the top of the board you get this:

Hey, *****, you have ** messages, 0 are new.
Total Time Spent Online: **** days, 21 hours and 23 minutes.
Show unread posts since last visit.
Show new replies to your posts.

Among these was a report that new members were registered (there are 2 members waiting), I get this message no longer with SMF 2.0. A still get a  notificationmail, that's all.

Does anyone know where I can find?

Crip

hi,
i haven't heard of that before .. may we see a link-to-Theme or a screenshot?
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

pikkeltje

I found this:

Quote from: Illori on Aug 12, 11, 11:14:08 AM
ok check your index.template.php file for that theme for some lines like this


// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
if (!empty($context['user']['avatar']))
echo '
<p class="avatar">', $context['user']['avatar']['image'], '</p>';
echo '
<ul class="reset">
<li class="greeting">', $txt['hello_member_ndt'], ' <span>', $context['user']['name'], '</span></li>
<li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>';

// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<li class="notice">', $txt['maintain_mode_on'], '</li>';

// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
<li>', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=admin;area=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '</li>';

if (!empty($context['open_mod_reports']) && $context['show_open_reports'])
echo '
<li><a href="', $scripturl, '?action=moderate;area=reports">', sprintf($txt['mod_reports_waiting'], $context['open_mod_reports']), '</a></li>';

echo '
<li>', $context['current_time'], '</li>
</ul>';
}
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...


add the lines that you need/want to your theme.

The problem is, if I put these lines to index.template  of the theme, I get an error.

Crip

That code isn't in Nocturno theme.
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Crip

Quote from: Crip on Aug 12, 11, 02:44:02 PM
hi,
i haven't heard of that before .. may we see a link-to-Theme or a screenshot?
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.


pikkeltje

The code I get from the SMF board

Crip

Quote from: pikkeltje on Aug 12, 11, 02:50:28 PM
The code I get from the SMF board

..doesn't matter where , it's not mine.
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Crip

#8
Quote from: pikkeltje on Aug 12, 11, 02:49:34 PM
www.pukasplace.eu

that shows me nothing but , login

... besides , that Member_Approval code isn't even in many of my themes .. so , that's what you get in a custom Theme.
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

pikkeltje

#9
problem is solved

Thanks