Advertisement:

Author Topic: Anecdota  (Read 240375 times)

Neo_TE

  • Guest
Re: Anecdota
« Reply #480 on: August 09, 2013, 03:00:46 AM »
xPanda,

PM replied..

Thank you very much.

Offline Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
Re: Anecdota
« Reply #481 on: August 28, 2013, 10:45:49 PM »
Since this comes up a lot, and I just posted to help someone in another thread, I figured I'd re-post it here for others who use this fantastic theme:



Since I use this theme a lot, here is my 2 cents worth of logo instruction:

Make your logo, do not want it more than 500 width by 100 height.
Now, need to set your css to fit the image into the box.

Edit: Themes/Anecdota_20g/css/index.css <- Depending on what version of the theme, may just be Anecdota

Code: (Find) [Select]
/* BANNER / LOGOS */
#logo a {
position: absolute;
top: 30px;
left: 20px;
display: block;
width: 256px!important;
height: 61px!important;
cursor: pointer;
background: url(../images/img/logo.png) no-repeat!important;
}

Change width and height to whatever your logo is. And the image url, of course. ;)

Offline Crip

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,139
  • Gender: Male
  • C-4 QUAD
    • Cripzone
Re: Anecdota
« Reply #482 on: August 29, 2013, 08:02:52 AM »
thanks BK ;D
I have become comfortably numb!


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


TOTM Winner. | Demo Site1on1 Theme Support

Offline br360

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,398
    • GenXcommunity
Re: Anecdota
« Reply #483 on: September 09, 2013, 01:46:54 AM »
This is an amazing theme, but I have 2 issues:

Both the "There are currently 1 moderator reports open." and "There are currently 1 members awaiting approval" links are not popping up whenever there are reported posts and whenever a new member registers.

Where can I add these so I will know if a post is reported or when a new member registers for an account?

I am using version 2.0 and I have smf 2.0.5

Offline Crip

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,139
  • Gender: Male
  • C-4 QUAD
    • Cripzone
Re: Anecdota
« Reply #484 on: September 09, 2013, 06:37:27 AM »
I'm really not sure if i added those codes in this theme , but I will have a look see? .....
I have become comfortably numb!


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


TOTM Winner. | Demo Site1on1 Theme Support

Offline br360

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,398
    • GenXcommunity
Re: Anecdota
« Reply #485 on: September 09, 2013, 03:01:25 PM »
Thanks crip.

Offline br360

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,398
    • GenXcommunity
Re: Anecdota
« Reply #486 on: September 10, 2013, 12:21:22 AM »
Actually, I think I figured it out, and without errors. Replacing the code below now shows reported posts, new members awaiting approval, and the date.

In index.template.php find

Code: [Select]
echo '
           <li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
           <li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>
      </ul>';

  }

replace with-

Code: [Select]
echo '
            <ul class="reset">
               <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>';
   }


Offline Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
Re: Anecdota
« Reply #487 on: September 10, 2013, 01:05:45 AM »
Nice job. :)

Offline br360

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,398
    • GenXcommunity
Re: Anecdota
« Reply #488 on: September 10, 2013, 01:10:26 AM »
I basically just ripped the code off from the default curve index.template and copy and pasted it into the anecdota one, but thanks. :)

Offline Crip

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,139
  • Gender: Male
  • C-4 QUAD
    • Cripzone
Re: Anecdota
« Reply #489 on: September 10, 2013, 08:48:40 AM »
  • New code added in Theme:==> added by request of users/
Code: [Select]
echo '
            <ul class="reset">
               <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>';
   }

New Zip added........
I have become comfortably numb!


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


TOTM Winner. | Demo Site1on1 Theme Support

Offline technics1200

  • Semi-Newbie
  • *
  • Posts: 23
Re: Anecdota
« Reply #490 on: September 15, 2013, 07:56:53 AM »
Hi Crip
Great theme and thank you very much for all your great work
I have a problem where the copyright and stuff isnt staying below where it does on the default theme
ii seen a solution on this thread and it didnt work for me
Im just going to paste my stuff here from line 274 of the index.template.php
could you show me where I need to add something to make it sttay below in the footer are properly
Many thanks for the theme and your help



Code: [Select]
function template_body_below()
{
   global $context, $settings, $options, $scripturl, $txt, $modSettings;

         echo '
            </div>';


   // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
   echo '
<div id="footer">
    <div id="foot-l">
        <div id="foot-r">
            <div id="footerarea">
                <div id="footer_section">
               <ul class="reset">
                 <li class="copyright">', theme_copyright(), '</li>
                 <li><b>Anecdota</b> by, <a href="http://www.jpr62.com/theme/ [nofollow]" target="_blank" class="new_win" title=""><span><b>Crip</b></span></a></li>
               <li><a id="button_xhtml" href="http://validator.w3.org/check?uri=referer [nofollow]" target="_blank" class="new_win" title="', $txt['valid_xhtml'], '"><span>', $txt['xhtml'], '</span></a></li>
                ', !empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type=rss" class="new_win"><span>' . $txt['rss'] . '</span></a></li>' : '', '
                <li class="last"><a id="button_wap2" href="', $scripturl , '?action=forum;wap2" class="new_win"><span>', $txt['wap2'], '</span></a></li>
              </ul>';

   // Show the load time?
   if ($context['show_load_time'])
      echo '
      <p>', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>';

   echo '
             </div>
          </div>
       </div>
    </div>
</div>';
}
Modify message
« Last Edit: September 15, 2013, 08:13:18 AM by technics1200 »

Offline Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
Re: Anecdota
« Reply #491 on: September 15, 2013, 08:08:25 AM »
1. Please post code like that into the code block, using the BBC button.

2. A link to the site, to see what it looks like, would be useful. :)

Offline technics1200

  • Semi-Newbie
  • *
  • Posts: 23
Re: Anecdota
« Reply #492 on: September 15, 2013, 08:21:28 AM »
Sorry for that I edited my post there
The theme isnt available on our forum yet only to admin
I have uploaded a part off my screen as a image here to show what I mean
Hope I did it the correct way
and thank you for your help

« Last Edit: September 15, 2013, 01:45:46 PM by technics1200 »

Offline Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
Re: Anecdota
« Reply #493 on: September 15, 2013, 08:46:40 AM »
That is due to the extra copyrights that are in there.
There may not be a fix, due to one being from your smf host.

Offline technics1200

  • Semi-Newbie
  • *
  • Posts: 23
Re: Anecdota
« Reply #494 on: September 15, 2013, 09:01:23 AM »
when I paste the standard code form the default theme in it works fine
but it doesn't have Crips "Anecdota by, Crip"  part in it
and that is the only difference in the 2
I am fairly new to this so im not really sure what to do

Offline Crip

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,139
  • Gender: Male
  • C-4 QUAD
    • Cripzone
Re: Anecdota
« Reply #495 on: September 15, 2013, 11:54:42 AM »
Thanks Burk ,
is it possible to see your link-to-site-theme ?
I have become comfortably numb!


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


TOTM Winner. | Demo Site1on1 Theme Support

Offline technics1200

  • Semi-Newbie
  • *
  • Posts: 23
Re: Anecdota
« Reply #496 on: September 15, 2013, 12:01:03 PM »
Hi Crip
we dont have it in public view yet
as we were waiting to have it finished before we set is as our default theme
This is the last thing to fix before we set it as our default theme
Great theme and thank you for making it

Offline GlitchPC

  • Full Member
  • ***
  • Posts: 429
  • Gender: Male
  • Gotta glitch?
    • Glitch PC - Free Computer Help
Re: Anecdota
« Reply #497 on: September 15, 2013, 12:35:08 PM »
technics1200...

In order to fix the issue you are experiencing...it may be necessary to edit the index.css file for this theme.  I had to do the same thing.  Take a look at the footer area of my home page to see if this is what you are striving towards.

Search your index.css file for the following...

#footerarea {
    text-align: center;

After the last line of coding, above, you will see a line to change the padding and color...can you tell me what your padding has been set to, please?

For example...my index.css file has been edited as follows...

#footerarea {
    text-align: center;
    padding: .90em;
    color: #FFF;

As you can see, above, I have changed the padding number so that all footer links fit within the footer area of Crip's theme.  You may need to do this, as well.  Try it and let me know if that works for you.
« Last Edit: September 15, 2013, 12:58:22 PM by GlitchPC »

Offline technics1200

  • Semi-Newbie
  • *
  • Posts: 23
Re: Anecdota
« Reply #498 on: September 15, 2013, 01:04:19 PM »
Hi Thanks it is set to 2.5em

Offline GlitchPC

  • Full Member
  • ***
  • Posts: 429
  • Gender: Male
  • Gotta glitch?
    • Glitch PC - Free Computer Help
Re: Anecdota
« Reply #499 on: September 15, 2013, 01:07:37 PM »
technics1200...

Try lowering that number from 2.5 to 1.5.  You may have to experiment in order to get it to fit properly.  You can always change it back.