MyBB Community Forums

Full Version: [ThankYou 3.0.7] Images not showing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hello guys,

I have installed the version 3.0.7 of the "ThankYou" plugin.

However, none of the images are showing where the buttons should be.
I have installed the images into my images/english folder.

This is what I see:

[Image: 60719072.jpg]

Now, I have done a small edit on the inc/languages/english/thx.lang.php file.
But the images were not showing before I made these edits.

It was this:
$l['thx_main'] = "Thank you";
$l['thx_givenby'] = "Thank given by";
$l['thx_thanked_count']="{1} thank was given in {2} posts";
$l['thx_thank']="Thanks:";
$l['thx_remove']="Remove thank";
$l['thx_find_thanked']="Find All Thanked Posts";
?>


And is now this:
$l['thx_main'] = "Add Thanks";
$l['thx_givenby'] = "Thanks given by";
$l['thx_thanked_count']="Thanks received: {1}";
$l['thx_thank']="Thanks given:";
$l['thx_remove']="Remove Thanks";
$l['thx_find_thanked']="Find All Thanked Posts";
?>


HEEEEEEELP!
Replace images to image/theme folder.
Hi there,

Do you mean that I should make a new folder called image/theme and put the images there?
You just need to upload the add/remove thanks buttons to the themes images folder.
I fixed this by adding this /english to the thx.php


line 207
src=\"{$theme['imgdir']}/english/postbit_thx.gif\"
line 210
<img src=\"{$theme['imgdir']}/english/postbit_rthx.gif\" border=\"0\"
line 223
<img src=\"{$theme['imgdir']}/english/thxarrow.gif\" border=\"0\">
(2009-03-24, 09:39 PM)Tom Loveric Wrote: [ -> ]You just need to upload the add/remove thanks buttons to the themes images folder.

Hello,

But...on latest myBB version...I don't see any themes/images folder in my root. Huh

I run english and spanish board btw and obviosly these buttons are not showing.
No, you go to ./images/*theme folder if applicable*/*language*/ and put them in there.
Thanks Matt for the help and for the patience...

By looking my images folder...(./images)

There is no folder there called "theme" or "themes".

Also, by looking via AdminCP...in the "edit theme properties"

Quote:Image Directory

The root directory for the location of the images used in this theme. Note that this only specifies the directory for the images used in templates, not the stylesheets.

Is filled with..."images".

Let's say I have to create a folder inside the images folder called..."theme" or whatever...and create a *language* folder for these buttons.

Will there be any problem because of the theme properties settings in AdminCP?

Again, thanks.
It isn't called theme, it's the folder that contains the images your theme uses... if the theme image path is just images, then you need the ./images/english/ folder.
Exactly...

I uploaded like this:

./images/*language*/*buttons .gif*

Buttons .gif = postbit_thx, postbit_rthx and thxarrow.

Undecided ...they don't show up, that's all.
Pages: 1 2 3