Advertisement:

Author Topic: [Theme] SMFone  (Read 410865 times)

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
Re: [Theme] SMFone
« Reply #200 on: May 23, 2005, 04:59:26 AM »
in index.template.php :
Code: [Select]
<td width="100%" colspan="5" style="background-color: #FAFAFA;">
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Offline d3v

  • Jr. Member
  • **
  • Posts: 209
Re: [Theme] SMFone
« Reply #201 on: May 23, 2005, 02:43:30 PM »
Was going to be looking for a long time for that. Thanks.

Offline Escobar

  • Semi-Newbie
  • *
  • Posts: 86
Re: [Theme] SMFone
« Reply #202 on: May 23, 2005, 03:52:27 PM »
This post is about the avatar scroll bar. It took me a day to figure this out, so hopefully it'll help someone else faster.  :)
===================================================

I like the way A.M.A. set up the profile box (username/group/karma etc.)
It's on top of the posts, as opposed to the side.

But, whatever you set your avatar size to (in admin options) you'll notice that a scroll bar kicks in.
(Depending on the Admin size limit of avatars it'll show up on the length or width.)

If you want the avatars to fit in the profile box without scrolling, do this:

Open the file: Display.template.php

Find (in red):
Quote
// Show avatars, images, etc.?
         if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
            echo '
   <td valign="top" style="overflow: hidden;" class="smalltext">
      <div style="overflow: auto; width: 65px; height: 65px;">', $message['member']['avatar']['image'], '</div>
   </td>';

Replace with (in red):
Quote
// Show avatars, images, etc.?
         if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
            echo '
   <td valign="top" style="overflow: hidden;" class="smalltext">
      <div style="width: 100%; height: 100%;">', $message['member']['avatar']['image'], '</div>
   </td>';

We did deleted this value: overflow: auto;

We edited this value:
Before= width: 65px; height: 65px
After=  width: 100%; height: 100%

Now the avatar will show up without scroll bars.   :D
Make sure you set your avatar size limit in Admin controls. And you're set .
« Last Edit: May 23, 2005, 04:10:03 PM by ashoka1 »
I chose SMF because you get your questions answered.

Offline Burpee

  • SMF Friend
  • Sophist Member
  • *
  • Posts: 1,298
  • Gender: Male
    • Mafan.nl
Re: [Theme] SMFone
« Reply #203 on: May 23, 2005, 05:08:41 PM »
*cough*

Always read the entire thread ;).

I think you learned a lot about the way the forum is built by fixing it yourself though.

Offline Escobar

  • Semi-Newbie
  • *
  • Posts: 86
Re: [Theme] SMFone
« Reply #204 on: May 23, 2005, 05:35:01 PM »
lol!  >:(
I used search and I never came across that page.  But as you said, I did learn a little more by tweaking by myself. At the very least, mine is different in the sense I use % instead of pixel  :P.

Thanks for the link.
I chose SMF because you get your questions answered.

Offline Aravot

  • Sophist Member
  • *****
  • Posts: 1,057
  • Gender: Male
Re: [Theme] SMFone
« Reply #205 on: May 23, 2005, 09:14:14 PM »
How about buttons for;

Chat
Gallery
Location Map (Members Map)

Offline Miraenda

  • Full Member
  • ***
  • Posts: 598
  • Gender: Female
  • nihil sunt omnia
    • RatingBar.com - Real Reviews by Regular People
Re: [Theme] SMFone
« Reply #206 on: May 23, 2005, 10:00:22 PM »
Or just "Map" for that matter since that is way shorter :)

Offline dtm.exe

  • SMF Hero
  • ******
  • Posts: 5,465
Re: [Theme] SMFone
« Reply #207 on: May 24, 2005, 03:46:18 PM »
How do I fix the alignment issues with the "Latest Post" column in the older version of SMFOne?

EDIT:  Also, can you please make me a small 16x16 px. Chat icon (for the top navigation bar) and give me the code I need to insert it?  Thank you.

-Dan The Man
« Last Edit: May 24, 2005, 05:01:10 PM by OIDanTheManIO »

Offline d3v

  • Jr. Member
  • **
  • Posts: 209
Re: [Theme] SMFone
« Reply #208 on: May 24, 2005, 05:35:16 PM »
SMF: 1.0.3
Template: SMFOne_Grey
Site: www.catchmydr1ft.com/smf

I'm trying to change the background of the forums's header (which includes/home/register/search/etc buttons), yet come up short. I tried to remove files by hand from index.template yet that doesnt give the result that I needed. Then I tried editing re_top_4.gif in photoshop/psuite and gimp, yet same thing happens. Please take a look at the attachment:




I'm reffering to small shade of grey on the bottom of the bar. It just sits there abd bugs me because my site's background is completely white. Any idea on why I can't seem to remove it? Thank you

P.S. I would appreciate help from anyone on this, I think we bugged AMA enough regarding this theme.

Offline Burpee

  • SMF Friend
  • Sophist Member
  • *
  • Posts: 1,298
  • Gender: Male
    • Mafan.nl
Re: [Theme] SMFone
« Reply #209 on: May 24, 2005, 06:07:15 PM »
That entire bar consists of different images, named re_top_1.gif through re_top_6.gif. You'll need to edit more than one, most likely.

Offline d3v

  • Jr. Member
  • **
  • Posts: 209
Re: [Theme] SMFone
« Reply #210 on: May 25, 2005, 04:43:56 AM »
you know what. I went through all of em. for some reason i can't fix that grey shadow on the bottom. even if I zoom in my editor and erase it, it stays. can the image be somehow protected? or maybe that shadow is not part of the image, bur rather a css setting? please explain to me if you know

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
Re: [Theme] SMFone
« Reply #211 on: May 25, 2005, 06:20:32 AM »
Aravot
Images attached.


OIDanTheManIO
http://www.simplemachines.org/community/index.php?topic=33352.msg261691#msg261691
Images attached .. http://www.simplemachines.org/community/index.php?topic=33352.msg268325#msg268325

d3v
As Burpee said, you need to modify the following images to remove that line:
re_top_4.gif , re_top_4.gif and re_top_6.gif
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Offline d3v

  • Jr. Member
  • **
  • Posts: 209
Re: [Theme] SMFone
« Reply #212 on: May 25, 2005, 06:44:03 AM »
maybe my editor is tripping. i'll repost after i download GIMP for win.

Offline Aravot

  • Sophist Member
  • *****
  • Posts: 1,057
  • Gender: Male
Re: [Theme] SMFone
« Reply #213 on: May 25, 2005, 11:04:25 AM »
Aravot
Images attached.

Thank you

Offline d3v

  • Jr. Member
  • **
  • Posts: 209
Re: [Theme] SMFone
« Reply #214 on: May 25, 2005, 10:42:13 PM »
next step

trying to remove upshrink in a CLEAN code way :x

Image attached:

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
Re: [Theme] SMFone
« Reply #215 on: May 26, 2005, 03:12:54 AM »
in index.template.php search for and delete:
Code: [Select]
<a href="#" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="', $settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" border="0" /></a><img id="upshrinkTemp" src="', $settings['images_url'], '/blank.gif" alt="" />
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Offline dtm.exe

  • SMF Hero
  • ******
  • Posts: 5,465
Re: [Theme] SMFone
« Reply #216 on: May 26, 2005, 11:05:05 AM »
How do I get SMFOne to work with the Visual Warning Mod?

-Dan The Man

Offline dtm.exe

  • SMF Hero
  • ******
  • Posts: 5,465

Offline spidernik84

  • Semi-Newbie
  • *
  • Posts: 21
Re: [Theme] SMFone
« Reply #218 on: May 26, 2005, 03:21:34 PM »
Hi all. I've seen this very nice site http://hablajapones.org/ [nofollow] , and what impressed me, apart from the java scrolling newsticker (i want it! How to do that? :P), is the fact that who made it added a new tab at the bottom. What i would do is exactly modify the forum like that, adding some new tabs like "last posts" and, maybe, "users in chat".

Did someone follow this path? I could not find any discussion regarding this!

Thank you

Offline Miraenda

  • Full Member
  • ***
  • Posts: 598
  • Gender: Female
  • nihil sunt omnia
    • RatingBar.com - Real Reviews by Regular People
Re: [Theme] SMFone
« Reply #219 on: May 26, 2005, 10:58:02 PM »
So you actually mean at http://hablajapones.org/foro/index.php for the forum portion :)

That is included with the theme, you simply have to enable it.  If you are using SMF 1.0.3, click on Admin link to go into the Admin area after you've signed in, then click on "Current Theme's Settings" under Forum Configuration on the left hand pane.  Next to "Number of Recent Topics to show:" option, put a number greater than 0 in the field, then click Save.

As for the news scrolling, that is likely the news fader option.  This is also in the Admin area in this same "Current Theme's Settings" section.  Look for "Show news fader on board index" and check it.