Advertisement:
A2Hosting

Author Topic: smf icon  (Read 10506 times)

Offline mrbolsonator

  • Semi-Newbie
  • *
  • Posts: 84
  • Gender: Male
    • FuelCrazyAmerica
smf icon
« on: September 08, 2008, 01:19:47 AM »
want to change the new post icon from the smf theme to another picture, how do i do this?

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,509
  • Young and Foolish
    • SimplePortal
Re: smf icon
« Reply #1 on: September 08, 2008, 01:22:25 AM »
Welcome mrbolsonator.

../Themes/your_theme/images/

on.gif => for unread board
on2.gif => for a read board, having an unread child board
off.gif => for unread board

Change them with the images you want.
Former SMF Core Developer | My Mods | My Anime List | SimplePortal | Samanyolu Fanları

Offline mrbolsonator

  • Semi-Newbie
  • *
  • Posts: 84
  • Gender: Male
    • FuelCrazyAmerica
Re: smf icon
« Reply #2 on: September 08, 2008, 01:27:06 AM »
i cant change the files to .gif, is there a script that i can change the name/location of the pictures to?

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,509
  • Young and Foolish
    • SimplePortal
Re: smf icon
« Reply #3 on: September 08, 2008, 01:33:04 AM »
Of course. In

../Themes/your_theme/BoardIndex.template.php
../Themes/your_theme/MessageIndex.template.php
../Themes/your_theme/Help.template.php

files, you should search for those and replace the extention as you whish.
Former SMF Core Developer | My Mods | My Anime List | SimplePortal | Samanyolu Fanları

Offline mrbolsonator

  • Semi-Newbie
  • *
  • Posts: 84
  • Gender: Male
    • FuelCrazyAmerica
Re: smf icon
« Reply #4 on: September 08, 2008, 01:56:42 AM »
so it came up with an X and not my image, does the image have to be in .gif format to work?

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,509
  • Young and Foolish
    • SimplePortal
Re: smf icon
« Reply #5 on: September 08, 2008, 02:01:48 AM »
No, if you make the edits correctly. May I have a link to your forum to check it?
Former SMF Core Developer | My Mods | My Anime List | SimplePortal | Samanyolu Fanları

Offline mrbolsonator

  • Semi-Newbie
  • *
  • Posts: 84
  • Gender: Male
    • FuelCrazyAmerica
Re: smf icon
« Reply #6 on: September 08, 2008, 02:06:16 AM »
www.fuelcrazyamerica.com

i switched it back....but i will try one more time

P.S. i had the same problem trying to put a logo up

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,509
  • Young and Foolish
    • SimplePortal
Re: smf icon
« Reply #7 on: September 08, 2008, 02:09:52 AM »
I think you got it now, right?
Former SMF Core Developer | My Mods | My Anime List | SimplePortal | Samanyolu Fanları

Offline mrbolsonator

  • Semi-Newbie
  • *
  • Posts: 84
  • Gender: Male
    • FuelCrazyAmerica
Re: smf icon
« Reply #8 on: September 08, 2008, 02:12:30 AM »
it wont show the pictures'

it just shows an X and no new posts

Offline Marcus Forsberg

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,607
  • Gender: Male
    • marcus.t.forsberg on Facebook
    • marcusforsberg on LinkedIn
    • @marcusforsberg on Twitter
    • marcusforsberg.net
Re: smf icon
« Reply #9 on: September 08, 2008, 02:13:52 AM »

off.gif => for unread board

Don't you mean off.gif => for read board ;)

Offline mrbolsonator

  • Semi-Newbie
  • *
  • Posts: 84
  • Gender: Male
    • FuelCrazyAmerica
Re: smf icon
« Reply #10 on: September 08, 2008, 02:16:08 AM »
now i am very confused

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,509
  • Young and Foolish
    • SimplePortal
Re: smf icon
« Reply #11 on: September 08, 2008, 02:17:18 AM »
Can you try a hard refresh? (ctrl+f5) It works perfect for me.
Former SMF Core Developer | My Mods | My Anime List | SimplePortal | Samanyolu Fanları

Offline Marcus Forsberg

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,607
  • Gender: Male
    • marcus.t.forsberg on Facebook
    • marcusforsberg on LinkedIn
    • @marcusforsberg on Twitter
    • marcusforsberg.net
Re: smf icon
« Reply #12 on: September 08, 2008, 02:19:22 AM »
It works good for me to. :P

Offline mrbolsonator

  • Semi-Newbie
  • *
  • Posts: 84
  • Gender: Male
    • FuelCrazyAmerica
Re: smf icon
« Reply #13 on: September 08, 2008, 02:19:42 AM »
on internet explorer it is not working, and on mozzilla the images are huge

now i have two problems...i need to shrink the pictures, and get them to show on explorer

Offline mrbolsonator

  • Semi-Newbie
  • *
  • Posts: 84
  • Gender: Male
    • FuelCrazyAmerica
Re: smf icon
« Reply #14 on: September 08, 2008, 02:20:58 AM »
third problem, so i singed out and ur right, it works...but it didnt on my page being the admin, is something else wrong?

Offline Marcus Forsberg

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,607
  • Gender: Male
    • marcus.t.forsberg on Facebook
    • marcusforsberg on LinkedIn
    • @marcusforsberg on Twitter
    • marcusforsberg.net
Re: smf icon
« Reply #15 on: September 08, 2008, 02:27:47 AM »
Shrinking the pictures should be done by adding width="XXpx" height="XXpx" to the IMG tag, I think.

<img src="image.jpg" width="25px" height="25px">

I may be wrong as I haven't had a closer look at the actuall code affecting all this.
Maybe I should just let [SiNaN] handle this :D

Offline mrbolsonator

  • Semi-Newbie
  • *
  • Posts: 84
  • Gender: Male
    • FuelCrazyAmerica
Re: smf icon
« Reply #16 on: September 08, 2008, 02:31:34 AM »
ok so one problem delt with, the pics work and i shrunk them...now for my admin page why cant i see them? does anyone know

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,509
  • Young and Foolish
    • SimplePortal
Re: smf icon
« Reply #17 on: September 08, 2008, 02:32:34 AM »
You should resize the image with a picture editor if you want it to look better rather than just using HTML to resize them.

What do you mean by admin page?
Former SMF Core Developer | My Mods | My Anime List | SimplePortal | Samanyolu Fanları

Offline Marcus Forsberg

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,607
  • Gender: Male
    • marcus.t.forsberg on Facebook
    • marcusforsberg on LinkedIn
    • @marcusforsberg on Twitter
    • marcusforsberg.net
Re: smf icon
« Reply #18 on: September 08, 2008, 02:33:03 AM »
third problem, so i singed out and ur right, it works...but it didnt on my page being the admin, is something else wrong?

Offline mrbolsonator

  • Semi-Newbie
  • *
  • Posts: 84
  • Gender: Male
    • FuelCrazyAmerica
Re: smf icon
« Reply #19 on: September 08, 2008, 02:38:32 AM »
ok so i was using a different theme than my main forum and i put the pictures ont he default theme instead of mine. but my theme doesnt have the same files as the default, it only has like 4 files. now what.