News:

Wondering if this will always be free?  See why free is better.

Main Menu

Images On Board

Started by Bulakbol, June 23, 2008, 05:19:47 PM

Previous topic - Next topic

Bulakbol

@drav
The edits should be the same. Just find and replace the code I mentioned and you'll be fine.

@khaleed
Edit BoardIndex.template.php and MessageIndx.template.php of your custom theme. Just look for $board['description'] and you'll figure out where to add the code yourself. It's not that hard.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

khaleed

thanks for the reply Bulakbol

I edit the boardindex.template.php and messageindex.template.php but the image does not appear. In the boards that I try to show the image just show *. Below is the example the code that I already edit in both templates.

Before
<td class="windowbg2">
               <b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
                  ', $board['description'];

so I replaced it with
<td class="windowbg2" valign="top" style="padding: 5px 10px 5px 10px;">';
            if (!empty($board['image']))
                  echo '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';


Bulakbol

Go to Admin => Boards (modify a board). In the "Name of image for this board:", enter "stop.png". Don't forget to upload your images too.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

khaleed

#623
Hi Bulakbol,

I download the image but it's still doesn't show the image that I want. It's still show the * .


khaleed

#624
it's okay now Bulakbol...

thanks for your help...


DollhouseBz

Great Mod, but I can't make it work. At least, I can't see the images...  :(

Anyway, here's a translation:

Portuguese - Brazilian

Quote$txt['board_image'] = '<b>Nome da imagem para esta categoria:</b><br />Incluir a extensão do arquivo. (exemplo: xx.gif)';

Bulakbol

@DollhouseBz
You will not see any images unless you modify your boards and enter the image filename to use. If you ned help, lt me know. I thank you for the Language translation. I would like to know if it is for both "Portuguese" and "Brazilian" so I can add it to the next update.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

DollhouseBz

Quote from: Bulakbol on August 12, 2009, 11:25:44 PM
@DollhouseBz
You will not see any images unless you modify your boards and enter the image filename to use. If you ned help, lt me know. I thank you for the Language translation. I would like to know if it is for both "Portuguese" and "Brazilian" so I can add it to the next update.

Sorry for the confusion on the language. Actually that is Brazillian Portuguese. Both Brazil and Portugal officially speak Portuguese, but in reality it's as different as British English from Australian or American... (or more!  ;)

And I still can't see the images on the boards... I modified one board, uploaded the image. I can see it in the "Image on Board" file on my website directory, but I can't see the image.

I've recently installed my forum and I'm kind of a newbie. I want to set the forum ok before I invite people in.

Tks

DollhouseBz

Hi again,

I followed gbsothere's step-by-step tut and finally got what I was doing wrong: my images were way too big!

Thank you Gbsothere!  :D

Now the problem is that it seems I can't do anything directly to Images On Board file! I can't erase the larger images, change names, nothing! (neither could I upload the images directly into it... which would have been faster with many images...)

Why not?  :-\

gbsothere

Quote from: DollhouseBz on August 15, 2009, 12:19:33 AM
Hi again,

I followed gbsothere's step-by-step tut and finally got what I was doing wrong: my images were way too big!

Thank you Gbsothere!  :D

Now the problem is that it seems I can't do anything directly to Images On Board file! I can't erase the larger images, change names, nothing! (neither could I upload the images directly into it... which would have been faster with many images...)

Why not?  :-\



Hi,

What version of SMF are you using and what theme?

When you say you can't do anything directly to the Images On Board file, do you mean that you need to do some sort of manual edit, or are you talking about being able to make changes in the Admin panel?  I'm an old man, you have to dumb it down for me.    :)

Did the mod install successfully for you and is it functioning?

Also, Dollhouse, are you using ftp to upload your images into the ImagesOnBoard directory, located in the images folder in your theme directory? 

I'm just groping around for more information.   
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

DollhouseBz

Quote from: gbsothere on August 15, 2009, 06:25:10 PM
Hi,

What version of SMF are you using and what theme?

When you say you can't do anything directly to the Images On Board file, do you mean that you need to do some sort of manual edit, or are you talking about being able to make changes in the Admin panel?  I'm an old man, you have to dumb it down for me.    :)

Did the mod install successfully for you and is it functioning?

Also, Dollhouse, are you using ftp to upload your images into the ImagesOnBoard directory, located in the images folder in your theme directory? 

I'm just groping around for more information.

hi gbsothere

I'm using SMF 1.1.10. Classic theme.

And I can upload pictures using the mod, but I can't do anything via ftp or directly (manual edit). Anyway, the MOD doesn't have any option for deleting uploaded pictures, right?

I installed the MOD and it's working ok. But as I'm using another language (Brazilian Portuguese) the words don't show. Once again, your tut was invaluable!!! :)

gbsothere

#631
Dollhouse, did you do the edits to your language files?   :)

Check this thread:

http://www.simplemachines.org/community/index.php?topic=246022.620

(The post by Joomlamz)

Edit:    Wait, I'm even more confused than usual.   :)

Are you saying that you don't have ftp access and that you can only do things through the package manager? 
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

baagacheppav

#632
I tried installing this MOD through admin panel in smf 1.1.10 version..

i got this error ::   The package you tried to upload either is not a valid package or has become corrupted.

please guide me in installing this mod in 1.1.10 version.  I really need this mod

theme :: SMF Default theme  core

Bulakbol

@DollhouseBz
Are you okay now?

@baagacheppav
Apology for the delayed reply. Try downloading the mod to your PC. Then upload and install.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

baagacheppav

Quote from: Bulakbol on August 24, 2009, 08:00:06 PM


@baagacheppav
Apology for the delayed reply. Try downloading the mod to your PC. Then upload and install.

I am not able to install .... it is showing this error

"The package you tried to upload either is not a valid package or has become corrupted"

Mayhem30

I have that issue when installing any mods .. how I solve it is to go to :

Admin / Packages / Options / Cleanup Permissions

Set that to : Only the standard files are writable

After I install a mod, I always go back and set it to : The minimum files are writable.

sandmannd

Quote from: sandmannd on June 02, 2009, 11:41:57 PM
Quote from: Bulakbol on June 02, 2009, 11:00:26 PM
@sandmannd
Can you post a screen cap?

Here's what they look like on my main boards (how I would like them all to look)



Here's how my child boards look.



I would like the name of the board on top of the banner on the child boards instead of next to them.

Bulakbol it's been a while, have you been able to look at my issue at all? Right now I can't get images to show on child boards at all.

wickedstangs

what is a good recommeded size for the images?

Bulakbol

@baagacheppav
Which package are you trying to download? Have you tried  baagacheppav tip?

@sandmannd
Sorry. The only file attached in your last post was BoardIndex.template.php so I thought your problem is solved. You have to edit your MessageIndex.template.php manually as well.



Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

sandmannd

Can you tell me the edit I have to make?

Advertisement: