So I need to transfer a picture from english directory to finnish-utf8 directory, but I can't find finnish-utf8 directory???????
Unless I'm missing something, there is no such directory. All language text files go in the default theme's "languages" directory, normally.
If the image should go in the "images/Finnish-utf8" directory, and it's not there, you could create it. But, if you're using the Finnish UTF 8 language, I'd imagine that it should be there, inside the "images" directory.
i think the OP is talking about the new.gif that shows a new thread. it has to be in a folder with the name of the language in use in the themes images folder. if the folder does not exist it has to be created and the image put in it.
Er... Isn't that what I just typed? :P
Quote from: K@ on September 06, 2013, 04:36:43 PM
Unless I'm missing something, there is no such directory. All language text files go in the default theme's "languages" directory, normally.
but that part has nothing to do with the new.gif :P
But, the second part does, doesn't it? (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.katzy.dsl.pipex.com%2FSmileys%2Fhuh.gif&hash=faa8cdc36b859b0861143bd9d1bef68723612ada)
When I try to create it. It says that the file exist, but I can't see it anywhere?
Sounds like you're using your CPanel's Site manager. :(
Try getting into FTP, if that's true, coz it's a LOT easier than the File Manager. Maybe that has it set as a hidden file, or something?
http://wiki.simplemachines.org/smf/FTP_-_How_do_I_use_FTP
Quote from: K@ on September 06, 2013, 04:58:42 PM
Sounds like you're using your CPanel's Site manager. :(
Try getting into FTP, if that's true, coz it's a LOT easier than the File Manager. Maybe that has it set as a hidden file, or something?
http://wiki.simplemachines.org/smf/FTP_-_How_do_I_use_FTP
Still says that it exists..
If it exists, yet it's not showing, maybe it's read-protected?
What did you use, to upload the image?
If you used Filezila, try uploading it, again, but change the "Trasfer type" to "binary". (I've known that to break images).
Quote from: K@ on September 06, 2013, 05:05:44 PM
If it exists, yet it's not showing, maybe it's read-protected?
What did you use, to upload the image?
It was already in theme included, but in another language.. english/new.gif
Right. So, you need to download that image and upload it into the Finnish directory.
Quote from: K@ on September 06, 2013, 05:07:39 PM
Right. So, you need to download that image and upload it into the Finnish directory.
yeah I am trying but I cannot move it to finnish-ut8 or copy it there or even find the finnish-utf8 directory :s
That's odd, if your forum's Finnish. Maybe there aren't any images that need to go there. So, it was never created.
Try making it. :)
Quote from: K@ on September 06, 2013, 05:14:06 PM
That's odd, if your forum's Finnish. Maybe there aren't any images that need to go there. So, it was never created.
Try making it. :)
http://www.retrot.us/Themes/Vertex-Theme2-0-2-v1-2/images/finnish-utf8/new.gif
http://www.retrot.us/Themes/Vertex-Theme2-0-2-v1-2/images/english/new.gif
Is it possible to edit code of theme to make the url images/english/new.gif... or only /images/finnish-utf8
because when you just go http://www.retrot.us/Themes/Vertex-Theme2-0-2-v1-2/images/finnish-utf8 the image works.
I would think so, yes.
BoardIndex.template.php, in the default theme's directory (Unless that theme has it's own file, with that name)
It'll be this line, I believe:
$child['link'] = '<a href="' . $child['href'] . '" ' . ($child['new'] ? 'class="new_posts" ' : '') . 'title="' . ($child['new'] ? $txt['new_posts'] : $txt['old_posts']) . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')">' . $child['name'] . ($child['new'] ? '</a> <a href="' . $scripturl . '?action=unread;board=' . $child['id'] . '" title="' . $txt['new_posts'] . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')"><img src="' . $settings['lang_images_url'] . '/new.gif" class="new_posts" alt="" />' : '') . '</a>';
$settings['lang_images_url'] is what points it to your language directory.
Quote from: K@ on September 06, 2013, 05:21:05 PM
I would think so, yes.
BoardIndex.template.php, in the default theme's directory (Unless that theme has it's own file, with that name)
It'll be this line, I believe:
$child['link'] = '<a href="' . $child['href'] . '" ' . ($child['new'] ? 'class="new_posts" ' : '') . 'title="' . ($child['new'] ? $txt['new_posts'] : $txt['old_posts']) . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')">' . $child['name'] . ($child['new'] ? '</a> <a href="' . $scripturl . '?action=unread;board=' . $child['id'] . '" title="' . $txt['new_posts'] . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')"><img src="' . $settings['lang_images_url'] . '/new.gif" class="new_posts" alt="" />' : '') . '</a>';
$settings['lang_images_url'] is what points it to your language directory.
Thank you for the support! It's working now!
But now inside the boards new.gif isn't working :D how do I fix it manually / where?
you need to create the folder as suggested above and put the new.gif in it.
Quote from: Illori on September 06, 2013, 05:55:06 PM
you need to create the folder as suggested above and put the new.gif in it.
I'll highly recommend you reading what I've said in past messages.
that is the only way to fix your problem is to create the folder, otherwise you could break your forum for upgrades.
Or using other themes, for that matter.
Or I could probably change the forum default language to english and replace english language file?
no, that would also require you to rename all the language files from your language to english, which will confuse you and your users if you apply any mods in the future.
your best bet is to ask your host what the problem is.