News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Lost new posts icons

Started by bigmo66, November 28, 2015, 06:47:53 PM

Previous topic - Next topic

bigmo66

Howdy Folks. I just upgraded to the latest 2.0.11 patch and I lost my new post/ no new post icons. I created the forum years a go so I am really rusty. I'm trying to find where I can add the icons back, but now am wondering if I need to do some editing. Sort of lost being an old fart and not tinkering for years.  Any help is sure appreciated.  My forum is the Tacoma Guitar Forum.  www.tacomaguitarforum.com  Guest can browse.

Thanks all

Steve

P.S., using a custom theme, but have never had a single issue in years through upgrades, mods, etc..

br360

That link you posted to your site is showing the default curve theme, and guests are not able to browse- as when I go to your forum, I get the "Only registered members are allowed to access this section" message.

bigmo66

Sorry, fixed.....

Not exactly sure about theme. "Thought" it was custom. I am continually learning 2.0 as I haven't had it very long.

br360

Ok, checking out now.

The directory for those images should be tacomaguitarforum.com/Themes/default/images/off.png (on.png being the other one), but you somehow changed it to be http://home.comcast.net/~tgfmo/off.gif

I'm guessing that second link is a set up from your computer or localhost? Not sure what  exactly you changed or how you upgraded to 2.0.11, but can you try to run repair settings and see if that fixes the issue? Here is some info on how to run it- http://wiki.simplemachines.org/smf/Repair_settings.php

bigmo66

Thanks. For years, my ISP (Comcast) gave me a ton of personal web page storage (6Gb). They discontinued this recently and it appears they may have pulled the plug. I have been steadily been moving hosted files, pics to my new host. I am issing my "locked" icons, "new_none" and "new_some"  Is it a matter of just pointing to new hosting?

br360

Ah ok. If you were directing your image icons to their web page and they pulled the plug, you would in fact have the broken images you now do. Yes, in order to have those images back, you would have to have the images lead to the correct path- either on your server or on the new hosting.

bigmo66

Thank you. I am assuming I need to do some editing, but where?

br360

Can you check your images folder on your server? Look at themes/default/images. In that folder you will see the images for your off.png, on.png, new_none.png, new_some.png


Do you remember if you actually edited anything in any of your templates, like for example; in your board.index.template.php, this is what the default path and code should look like for your new_some.png and new_none.png-

<li class="floatleft"><img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'new_some.png" alt="" /> ', $txt['new_posts'], '</li>
         <li class="floatleft"><img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'new_none.png" alt="" /> ', $txt['old_posts'], '</li>

Illori

Quote from: br360 on November 28, 2015, 07:08:14 PM
but can you try to run repair settings and see if that fixes the issue? Here is some info on how to run it- http://wiki.simplemachines.org/smf/Repair_settings.php

have you run that? it should fix the paths for you.

bigmo66

Quote from: Illori on November 28, 2015, 07:47:03 PM
Quote from: br360 on November 28, 2015, 07:08:14 PM
but can you try to run repair settings and see if that fixes the issue? Here is some info on how to run it- http://wiki.simplemachines.org/smf/Repair_settings.php

have you run that? it should fix the paths for you.

Have not run the repair tool yet. I did upload my old icon .gifs to where they need to be. I probably did edit the files years a go for custom icons. Will the repair tool do me any good since the icons are custom and settings may have been pointing to another host?    Is there any fallout from running the repair tool even if it doesn't solve my issue?

You guys have always been great and have never failed me yet. Thank you.

br360

I would do a backup of your forum just in case, but running repair_settings shouldn't cause any issues. Try that first, and if it doesn't work, we can work on different options to get your icons back.

Personally, those images are so incredibly minor in regards to server space, I would just keep them on your server anyway.

bigmo66

10-4, I will do the repair ASAP.

bigmo66

Ran the repair tool and didn't see anything to change. At this point I am Ass-uming that I need to edit a file?

Backed up database & home directory..

br360

Just to confirm; do you have all of those images actually uploaded to your server? (off.png, on.png, new_some.png, new_none.png)

If you do, can you attach your boardindex.template.php please?

bigmo66

I have the 3 pngs in the icon folders of both the default theme and my custom theme. They are called off, on & on2 (made that the locked icon.

I have attached the php file

bigmo66

Quote from: br360 on November 28, 2015, 07:08:14 PM
Ok, checking out now.

The directory for those images should be tacomaguitarforum.com/Themes/default/images/off.png (on.png being the other one), but you somehow changed it to be http://home.comcast.net/~tgfmo/off.gif

I'm guessing that second link is a set up from your computer or localhost? Not sure what  exactly you changed or how you upgraded to 2.0.11, but can you try to run repair settings and see if that fixes the issue? Here is some info on how to run it- http://wiki.simplemachines.org/smf/Repair_settings.php

Where can you see the comcast links?

br360

I am going to be away from home for most of the day, but I will take a look at your boardindex.template.php later tonight.

If you right click the missing images and then use either firebug or inspect element in chrome, you can see the comcast links being used.

bigmo66

Quote from: br360 on November 29, 2015, 02:06:12 PM
I am going to be away from home for most of the day, but I will take a look at your boardindex.template.php later tonight.

If you right click the missing images and then use either firebug or inspect element in chrome, you can see the comcast links being used.

OK thanks. I don't see any reference to comcast in the boardindex.template.php.  Would it be somewhere else?

Illori

can you please run repair_settings.php as we recommended? it should fix the issue.

bigmo66

Quote from: Illori on November 29, 2015, 06:00:45 PM
can you please run repair_settings.php as we recommended? it should fix the issue.

I have ran repair_settings a couple times with no luck. I even used the repair all or whatever it is called at the bottom right. I am still seeing text instead of icons for new posts/no new posts on forum.


Advertisement: