News:

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

Main Menu

Member approval

Started by Laura22, July 12, 2010, 05:57:57 AM

Previous topic - Next topic

Laura22

On some themes it doesnt show at the top when i have a member approval waiting, is there a way to add this into the theme?

Please and thanks  ;)

Paul_Pauline

 :o  I wasn't aware it did show !

Where does it show ?
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

kat

Top-left, under your avatar, usually. (If I remember rightly).

Depends on the theme, Laura.

I've never found a theme that doesn't show that, although it's often not as obvious as you'd imagine.

I made mine flash, so it was more obvious.

Trouble is, I did it so long ago, that I can't remember what I did.  :(

Maybe a post in the support topic for the theme you're using would get you the help you need?

Laura22

Thanks for the reply, this is the theme i had modified and used.

http://custom.simplemachines.org/themes/index.php?lemma=2145

it seems to show up on my other themes so far.

cicka

Can you check the index.template.php file of your theme for this code?

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


This is what adds the part about the members waiting approval.

Laura22

Quote from: cicka on July 12, 2010, 04:54:34 PM
Can you check the index.template.php file of your theme for this code?

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


This is what adds the part about the members waiting approval.

it does not have that! Do you know where i can add it in? i tried to add it near the div id header and screwed things up, lol

cicka

Quote from: Laura22 on July 12, 2010, 05:00:11 PM
Quote from: cicka on July 12, 2010, 04:54:34 PM
Can you check the index.template.php file of your theme for this code?

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


This is what adds the part about the members waiting approval.

it does not have that! Do you know where i can add it in? i tried to add it near the div id header and screwed things up, lol

I do not use smf 1.1.11 and the style that you are using. But ask at that style support thread. Maybe its designer can help you further with this. Good luck :)

Paul_Pauline

Take a look at a theme it appears on, then try and add it in the same location.
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

Laura22

Quote from: Paul_Pauline on July 12, 2010, 06:37:58 PM
Take a look at a theme it appears on, then try and add it in the same location.

Great idea! i added it and no errors occured so im guessing it worked. thank you.


Advertisement: