News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

[Theme] SMFone

Started by A.M.A, April 15, 2005, 07:01:21 PM

Previous topic - Next topic

A.M.A

in index.template.php :
<td width="100%" colspan="5" style="background-color: #FAFAFA;">
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

d3v

Was going to be looking for a long time for that. Thanks.

Escobar

#202
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 .
I chose SMF because you get your questions answered.

Burpee

*cough*

Always read the entire thread ;).

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

Escobar

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.

Aravot

How about buttons for;

Chat
Gallery
Location Map (Members Map)

Miraenda

Or just "Map" for that matter since that is way shorter :)

dtm.exe

#207
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

d3v

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.

Burpee

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.

d3v

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

A.M.A

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 :)

d3v

maybe my editor is tripping. i'll repost after i download GIMP for win.

Aravot


d3v

next step

trying to remove upshrink in a CLEAN code way :x

Image attached:

A.M.A

in index.template.php search for and delete:
<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 :)

dtm.exe

How do I get SMFOne to work with the Visual Warning Mod?

-Dan The Man


spidernik84

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

Miraenda

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.

Advertisement: