News:

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

 

Recent Topics

Members
Stats
  • Total Posts: 10,783
  • Total Topics: 1,380
  • Online today: 44
  • Online ever: 879
  • (Jan 21, 20, 05:49:15 PM)
Users Online
Users: 0
Guests: 17
Total: 17

Flagrant_alt - members awaiting approval unvisible

Started by Linda, Nov 13, 10, 08:20:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Linda

Hello Crip,
On the Default theme I can read in the header >  There are ... members awaiting approval but this is not visible in the header of the theme Flagrant_alt. Any idea how I can fix this please?
Thx and greetings  ;)

Crip

HI -
Yes , I think i forgot to add that bit of code ..? ..but i will ASAP!
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

"(index.template.php)"
Add all this code just after : <div id="userarea">';


                   echo '<div id="my-avatar" class="clearfix">'.$context['user']['avatar']['image'].'</div>';
         if ($context['user']['is_logged'])
   {
         echo '
           <ul class="reset">
             <li>', $txt['hello_member'], ' ', $context['user']['name'], '</li>';
         echo '
             <li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '[/url]</li>
             <li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '[/url]</li>
             <li>', $context['current_time'],'</li>
          </ul>';

         // Is the forum in maintenance mode?
         if ($context['in_maintenance'] && $context['user']['is_admin'])
            echo '
               ', $txt['maintain_mode_on'], '';

         // 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=admin;area=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '[/url] ', $txt['approve_members_waiting'], '[br /]';

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

      }

   // Otherwise they're a guest - this time ask them to either register or login - lazy bums...
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.

sluggo2u

Hello.

First I'd like to say thanks for your awesome themes. Been using your stuff for quite a while.

Applying the above modification results in this;

Show unread posts since last visit.[/url]
Show new replies to your posts.[/url]

Changing the url bbc tags at the end to html code fixes it.

             <li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
             <li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>


I have another question about this theme.

I have tried all kind of ways to fix this but can't seem to figure it out.

When someone posts a large pic or has a large sig pic the post section grows beyond the right border. I have the width set to 100% and have turned off the portal to make sure it is not the problem.

It's not a problem for people with wide screens but running 1024x768 or smaller is when it's a problem. It is exaggerated when the portal on the left is turned on. It has the same issue when you resize your browser window smaller also.

Here's a link if you don't mind taking a look. I can provide a login if needed. I put a large pic in the last post as a test.

Thanks

http://www.stangfix.com/testforum2/index.php/topic,10078.new.html#new


Linda

Hello Crip and sluggo2u,

Yes was idem on my forum and also changed as you did sluggo2u
Show unread posts since last visit.[/url]
Show new replies to your posts.[/url]

Crip

.. yes , those [/url] endings happens when code is posted on the Forum , I figured most knew this already ..
..sorry my bad -
------------------ :)
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.