Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1266)
Author: JohnyB
Mod Name: ImagesOnBoard
Version: 1.0
Tested: Freshly installed SMF 1.1.5 and SMF 2.0 Beta 3.1 Public
Images On Board 1.0
- This mod will add images on the board.
- When editing or creating a board, enter the filename of the image for that board including the filename extension.
- There will be only one image folder for all themes used.
- The default location for all images is Themes/default/images/ImagesOnBoard folder.
- The dimension of images displayed will depend on the size of your images.
- If you want to limit the size of displayed images, edit your BoardIndex.template.php and MessageIndex.template,php then find
Quoteecho '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';
and add width="xx" after the alt="*" attribute.
Quoteecho '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" width="35" /></div>';
Supported Themes
- Default Core
- babylon
- classic
- shinyblue
Supported languages
- English
- english-utf8
- Spanish (Thanks NIBOGO)
December 21, 2008
- Uploaded an upgrade to 2.0. Added simple images uploader.
When editing/creating a board, there is an orange asterisk on the right side of Name of image for this board:.
Click the orange asterisk to upload images.
Here's how the upgrade work. At least the way I did it.
For version 1.1.7What you will see after uploading the upgrade.
Quote
9. Images On Board 1.1 [ Uninstall ] [ List Files ] [ Delete ]
10. Images On Board 2.0 [ Upgrade ] [ List Files ] [ Delete ]
After the upgrade.
Quote
9. Images On Board 1.1 [ List Files ] [ Delete ]
10. Images On Board 2.0 [ Uninstall ] [ List Files ] [ Delete ]
After uninstallation.
Quote
9. Images On Board 1.1 [ Apply Mod ] [ List Files ] [ Delete ]
10. Images On Board 2.0 [ Apply Mod ] [ List Files ] [ Delete ]
You can install either the version 2.0 or the version 1.1.
For verson 2.0 Beta 4It is different. Install and uninstall only the upgrade just like any other mod.
February 18, 2009Released update for version 2.0 RC1
June 19, 2009Images On Board
- This mod will add images on the board.
- You can add external link for the image. The default (empty) is board link.
- When editing or creating a board, enter the filename of the image for that board including the filename extension.
- There will be only one image folder for all themes used.
- The default location for all images is Themes/default/images/ImagesOnBoard folder.
- The dimension of images displayed will depend on the size of your images.
- Added simple images uploader.
- Option to hide the images by individual members. Profile => Look and Layout => "Don't show images on board" checkbox.
Supported Themes
- Default Core
- babylon
- classic
- shinyblue
Supported languagesNote:
- Need language translation again because of the additional language strings.
June 19, 2009+ Added Italian language. (Thanks SilvioTO).
Great Mod!
perfect mod !! thanks man !!
Thanks guys for trying or using this mod.
The default images directory is Themes/default/images/ImagesOnBoard folder.
Awesome mod:
SpanishQuote$txt['board_image'] = '<b>Nombre de la imagen para esta categoria:</b><br />Incluyendo la extension del archivo. (ejemplo: xx.gif)';
Nice Mod
Any live demo?
I updated the mod and added Spanish language. Thanks NIBOGO.
I also corrected my mistake. :P The modifications.{language}.php was changed to Modifications.{language}.php.
Live Demo (http://www.shinyblue115.kalesangbayan.com)
Nice mod. Turkish Translation:
$txt['board_image'] = '<b>Bu bölüm için resim ismi:</b><br />Dosyanın uzatısınıda yazmalısınız. (örnek. xx.gif)';
Thanks Yağız. I'll update the mod later.
edit:
Turkish language translation added.
Nice mod. Any plans on getting it to work with Musiconica theme?
Quote from: JohnyB on June 24, 2008, 05:56:48 AM
Thanks Yağız. I'll update the mod later.
edit:
Turkish language translation added.
Thank you too Johny.
Nice work
good mod
Update portuguese and brazilian support utf8 smf 1.1.x and 2.0 beta 3.1
<file name="$languagedir/modifications.portuguese.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['board_image'] = '<b>Nome da imagem para esta quadro:</b><br />Incluir arquivo extensão. (i.e. xx.gif)';
]]></add>
</operation>
</file>
<file name="$languagedir/modifications.brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['board_image'] = '<b>Nome da imagem para esta quadro:</b><br />Incluir arquivo extensão. (i.e. xx.gif)';
]]></add>
</operation>
</file>
<file name="$languagedir/modifications.portuguese-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['board_image'] = '<b>Nome da imagem para esta quadro:</b><br />Incluir arquivo extensão. (i.e. xx.gif)';
]]></add>
</operation>
</file>
<file name="$languagedir/modifications.brazilian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['board_image'] = '<b>Nome da imagem para esta quadro:</b><br />Incluir arquivo extensão. (i.e. xx.gif)';
]]></add>
</operation>
</file>
</modification>
<!-- default/languages/Modifications.portuguese_pt.php -->
<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['disable_iob'] = 'Não mostrar imagens do quadro.';
$txt['board_image'] = 'Nome da imagem para este fórum';
$txt['board_image_desc'] = 'Incluir extensão. (i.e. stop.png)';
$txt['board_img_link'] = 'Link para a imagem acima';
$txt['board_img_link_desc'] = '(i.e. http://www.simplemachines.org)';
$txt['upload_title'] = 'Fazer upload de imagens';
$txt['select_files'] = 'Selecione um ficheiro';
$txt['valid_file_types'] = 'Válidar tipos de ficheiros que são';
$txt['invalid_file_extension'] = 'Desculpas. <span style="color: #FF0000;">%s</span> tinha uma extensão de ficheiro inválido. Enviar abortado.<br />';
$txt['upload_failed'] = '<span style="color: #FF0000;">Falha no upload! Desconhecido erro.</span><br />';
$txt['file_too_big'] = 'Desculpas. <span style="color: #FF0000;">%s</span> era muito grande. Enviar abortado.<br/>';
$txt['file_cannot_move'] = '<span style="color: #FF0000;">%s</span> não se pode mover. Erro desconhecido.';
$txt['upload_successful'] = '<span style="color: blue;">Ficheiro carregado com sucesso. Obrigado.</span> - %s<br />';
$txt['file_exists'] = 'Desculpas. %s já existem. Experimente um outro ficheiro ou renomear o ficheiro.<br/>';
$txt['maximum_allowed'] = 'O tamanho máximo permitido pelo servidor é <strong>%s</strong> kilobytes ou <strong>%d</strong> megabytes.<br />';
$txt['maximum_upload'] = 'O tamanho máximo permitido para upload é <strong>%s</strong> kilobytes or <strong>%d</strong> megabyte(s).<br /><br />';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['disable_iob'] = 'Não mostrar imagens do quadro.';
$txt['board_image'] = 'Nome da imagem para este fórum';
$txt['board_image_desc'] = 'Incluir extensão. (i.e. stop.png)';
$txt['board_img_link'] = 'Link para a imagem acima';
$txt['board_img_link_desc'] = '(i.e. http://www.simplemachines.org)';
$txt['upload_title'] = 'Fazer upload de imagens';
$txt['select_files'] = 'Selecione um ficheiro';
$txt['valid_file_types'] = 'Válidar tipos de ficheiros que são';
$txt['invalid_file_extension'] = 'Desculpas. <span style="color: #FF0000;">%s</span> tinha uma extensão de ficheiro inválido. Enviar abortado.<br />';
$txt['upload_failed'] = '<span style="color: #FF0000;">Falha no upload! Desconhecido erro.</span><br />';
$txt['file_too_big'] = 'Desculpas. <span style="color: #FF0000;">%s</span> era muito grande. Enviar abortado.<br/>';
$txt['file_cannot_move'] = '<span style="color: #FF0000;">%s</span> não se pode mover. Erro desconhecido.';
$txt['upload_successful'] = '<span style="color: blue;">Ficheiro carregado com sucesso. Obrigado.</span> - %s<br />';
$txt['file_exists'] = 'Desculpas. %s já existem. Experimente um outro ficheiro ou renomear o ficheiro.<br/>';
$txt['maximum_allowed'] = 'O tamanho máximo permitido pelo servidor é <strong>%s</strong> kilobytes ou <strong>%d</strong> megabytes.<br />';
$txt['maximum_upload'] = 'O tamanho máximo permitido para upload é <strong>%s</strong> kilobytes or <strong>%d</strong> megabyte(s).<br /><br />';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['disable_iob'] = 'Não mostrar imagens do quadro.';
$txt['board_image'] = 'Nome da imagem para este fórum';
$txt['board_image_desc'] = 'Incluir extensão. (i.e. stop.png)';
$txt['board_img_link'] = 'Link para a imagem acima';
$txt['board_img_link_desc'] = '(i.e. http://www.simplemachines.org)';
$txt['upload_title'] = 'Fazer upload de imagens';
$txt['select_files'] = 'Selecione um ficheiro';
$txt['valid_file_types'] = 'Válidar tipos de ficheiros que são';
$txt['invalid_file_extension'] = 'Desculpas. <span style="color: #FF0000;">%s</span> tinha uma extensão de ficheiro inválido. Enviar abortado.<br />';
$txt['upload_failed'] = '<span style="color: #FF0000;">Falha no upload! Desconhecido erro.</span><br />';
$txt['file_too_big'] = 'Desculpas. <span style="color: #FF0000;">%s</span> era muito grande. Enviar abortado.<br/>';
$txt['file_cannot_move'] = '<span style="color: #FF0000;">%s</span> não se pode mover. Erro desconhecido.';
$txt['upload_successful'] = '<span style="color: blue;">Ficheiro carregado com sucesso. Obrigado.</span> - %s<br />';
$txt['file_exists'] = 'Desculpas. %s já existem. Experimente um outro ficheiro ou renomear o ficheiro.<br/>';
$txt['maximum_allowed'] = 'O tamanho máximo permitido pelo servidor é <strong>%s</strong> kilobytes ou <strong>%d</strong> megabytes.<br />';
$txt['maximum_upload'] = 'O tamanho máximo permitido para upload é <strong>%s</strong> kilobytes or <strong>%d</strong> megabyte(s).<br /><br />';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['disable_iob'] = 'Não mostrar imagens do quadro.';
$txt['board_image'] = 'Nome da imagem para este fórum';
$txt['board_image_desc'] = 'Incluir extensão. (i.e. stop.png)';
$txt['board_img_link'] = 'Link para a imagem acima';
$txt['board_img_link_desc'] = '(i.e. http://www.simplemachines.org)';
$txt['upload_title'] = 'Fazer upload de imagens';
$txt['select_files'] = 'Selecione um ficheiro';
$txt['valid_file_types'] = 'Válidar tipos de ficheiros que são';
$txt['invalid_file_extension'] = 'Desculpas. <span style="color: #FF0000;">%s</span> tinha uma extensão de ficheiro inválido. Enviar abortado.<br />';
$txt['upload_failed'] = '<span style="color: #FF0000;">Falha no upload! Desconhecido erro.</span><br />';
$txt['file_too_big'] = 'Desculpas. <span style="color: #FF0000;">%s</span> era muito grande. Enviar abortado.<br/>';
$txt['file_cannot_move'] = '<span style="color: #FF0000;">%s</span> não se pode mover. Erro desconhecido.';
$txt['upload_successful'] = '<span style="color: blue;">Ficheiro carregado com sucesso. Obrigado.</span> - %s<br />';
$txt['file_exists'] = 'Desculpas. %s já existem. Experimente um outro ficheiro ou renomear o ficheiro.<br/>';
$txt['maximum_allowed'] = 'O tamanho máximo permitido pelo servidor é <strong>%s</strong> kilobytes ou <strong>%d</strong> megabytes.<br />';
$txt['maximum_upload'] = 'O tamanho máximo permitido para upload é <strong>%s</strong> kilobytes or <strong>%d</strong> megabyte(s).<br /><br />';
]]></add>
</operation>
</file>
I wonder if you can tell me what I most do to make it work in other themes to ?
I have installed this theme (see Attach) named Tritin11 and I cant get it to work because I cant
find where I shell put in the code.
@perociousSM
It's easy to edit BoardIndex.template.php and MessageIndex.template.php. There are only three lines. Try your hands on it and if you think it's hard to do, then attach your BoardIndex.template.php and MessageIndex.template.php.
@Joomlamz
Package is updated with your additional languagse translation. Thanks.
@tmyrdal
If your theme is Triton11, then here's what you have to do. Open your Triton11/BoardIndex.template,php and look for
Quote<td class="windowbg2" valign="top" style="padding: 5px 10px 5px 10px;">
replace with
Quote<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>';
echo '
then the Triton11/MessageIndex.template.php, find
Quote<td class="windowbg2">
and replace with
Quote<td class="windowbg2">';
if (!empty($board['image']))
echo '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';
echo '
That's all.
Handy Mod.
Thanks
Excellent Mod - Well Done & Thanks
Jezzb
Many,many thanks for this mod.. :) :) :) You can really dress up a sometimes bored and lifeless default theme with this..
We need more mods like this, that will work with default template, that will address the " how it looks "
again thank you very much
Ron
Thanks a lot JohnyB ! Awesome mod :D
It did take me some good minutes to figure it out what to edit and where (on Dilber MC) but it works out now. ;D
Here's an idea - instead of the image being beside the board name - shift it to the left and replace the SMF image logo.
The default SMF logos in a vertical row do not look the best.
Nugget
Quote from: Nugget on June 25, 2008, 02:59:10 PM
Here's an idea - instead of the image being beside the board name - shift it to the left and replace the SMF image logo.
The default SMF logos in a vertical row do not look the best.
Nugget
What are you talking about ? What SMF image logo ? :-\ (sorry but I'm a little bit confused :P )
Quote from: Nugget on June 25, 2008, 02:59:10 PM
Here's an idea - instead of the image being beside the board name - shift it to the left and replace the SMF image logo.
The default SMF logos in a vertical row do not look the best.
Nugget
Try this:
http://www.simplemachines.org/community/index.php?topic=126263.0
Bye,
PS
@FerociousSM
Do you still need assistance?
@Gary1953, jezzb, keyboard
Thanks a bunch for trying/using this mod. :)
@Relyana
That's great! You found out that this mod is not hard to install manually. Congratz!
@nugget.
CrazyHorse80 is correct. There's a mod for altering board icons already. It is called "Custom Board Icon" or CBI in short. :)
Hi, help me anybody with BlueAce theme? - attach
It´s a perfekt mod and I don't know how modificated this theme :-[
Pls. I am sad... :-\ O:)
THX ;) :)
Hey JohnyB,
Could you edit these for me? I tried doing it manually but failed utterly everytime. I really appreciate any help, even if you just point me to a guide.
Thanks :D
EDIT: PS> JohnyB - I would also like your Avatar on Board mod implemented too if possible. Thanks
@MaxiPes.
Upload your BoardIndex.template.php and MessageIndex.template.php.
@7earitup.
I will get back to you with your files. Remind me about the AvatarOnBoard here (http://www.simplemachines.org/community/index.php?topic=223656.220)
2 JohnyB it is in attach :) THX ;)
Quote from: MaxiPes on June 27, 2008, 01:45:41 AM
2 JohnyB it is in attach :) THX ;)
Ok MaxiPes, I'll look at them later. I'll get back to you.
Quote from: JohnyB on June 27, 2008, 01:49:14 AM
Ok MaxiPes, I'll look at them later. I'll get back to you.
THX JohnyB ;) :)
@MaxiPes.
Here's your BoardIndex.template.php and MessageIndex.template.php. Install the mod first before using them. Make a back up the original ones.
@7earitup.
I am adding the AvatarOnBoard as well so it is taking me a while. What custom theme are you using?
hey JohnyB can u please help me too?
i tried doing it myself and here's what happened
http://www.simplemachines.org/community/index.php?topic=246644.0
Attach your BoardIndex.template.php. What custom theme are you using?
edit: Got it. I need the name of your theme to make sure.
@jpot5.
I can't do the edit for you if you won't tell me the name of the theme you are using.
dark fantasy
sorry for the late reply
Got it. Here's your BoardIndex.template.php jpot5. Thanks for using this mod.
thanks heaps that worked
@ JohnyB
The themes name is colatesi_v3. It is attached below. Alot of the stuff is in Turkish, which I have been converting to English so I can use it on my website at http://www.go-diaf.com/index.php?option=com_smf&Itemid=60
Thanks :D
Thanks JohnyB you are so nice, big big thanks.
Installations actions for "Images On Board":
Installing this package will perform the following actions:
Type Action Description
1. Execute Code ImagesOnBoardDB115.php
2. Extract Tree ./Themes/default/images/ImagesOnBoard
3. Execute Modification ./Sources/Subs-Boards.php Test successful
4. Execute Modification ./Sources/MessageIndex.php Test failed
5. Execute Modification ./Sources/BoardIndex.php Test successful
6. Execute Modification ./Sources/ManageBoards.php Test successful
7. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
8. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
9. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/shinyblue115/BoardIndex.template.php Skipping file
15. Execute Modification ./Themes/shinyblue115/MessageIndex.template.php Skipping file
16. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
17. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
18. Execute Modification ./Themes/default/languages/Modifications.spanish.php Test successful
19. Execute Modification ./Themes/default/languages/Modifications.turkish.php Skipping file
20. Execute Modification ./Themes/default/languages/Modifications.portuguese.php Skipping file
21. Execute Modification ./Themes/default/languages/Modifications.portuguese-utf8.php Skipping file
22. Execute Modification ./Themes/default/languages/Modifications.brazilian.php Skipping file
23. Execute Modification ./Themes/default/languages/Modifications.brazilian-utf8.php Skipping file
24. Execute Modification ./Themes/default/languages/Modifications.italian.php Skipping file
Using default theme
smf 1.1.5
@7earitup.
Ok, I just got the theme that you attached. I'll get back to you.
@runvs.
You can send me a copy of your default/MessageIndex.php before you install the mod. After I send it back to you, then install the mod.
<EDIT>
@7earitup
Sorry, I just did the imagesOnBoard for now. I tried to insert the AvatarOnBoard but I am having a hard time. Messy codes is to be blamed. I will try again next time. I'll let you know when it's done.
MessageIndex.template.php and BoardfIndex.template.php with imagesOnBoard mod attached.
</EDIT>
JohnyB,
I have manually installed the mod on the smfone_multicolour theme, smf 1.1.5
at www.secblitz.com and am getting this at the top of every forum page:
$txt['board_image'] = 'Name of image for this board:
Include file extension. (i.e. xx.gif)';
Can you please tell me what I have done wrong? Please
Hi secangel.
Open default/languages/Modifications.english.php and look for
?> tag. Move that tag at the very end of the file and must be on it's own line. Like this.
Quote$txt['board_image'] = '<b>Name of image for this board:</b><br />Include file extension. (i.e. xx.gif)';
?>
Quote from: JohnyB on June 27, 2008, 11:27:21 PM
Hi secangel.
Open default/languages/Modifications.english.php and look for ?> tag. Move that tag at the very end of the file and must be on it's own line. Like this.
Quote$txt['board_image'] = '<b>Name of image for this board:</b><br />Include file extension. (i.e. xx.gif)';
?>
Thank you! That fixed it... I have one more question though :)
It looks like it is still trying to pull all the images from:
Location: http://secblitz.com/Themes/smfone_multicolour/images/blue/off.gif
(I get this when I click on the board icon and select properties)
Have I missed something else?
Attach your BoardIndex.template.php and I'll check it for you. If you are using a custom theme, let me know the name/title of the theme too. Do you have your own images already?
Quote from: JohnyB on June 28, 2008, 12:31:46 AM
Attach your BoardIndex.template.php and I'll check it for you. If you are using a custom theme, let me know the name/title of the theme too. Do you have your own images already?
Sorry... dumb question coming up.
You want the BoardIndex.template.php from the custom theme I am using, rather than themes/default... right?
I am using the smfone_multicolour theme.
I do have the images :D and I am working on resizing/making transparent/renaming them...
Thank you
so much
Here is one of the 12 images I will be using. They will all be the same size.
If I understand correctly... I create a folder with my images named: ImagesOnBoard
and upload that to: Themes/default/images/
and not Themes/smfone_multicolour/images/
right? :-\
Again, thank you so much... I wish I had found you before I spent hours and hours trying to manually install it myself!
Do you have a donations account, where I can thank you properly?
Here's your edited smfone_multicolor/BoardIndex.template.php cecangel. Backup the original one, install the mod then use this. Thanks for using this mod. Do not forget to store your images in default/images/ImagesOnBoard folder.
Be a charter member or donate to SMF if you want. :)
It looks wonderful! You're the man! Thank you!
:( I tryed to install "Images on Board" in my SMF 1.1.5 and I get this error?
4. Execute Modification ./Sources/MessageIndex.php Test failed
Any help. I looks like a great mod.
2 JohnyB i am on holiday
Wen i come i will look at it.
THX very much ;)
Quote from: JohnyB on June 27, 2008, 07:31:03 PM
@runvs.
You can send me a copy of your default/MessageIndex.php before you install the mod. After I send it back to you, then install the mod.
ok
@MaxiPes
Enjoy your holiday! Come back soon. :D
@runvs
Here's your MessageIndex.php. Backup your old one. Use this before installation. Not after
Thank you much!! Do you have a website that gives a good selection of images I could use for this?
You are welcome. Just google crystal icons.
Quote from: JohnyB on June 27, 2008, 08:06:19 AM
@MaxiPes.
Here's your BoardIndex.template.php and MessageIndex.template.php. Install the mod first before using them. Make a back up the original ones.
Thank you!
but i have problem.
In admin settings is all OK:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmegaupload.cz%2Fmini%2F200%2Fyzl1.jpg&hash=55984ebe8d3ce24c980292719996b4192c71022f) (http://megaupload.cz/nahled/yzl1.jpg)
But there's no image before board name at BlueAce Theme :(
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmegaupload.cz%2Fmini%2F200%2FZeV2.jpg&hash=40676c0a99eee35de545d48b441b3599baa37c9d) (http://megaupload.cz/nahled/ZeV2.jpg)
Where is error? :-[ :-\
Install in others files is correctly :)
THX, THX, THX ...
EDIT:
i have already done it
THX! Very good mod :)
JohnyB can you install this mod on this 2 themes for me please?
Thank you =D
@MaxiPes
Not really hard isn't it? In BoardIndex.template.php, just look for
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'],
and stick the three lines of codes above that line.
Quoteif (!empty($board['image']))
echo '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';
echo '
@hitmandt
Ok, wait. I'll tell your which lines to find and where to stick the codes. I'll get back to you.
Quote from: MaxiPes on June 29, 2008, 09:45:25 AM
EDIT:
i have already done it
THX! Very good mod :)
;) THX THX THX :)
I know I know MaxiPes. :D I posted the three lines for other people who might be wondering how you did it.
I am not able to install it. The error:
Installations actions for "Images On Board":
Installing this package will perform the following actions:
Type Action Description
1. Execute Code ImagesOnBoardDB115.php
2. Extract Tree ./Themes/default/images/ImagesOnBoard
3. Execute Modification ./Sources/Subs-Boards.php Test successful
4. Execute Modification ./Sources/MessageIndex.php Test failed
5. Execute Modification ./Sources/BoardIndex.php Test successful
6. Execute Modification ./Sources/ManageBoards.php Test successful
7. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
8. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
9. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/shinyblue115/BoardIndex.template.php Skipping file
15. Execute Modification ./Themes/shinyblue115/MessageIndex.template.php Skipping file
16. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
17. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
18. Execute Modification ./Themes/default/languages/Modifications.spanish.php Test successful
19. Execute Modification ./Themes/default/languages/Modifications.turkish.php Skipping file
20. Execute Modification ./Themes/default/languages/Modifications.portuguese.php Skipping file
21. Execute Modification ./Themes/default/languages/Modifications.portuguese-utf8.php Skipping file
22. Execute Modification ./Themes/default/languages/Modifications.brazilian.php Skipping file
23. Execute Modification ./Themes/default/languages/Modifications.brazilian-utf8.php Skipping file
24. Execute Modification ./Themes/default/languages/Modifications.italian.php Skipping file
I'm using SMF 1.1.5 and the default core. It could be because of some mods I installed.
I attach my /Sources/MessageIndex.php. Can someone help me out, please? ;)
@stefano8663
Here's your edited MessageIndex.php. I edited already. Thanks for using this mod.
Johny, is a big THANK YOU enough? :D
Installed, now I just need to set it up. Thank you for developing this great mod and fixing my problem ;)
This mod is amazing!
Fórum looks (http://www.maxiforum.cz) terrific!!! :)
JohnyB is real Simple Machines Hero ...
THX again
This is a great Mod!!! Many Many Thanks
looks a top mod this mate....well done
i have attached my files for the Black Rain v.2 .......if you get time can you take a look and let me know where to put the code please
thanks
Dave
@ALL
Thanks a bunch guys for the good words. :)
@mr_fix_it
Try to edit your files first and if can't (don't know why) then get back to me. Here's how. Edit the BoardIndex.template.php. Find
echo '</a></td>
<td>
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
', $board['description'];
and replace.
echo '</a></td>
<td>';
if (!empty($board['image']))
echo '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';
echo '
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
', $board['description'];
Edit also your MessageIndex.template.php and look for
echo '</a>
</td>
<td class="windowbg2">
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
', $board['description'];
and replace.
echo '</a>
</td>
<td class="windowbg2">';
if (!empty($board['image']))
echo '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';
echo '
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
', $board['description'];
That's all.
For those who use other custom theme.
In your BoardIndex.template.php and MessageIndex.template.php, find
', $board['name']
and above that line where the ', $board['description'] is in, add
';
if (!empty($board['image']))
echo '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';
echo '
JohnyB
The last thing you say above works for me?
Good to hear/read became17. Did it also work on your other themes? (Outline and Outbreak).
thanks for getting back to me johny......i tried what you told me but it didn't seem to work mate :'(
Dave
Ok mr_fix_it. Here's your package that contains edited MessageIndex.template.php and BoardIndex.template.php. Have fun. :)
thanks for that johny but i still have a prob. when i try to install the mod it fails on ./Sources/MessageIndex.php. i have tried to manually add the code for this but to no avail. i have attached my Sources/MessageIndex.php file and if you could take a look for me when you get a bit of free time that would be great.
top work you do here mate
regards
Dave
Ok mr_fix_it. Fix it now. :) Here's your file back.
I always seem to screw these things up when I edit them, and end up having to restore from backup. Your help would be much appreciated.
This is from the XD-Zeda theme directory
@TheOmen
Here's your BoardIndex.template.php. I forgot about your MessageIndex.template.php. You can do it yourself I think. Find
<td class="row111" width="100%" height="50" align="left">
and replace with
<td class="row111" width="100%" height="50" align="left">';
if (!empty($board['image']))
echo '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';
echo '
Again, I need to edit the one in the Theme I am going to use correct? Not the one in the default theme folder?
Omen
The MessageIndex.template.php of Zelda theme.
gotcha, I uploaded the other file and it works. The reason for the message template edit?
Omen
Opps, forgot to thank you for the previous file, THANKS A BUNCH :D
It could be, yes. Now go and find some images. :) You're welcome.
Thanks working great, great addition to my forums ;D
Anybody got some before/after shots using this mod?
I'd like to see what boards looked like before/after the mod.
Thanks
Quote from: Mr_Lon on June 28, 2008, 08:46:19 AM
:( I tryed to install "Images on Board" in my SMF 1.1.5 and I get this error?
4. Execute Modification ./Sources/MessageIndex.php Test failed
Any help. I looks like a great mod.
Here is my MessageIndex.php
Thanks for any help that you can give me.....
@Omen
Thanks for using this mod.
@Fat_Man
I don't have the images handy. Maybe next time.
@Mr_Lon
Here's your BoardIndex.php. Use this file before the installation not after the installation.
hi, i cant seem to make any new boards now, it just hangs in my admin area after installing this mod, i have tried uninstalling the mod and manually made sure all the code was gone from the different files and now sometimes i get this error:
Database Error: Field 'img_filename' doesn't have a default value
File: D:\home\Default\houseexchangewanted.co.uk\htdocs\forums\Sources\Subs-Boards.php
Line: 1100
please help :)
Just wanted to say - great Mod!! I had a great time adding the pics - and it was all soooooo simple!
Thanks!
Quote from: baz.g on July 08, 2008, 01:15:59 AM
hi, i cant seem to make any new boards now, it just hangs in my admin area after installing this mod, i have tried uninstalling the mod and manually made sure all the code was gone from the different files and now sometimes i get this error:
Database Error: Field 'img_filename' doesn't have a default value
File: D:\home\Default\houseexchangewanted.co.uk\htdocs\forums\Sources\Subs-Boards.php
Line: 1100
please help :)
You have to delete any instances of img_filename in the Sources/Subs-Boards.php. Find and delete
if (isset($boardOptions['img_filename']))
$boardUpdates[] = 'img_filename = \'' . $boardOptions['img_filename'] . '\'';
b.img_filename,
'image' => $row['img_filename'],
@NYChamps
Thanks for using this mod and for the kind words.
Quote from: JohnyB on July 08, 2008, 04:17:17 AM
Quote from: baz.g on July 08, 2008, 01:15:59 AM
hi, i cant seem to make any new boards now, it just hangs in my admin area after installing this mod, i have tried uninstalling the mod and manually made sure all the code was gone from the different files and now sometimes i get this error:
Database Error: Field 'img_filename' doesn't have a default value
File: D:\home\Default\houseexchangewanted.co.uk\htdocs\forums\Sources\Subs-Boards.php
Line: 1100
please help :)
You have to delete any instances of img_filename in the Sources/Subs-Boards.php. Find and delete
if (isset($boardOptions['img_filename']))
$boardUpdates[] = 'img_filename = \'' . $boardOptions['img_filename'] . '\'';
b.img_filename,
'image' => $row['img_filename'],
@NYChamps
Thanks for using this mod and for the kind words.
There isnt a single trace of img_filename or img or filename in sources/subs-boards.php
i didnt actually want to uninstall this mod but it wouldnt let me add new boards, and still wont after uninstalling :(
EDIT:
i have tried reinstalling the mod, i can modify any exisiting board to include an image or have that field blank. but i still cannot add new boards, the transaction either hangs or i get that same error as above. :(
Use your phpMyAdmin (MySQL) control panel and drop the img_filename column from smf_boards table then.
ok, will have to go down that route, has nobody else had this problem? everybody else can still add new boards after installing this mod?
@baz.g
This is a comment/support thread. If you can help, I would appreciate it. If you have suggestion, I will listen. If the mod doesn't work for you, uninstall it.
thats what i am trying to do mate, thats why i asked if anybody else had had this problem, i have uninstalled it and am waiting for phpmyadmin access from my host. i liked the mod but the fact that i could not make any new boards after installing it was a big problem. i was just trying to find out if anybody else had had the problem and whether it was a known bug or whether there was a known cure.
i will let you know whether i was successful after gaining phpmyadmin access
This mod was tested and found to be safe to use. It looks like there's problem with your database. Perform maintenance such as "Find and repair any errors." It might help.
If you think this mod is not safe, report it. Other customizers will look at the mod and will pull the mod out of the download site if it is truly unsafe.
i was not suggesting it is unsafe, nor wish to report it, i was trying to help. i have optimised the tables, there are no errors, i have now had the tale removed from phpmyadmin, and i can add new boards again.
Thank you
Hi!
I have installed this mod and is fantastic :)
Thank for your work :)
PS: i have edit alt attribute (alt="$boardname" instead of alt="*") and now image is click able ;)
One questions: because you have used alt="*" ???
@baz.g
Good to hear your issue is resolved. AFAIK, this mod if properly installed will not cause any problem.
@Dark-Worf
Instead of using alt="" (null), I used alt="*". Al least there's asterisk (*) in place of a missing image if there's a mistake.
Anyone who uses this mod is welcome to modify the mod for their own use. Thanks for the kind words and thanks for using this mod.
Thank'u too :)
PS i have changed like this:
if (!empty($board['image']))
echo '<div style="float:left; margin-right: 4px;"><a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" title="', $board['name'], '" /></a></div>';
You can see results here: http://darkwolf.altervista.org/forum/ 8)
Looking good Dark-Wolf. Your tip might be beneficial to others. Thanks.
OK! :)
Now i go to sleep :D
plis help me, my BoardIndex.php has a problem. This is my php..
help meeee..
thx for the support
@Dark-Wolf
Sleep tight. :)
@apa yak??
What a name ha. :) Here's your edited BoardIndex.template.php.
Thanks for using this mod.
EDIT
ack! Sorry apa yak?? One of those days. Can you check if this is the right one for you? I am mixed up now :P
/EDIT
@ johny b..
after get the edited BoardIndex, i just copy it.
but i still hav an error with my BoardIndex.template.php >:(
what should i do??
:'(
Great Mod!
Install was a breeze with absolutely no issues using SMF 2.0.
Is there a way to have the graphic display to the left of the board category/name where the default smf icon is???
@apa yak??
What error are you getting? Is it related to this mod?
@southeastsportsforum.com
If you'll do that, your logged-in members will not know if there are new posts. Try this mod instead.
http://custom.simplemachines.org/mods/index.php?mod=511
yes, i think.. this is my printed screen when i install the mod..
still don't know what to do.. :'(
Go ahead with the installation and use this BoardIndex.template.php that I attached. Use this file after the installation and not before.
it works!!!!!
finally... thx JohnyB for the support..^^ what a great mod..
bravo!!!
but, why it doesn't work on childboard??
Hey Johnny b,
Is there a site that we are able to get more images for our board, or where did you find images for these boards at all. please let us know.
By the way , what a great mod you have completed
@apa yak?? It should work on childboards as well.
@chrisb Thanks. Eliana posted a link. You can visit the link and see if they have what you are looking for.
Quote from: Eliana Tamerin on July 13, 2008, 12:42:54 PM
http://search.creativecommons.org/
Good mod. Very Thanks :P
Thanks Neipol. ;)
Hey Johny.
I like this mod, but it was not what i was looking for. I have searched and this was the closest mod to what i want. Is it possible to write a mod that adds a picture in the Board Category far to the left? instead of adding it to the board at the right?
Here is a screenshot: http://bildr.no/view/230457
Hey JohnyB,
First I want to say "Thanks" for a great MOD!
I was able to successfully modify my theme and get the MOD to work, but just one little issue...
The image displays "under" the board name, instead of on the left! What can I do to fix this and display on the left?
My code in BoardIndex.template.php is as below:
<td class="windowbg2" style="padding-top:12px; padding-bottom:12px;">
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b> <a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a><br />
', $board['description'];
if (!empty($board['image']))
echo '
<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';
Thanks in advance! :)
Update:
I see that the image code needs to come before the board title code, but when I do this I get a Parse Error: :(
Parse error: parse error, unexpected '<' in .../Themes/Dilber_Blue/BoardIndex.template.php on line 158
149: <td class="windowbg2" style="padding-top:12px; padding-bottom:12px;">';
150:
151: if (!empty($board['image']))
152:
153: echo '
154: <div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';
155:
156:
157:
158: <b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b> <a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a><br />
159: ', $board['description'];
Please help, this is driving me crazy! :'(
@Kim Arne
Sorry Kim, you can request that as a mod in the mod request board.
@PocketChange
Try this instead.
<td class="windowbg2" style="padding-top:12px; padding-bottom:12px;">';
if (!empty($board['image']))
echo '
<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';
echo '
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b> <a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a><br />
', $board['description'];
Quote from: JohnyB on July 25, 2008, 08:10:20 PM
@Kim Arne
Sorry Kim, you can request that as a mod in the mod request board.
@PocketChange
Try this instead.
<td class="windowbg2" style="padding-top:12px; padding-bottom:12px;">';
if (!empty($board['image']))
echo '
<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';
echo '
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b> <a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a><br />
', $board['description'];
JohnyB, you are the man! :) Worked like a charm!
Thank you very much for your fast help, and a great MOD! 8)
Is it possible to have the image act as a hyperlink? I want to use board sponsors and have the image link to their web sites.
Thanks.
Gerry
i try to put an image on the board in my forum using your mods, but i have some problems :
1. im not using the supported themes (i forgot the theme thats used and i lost its installation)
2. when i try to install, this thing show up :
Quote
1. Execute Code ImagesOnBoardDB115.php
2. Extract Tree ./Themes/default/images/ImagesOnBoard
3. Execute Modification ./Sources/Subs-Boards.php Test failed
4. Execute Modification ./Sources/MessageIndex.php Test successful
5. Execute Modification ./Sources/BoardIndex.php Test successful
6. Execute Modification ./Sources/ManageBoards.php Test successful
7. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
8. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
9. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/shinyblue115/BoardIndex.template.php Skipping file
15. Execute Modification ./Themes/shinyblue115/MessageIndex.template.php Skipping file
16. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
17. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful
18. Execute Modification ./Themes/default/languages/Modifications.spanish.php Skipping file
19. Execute Modification ./Themes/default/languages/Modifications.turkish.php Skipping file
20. Execute Modification ./Themes/default/languages/Modifications.portuguese.php Skipping file
21. Execute Modification ./Themes/default/languages/Modifications.portuguese-utf8.php Skipping file
22. Execute Modification ./Themes/default/languages/Modifications.brazilian.php Skipping file
23. Execute Modification ./Themes/default/languages/Modifications.brazilian-utf8.php Skipping file
24. Execute Modification ./Themes/default/languages/Modifications.italian.php Skipping file
would like to help me :-[
;)
Quote from: pheasant_plucker on July 28, 2008, 06:55:13 AM
Is it possible to have the image act as a hyperlink? I want to use board sponsors and have the image link to their web sites.
Thanks.
Gerry
I've just done this today, I can now link the images to other pages and I have integrated it in to the Admin panel too.
This is a great mod you should consider adding this feature to it.
Gerry
@PocketChange
You're welcome. 8)
@mitochondria
You can attach your Sources/Subs-Boards.php and I'll edit it for you.
@pheasant_plucker
How did you do it? I can add another field for the link. It will be different link for each image then we'll call this mod AdsOnBoard. :D
If I will do it, additional language string will be gone.
I went through and modified each file in turn and added a database field manually. I'm a bit tied up at the moment but when I get chance I'll add all the changes to the mod and send you a copy if you wish.
Basically though I went through and duplicated every line you had img_filename in but used image_link instead.
I created a column after img_filename in the database called image_link
I added the following to manageboards.template <tr>
<td>
', $txt['board_link'] , '
</td>
<td valign="top" align="right">
<input type="text" name="image_link" value="', $context['board']['image_link'], '" size="30" />
</td>
</tr>
I changed messageindex.template and boardindex.template to show the link
echo '<div style="float:left; margin-right: 4px;"><a href="'.$board['image_link'].'"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="" /></a></div>';
added this to modifications.english
$txt['board_link'] = '<b>Hyperlink for this board Image:</b><br />Must Include http://';
Gerry
Thanks. That's the way I did it. :) The update is ready. I will uplad it now.
EDIT:
Images On Board 1.1
- This mod will add images on the board.
- You can add external link for the image. The default (empty) is board link.
- When editing or creating a board, enter the filename of the image for that board including the filename extension.
- There will be only one image folder for all themes used.
- The default location for all images is Themes/default/images/ImagesOnBoard folder.
- The dimension of images displayed will depend on the size of your images.
Supported Themes
- Default Core
- babylon
- classic
- shinyblue
Supported languagesNote:
- Need language translation again because of the additional language string.
Quote from: JohnyB on July 29, 2008, 03:16:49 AM
@mitochondria
You can attach your Sources/Subs-Boards.php and I'll edit it for you.
here's... :)
Here's your file. Use this before you install the mod. Let me know how it goes.
thx bro...ill try it :)
Sweet! A great MOD just got better... :) Adding this into my theme now.
Thanks Pheasant_Plucker & JohnyB! Nice work... ;)
No problem, I take no credit for this Mod whatsoever I just wanted the images with hyperlink functionality. Non of which would have been possible without the superb work of JohnyB
Gerry
Quote from: JohnyB on July 29, 2008, 05:23:31 AM
Here's your file. Use this before you install the mod. Let me know how it goes.
now im installing mods without problems. But when i put an image, its not show up at the board forum using my theme..... :-[
;)
i am using smf 1.1.5(upgraded from 1.1.4) when i try to install this mod , i am getting following error
!!Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Installation Readme
Author: JohnyB Mod Name: ImagesOnBoard Version: 1.1
Tested: Freshly installed SMF 1.1.5 and SMF 2.0 Beta 3.1 Public
--------------------------------------------------------------------------------
This will install ImagesOnBoard mod version 1.1
Images On Board 1.1
This mod will add images on the board.
You can add external link for the image. The default (empty) is board link.
When editing or creating a board, enter the filename of the image for that board including the filename extension.
There will be only one image folder for all themes used.
The default location for all images is Themes/default/images/ImagesOnBoard folder.
The dimension of images displayed will depend on the size of your images.
Supported Themes
Default Core
babylon
classic
shinyblue
Supported languages
English
english-utf8
Note:
Need language translation again because of the additional language string.
Install Actions
Installations actions for "Images On Board":
Installing this package will perform the following actions: Type Action Description
1. Execute Code ImagesOnBoardDB115.php
2. Extract Tree ./Themes/default/images/ImagesOnBoard
3. Execute Modification ./Sources/Subs-Boards.php Test successful
4. Execute Modification ./Sources/MessageIndex.php Test failed
5. Execute Modification ./Sources/BoardIndex.php Test successful
6. Execute Modification ./Sources/ManageBoards.php Test successful
7. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
8. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
9. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/shinyblue115/BoardIndex.template.php Skipping file
15. Execute Modification ./Themes/shinyblue115/MessageIndex.template.php Skipping file
16. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
17. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful
Any help appriciated
@pheasant_plucker
Thanks for the suggestion. It's cool.
@mitochondria
You have to edit your custom BoardIndex.template.php to show the images. Which theme are you using?
@katb
There might be other mod that altered your Sources/MessageIndex.php. If you know how to edit files, Use the built-in parser and do the edit manually. If you have problem doing it, attach the file in question and I'll see what I can do.
Quote from: JohnyB on July 30, 2008, 05:41:21 PM
@mitochondria
You have to edit your custom BoardIndex.template.php to show the images. Which theme are you using?
i forget the real name of the theme (the name has been changed) and also i lost the its intallation file. Can you edit the BoardIndex.template.php of my theme. Ill send it to you
;)
Quote from: mitochondria on July 30, 2008, 10:55:14 PM
Quote from: JohnyB on July 30, 2008, 05:41:21 PM
@mitochondria
You have to edit your custom BoardIndex.template.php to show the images. Which theme are you using?
i forget the real name of the theme (the name has been changed) and also i lost the its intallation file. Can you edit the BoardIndex.template.php of my theme. Ill send it to you
;)
Here you go Mate - Try this one. Make sure you Back your Originals and then replace with this one . Lets see if this one works ..
good luck
Quote from: JohnyB on July 30, 2008, 05:41:21 PM
@katb
There might be other mod that altered your Sources/MessageIndex.php. If you know how to edit files, Use the built-in parser and do the edit manually. If you have problem doing it, attach the file in question and I'll see what I can do.
I am attaching messageIndex.php file, can you please have a look ..Thanks for your suggestions
You attached MessageIndex.template,php. It's the Sources/Message.php that failed the test.
Quote from: jayc7176 on July 31, 2008, 12:27:25 AM
Here you go Mate - Try this one. Make sure you Back your Originals and then replace with this one . Lets see if this one works ..
good luck
wow...it works.... very thx bro ;D
;)
Quote from: JohnyB on July 31, 2008, 02:15:05 AM
You attached MessageIndex.template,php. It's the Sources/Message.php that failed the test.
Thanks for your reply i am attaching the correct files
ie; ./Sources/MessageIndex.php
Here's your file katb. Use it after installing the mod.
Thanks JohnyB , iw will try this and let you know.
Quote from: JohnyB on August 01, 2008, 01:23:18 AM
Here's your file katb. Use it after installing the mod.
:) Thanks JohnyB it work like a charm!! Great mod and support!!
@katb
No problem. Thanks too.
@TorstenE
I thank you for the German translation. 8)
Hello JohnyB,
I installed the Images On Board modification today and got the following error. I have attached the file for you to look at.
I look forward to to using this great modification. :D
1. Execute Code ImagesOnBoardDB115.php
2. Extract Tree ./Themes/default/images/ImagesOnBoard
3. Execute Modification ./Sources/Subs-Boards.php Test failed
4. Execute Modification ./Sources/MessageIndex.php Test successful
5. Execute Modification ./Sources/BoardIndex.php Test successful
6. Execute Modification ./Sources/ManageBoards.php Test successful
7. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
8. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
9. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/shinyblue115/BoardIndex.template.php Skipping file
15. Execute Modification ./Themes/shinyblue115/MessageIndex.template.php Skipping file
16. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
17. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful
18. Execute Modification ./Themes/default/languages/Modifications.german.php Skipping file
Here Fat_Man. Use this file before installation so you can uninstall the mod if you decide not to use it.
Nice mod, but did you know, that you can do this just by putting a html image code in the board title? I guess this way, its shorter
Quote from: God Of Mana on August 05, 2008, 04:15:29 PM
Nice mod, but did you know, that you can do this just by putting a html image code in the board title? I guess this way, its shorter
Thanks. No, I didn't know. I also can't do it. Can you share us how you did it or how to do it? It is a good alternative if you are correct.
Quote from: mitochondria on July 31, 2008, 05:40:53 PM
Quote from: jayc7176 on July 31, 2008, 12:27:25 AM
Here you go Mate - Try this one. Make sure you Back your Originals and then replace with this one . Lets see if this one works ..
good luck
wow...it works.... very thx bro ;D
;)
No Problem Mate :) Glad you got it working..
Thanks for your help jayc7176. I apreciate it. I appreciate it.
Anytime Johnny! your welcome :)
This is my fav Mod, so i am glad to help out and make sure everyone else also gets to enjoy it :)
i ve been rocking this mod on my forum for some time now:)
your dang good coder for a 4yr old {LoL}
I love this mod...we used it on our first site, makes the board look sharp
But for some reason I can't make it work with Mesh...tried the fix posted for Triton (without the padding) but no luck
Any suggestions?
Thanks again...wonderful mod!
Heh JohnyB
I can not get the picture to show at all. I have installed the php file you gave me.
There is a stop.png file in the /ImageOnBoard folder that I'm using to test with.
Name of image for this board: stop.png
Link for the above image:http://www.myurl.com/forum/Themes/default/images/ImagesOnBoard
Any ideas whats wrong?
Thanks :)
@digiwinch and Fat_Man
Attach your Boardindex.template.php.
BoardIndex attach JohnyB.
Thanks.
@Fat_Man
Here's your BoardIndex.template.php. Let me know if there's an error.
Quote from: JohnyB on August 07, 2008, 08:54:41 AM
@Fat_Man
Here's your BoardIndex.template.php. Let me know if there's an error.
No errors my friend, just smiles! ;D
Thank you very much - very much appreciated JohnyB.
Keep up the great work.
Hello JohnyB
I spoke a little to soon. If I use the stop.png supplied, everything is okay, but if I try and put a file in the ImagesOnBoard folder it won't let me. (file as in another png)
The permissions for the folder is set to 755.
Any ideas whats going on?
Thanks.
Just to update this problem:
If I try and use another folder in the "Link for the above image:", the folder path URL appears where the image should be.
______
FATMAN
@digiwench
Attach the BoardIndex.template.php of your theme.
@Fat_Man
Just upload your image files in ImagesOnBoard folder and then edit your Boards and enter the filename of your images. If you still require assistance, PM me temporary admin access to your forum.
I am using the theme called silent wave. Can you tell me the edits for it please, I tried to do it, but didnt run quite successful. The field appeared up in the creation/modification of the boards.. but when i add in the image link or the direct link from the forum, it doesnt appear up... maybe that where the manual edits are necessary...
Can you let me know about the edits please?
thank you.
i actually did the theme edits.. but dunno if its all right.. anyways.. what the prob is.. as i add in the image url it doesnt appear up.. and when i add in the direct image name... the text just comes up double.. (just the main board name.) see the image...
Can you let me know the solution please.. Thank you.
Post a link to your forum please. I don't know what is going on.
http://goldysun.com is the forum URL.
See the -| World News |- board which would appear when you arnt registered yet.
The image is taken from the directory and shown up there, but the image which is given in the url box, doesnt appear up. Is there some specific extention which i needed for it to appear ? I use http://imageshack.us for uploading/hosting images. and the image doesnt appear up if entered the URL.
The problem is not that the image doesnt appear up, the problem is that if there is some text written in the box where it says the url or the *.gif file the topic name appears up double. I think it maybe a bug which should be solved i think.
Another bug i suppose is that.. when entered in both the fields, the URL link text appears up normally just before the board. I think if it catches the 1st image from the folder, it takes the lin as normal text in the URL box. I think it shouldnt accept the URL when the direct file path is given. That is kind of noobish, but people would like to keep both of them, if one of them trips down, just as a backup plan or something.
Please check it. Thank you.
The textbox (Name of image for this board:) is only for filename of image that is stored in default/images/ImagesOnBoard folder. You can't use url here. It is not designed that way.
The link (Link for the above image:) is yes, use url to link the above image.
I am having 4 errors in the forum error log due to this mod... it says..
8: Undefined index: board_image
File: /home/actionen/public_html/goldysun/Themes/default/ManageBoards.template.php (eval?)
Line: 327
8: Undefined index: board_img_link_desc
File: /home/actionen/public_html/goldysun/Themes/default/ManageBoards.template.php (eval?)
Line: 336
8: Undefined index: board_img_link
File: /home/actionen/public_html/goldysun/Themes/default/ManageBoards.template.php (eval?)
Line: 335
8: Undefined index: board_image_desc
File: /home/actionen/public_html/goldysun/Themes/default/ManageBoards.template.php (eval?)
Line: 328
I think i know what the problem is. In the boards which we create or modify, I dont see the text which says "enter URL of the image" or "Enter path of the image".
Please let me know what to do.
Open your default/languages/Modifications.{language}.php and add these lines at the very bottom before the ?> tag.
$txt['board_image'] = 'Name of image for this board';
$txt['board_image_desc'] = 'Include file extension. (i.e. xx.gif)';
$txt['board_img_link'] = 'Link for the above image';
$txt['board_img_link_desc'] = '(i.e. http://www.simplemachines.org)';
worked thanks.
Will you be making this compatible with Dilber theme? I thought I could change it manually but well can't figure it out.
I've attached my BoardIndex and MessageIndex.php files.
I must say you have to be the nicest person on here, I looked through all the posts hoping to find a Dilber fix and saw how helpful you are to everyone.
@F.L.A.M.E.R
You are welcome. Is everything ok now?
MadVelvet
We are here to help. :) I'll get back to you with your files.
yep.. currently all fine... probably i wouldnt get any errors in future...
hi johnyB :D
i get this when i try and upload the mod
Type Action Description
1. Execute Code ImagesOnBoardDB115.php
2. Extract Tree ./Themes/default/images/ImagesOnBoard
3. Execute Modification ./Sources/Subs-Boards.php Test successful
4. Execute Modification ./Sources/MessageIndex.php Test failed
is there anyway you're mod will work with our board matey we are using Gothic_Rose theme 8)
cool mod again man!
good job.Thanks :)
@F.L.A.M.E.R
Cool. Good to hear.
@robbie
Attach your MessageIndex.template.php.
Thank you too Nicholas for using/trying this mod.
hi johny ;D
heres my messageIndex.php
Hi JohnyB. Sorry for the delay. Update for Turkish translation:
$txt['board_image'] = 'Bu bölüm için resim ismi';
$txt['board_image_desc'] = 'Dosya uzanstısınıda ekleyin. (örn. xx.gif)';
$txt['board_img_link'] = 'Yukarıdaki resim için link';
$txt['board_img_link_desc'] = '(örn. http://www.simplemachines.org)';
@robbie
Here's your MessageIndex.php. Use this file before installation.
Yağız
Thank you for the language translation. I will update the package now.
hi johny :D
there's no attachment in the last post :D
Awww mannn. how can I forget! haha Sorry, I really forgot. Here it is. :)
thank you so much JohnyB :D you are a legend man ;D I love this guys mods ;D
LOL, your reply occupied my whole screen. LMHO
hehe :D cool mod johny thanks for you're help :D hehe
Thanks JohnyB for this great mod! It's just what i was wanting - except it has made me waste untold hours looking for the perfect icons for my boards.
Yeah, that's the hard part. To find suitable icons for your boards.
You're welcome guys and thank you too.
Hi JohnyB, this looks like a great mod, do you know what I have to do to get it working with the PSP theme? Thanks.
@jimbo007
You can manually install the mod by using SMF Parser - ImagesOnBoard (http://custom.simplemachines.org/mods/index.php?action=parse;mod=1266;attach=65399;smf_version=1.1.5).
JohnyB,
I also get the the Following error on install with ver 1.1.5 Default theme:
4. Execute Modification ./Sources/MessageIndex.php Test failed
Can you fix for me, too?
TNX
ddarrell
Quote from: JohnyB on August 25, 2008, 07:52:33 PM
@jimbo007
You can manually install the mod by using SMF Parser - ImagesOnBoard (http://custom.simplemachines.org/mods/index.php?action=parse;mod=1266;attach=65399;smf_version=1.1.5).
Thanks JonnyB, I actually managed to get it working before you replied but I'll take a look at that as you probably have a better way of doing it. Brilliant mod by the way, my forum doesn't look as boring anymore :) :)
@ddarrell
Attach the file that failed the test so helpful people can look at it if I am not around.
@jimbo007
hehe I encourage all new admins to do the manual edit theirselves. Admins should learn how to do it. Glad to know you did it. 8)
Thanks for looking at it, JohnyB :)
--attached file.
Here ya go ddarrell. Use this file before installation. NOT after. Backup your old file, upload this file then install the mod. Good luck!
:D :D :D
Thanks a bunch, JohnyB, worked and installed perfectly!!
You Da Man!!
best regards,
ddarrell
:D :D :D
Hiya again Johny! I'm just loving your mods! So far I've been installing mods pretty well (sometimes)
anyways, I installed this one and as you might remember I'm using the Fire theme... I tried to install and I can't find the lines for me to replace/add.. I started with my BoardIndex.template.php...
I was using the codes for default theme... can't find nada
So if you have the time could you please check them out for me? Let me know where to start! I really did try. It's not as hard as I thought but this one has me stumped!
oh as for the image folder, should I be placing it in my fire theme directory or leave in default? because I get and error trying to upload a gif to the default folder here it is
QuoteWarning: ftp_put() [function.ftp-put]: /httpdocs/Themes/default/images/ImagesOnBoard/iphone.gif: Permission denied in /var/www/vhosts/filemanager3.freepgs.com/httpdocs/includes/filesystem.inc.php on line 1283
icon
Another thing.. I do have the options available under modify boards
Thanks!
Johny you might kill me :o.. But I decided to change themes completely. Now I'm using
Dilber MC.
Same thing happens though... I'm thinking another mod? Well it looks like you might of downloaded one of the files & are over there trying to check things out... :o So sorry about that.
I have attached the same 2 files but from
Dilber MC. I did not install your mod to this theme so I hope that's ok. I hope this hasn't inconvenienced you. You can take as long as you like. My site is FAR from opening. Just wanted to have all things set into place before I do.
Here are the mods I have installed in case you need to check that out.
QuoteMod Name Version
1. Advanced Login Form 1.0 [ Uninstall ] [ List Files ] [ Delete ]
2. Auto Email Inactive Users 1.7 [ Uninstall ] [ List Files ] [ Delete ]
3. Lots_o_Smileys 1.0 [ Uninstall ] [ List Files ] [ Delete ]
4. AvatarSelect 1.1.2 [ Uninstall ] [ List Files ] [ Delete ]
5. AvatarOnBoard 2.0 [ Uninstall ] [ List Files ] [ Delete ]
6. Mood Stars 2.0 [ Uninstall ] [ List Files ] [ Delete ]
7. YouTube BBCode 2.3 [ Uninstall ] [ List Files ] [ Delete ]
8. nCode Image Resizer 1.0 [ Uninstall ] [ List Files ] [ Delete ]
9. Reason For Editing Mod 1.14 [ Uninstall ] [ List Files ] [ Delete ]
10. Simple ImageShack 2.0.3 [ Uninstall ] [ List Files ] [ Delete ]
11. Images On Board 1.1 [ Apply Mod ] [ List Files ] [ Delete ]
12. Profil Moderator Managment 1.0.0 [ Uninstall ] [ List Files ] [ Delete ]
13. Registered Links 1.0 [ Uninstall ] [ List Files ] [ Delete ]
14. Allowed Groups Embedded Flash 1.2.3 [ Uninstall ] [ List Files ] [ Delete ]
15. Look But No Read 1.1 [ Apply Mod ] [ List Files ] [ Delete ]
Thanks! Again NO RUSH!
linette97
Make up your mind 'cause I don't have all the time in the world. :) The folder ImageOnBoard should be inside default/images folder. (i.e. Themes/default/images/ImagesOnBoard).
Sorry about that Johny :(. Well, I'm 37 yrs old so, My time is limited as well.. say if everything goes right I have about a good 40-50 years left LOL ;D! I just was having so many issues with that fire theme. Like I said whenever you DO have the time it's just fine with me. I know you are busy with all this mod stuff and that's not including your personal life! So no rush, remember, I'll be here another 40-50 years I can wait! ;)
Now I'm using Bethesna Theme . Can i use "Image On Board" on Bethesna Theme . How to use it !
@linette97
Here are your edited files.
@chitlar
Install the mod and edit your theme's BoardIndex.template.php and MessgeIndex.temlate.php. I't not hard.
Ok Johny! Thanks! I've downloaded Notepad++ to help me with all this editing stuff! I will do this tomorrow and let you know how things went! THANKS again!
Hi!
This MOD doesn't work with the beta 4... :(
I'll update this first then.
I've tried and Tried, but I can't quite fathom the code - I'm not proficient enough in PHP.
Every time I try appending the code from the 3rd/4th (and from several of your other examples done for others) I get some strange message that it cannot load my index.php because of a ' or / in the wrong place or something. I'm stumped after trying for a few days.
My theme is 7dana, i think it's not your usual theme, perhaps explains why the code doesnt work? Not sure.
Anyway I'm attaching the BoardIndex and MessageIndex ....
simply because I'd love to have this installed on my forum and I'm stumped - I've managed to manually add a bunch of other mods, just stumped with this one.
I'll see what I can do. Bit busy because of mods update so, it might take a while.
<edit>
SlipperyDuck
I can't find your theme. I can'r make changes withour a copy of your theme.
</edit>
JohnyB,
I can't seem to upload images to the ImagesOnBoard folder using my FTP client. I tried two different ones and also tried to change mod the file permissions to 777 and it would not accept. It seems to be stuck on 755. I also tried to change it in my control panel and it also would not accept the change to 777.
I was wondering if this has to do with something on my server hosting or is it something that I can resolve easily?
I am missing something here and can't figure what it is. I was trying to upload images to the directory through FTP.
Thanks a lot for all your help.
Talk to your host. Maybe they don't want you to upload anything.
Quote from: JohnyB on September 13, 2008, 06:21:12 PM
Talk to your host. Maybe they don't want you to upload anything.
I will do that.
What is strange is I am able to upload everything into every directory except that ImagesOnBoard directory.
Problem with 2.0 beta 4
Seemed to install OK, but would not work?
I uninstalled the mod and the config for the boards is messed up
have a look at the attached pic
Sorted
I uninstalled all mods
copied over
ManageBoards.template.php
ManageSettings.english.php
reinstalled the mods and everything is back to normal
Hi JohnyB :)
Good mod mate, cheers for sharing.
My custom theme has two settings, to show the boards normal, and to show them as tabs.
I have figured out how to make this visible when you select to view as tabs, but cannot figure out how to add the images to the normal structure.
I end up with my structure all over the place lol
Could you take a look at my template please?
I have removed the code from the first instance(normal view), but have left it where the tab view is, so you can see what Im talking about.
Thank You in advance :)
Hi Sabre. I'll get back to you.
Yea cool.
Thanks mate :)
Try this copy Sabre.
Brilliant mate!
Works perfect! :D
Thanks for that Johny :)
np mate. Thanks too.
Hi Jonny,
Phew been busy too, I don't expect a fast response, but I'd really apreciate help.
Your Mod seems aweseome and I'd love to have it work on my site so I've attached the Theme.
Was from:
http://www.7dana.com/download/pafiledb.php?action=file&id=48
I inherited this forum/community from someone, so the theme was not my choice, so I have to adapt to it as it is almost a brandname - the theme colours etc.
Anyways, take your time, I'm sure you have more important things to deal with ;)
Jonny,
I have one doubt , how can i link a image inside my forum folder...in your example you are give a url link image..i mean http://somesite.com/image.jpg . My question is how can i specify if image is uploaded under my forum..is it possible to give a absolute or relative path like /forum/default/boardonimage/imgae.jpg or
forum/default/boardonimage/imgae.jpg . Because if i specift image as url it will not work on my forum..i have some security settings for image hot linking . OR is it possible to upload a image on board creation, like users doing in their profile display image option.
Thanks in advance.
@slipperyduck
I'll check your theme later.
@katb
Images should be in default/images/ImagesOnBoard folder. Sorry but that's the way it is. Only the link that you can use url.
Quote from: JohnyB on September 19, 2008, 05:07:47 AM
@katb
Images should be in default/images/ImagesOnBoard folder. Sorry but that's the way it is. Only the link that you can use url.
thanks for your reply jhony.. if you can... please keep my request in mind, like use a path inside the forum( url linking have lot problems), hope you will include this in future release
I'll add it to my "todo" list for future version. Thanks.
Hello Johny iam getting error while installing iam using 1.1.6
Type Action Description
1. Execute Code ImagesOnBoardDB115.php
2. Extract Tree ./Themes/default/images/ImagesOnBoard
3. Execute Modification ./Sources/Subs-Boards.php Test successful
4. Execute Modification ./Sources/MessageIndex.php Test successful
5. Execute Modification ./Sources/BoardIndex.php Test successful
6. Execute Modification ./Sources/ManageBoards.php Test successful
7. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
8. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
9. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
10. Execute Modification ./Themes/dilbermc/BoardIndex.template.php Skipping file
11. Execute Modification ./Themes/dilbermc/MessageIndex.template.php Skipping file
12. Execute Modification ./Themes/babylon/BoardIndex.template.php Skipping file
13. Execute Modification ./Themes/babylon/MessageIndex.template.php Skipping file
14. Execute Modification ./Themes/classic/BoardIndex.template.php Skipping file
15. Execute Modification ./Themes/classic/MessageIndex.template.php Skipping file
16. Execute Modification ./Themes/shinyblue115/BoardIndex.template.php Skipping file
17. Execute Modification ./Themes/shinyblue115/MessageIndex.template.php Skipping file
18. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
19. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
20. Execute Modification ./Themes/default/languages/Modifications.german.php Skipping file
21. Execute Modification ./Themes/default/languages/Modifications.turkish.php Skipping file
@slipperyduck
BoardIndex.template.php and MessageIndex.template.php of your theme attached.
@expertsarena
Attach your BoardIndex.template.php and MessageIndex.template.php to your next post if you want me to edit it for you.
Ok i have attach thanks for helping me
EDIT:No Prob i find my self Thanks Johny
Hi Johny B,
I am new to SMF. Would you please show me how to install this mod? I am using Dilber MC theme. I tried installing it using the package manager, but it failed. I tried editing the files myself, but they dont seem to work. I read the messages posted on this board, and am very confused. Would you please have me?
Thanks in advance.
Hi everyone,
I just modify the code as following the instruction, but when i lauch the installation program, the notice is " file permission is not correct, pls use the function chmod to change it (sth. like this...)", i tried to change all the files concerned such as :
/Sources
Subs-Boards.php
BoardIndex.php
ManageBoards.php
MessageIndex.php
/Theme/Cennetbahcesi
BoardIndex.template.php
MessageIndex.template.php
/Theme.default/languages
Modifications.english.php
Modifications.chinese-simplified-utf8.php
above files: chmod 777
I don't know why system give me this kind of the notice, pls help!!
Tks
Nice mod,
I suggest that you update it to work for LTR languages.
On the XML installation files replace
echo '<div style="float:'left'; margin-right: 4px;">';
with this
echo '<div style="float:'.($context['right_to_left']? 'right' : 'left').'; margin-'.($context['right_to_left']? 'left' : 'right').': 4px;">';
Hi All,
I installed the Images On Board 1.1 mod, went on fine no issues, got the hang of it and have images now on my board.
My question is this, when I click on an image ie: (image for jokes) it goes to the jokes corner, but it opens the jokes in a new window.
What html code do i need to use to stay within the board index not going to a new window?.
Thanks All.
@HappyChinchilla
How would you like me to help you?
@expertsarena
Here are your files. Use them after installing this mod.
@nabil_kadimi
That's a very good idea. I have no way to test the mod if it actually work or not. Could you confirm the right code for me please before I make the changes? Thanks.
@I AM Legend
BoardIndex.template.php, find
echo '<a href="', $board['img_link'], '" target="_blank">
and remove the target="_blank" attribute.
Great mod, installed and worked just great on 1.1.6.
Does anyone have a source of free buttons ?
Thanks
Thats Awesome, worked a treat.
Thanks JohnyB
I installed this on a 1.1.6 board, default theme, but when I tried to fetch an external image from the web it just put a link to the image where the image should have went..
Jonny - you legend - works well - you really support your mod - Big ups to you mate!
Disregard, I ended up making my own images.
http://klrworld.com/forums/
Quote from: 0000000 on September 24, 2008, 09:31:06 AM
I installed this on a 1.1.6 board, default theme, but when I tried to fetch an external image from the web it just put a link to the image where the image should have went..
It wasn't intended to do it that way that's why there's a folder for the images. But if you want it, we can try something. Not fully tested but you can try. BoardIndex.template.php and MessageIndex.template.php.
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
if (!empty($board['img_link']))
{
if (substr($board['image'], 0, 7) == 'http://')
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
}
@klraLooking good. You own images matches your foum.
@I AM Legend You're welcome. 8)
Hi JohnyB,
I always get errors when I install the mod to my Dilber MC theme forum. I tried the following methods:
1) downloaded the mod and installed it using the package manager, but it failed. It says "Execute Modification ./Sources/MessageIndex.php Test failed "
2) followed the instructions, and edited the files myself, but they dont seem to work. I then got an error message saying that the database is not up-to-date.
I read the messages posted on this board, but I am still very confused. For some forums, they need to replaced some files before they install the mod, and others need to do it the other way around.
Sorry, I am new to SMF. Maybe there is something that I dont understand...could it be other mods that i installed causing the errors? I also have Auto Embed Video Clips, Board Notes, FavIcon, and Ad Managment.
Hope you can help me. Thanks~
@HappyChinchilla
Attach your BoardIndex.template.php and I'll look at it or edit it for you.
Hi JohnyB,
Here is my file. Hope you can to help me.
Thanks~
I installed this mod on a new 2.0 b4 forum, but I'm now trying to unistall it (trying to troubleshoot something) but in the uninstaller I get :
Type Action Description
1. Execute Modification install-2B.xml Modification parse error
2. Execute Modification install-2B.xml Modification parse error
3. Execute Modification install-2B4.xml Modification parse error
4. Execute Modification install-2B4.xml Modification parse error
5. Delete Tree ./Themes/default/images/ImagesOnBoard
@HappyChinchilla
I apologize for the delay. I'll get back to you after I edit your BoardIndex.template.php
@MothMan
Try the new package that I uploaded. (ImagesOnBoard2b4.zip). Sorry about the error. I don't know what happened.
Thanks JohnyB, that worked.
hello JohnyB.
Thanks for this mod i was useing the onld version but on deferent Themes it did work but now i did change the theme to Dark Night it looks nice on my forum so i wold like you to help me if you can help me who to edit this theme
Theme = Dark Night
http://custom.simplemachines.org/themes/index.php?lemma=577
@radioime
Edit your dn/BoardIndex.template.php.
<td class="windowbg" align="left">
<td class="windowbg" align="left">';
if (!empty($board['image']))
{
echo '<div style="float:left; margin-right: 4px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></div>';
}
echo '
That's all.
@HappyChinchilla
Try the attached BoardIndex.template.php (dilberMC).
Thanks, JohnyB. I replaced my BoardIndex.template.php with yours. After that, I uploaded your mod, but I got this error:
Execute Modification ./Sources/MessageIndex.php Test failed
Should I install it anyway??
Thanks.
Quote from: HappyChinchilla on October 04, 2008, 01:04:27 AM
Should I install it anyway??
Try to install it, but before save the file with that error, so you can replace the old file if the MOD doesn't work! :)
Hello,JohnyB. Your MOD is just what I was looking for...but I can't make It run with Energy Theme (SMF 2.0 b4).Can you (or someone) help me,please?.
Here i attach my files.Thanks in advance.
@HappyChinchilla
You attached BoardIndex.template.php so I figured it's the only file that failed the scan test. You can install the mod but you have to edit the MessageIndex.template.php manually.
@Lamarck
I'll get back to you after editing your files.
JohnyB,
Sorry, I am not an expert in editing php files. Do I follow what you posted online under ./Themes/default/MessageIndex.template.php?
Thanks.
Attach your MessageIndex.php then so I can edit it for you. After I edit it, install this mod ignoring failed test and then use the edited file.
Here is my MessageIndex.php file from my sources folder.
Thanks.
Opps my mistake. It should be default/MessageIndex.template.php.
<edit>
Here's your MessageIndex.php, use it before you install this mod. The BoardIndex.template.php, use it after the installation of this mod. Confused? :)
</edit>
JohnyB can you help me T_T
I'm new in this kind of forum, i have smf 2.0 beta4 using spanish[es] language and I use the blackrain theme.
When i try to install this mod, the config of board get and error about sub-boards.php (I don't remember the line), I tried to change the language to english but still with the error. what can I do.
Saludos!
Thank you, JohnyB. It works!! You are a real hero!! A dumb person like me wouldn't have done it without your big help. Thank you very much~~ You are the BEST!!!
let me try
Pwn Kyuubi
Attach the file that has error and I'll check it or edit it if need be.
@HappyChinchilla
Cool. Good to know it's working. You're welcome. TY too.
@edi67
Have you tried it? :D
Quote@Lamarck
I'll get back to you after editing your files. [/q]
Ok,thank you very much :)
Oppsss, apologies. I misoverlooked. Here are your files. Lamark.
Hey,no problem... ;)
BTW,when installed I get this:
Unknown column 'b.img_link' in 'field list'
Archivo: /home/vol3/byethost9.com/b9_222711/silvanost.byethost31.com/htdocs/foro/Sources/Subs-Boards.php
Línea: 1048
When I click the boards tab in the ACP :(
The field was not added to the boards table. Can you add it manually? Did you install the mod manually?
No,I installed It via package manager,and then just uploaded BoardIndex.template.php and MessageIndex.template.php.
That field is not installed by the DB file included?
It should be installed by the file included. I don't know why it didn't. Try uninstalling the mod and re-install again.
I tried re-installing It,but I get the same error >:(
Any errors in the error log other than the "Unknown column 'b.img_link' in 'field list'" ? Can you check your boards table and see if there's no img_link column?
No,no more errors...I checked and there is no img_link column inside smf_board table u.u
Can you add the missing column (img_link)? It's tinytext. I don't know why it wasn't added. I don't know how many people encountered this problem.
Here Johny
intalling..
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg509.imageshack.us%2Fimg509%2F3452%2Fcuadro1hi6.th.jpg&hash=131526c75574eafa1c79b0140c5e4febb86c80a5) (http://img509.imageshack.us/my.php?image=cuadro1hi6.jpg)
the error when i try to access de config for the forum threads
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg520.imageshack.us%2Fimg520%2F5775%2Fcuadro2na2.th.jpg&hash=212fb7406bc0fe9ba06822d18727adbd8fbdad5b) (http://img520.imageshack.us/my.php?image=cuadro2na2.jpg)
Sorry my english sucks im from Venezuela :-[
I created that column...however,when I add an image name and link in board settings,It doesn't show at forum index.It's like the info doesn't get stored inside the DB,when I return to board settings,the fields are empty.Maybe I missed something when created that columns?.
BTW,I think that the problem because img_link column wasn't created is in ImagesOnBoardDB2B3.php file,It seems that the sql querry is missed o.O..
Thanks again for your help ;)
The image should be added in default/images/ImagesOnBoard folder before you can use it. Try the "stop.png" as the name of the image.
Yes,I tried...but nothing.I used stop.png and other image (mine),but they don't show in the index :(
Link to your forum?
Here is the file sorry XD this is my subs-boards.php
@Pwn Kyuubi
The mod was properly installed in your Subs-Boards.php. Can I have a link to your forum?
<edit>
Try navigating to Admin => Boards and modify a board. Enter "stop.png" without quotes in "Name of image for this board:" textbox . See if that will work.
</edit>
Quote from: JohnyB on October 07, 2008, 10:28:05 PM
@Pwn Kyuubi
The mod was properly installed in your Subs-Boards.php. Can I have a link to your forum?
<edit>
Try navigating to Admin => Boards and modify a board. Enter "stop.png" without quotes in "Name of image for this board:" textbox . See if that will work.
</edit>
The problem is that i can't acces to "Board and modify boards" menu, because the error that i show you in the reply#259 in this thread :S
here is the link http://vzlamods.0fees.net/index.php
Ow, can you create column manually? I am not sure why the img_link is not created. I will look at the code again.
Quote from: JohnyB on October 07, 2008, 11:36:44 PM
Ow, can you create column manually? I am not sure why the img_link is not created. I will look at the code again.
I dont know how to create the column T_T, sorry Im new in this kind of things :S
Uninstall the mod and wait if I can change the code. I'll let you know tomorrow.
Your host should provide you a sql control panel to access your database and add a column. Do you have PhpMyAdmin?
Quote from: JohnyB on October 08, 2008, 12:09:25 AM
Uninstall the mod and wait if I can change the code. I'll let you know tomorrow.
Your host should provide you a sql control panel to access your database and add a column. Do you have PhpMyAdmin?
Ok no problem i'll wait :)
yes i have, I can enter to my database
Sorry, I have not found a sulution yet. :P
xD dont worry take your time :D
tried to load this up for v2.0 b4.0, but I get a test failed notification for the ManageBoards.template.php file. I went to manually edit and the string is much longer now (if that's even the string.)
@tk2012
Attach your ManageBoards.template.php and I'll edit it for you.
Hi
Ive installed this mod and everything seems in order except the image doesnt show just the link i placed in the admin settings shows before the topic.
Anyone have a clue what i missed?
Quote from: cafenubia on October 12, 2008, 07:23:36 PM
Hi
Ive installed this mod and everything seems in order except the image doesnt show just the link i placed in the admin settings shows before the topic.
Anyone have a clue what i missed?
You have to use your own images and must be stored in default/images/ImagesOnBoard folder. Then enter the filename of the image to use in Admin => Boards => (modify) "Name of image for this board:" including the file extension. (i.e. stop.png).
Quote from: JohnyB on October 14, 2008, 12:45:37 AM
Quote from: cafenubia on October 12, 2008, 07:23:36 PM
Hi
Ive installed this mod and everything seems in order except the image doesnt show just the link i placed in the admin settings shows before the topic.
Anyone have a clue what i missed?
You have to use your own images and must be stored in default/images/ImagesOnBoard folder. Then enter the filename of the image to use in Admin => Boards => (modify) "Name of image for this board:" including the file extension. (i.e. stop.png).
Thats what ive done................is it because im using a custom them ,i placed the folder in my custom theme as i do others that require default theme image modifications.
When i go the my forum home page it shows a clickable link to the image before the board name?
Quote from: JohnyB on October 14, 2008, 12:45:37 AM
Quote from: cafenubia on October 12, 2008, 07:23:36 PM
Hi
Ive installed this mod and everything seems in order except the image doesnt show just the link i placed in the admin settings shows before the topic.
Anyone have a clue what i missed?
You have to use your own images and must be stored in default/images/ImagesOnBoard folder. Then enter the filename of the image to use in Admin => Boards => (modify) "Name of image for this board:" including the file extension. (i.e. stop.png).
Thanks
I have it now!
Cool. Glad to know you have it fixed. Thanks for using this mod.
Hi!
great mod!!
i have the Extreme6 theme and i can't make it work!
can someone please help me?
thanks
@Rap4Life
Re: Extreme 6 theme. Edit extreme6/BoardIndex.template.php
<td class="windowbg2">
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
<td class="windowbg2">';
if (!empty($board['image']))
{
echo '<div style="float:left; margin-right: 4px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></div>';
}
echo '
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
Quote from: JohnyB on October 16, 2008, 07:41:18 PM
@Rap4Life
Re: Extreme 6 theme. Edit extreme6/BoardIndex.template.php
<td class="windowbg2">
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
<td class="windowbg2">';
if (!empty($board['image']))
{
echo '<div style="float:left; margin-right: 4px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></div>';
}
echo '
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
i did the change but i still can't see any new option in the forum edit panel \=
is there any change that need to be done with some admin files?
and thanks!
@Rap4Life
Did you install the mod? Attach your edited BoardIndex.template.php and I'll try to fix it.
Quote from: JohnyB on October 18, 2008, 10:22:17 PM
@Rap4Life
Did you install the mod? Attach your edited BoardIndex.template.php and I'll try to fix it.
yes... i install it.
Rap4Life
Your BoardIndex.template is fine. If there's no text box when you modify a board, then it's not probably installed properly. Check your ManageBoards.template.php and see if the following lines are there.
<textarea name="desc" rows="2" cols="29">', $context['board']['description'], '</textarea>
</td>
</tr><tr>
<td>
<strong>', $txt['board_image'], ':</strong><br />
<span class="smalltext">', $txt['board_image_desc'], '</span><br />
</td>
<td valign="top" align="right">
<input type="text" name="img_filename" value="', $context['board']['image'], '" size="30" />
</td>
</tr><tr>
<td>
<strong>', $txt['board_img_link'] , ':</strong><br />
<span class="smalltext">',$txt['board_img_link_desc'], '</span><br /><br />
</td>
<td valign="top" align="right">
<input type="text" name="img_link" value="', $context['board']['img_link'], '" size="30" />
Quote from: JohnyB on October 19, 2008, 11:21:26 PM
Rap4Life
Your BoardIndex.template is fine. If there's no text box when you modify a board, then it's not probably installed properly. Check your ManageBoards.template.php and see if the following lines are there.
<textarea name="desc" rows="2" cols="29">', $context['board']['description'], '</textarea>
</td>
</tr><tr>
<td>
<strong>', $txt['board_image'], ':</strong><br />
<span class="smalltext">', $txt['board_image_desc'], '</span><br />
</td>
<td valign="top" align="right">
<input type="text" name="img_filename" value="', $context['board']['image'], '" size="30" />
</td>
</tr><tr>
<td>
<strong>', $txt['board_img_link'] , ':</strong><br />
<span class="smalltext">',$txt['board_img_link_desc'], '</span><br /><br />
</td>
<td valign="top" align="right">
<input type="text" name="img_link" value="', $context['board']['img_link'], '" size="30" />
i install it manually... and the above code dosen't apper in the ManageBoards.template.php file.
@Rap4Life
Try the attached copy.
Quote from: JohnyB on October 20, 2008, 08:19:34 PM
@Rap4Life
Try the attached copy.
finaly!!!
thanks alot!
works like a charm.
Hello JohnyB , I´ve the same problem like Lamarck, when I try to access to the ACP in boards, appear
a message:
Unknown column 'b.img_link' in 'field list'
how can i solve it!!?? Thanks a lot for your time!
After a lot of struggling and a lot of help from Kat, I got this mod working. It's great, and I really appreciate it. But I have one question.
It works for me when I put the image I want to display in:
Themes/default/images/ImagesOnBoard
and enter the name of the image in the first of the two fields the mod provides.
My question then is what is the second (link) field for?
I had hoped I could just enter the URL for the image there so I wouldn't have had to duplicate all the images and put them in the ImagesOnBoard folder.
Could someone please explain the purpose of the TWO fields?
Thanks so much,
Peter
Sorry for the late reply. I was offline for few days.
@Rap4Life
You are welcome. Thank you too for using or trying this mod. 8)
@jaimemarco
Not sure why the mod didn't add column to your table. Add the field manually via MyPhpAdmin if you can do it. I'll change the code when I have time. Sorry about that.
@peterinwa
The purpose of the second link is if you want to redirect your members somewhere when they click on the image. It is optional.
Quote@peterinwa
The purpose of the second link is if you want to redirect your members somewhere when they click on the image. It is optional.
Oh, that's a great feature. And it seems obvious... in hindsight. Sorry if it said that somewhere and I missed it. I've never done a mod before.
Though actually I'm leaving it blank and it takes me right into the board which is just what I want.
Thanks... the mod makes my board look much more interesting!
Peter
QuoteNot sure why the mod didn't add column to your table. Add the field manually via MyPhpAdmin if you can do it. I'll change the code when I have time. Sorry about that.
can you help me to add manually the field in my php amdmin?
My error is:
Colonna sconosciuta 'b.img_link' in 'field list'
File: /users/l/a/r/larabafenice/public_html/Sources/Subs-Boards.php
Riga: 1048
@peterinwa
Few people requested the feature. It's there if needed.
@leonardus
Here's a php file that will add the img_link column. Upload the file to your root directory via FTP and use your browser to run it. Run it once only. Delete it after.
2. Execute Modification ./Sources/MessageIndex.php Test failed
3. Execute Modification ./Sources/BoardIndex.php Test successful
4. Execute Modification ./Sources/ManageBoards.php Test successful
5. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
6. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
7. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
I tried to find, but they cant be found, can you do it for me?
Quote from: JohnyB on October 31, 2008, 10:59:42 PM
@leonardus
Here's a php file that will add the img_link column. Upload the file to your root directory via FTP and use your browser to run it. Run it once only. Delete it after.
here is one error...
Fatal error: Call to undefined function db_query() in /users/l/a/r/larabafenice/public_html/uno.php on line 10
can you help me again?
Nice mod!
Here's the chinese translation, hope it does useful.
<?php
// Version: 1.1; Modifications
$txt['board_image'] = '这个板块的图片名称';
$txt['board_image_desc'] = '包括扩展名. (比如. xx.gif)';
$txt['board_img_link'] = '以上图片的链接';
$txt['board_img_link_desc'] = '(例如.. http://www.simplemachines.org)';
?>
Hope you can help me out on this one.
Error I am getting.
Database Error
Unknown column 'b.img_link' in 'field list'
File: /home2/ac919h/public_html/Sources/Subs-Boards.php
Line: 1031
Theme I am using. - BK-SMF-Dark-2.0B4
No mods at all installed this is the first mod.
Quote from: JohnyB on October 31, 2008, 10:59:42 PM
@peterinwa
Few people requested the feature. It's there if needed.
@leonardus
Here's a php file that will add the img_link column. Upload the file to your root directory via FTP and use your browser to run it. Run it once only. Delete it after.
I try to install that file but get this error when I try
Fatal error: Call to undefined function db_query() in /home2/ac919h/public_html/add_img_link.php on line 10
@leonardus and SISPro
Try this one (add_img_link_2b4.php) then. Delete it after running.
@lapinette
Thanks for the translation. If my text editor will handle the characters, I will add the translation to the next update.
that worked thank you for this
ok got a problem i have tried to upload a image to the default folder and it won't let me all my folders have my name on them but this one has user 99 and telling i don't have access to it. can you tell me what is going on here.
Hello!
I have installed this mod and i am using smf 1.1.6 and custom theme.
I tried to add the code but i get this "
width="50%"> New Member Introduction
width="50%"> General Discussion"
I have attached my BoardIndex.tempate.php file.
What can i do?
Thank you for your time!
@SISPro
That would be a file permission. Use your FTP to chmod the folder to 755 or 777.
@Pspuser007
Which custom theme are you using?
Ds,it is a premium one..
Quote from: JohnyB on November 03, 2008, 09:22:34 PM
@leonardus and SISPro
Try this one (add_img_link_2b4.php) then. Delete it after running.
@lapinette
Thanks for the translation. If my text editor will handle the characters, I will add the translation to the next update.
thx you! it works very well!
I'm having trouble getting this mod to work. I've manually edited the parts that needed to because they didn't install properly on the extract. Any ideas? I've got the folders set up correctly and I can set the images in the admin panel when I go to modify the boards. But the images don't actually show up on the board index. Any help would be greatly appreciated. I can attach files if necessary.
Quote from: Pspuser007 on November 07, 2008, 12:58:20 AM
Ds,it is a premium one..
I don't have a copy of your theme so this is shot in the dark. Try the attached BoardIndex.temmplate.php and see if it will work.
@shanksta13Attach your BoardIndex.template.php. Which theme is it from?
Quote from: JohnyB on November 08, 2008, 06:10:16 PM
Quote from: Pspuser007 on November 07, 2008, 12:58:20 AM
Ds,it is a premium one..
I don't have a copy of your theme so this is shot in the dark. Try the attached BoardIndex.temmplate.php and see if it will work.
@shanksta13
Attach your BoardIndex.template.php. Which theme is it from?
It's the default theme. Here it is.
Here you go shanksta13.
Thanks, works great! :D
Quote from: JohnyB on November 06, 2008, 08:59:21 PM
@SISPro
That would be a file permission. Use your FTP to chmod the folder to 755 or 777.
@Pspuser007
Which custom theme are you using?
i have tried and it won't let me change the permission that is what i am talking about.
i am using theme BK-SMF-Dark-2.0B4
hi jonny! i've fixed the database error, but now when i press "save" for the changement, nothing happens. my board doesn't show the .png file. if i return in admin panel-->board-->modify, I realize that the two lines are empty, nothing is saved! why???
i put th images in /Themes/default/images/ImagesOnBoard/
and i've write in the mod line:
Name of image for this board: images.png (the image name)
Link for the above image: http://larabafenice.helloweb.eu (my forum)
i'm using black rain theme.
i attach my file.
thx
@SISPro
Talk to your host about the file permission. I can't do anything about it.
@leonardus
I'll take a look at your files. I'll get back to you tomorrow.
it is not woking on smf2.0b4 version
bcause after intaling this mod when i go to boards in admin panel it gives databse error
Thanks a lot JonhyB!!!
It worked!!!!
Hi JohnyB,
great mod and really excited to see it in action.
have uploaded and installed, but has errors in MessageIndex.template.php and BoardIndex.template.php
Read forums, seems it is a small issue so tried to mod the files, but unfortunately failed miserably :-p
I think it may be a board hover mod which is giving me issues..in any case would you mind to check the 2 files in question and if you have time could you possibly mod them for me? or point me in the right direction.
Many thanks
@ leonardus
Here are your files.
@funcouldron
Any errors in the error log?
@Pspuser007
You're welcome.
@Mikepara
I'll get back to you after editing your files.
@Mikepara
I'm back. :) Here are your edited files. Use them after installing this mod.
I'd like to do something like this (http://www.modelevi.com/smf/index.php?action=forum) on my forum. Unfortunately I'm a total PHP n00b.
I've figured out how to add images to the board descriptions, but I haven't figured out how to basically use an image only as the descriptor for each board. I'm using a custom theme (Saturn by Fussilet). Is this something I can do by using this mod?
Thanks!
Brenda :)
when i click on forum in my admin panel,,i get this error
Unknown column 'b.img_link' in 'field list'
File: /www/110mb.com/f/u/n/c/o/u/l/d/funcouldron/htdocs/fc/Sources/Subs-Boards.php
Line: 1031
Sorry about that. There's attached file in reply #294. Download it and run it.
http://www.simplemachines.org/community/index.php?topic=246022.msg1777170#msg1777170
whr to upload?
Notice: Undefined index: sp-forum in /www/110mb.com/f/u/n/c/o/u/l/d/funcouldron/htdocs/fc/Sources/Subs.php on line 3757
Fatal error: Call to undefined function db_query() in /www/110mb.com/f/u/n/c/o/u/l/d/funcouldron/htdocs/fc/add_img_link.php on line 10
whn i run it ..i got this error
Sorry, I gave you the wrong link. Here's the right one.
http://www.simplemachines.org/community/index.php?topic=246022.msg1781673#msg1781673
Sorry if I'm being a pain, just thought maybe this got missed since it was at the bottom of the page. :)
Quote from: MeowMommy on November 11, 2008, 08:21:44 PM
I'd like to do something like this (http://www.modelevi.com/smf/index.php?action=forum) on my forum. Unfortunately I'm a total PHP n00b.
I've figured out how to add images to the board descriptions, but I haven't figured out how to basically use an image only as the descriptor for each board. I'm using a custom theme (Saturn by Fussilet). Is this something I can do by using this mod?
Thanks!
Brenda :)
thxx,,but got this
Notice: Undefined index: sp-forum in /www/110mb.com/f/u/n/c/o/u/l/d/funcouldron/htdocs/fc/Sources/Subs.php on line 3757
Database updates complete!
@MeowMommy
I took a good look at the site and it requires editing BoardIndex.template.php but beyond the scope of this mod. You don't need this mod to use images as board background. I can give you idea but this is support/comment for ImagesOnBoard mod. You can post in the Coding Discussion (http://www.simplemachines.org/community/index.php?board=60.0) board or in the Mod Request (http://www.simplemachines.org/community/index.php?board=79.0) board and I will try to help you there.
@funcouldron
This mod does not have "sp-forum" index or txt string so I don't know where that error is coming from. If you can, just add the column manually using your PhpMyAdmin. I ran out of ideas.
hai sir i installed on serve its saying this error, i install through packages and upload it, its showing this error ((Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.)) what to do plz help me sir
@xmusic
Talk to your host. If your host is smfforfree then you are not allowed to install mods and themes.
i never added colum manualy ,, and i tried adding images but it dosent show up on my board
no sir i use 110mb,in 110mb smf is allowded sir,themes r working fine
@xmusic
i m also 110mb user,,, u just login through your FTP and make all ur file in forum to chmod 777 and it will work,,, littel time consuming though,,, i think there was one setting to make that also ,,, ask in support forum..
Here's another forum that installed this excellent mod to-
http://nighthawk-forums.com/index.php
I made all of the images.
I especially liked making the big red arrow to directs guests to read.
@xmusic
Uninstall the mod and download the new package. Reinstall the mod then let me know how it goes.
Thanks for trying/using this mod guys.
Quote from: JohnyB on November 11, 2008, 07:01:54 PM
@ leonardus
Here are your files.
hi JohnyB.
thx for you mod, i've replaced the new file in themes-->defaul and in thems-->blackrain, but, nothing happen. the database don't save my modification... whats wrong? thanks.
EDIT:: i 've installed your new version. now it works very well!!! thanks.
Thanks for this good mod
@leonardus
There was a slight error in the code when I last updated the package for beta 4. It is now corrected so I suggest you download the new package and reinstall this mod. I apologize for my mistake.
Thank you all for the compliment. I thank you too for trying/using this mod. ;)
I installed the mod in the beginning but I never made it work.
After some modifications on the forum I tried to remove it because it is not working for me anyway but I can't.
I am using SMF 1.1.7 and the default theme.
I thing that the search string uninstaller looks for could not be found.
You can see the attached file.
@boby_
You can attach the files in question and I'll remove the codes for you.
Quote from: JohnyB on November 17, 2008, 10:34:55 PM
@boby_
You can attach the files in question and I'll remove the codes for you.
@JohnyB, thanks a lot!
Looking at these files do you have any idea how to make the mod work?
Edit: Now I remember what was wrong with this mod for me. When I enter the name of the picture and the path to it in the board settings area, on the main index the link itself is shown as a text, not the image. If someone can help, I wouldn't remove the mod! :-)
Images won't show
ERRORS:
Hallo Johnny, Sorry to bug you, But how can I get your mod to work on the Marque theme. Dont know what to deit and what to replace. I have installed the mod but it does not work. Any sugestions?
EDIT:
I have attached the files. Please I think this mod is the coolest thing, If only I can get it to work.
OOPS I see the attachements came up twice
The installtion went good but when I look in the board I can't find the "add an url" textbox it's just not there but the "add an image" textbox is there?
@Rhine
Please download the new package and reinstall.
@Nfanthr33
I need to know which theme you are using.
Just used this and its awsome. thank you
easy, Default
Alright worked, thanks.
Is it possible to rewrite this mod so you have a board as an link like they have in phpbb3?
Quote from: Boby_ on November 18, 2008, 01:45:17 AM
Edit: Now I remember what was wrong with this mod for me. When I enter the name of the picture and the path to it in the board settings area, on the main index the link itself is shown as a text, not the image. If someone can help, I wouldn't remove the mod! :-)
I am a complete and total idiot! >:(
The mod works perfectly well - all the time I've just neglected the instructions!
Thanks,
@JohnyB
@JohnyB: Is it possible for the mod to work on the Marque theme, See I have a virtual Ride website, and I think your mod will work perfect for it, please let me know. This is my website
http://xactgraphix.co.za/forum/index.php (http://xactgraphix.co.za/forum/index.php)
I also send the files about 7posts back. Thanks in advanced.
@pooya
Thank you too for using/trying this mod. ;)
@Nfanthr33
Here are your edited files. Attached.
@Rhine
The default is board's link if you'll leave the image link box empty in the board configuration.
Boby_
LOL. Good to hear you're okay. 8)
@Amalcamus
I separated my reply to you so there will be no confusion. Sorry for the delayed replay.
Here are your edited files. If there's problem with them, let me know.
Thanks JohnyB, I will try them out and let you know. ;)
JohnyB, Thanks man, all is working well. Keep up with the cool mods.
Cool. Thanks also for trying or using this mod.
It is a pleasure, If you have any more mods like this one please let me know... I like the concept of putting more pics on my forum, just looks better.
Quote@Rhine
The default is board's link if you'll leave the image link box empty in the board configuration.
I mean to like make the board name like "Join Us" a link to the register.
Hello mate, great mod.
I installed it without any problems on default theme but on my forum theme I can't seem to find a way to show.
My theme is RedRapsody, I attached the 2 php files. Hope you can help me.
King Regards
@Amalcamus
I have few more mods. Check them out. You might like some of them. Check mi signature.
Rhine
Check the Redirection Board (http://custom.simplemachines.org/mods/index.php?mod=38) board. Maybe it's the one you need.
orw
I'll get back to you. I have to download and install your theme before I can make changes to your files.
Ok orw, I just got back. :) Here are your edited files. Use them after you install this mod.
thanks alot JonnyB. It worked great ;D
Hey guys,
I'm running 2.0 beta4. I managed to install Images on the board, but when I go to Forum page it says:
Database Error
Unknown column 'b.img_filename' in 'field list'
File: F:\xxxxxx\vvvxxxxsss\mywebsite.com\folder\Sources\Subs-BoardIndex.php
Line: 85
If I try to go to edit boards, it says:
Database Error
Unknown column 'b.img_filename' in 'field list'
File: F:\xxxxxx\vvvxxxxsss\mywebsite.com\folder\Sources\Subs-Boards.php
Line: 1039
I have the following mods installed:
Modification Packages
Mod Name Version
1. Anti-Bot Registration Puzzles 1.2 [ Uninstall ] [ List Files ] [ Delete ]
2. Activate account redirection 0.1 [ Uninstall ] [ List Files ] [ Delete ]
3. Advanced Login Form 1.1 [ Uninstall ] [ List Files ] [ Delete ]
4. Advanced Contact Form 1.02 [ Uninstall ] [ List Files ] [ Delete ]
5. Ad Managment 2.3.4 [ Uninstall ] [ List Files ] [ Delete ]
6. Auto Embed Video/Audio Clips 4.0.2 [ Uninstall ] [ List Files ] [ Delete ]
7. Age on post 1.0 [ Uninstall ] [ List Files ] [ Delete ]
8. Attachments In Message 1.2.0 [ Uninstall ] [ List Files ] [ Delete ]
9. Avatar On Board 2.1 [ Uninstall ] [ List Files ] [ Delete ]
10. BBC [you] 1.2 [ Uninstall ] [ List Files ] [ Delete ]
11. BK-SMF Drop Down Menu 1.0 [ Uninstall ] [ List Files ] [ Delete ]
12. BK-SMF Sub-Board 1.5 [ Uninstall ] [ List Files ] [ Delete ]
13. Bookmarks 2.2.1 [ Uninstall ] [ List Files ] [ Delete ]
14. Custom_Greeting_Depending_on_Time 0.8 [ Uninstall ] [ List Files ] [ Delete ]
15. Custom Copyright 1.1 [ Uninstall ] [ List Files ] [ Delete ]
16. Double Post Stopper 1.1 [ Apply Mod ] [ List Files ] [ Delete ]
17. Auto Email Inactive Users 1.7 [ Uninstall ] [ List Files ] [ Delete ]
18. EmailValidator 1.0 [ Uninstall ] [ List Files ] [ Delete ]
19. Enhance Recent Post 1.0 [ Uninstall ] [ List Files ] [ Delete ]
20. Favicon 1.2 [ Uninstall ] [ List Files ] [ Delete ]
21. RSS Feed Icon 1.1 [ Uninstall ] [ List Files ] [ Delete ]
22. Help Linktree & Breadcrumbs Fix 1.0 [ Uninstall ] [ List Files ] [ Delete ]
23. Hide SMF Version 1.0.3a [ Uninstall ] [ List Files ] [ Delete ]
24. Highlight Search Keywords 1.21 [ Uninstall ] [ List Files ] [ Delete ]
25. Images On Board 1.1 [ Uninstall ] [ List Files ] [ Delete ]
26. Last Active On MemberList 1.01 [ Uninstall ] [ List Files ] [ Delete ]
27. last login in post 1.0 [ Uninstall ] [ List Files ] [ Delete ]
28. Last Post On MemberList 1 [ Uninstall ] [ List Files ] [ Delete ]
29. Look But No Read 1.3 [ Uninstall ] [ List Files ] [ Delete ]
30. MessagePreviewOnHover 1.7 [ Uninstall ] [ List Files ] [ Delete ]
31. More Spiders 1.2 [ Apply Mod ] [ List Files ] [ Delete ]
32. New Style Message Icon 1.1 [ Uninstall ] [ List Files ] [ Delete ]
33. No More Ugly Avatar Scrollbars 1.0 [ Uninstall ] [ List Files ] [ Delete ]
34. Order News 1.0.6 [ Uninstall ] [ List Files ] [ Delete ]
35. Page_Reload_Mod 1.0 [ Uninstall ] [ List Files ] [ Delete ]
36. PDF Tag 1.1 [ Uninstall ] [ List Files ] [ Delete ]
37. Pm_Informer 2.0 [ Uninstall ] [ List Files ] [ Delete ]
38. PortaMx v0.95.1 0.951 [ Uninstall ] [ List Files ] [ Delete ]
39. Prettier_Quotes 1.1 [ Uninstall ] [ List Files ] [ Delete ]
40. reCAPTCHA for SMF 0.9.5.3 [ Uninstall ] [ List Files ] [ Delete ]
41. Redirect on Login and/or Logout mod 0.3 [ Uninstall ] [ List Files ] [ Delete ]
42. Reflection Avatar 1.1 [ Uninstall ] [ List Files ] [ Delete ]
43. Reg Bar 1.0.2 [ Uninstall ] [ List Files ] [ Delete ]
44. Registration redirection 0.1 [ Uninstall ] [ List Files ] [ Delete ]
45. Remove SMF Logo 1.2 [ Uninstall ] [ List Files ] [ Delete ]
46. Advanced Reputation System 1.5.2 [ Uninstall ] [ List Files ] [ Delete ]
47. Separated Birthdays from Events 1.0 [ Uninstall ] [ List Files ] [ Delete ]
48. Show Joined, Location, Username In Topic View 1.0 [ Uninstall ] [ List Files ] [ Delete ]
49. SMF Articles 1.0.1.4 [ Uninstall ] [ List Files ] [ Delete ]
50. Stop_guests_and_spiders_being_counted 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
51. TextSizer 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
52. The Rules 1.2 [ Uninstall ] [ List Files ] [ Delete ]
53. Todays Birthday 1.2 [ Uninstall ] [ List Files ] [ Delete ]
54. TopicStarter Mod 1.3 [ Uninstall ] [ List Files ] [ Delete ]
55. Unread and Replies Tabs in Main Menu 2.0 [ Apply Mod ] [ List Files ] [ Delete ]
56. User Control Panel By Alan S 3.0 [ Uninstall ] [ List Files ] [ Delete ]
57. Users Online Today 1.5.4 [ Uninstall ] [ List Files ] [ Delete ]
GUYS, PLEASE HELP ME TO RUN THIS MOD, SINCE I'M A NEWBIE, I HAVE NO IDEA HOW TO MAKE IT WORK.
THANKS
Hi. I'm running 1.1.7. Just tried to install this mod and received the following error message:
Execute Modification ./Sources/Subs-Boards.php Test failed
Must be a conflict with another mod? I'm using the default color themes.
Help is appreciated! Thanks!
@orw
You're welcome. Thanks too for using or trying this mod.
@unik63
Try running the attached file. Upload it to your root folder.
@fmofmpls
Attach your Sources/Subs-Board.php and I'll try to rdit it for you manuallt.
you mean put it in the root folder and go mywebsite.com/add_img_link_2b4.php and than install the mod
That's right. Run only once though.
i ran it, and it gave me the following:
Notice: Undefined index: forum in Sources\Subs.php on line 3844
Notice: Undefined index: PortaMx in \Sources\Subs.php on line 3846
Notice: Undefined index: pmx_settings in \Sources\Subs.php on line 3895
Notice: Undefined index: pmx_blocks in \Sources\Subs.php on line 3900
Notice: Undefined index: PortaMx in \Sources\Subs.php on line 4130
Database updates complete!
installed and it shows the same:
To create a new board, click the Add Board button. To make the new board a child of a current board, select "Child of..." from the Order drop down menu when creating the board.
Modify Boards Create New Category Settings
Database Error
Unknown column 'b.img_filename' in 'field list'
File: \Sources\Subs-Boards.php
Line: 1039
Back
under forum:
Database Error
Unknown column 'b.img_filename' in 'field list'
File: \Sources\Subs-BoardIndex.php
Line: 85
@unik63
The PortaMx errors are not part of this mod.
Try running this one. It will add the "img_fuilename" column. Good luck.
The same...... :(
Notice: Undefined index: forum in \Sources\Subs.php on line 3844
Notice: Undefined index: PortaMx in \Sources\Subs.php on line 3846
Notice: Undefined index: pmx_settings in \Sources\Subs.php on line 3895
Notice: Undefined index: pmx_blocks in \Sources\Subs.php on line 3900
Notice: Undefined index: PortaMx in \Sources\Subs.php on line 4130
Database updates complete!
Quote from: Bulakbol on December 02, 2008, 06:33:10 PM
@fmofmpls
Attach your Sources/Subs-Board.php and I'll try to rdit it for you manuallt.
Here you go. Thanks for the support!
@fmofmpls
I modified your file so use it after installing this mod. Here it is.
I teid this on my site it didnt work i really wanted it. Last time i tried tests were successful but when i entered URL for image i didnt get anything except the dreded X and the title of the image. I really want it so will someone help through this manulay
@taha116
There's is only one image that came with this mod. You should add your own images in default/images/ImagesOnBoard folder. Photo host (url) are not supported.
Quote from: Bulakbol on December 13, 2008, 04:42:05 PM
@taha116
There's is only one image that came with this mod. You should add your own images in default/images/ImagesOnBoard folder. Photo host (url) are not supported.
Can you elaborate cauz im not sure but i think you jsut said external link are not allowed... I thought it said on the mod page that it is... im confused
Johnny can you make it on Cargo by dzinerstudio?
Can you edit him for me?
when u say
Quoteecho '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';
and add width="xx" after the alt="*" attribute.
Quote
echo '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" width="35" /></div>';
I can not find the text :(
@taha116
You are confused. Images are read from default/images/ImagesOnBoard, not from photobucket or some photo host. It is the link that you can link to anywhere you want.
@Became17
You have to attach a copy of your custom theme's BoardIndex.template.php and MessageIndex.template.php. I can't test it tho without the whole theme.
@Judgey
Download the latest package. Your copy might be old. If you are using custom theme, then it might be coded differently.
im using outline themes...
how make it appear?
Quote from: Bulakbol on December 17, 2008, 12:52:42 AM
@Became17
You have to attach a copy of your custom theme's BoardIndex.template.php and MessageIndex.template.php. I can't test it tho without the whole theme.
Here are the files you ask. But if you want i can give you the hole theme
@haito
You have to do the edit manually. If you can't find the codes for some reason, attach your BoardIndex.template.php and MessageIndex.template.php and I'll see what I can do.
@Became17
I got your files. I'll get back to you.
outline themes hasnot MessageIndex.template.php...
Quote from: Bulakbol on December 17, 2008, 09:20:16 PM
@haito
You have to do the edit manually. If you can't find the codes for some reason, attach your BoardIndex.template.php and MessageIndex.template.php and I'll see what I can do.
@Became17
I got your files. I'll get back to you.
Johnny please edit this 2 files and not the other ones, sorry for the mistake! I thanks for helping!
Sorry i dont think im writing clearly i know i cant use /iamges blablalba to get to photobucket i need the ful URL , but that didnt work when i tried it, anyways its ok im letting this go ive got an intrest in 1 of ur other mods, already posted there
This is a very nice mod. I just wish it would allow uploading the images from the admin panel.
agreed thats a good idea, an uploader should be enabled to make evryones life easier
You might want to check out [THIS] (http://custom.simplemachines.org/mods/index.php?mod=477) mod then.
It allows you to upload from the Admin Panel.
Kewl checing it out now... in 3... 2... 1
AWWWW im a beta user, that sucks 4 me, But it looks like a great mod, cannot wait untill betas are done and the programers dive into modding for 1 version of SMF instead of like 1.0.x or 1.1.x or Betas and RCs...
lol
Sorry bud, I shouldve mentioned its for 1.1.x at the mo.
Aärons waiting for the beta to come clear till he updates it, but it will definitely be ready for ya when it does :)
@haito and Became17
I'll get back to you after editing your files.
@taha116 and moonjo
I will try to add a simple upload. A very simple one. Here's what I am going to do. I'll use an orange asterisk (*) that should look like this when you edit/create a board.
Name of image for this board: *
Click the asterisk and it will open another tab for the upload. It will upload only to default/images/ImagesOnBoard folder. Give me couple of days.
<edit>
@Became17
Your BoardIndex.template.php and MessageIndex.template.php are attached. Please use them after installing this mod.
</edit>
Upgrade uploaded (ImagesOnBoard2.0_up.zip (http://custom.simplemachines.org/mods/index.php?mod=1266)). Here's how the upgrade work. At least the way I did it.
For version 1.1.7What you will see after uploading the upgrade to your Packages folder.
Quote
9. Images On Board 1.1 [ Uninstall ] [ List Files ] [ Delete ]
10. Images On Board 2.0 [ Upgrade ] [ List Files ] [ Delete ]
After the upgrade.
Quote
9. Images On Board 1.1 [ List Files ] [ Delete ]
10. Images On Board 2.0 [ Uninstall ] [ List Files ] [ Delete ]
After uninstallation.
Quote
9. Images On Board 1.1 [ Apply Mod ] [ List Files ] [ Delete ]
10. Images On Board 2.0 [ Apply Mod ] [ List Files ] [ Delete ]
You can install either the version 2.0 or the version 1.1.
For verson 2.0 Beta 4It is different. Install and uninstall only the upgrade just like any other mod.
@haitoYour BoardIndex.template.php (outline) is attached. Please use this file after installation.
0_O Yay! Cant wait to see if its still compatible with all the mods im currently using... Wich reminds me of a question why is there so often sooo much confliction in SMF mods but almost never in wordpress?
Having problems with installing this one
Only fails at ./Sources/MessageIndex.php everything else works ok
Can anyone point me in the direction of what to do?
Thanks
@taha116
Maybe wordpress have few mod authors and few mods. If you know how the mod and the package manager work, you'll understand. Try your hand on making a mod and you'll find out. ;)
@davieb
You can attach the file with issue to your next post and I'll edit it for you after the holiday.
Johny thanks for all the work you have put in and continue to put in . ! !
Quote from: Bulakbol on December 24, 2008, 08:26:04 PM
@davieb
You can attach the file with issue to your next post and I'll edit it for you after the holiday.
file attached as requested. Thanks for the help
I understand sorta why. Just Wondering why SMF dosent try re-arranging their system to one similar to wordpress (I think the answer that that will take alot more resourses)
Just because I love this mod I thought I could give back a little :)
Romanian-utf8
$txt['board_image'] = 'Numele imaginii pentru această secţiune';
$txt['board_image_desc'] = 'Include extensia fişierului. (i.e. xx.gif)';
$txt['board_img_link'] = 'Link pentru imaginea de deasupra';
$txt['board_img_link_desc'] = '(i.e. http://www.simplemachines.org)';
Never used friendly html codes in order to display diacritics but if that's needed just tell me and I'll edit the above translation. :)
or ...
Romanian (without diacritics - native Romanians will understand it perfectly, although I don't like disrespecting my language this way - the www is full of Romanian articles without diacritics though)
$txt['board_image'] = 'Numele imaginii pentru aceasta sectiune';
$txt['board_image_desc'] = 'Include extensia fisierului. (i.e. xx.gif)';
$txt['board_img_link'] = 'Link pentru imaginea de deasupra';
$txt['board_img_link_desc'] = '(i.e. http://www.simplemachines.org)';
dammit i tried the new version on 1.1.7
I got this when i clicked on the *
Unable to load the 'iobuploads' template.
any ideas?
EDIT
OH yeah! one important point... I once had a similar issue with a ratigns mod and it truned out it was cuz my server was case senssative... this account that i tested it on was on another server but that dosent mean its a similar issue, in wich case.... what do i do?
Hello i also got this mod and instaled but for some reason i try put image there with imageshack and it dont show me the image on the board is just show the link of that image on board i have put.
Can u guys help me this cause i dont know how image work in boards and theme i using is DILBER MC i also put there name of image and still wehn i open forum it shows on the board the link of image.
@davieb
Here's your MessageIndex.php. Use it after installing this mod.
@taha116
Have you tried your hand on making a simple mod? You'll find out that two mod authors modifying the same location will have a conflict. Profile for example.
@Relyana
Thanks for the language translation. I'll add it to the next update.
@taha116
Make sure the "'iobuploads.template.php" exist in default folder. Upload it if it is not there.
@Sirkonrads
Upload your images in default/images/ImagesOnBoard folder.
Quote from: Bulakbol on December 30, 2008, 08:19:52 PM
@davieb
Here's your MessageIndex.php. Use it after installing this mod.
@taha116
Have you tried your hand on making a simple mod? You'll find out that two mod authors modifying the same location will have a conflict. Profile for example.
@Relyana
Thanks for the language translation. I'll add it to the next update.
@taha116
Make sure the "'iobuploads.template.php" exist in default folder. Upload it if it is not there.
@Sirkonrads
Upload your images in default/images/ImagesOnBoard folder.
will do!
hmm are u sure that will work cause that is too complicated,and i not sure if i can do that by the look i see that hmm i dont know.
I do know that i image dont work.
And mods that is just a thing i will not do u beter belive me and it is a thing i not worried about.
Quote from: Bulakbol on December 30, 2008, 08:19:52 PM
@davieb
Here's your MessageIndex.php. Use it after installing this mod.
@taha116
Have you tried your hand on making a simple mod? You'll find out that two mod authors modifying the same location will have a conflict. Profile for example.
@Relyana
Thanks for the language translation. I'll add it to the next update.
@taha116
Make sure the "'iobuploads.template.php" exist in default folder. Upload it if it is not there.
@Sirkonrads
Upload your images in default/images/ImagesOnBoard folder.
Cheers, will give it a try over the next couple of days and let you know how I get on
Quote from: davieb on December 31, 2008, 03:45:57 AM
Quote from: Bulakbol on December 30, 2008, 08:19:52 PM
@davieb
Here's your MessageIndex.php. Use it after installing this mod.
@taha116
Have you tried your hand on making a simple mod? You'll find out that two mod authors modifying the same location will have a conflict. Profile for example.
@Relyana
Thanks for the language translation. I'll add it to the next update.
@taha116
Make sure the "'iobuploads.template.php" exist in default folder. Upload it if it is not there.
@Sirkonrads
Upload your images in default/images/ImagesOnBoard folder.
Cheers, will give it a try over the next couple of days and let you know how I get on
Works spot on. Cheers.
Are you able to help with a 2nd theme? I've looked back through the earlier posts and can only assume it must be specific coding to each theme and not a standard one. The theme is FS Gray. I've attached the boardindex and messageindex files
i have... or use Cargo by DzinerStudio... How do you coax it it in that theme?? plisss ^_^ O:)
@davieb
Try these files. They are edited. FS Gray theme. BoardIndex.template.php and MessageIndex.template.php.
@keru.x3
Cargo theme. BoardIndex.template.php,
<td class="windowbg2">
<b><a href="', $board['href'], '" id="b', $board['id'], '">', $board['name'], '</a></b><br />
', $board['description'], '<br />';
<td class="windowbg2">';
if (!empty($board['image']))
{
echo '<div style="float:left; margin-right: 4px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></div>';
}
echo '
<b><a href="', $board['href'], '" id="b', $board['id'], '">', $board['name'], '</a></b><br />
', $board['description'], '<br />';
MessageIndex.template.php.
<td class="windowbg2 board">
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
', $board['description'], '<br />';
<td class="windowbg2 board">';
if (!empty($board['image']))
{
echo '<div style="float:left; margin-right: 4px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></div>';
}
echo '
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
', $board['description'], '<br />';
Quote from: Bulakbol on January 01, 2009, 05:19:21 PM
@davieb
Try these files. They are edited. FS Gray theme. BoardIndex.template.php and MessageIndex.template.php.
Thanks for taking the time to do these. I've installed then but get the following error
QuoteTemplate Parse Error!
There was a problem loading the /Themes/Fs_Gray/BoardIndex.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/Fs_Gray/BoardIndex.template.php on line 397
388: {
389: echo '
390: <tr>
391: <td class="titlebg" colspan="2">', $txt[159], '</td>
392: </tr><tr>
393: <td class="windowbg" width="20" valign="middle" align="center">
394: ', $context['allow_pm'] ? '<a href="' . $scripturl . '?action=pm">' : '', '<img src="', $settings['images_url'], '/message_sm.gif" alt="', $txt[159], '" />', $context['allow_pm'] ? '</a>' : '', '
395: </td>
396: <td class="windowbg2" valign="top">
397: if (!empty($board['image']))
398: echo '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';
399:
400: echo '
401: <b><a href="', $scripturl, '?action=pm">', $txt[159], '</a></b>
Line 396, add '; at the end.
<td class="windowbg2" valign="top">';
<edit>
Wait.. I'll check your files again. I'll get back to you davieb.
</edit>
I was able to install with no errors but all I got when I put the imahe url and the name in their proper places all I got was a link to the image..
1.1.7
Can i get help with dilberMc theme, I just had problems with changing boardindex, so I'm a little reluctant to do manual change again...here is what i get:
SMF 1.1.7 btw:
1. Execute Code ImagesOnBoardDB115.php
2. Extract Tree ./Themes/default/images/ImagesOnBoard
3. Execute Modification ./Sources/Subs-Boards.php Test successful
4. Execute Modification ./Sources/MessageIndex.php Test failed
5. Execute Modification ./Sources/BoardIndex.php Test successful
6. Execute Modification ./Sources/ManageBoards.php Test successful
7. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
8. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
9. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
10. Execute Modification ./Themes/babylon/BoardIndex.template.php Test successful
11. Execute Modification ./Themes/babylon/MessageIndex.template.php Test successful
12. Execute Modification ./Themes/classic/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/classic/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/shinyblue115/BoardIndex.template.php Skipping file
15. Execute Modification ./Themes/shinyblue115/MessageIndex.template.php Skipping file
16. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
17. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful
18. Execute Modification ./Themes/default/languages/Modifications.spanish.php Skipping file
19. Execute Modification ./Themes/default/languages/Modifications.french.php Skipping file
I'll attach my boardindex and messageindex:
@davieb
Try these edited files. Sorry for the delayed reply. FS Gray theme. Let me know if you still get errors.
@Bass_Chaz
Maybe the images were not in their proper folder. Upload your images in default/images/ImagesOnBoard folder.
@romper
It's the Sources/MessageIndex.php that failed the search test. You attached the wrong ones.
I get errors when trying to install it on 1.1.7 :'(
Quote from: Bulakbol on January 08, 2009, 10:12:24 PM
@davieb
Try these edited files. Sorry for the delayed reply. FS Gray theme. Let me know if you still get errors.
Almost. No error message this time, but no images showing either :'(
Quote from: Bulakbol on July 08, 2008, 05:30:07 AM
Use your phpMyAdmin (MySQL) control panel and drop the img_filename column from smf_boards table then.
I used MySQL Administrator and opened the "smf_boards" table and unchecked "Not Null" option for both the "img_filename" and "img_link fields", clicked on "Apply Changes". I was able to create a new board. Thank you Sooooooo very much.
Crap, haven't even realized...here it is:
Bulakbol i want this mod for my new forum that use the theme Fnight --> http://custom.simplemachines.org/themes/index.php?lemma=1220
.
I'm using SMF 1.1.7 with Simple Portal :P
Quote from: Pwn Kyuubi on January 09, 2009, 08:10:06 PM
Bulakbol i want this mod for my new forum that use the theme Fnight --> http://custom.simplemachines.org/themes/index.php?lemma=1220
.
I'm using SMF 1.1.7 with Simple Portal :P
You will need to manually install the mod into that theme.
Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402)
@SilverKnight
Well, what kind of errors?
@Pwn Kyuubi
If you know how to install mod manually, you can do what BurkeKnight suggested.
@thomaspp
You are welcome. 8)
@davieb
Try removing all the id's you entered from Admin => Features and Options => Basic Features - "Arrange additional group id to be displayed." and see if it will display the badges properly.
@BurkeKnight
Thanks for the help. Appreciated.
@romper
I'll get back to you. Here's your MessageIndex.php. Upload this file before you install this mod.
Quote from: Bulakbol on January 12, 2009, 07:06:23 PM
@davieb
Try removing all the id's you entered from Admin => Features and Options => Basic Features - "Arrange additional group id to be displayed." and see if it will display the badges properly.
I don't have
"Arrange additional group id to be displayed." in the admin section as far as I can tell.
It worked, passed the install, I see the block on default theme...but I can't upload any gif. picture in the folder...strange thing...have to see what's wrong!
THX!
@davieb
Maybe the mod wasn't installed. or maybe there's something wrong.
@romper
How is it going? Did you chmod the ImagesOnBoard folder to 777?
Quote from: Bulakbol on January 17, 2009, 03:42:35 PM
@davieb
Maybe the mod wasn't installed. or maybe there's something wrong.
Yeah the mod is definitely installed as I can see the logos ok on the default theme, just not on the FS-Gray one.
Quote from: Bulakbol on January 17, 2009, 03:42:35 PM
@romper
How is it going? Did you chmod the ImagesOnBoard folder to 777?
Didn't have time for copuple of days...your modification of MessageIndex.php installed mod without errors..and I see the column in admin>boards where i should put xx.gif..and i see a folder in defalut theme, but I can't put any files in it...it says: error, something with premission?....The bold part I didn't understand, sorry O:)
Oo, I learnt the proces, after I try to change it sais: cannot change atributes of remote files!
Anything I can do or I must contact my provider?
I just want to say that finnaly i got this working thx guys and i can put images i want in ther on any costume themes.
CHEERS M8S ;)
@romper
You have to contact your provider. Maybe they don't want you to change file permissions.
@Sirkonrads
Glad to know.
@davieb
So the FS theme files I gave you didn't work?
Quote from: Bulakbol on January 19, 2009, 01:40:07 PM
@davieb
So the FS theme files I gave you didn't work?
Spot on mate, back to where we were at the start, with the logos showing in the default theme but nothing in the FS Gray
Quote from: Bulakbol on January 19, 2009, 01:40:07 PM
@romper
You have to contact your provider. Maybe they don't want you to change file permissions.
I will, I know him, so hopefully it want be a problem, since it's a great mod!
@davieb
Do you still need help with this mod?
Quote from: Bulakbol on January 22, 2009, 10:01:17 PM
@davieb
Do you still need help with this mod?
Please, about half my users view the site in FS Gray
Hi Bulakbol!
I've got a simple problem with Open Door template... I can't just start with ION on it.
I'll be grateful for a help ;) Now, some files... Cheers!
@davieb
Do you want me to edit FS theme BoardIndex.template.php and MessageIndex.template.php again?
@p1tereq
I'll see what I can do. I'll get back to you.
Quote from: Bulakbol on January 25, 2009, 08:23:27 PM
@davieb
Do you want me to edit FS theme BoardIndex.template.php and MessageIndex.template.php again?
Yeah please. Might as well give it another try.
@p1tereq
You need only to modify The_Open_Door/BoardIndex.template.php. Install this mod before using the attached BoardIndex.template.php.
@davieb
Attach your FS BoardIndex.template.php and MessageIndex.template.php then.
@Bulakbol You're amazing! Thanks very much for that. Good Stuff!
Working better than perfect ;) If You're looking for some who can give u a hand with some translations (polish - English)... than I'm inn ^_^
Quote from: Bulakbol on January 26, 2009, 03:01:00 PM
@davieb
Attach your FS BoardIndex.template.php and MessageIndex.template.php then.
They are on reply #411 ;)
@davieb
We are going in circle. I attached edited FS files in reply#411 for you. Have you tried them? I am trying to help you.
Hi, i have downloaded and installed the Image on Board mod on my forum. But how do i go doing making it works, i just can't understand what the instructions says. My version is SMF 1.1.5.
I have attached the needed files. Pls help..
@Gunny
If you are using custom theme, which one?
Quote from: Bulakbol on February 01, 2009, 10:06:07 PM
@Gunny
If you are using custom theme, which one?
I am currently using Blue Ace theme. But if it takes to works by changing the theme back to Babylon or one of the orginal SMF theme, i will do it. But if you could work out the mod on Blue Ace, i will be more than happy.
@Gunny
This mod was properly installed in the BlueAce's BoardIndex.template.php and Message.template.php. There's something else wrong with your files and I don't know what it is. Have you done edits on them lately?
Quote from: Bulakbol on January 27, 2009, 04:24:40 PM
@davieb
We are going in circle. I attached edited FS files in reply#411 for you. Have you tried them? I am trying to help you.
Yeah they were tried as per my reply on 413 which was why I assumed you'd want to pick it up from the files you attached on 411 (the one's I currently have but which don't show the images)
Cheers for your continued assistance here.
Dave
Quote from: Bulakbol on February 02, 2009, 08:27:53 PM
@Gunny
This mod was properly installed in the BlueAce's BoardIndex.template.php and Message.template.php. There's something else wrong with your files and I don't know what it is. Have you done edits on them lately?
I really appreciate it for helping me out. I haven't touch any of the html recently so what is wrong with my files? How do i go doing putting the image for the board.
@davieb
If you still need assistance, attach the files to your next post.
@Gunny
I can't edit your files because there's something wrong with them and I don't know why. Sorry. They won't run.
hello :)
thanks Bulakbol for your work,
i've the same probleme than taha116, "Unable to load the 'iobuploads' template." when i click on the * to give an url
i read and try many things, but no change,
i had no error during the install, and i modified some language files,
my SMF is in french, and i use babylon skin,
could you give me please a way to follow?
(sorry for my english)
@Amzen
The "*" is only for uploading images to the image folder. To enter a link for an image, you have to go to Admin => Boards => Modify Boards. Click on the "Modify" and look for "Link for the above image:". Enter the link here. (Example: http://www.google.com).
Goodmorning
thanks, it works perfect now,
(put images on the ImagesOnBoard Dir).
;)
hope Images to support smf 2 RC1.
Ok ok. :) I apologize for the delay. I will update all my mods of course but might take time. I got sick and my health is not fully back yet. Stand by. :)
Apologies if this question is already answered here.
Is there or will there be a mod for ImagesOnBoard - SMF v1.1.8?
Have just converted my YaBB boards and used this feature in YaBB so it would be good to have it on my new SMF board also if possible.
Many Thanks
I'm use in 1.1.8 without problem!
Quote from: Dark-Wolf on February 18, 2009, 11:03:14 AM
I'm use in 1.1.8 without problem!
Excellent thanks. I'll give it a try then. :)
I managed to get premission to move files, but I need help with dilberMc theme....here are board.index, and message.index...from dilberMc theme.....default theme works now, after you did modifications on source/message.*....
@romper
This mod support the dilber MC theme.
Thanks for this perfect Mod! (sorry for my english)
A question: it's possible remove link to image when i click to image? If i click to board's name,i go to boards....if i click to board's image,i go to image's page!
thanks
antonio
I have two questions about this mod's present or future :
1) Is it possible to make the images theme-dependant ? That is, for instance, to have the image path like "[current variable theme name]/images/ImagesOnBoard" ?
2) Is it possible to add a toggable option in the user profiles, to allow members to choose themselves if they want the images displayed or not ?
Quote from: Bulakbol on February 18, 2009, 11:12:01 PM
@romper
This mod support the dilber MC theme.
Hm...than I don't know where is the problem, i see the block where to put image.gif, I created folder, and I see the image in default theme but nothing on dilberMc...completly nothing, like I didn't put anything!
SMF RC1.
ERROR has been happened.
@fotografo74
The default link for image is the board's url. If you want to link the image somewhere else, you have to enter the url in the "Link for the above image:" text box. For example, try to enter the following when modifying a board.
Name of image for this board: stop.png
Link for the above image: http://www.simplemachines.org
@Xepernas
1.Yes but what is the purpose?
2. Yes. I will add that option to version 2.1. Good idea.
@romper
The folder is already there for you. You don't have to create a folder. I tried this mod again and it install in DilberMC with no problem. You can attach your dilbermc BoardIndex.template.php and I'll try to find the problem.
@six_L
Uncompress the package, upload the img_link.php and run it once. It should add the img_link column to your boards table.
Quote@six_L
Uncompress the package, upload the img_link.php and run it once. It should add the img_link column to your boards table.
error messages:
QuoteNotice: Undefined index: forumProfile in D:\smf\Sources\Subs.php on line 3766
Database updates complete!
ImagesOnBoard mod does not touch the Sources/Subs.php file. Additionally, version 2.0 RC1 uses "forumprofile" (lowercase) where version 2.0 Beta 4 uses "forumProfile" (camelCase). Try changing the "forumProfile" to "forumprofile".
QuoteTry changing the "forumProfile" to "forumprofile".
DateBase updates complete!
but the Error about snap000.jpg has still been happened
hi! When I Click on the * ( next to "Name of image for this board: *) I get this error:
Unable to load the 'iobuploads' template.
No matter what I do or try. I read in one post that this is for uploading pictures, why am I getting an error then? How is the * suppose to be used and how do I fix this problem? Thanks!
Quote from: Bulakbol on February 25, 2009, 11:07:33 PM
@romper
The folder is already there for you. You don't have to create a folder. I tried this mod again and it install in DilberMC with no problem. You can attach your dilbermc BoardIndex.template.php and I'll try to find the problem.
Thx...here it is:
I love this mod, but I'm having a problem. It shows the image as double. Also, how do you get the image to show under the board name?
Here's what I see when I go to add the image:
http://i128.photobucket.com/albums/p170/sandmannd/forum%20junk/DoublImage.jpg
Here's what it looks like when posted.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi128.photobucket.com%2Falbums%2Fp170%2Fsandmannd%2Fforum%2520junk%2FDoubleSponsorpic.jpg&hash=980442d6756102e60f1116fb98f82389a8d52ac4)
After reading through this thread I attached a couple of files as well.
@Six_L and GoHighVoltage
Try the new package. Then post here if you still getting errors or problems.
@romper
I don't know what the problem is but here's your edited dilberMC BoardIndex.template.php.
@sandmannd
Here are your edited BoardIndex.template.php and MessageIndex.template.php. You probably forgot or you didn't uninstall the old version.
Hi, Ok, I installed the new package, When I go into a board, and I click on that "*", not it gives me an error that says:
Fatal error: require_once() [function.require]: Failed opening required '/html/forum/Sources/IOBUploads.php' (include_path='.:/usr/local/php5/lib/php') in /html/forum/index.php on line 349
Nevermind, I fixed it! Error on my part!
Thanks!! Works great now!
I go to install the mod and i get this problem
4. Execute Modification ./Sources/MessageIndex.php Test failed
how do i fix it ?
Quote from: Bulakbol on February 25, 2009, 11:07:33 PM
@Xepernas
1.Yes but what is the purpose?
You can have several available themes on your forum, with several kinds of colours. So, this would allow, for instance, to use differently tinted versions of your images, to integrate them better in the used theme.
In fact it would even allow to use completely different sets of images to match the style of the theme (jolly or brutal, woody or metallical, cartoonish or realist, etc). But even with just one set of images (in particular if stylized or silhouetted ones), adaptating them to the surrounding colour schemes would be useful. Or else it can get hard to find one colour that doesn't clash with any of the selectable themes.
Hello my board is located at http://forums.domain-and-web-talk.com
Im trying to install this mod, it goes through alright but after editing the boxes with the relevant , it only shows links, and not the images, whats up? im using version 1 of this mod
I get "Unable to load the 'iobuploads' template."
..kk
Quote from: Bulakbol on March 02, 2009, 09:17:01 PM
@sandmannd
Here are your edited BoardIndex.template.php and MessageIndex.template.php. You probably forgot or you didn't uninstall the old version.
You da man Johnny B! Thank you so much.
One last question. How do I get the banner to show under the board name instead of in front of it?
FYI - I installed the mod, and it screwed up maintenance's ability to check versions, so I uninstalled it.
Quote from: Bulakbol on March 02, 2009, 08:55:33 PM
@romper
I don't know what the problem is but here's your edited dilberMC BoardIndex.template.php.
It works...GREAT..many THX!
great mod! is there any way of making it so the pictures arnt clickable tho?
I want to add this great mod but got this problem
4. Execute Modification ./Sources/MessageIndex.php Test failed
how can i fix it ?
Hey, I really like your mod but I just can't seem to get it to work. I've tried modifying the board index template and stuffs but I just can't get it right. Would really appreciate it if you could help me with it. I'm using the Blue Ace theme. I've attached the files. Thanks a bunch in advance.
So, what's the news for the next version ? Any chance to see it soon, with the "toggle images off" option and/or the "theme-dependant images" system ?
I'm merely asking because we're about to install and use the mod, and not sure if we should wait a little longer for a more convenient version, or just go ahead with the current one (maybe trying to tweak it ourselves in the themes).
Hello,
is there anybody, please help, it is urgent.
When i installed the first time a version imagesonboard2b4 it didn't work properly, don't know why, so i download the other version imagesonboard2.1 and i installed it, so i got double images on board, and don't know how to do with it.
i got doubled info in "Modify Boards":
"Name of image for this board:
Include file extension. (i.e. xx.gif): *
Include file extension. (i.e. stop.png)
Link for the above image:
(i.e. http://www.simplemachines.org)
Name of image for this board:
Include file extension. (i.e. xx.gif): *
Include file extension. (i.e. stop.png)
Link for the above image:
(i.e. http://www.simplemachines.org)"
what shall i do, please help! THank you very much!
And, after i uninstalled both of the version, there is still something left in the "Modify boards" area, how can i totally clean it, and reinstall again this mod? Thank you very much!
I love this mod, but I have two questions.
1. How do I make it so when you click on the image it will go to a different site (like a sponsors site)? It's clickable now but it just goes into that board.
2. How can I get the image to show under the board name? Right now it shows to the left of the board name.
You can see them at www.uppermidwestoutdoors.com (http://www.uppermidwestoutdoors.com)
I have been using this mod for some months,and works very good.
However,I have a question/request: how can I show images hosted in a external server (such as imageshack,etc),so I don't need to upload the images inside my hosting? I have problems with bandwith,and I need this very much.
Thanks..
@kingkingstonQuote from: kingkingston on March 02, 2009, 11:37:24 PM
4. Execute Modification ./Sources/MessageIndex.php Test failed
how do i fix it ?
Attach your Sources/MessageIndex.php and I'll try to find the problem.
@XepernasQuote from: Xepernas on March 03, 2009, 06:59:36 AM
You can have several available themes on your forum, with several kinds of colours. So, this would allow, for instance, to use differently tinted versions of your images, to integrate them better in the used theme.
In fact it would even allow to use completely different sets of images to match the style of the theme (jolly or brutal, woody or metallical, cartoonish or realist, etc). But even with just one set of images (in particular if stylized or silhouetted ones), adaptating them to the surrounding colour schemes would be useful. Or else it can get hard to find one colour that doesn't clash with any of the selectable themes.
Point taken. The problem is that the mod will become complicated. I don't even know how to do it. :P
@shaolin25Quote from: shaolin25 on March 03, 2009, 07:51:17 AM
I get "Unable to load the 'iobuploads' template."
Have you tried installing the newest update of this mod? Do you still need help?
@sandmanndQuote from: sandmannd on March 03, 2009, 12:05:55 PM
You da man Johnny B! Thank you so much.
One last question. How do I get the banner to show under the board name instead of in front of it?
You are welcome. Open your BoardIndex.template.php and find
<td class="windowbg2">';
if (!empty($board['image']) && empty($options['disable_iob']))
{
echo '<div style="float:left; margin-right: 4px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></div>';
}
echo '
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
', $board['description'];
replace
<td class="windowbg2">';
echo '
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
', $board['description'];
if (!empty($board['image']) && empty($options['disable_iob']))
{
echo '<div style="margin-right: 4px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></div>';
}
@foghornQuote from: foghorn on March 03, 2009, 08:05:27 PM
FYI - I installed the mod, and it screwed up maintenance's ability to check versions, so I uninstalled it.
You should report this mod so other customizers can check the code. You might have other mods that is giving you issues, but hey, if you have proof I will be more than glad to change and update this mod.
@romperThanks for the compliment. Thank you for using/trying this mod.
@berrylifeQuote from: berrylife on March 12, 2009, 11:42:31 PM
great mod! is there any way of making it so the pictures arnt clickable tho?
Thanks. The pictures default link is the board link. If you want to remove the link, let me know. You have to edit your BoardIndex.template.php.
@DarianoI have your files. I'll get back to you after I edit them.
@XepernasQuote from: Xepernas on March 23, 2009, 10:31:56 AM
So, what's the news for the next version ? Any chance to see it soon, with the "toggle images off" option and/or the "theme-dependant images" system ?
The latest version is 2.1 and your member have the ability to turn the display of images on or off. Default is on. Profile => Look and Layout Preferences => " Don't show images on board." checkbox.
@neverhurryYou have to do the manual uninstall and remove all the codes.
@sandmanndQuote from: sandmannd on March 25, 2009, 06:32:51 PM
1. How do I make it so when you click on the image it will go to a different site (like a sponsors site)? It's clickable now but it just goes into that board.
2. How can I get the image to show under the board name? Right now it shows to the left of the board name.
1. When you modify a board, enter the link or url in the "Link for the above image:" text box.
2. See my previous post above this post.
@LamarcQuote from: Lamarck on March 28, 2009, 09:48:36 AM
I have been using this mod for some months,and works very good.
However,I have a question/request: how can I show images hosted in a external server (such as imageshack,etc),so I don't need to upload the images inside my hosting? I have problems with bandwith,and I need this very much.
Thanks..
I have to add another column/field for the external server. If I have time, I will add it to the next version.
Quote from: Bulakbol on March 28, 2009, 11:43:00 AM@Xepernas
Quote from: Xepernas on March 03, 2009, 06:59:36 AM
You can have several available themes on your forum, with several kinds of colours. So, this would allow, for instance, to use differently tinted versions of your images, to integrate them better in the used theme.
In fact it would even allow to use completely different sets of images to match the style of the theme (jolly or brutal, woody or metallical, cartoonish or realist, etc). But even with just one set of images (in particular if stylized or silhouetted ones), adaptating them to the surrounding colour schemes would be useful. Or else it can get hard to find one colour that doesn't clash with any of the selectable themes.
Point taken. The problem is that the mod will become complicated. I don't even know how to do it. :P
Ok. Not much of a problem anyway. As we have to manually add the code to the "unsupported" themes anyway, whenever I do I just replace all occurences of "$settings['default_images_url']" with "$settings['images_url']", and make an "ImagesOnBoard" folder in the theme's "images" repertory (with its own set of icons inside). It seems to do the trick very well.
Quote from: Bulakbol on March 28, 2009, 12:11:28 PMThe latest version is 2.1 and your member have the ability to turn the display of images on or off. Default is on. Profile => Look and Layout Preferences => " Don't show images on board." checkbox.
Excellent. Thanks.
Quote from: Bulakbol on March 28, 2009, 11:43:00 AM
@kingkingston
Quote from: kingkingston on March 02, 2009, 11:37:24 PM
4. Execute Modification ./Sources/MessageIndex.php Test failed
how do i fix it ?
Attach your Sources/MessageIndex.php and I'll try to find the problem.
@Xepernas
Quote from: Xepernas on March 03, 2009, 06:59:36 AM
You can have several available themes on your forum, with several kinds of colours. So, this would allow, for instance, to use differently tinted versions of your images, to integrate them better in the used theme.
In fact it would even allow to use completely different sets of images to match the style of the theme (jolly or brutal, woody or metallical, cartoonish or realist, etc). But even with just one set of images (in particular if stylized or silhouetted ones), adaptating them to the surrounding colour schemes would be useful. Or else it can get hard to find one colour that doesn't clash with any of the selectable themes.
Point taken. The problem is that the mod will become complicated. I don't even know how to do it. :P
@shaolin25
Quote from: shaolin25 on March 03, 2009, 07:51:17 AM
I get "Unable to load the 'iobuploads' template."
Have you tried installing the newest update of this mod? Do you still need help?
@sandmannd
Quote from: sandmannd on March 03, 2009, 12:05:55 PM
You da man Johnny B! Thank you so much.
One last question. How do I get the banner to show under the board name instead of in front of it?
You are welcome. Open your BoardIndex.template.php and find
<td class="windowbg2">';
if (!empty($board['image']) && empty($options['disable_iob']))
{
echo '<div style="float:left; margin-right: 4px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></div>';
}
echo '
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
', $board['description'];
replace
<td class="windowbg2">';
echo '
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
', $board['description'];
if (!empty($board['image']) && empty($options['disable_iob']))
{
echo '<div style="margin-right: 4px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></div>';
}
it's cool mate,got it worked out thanks though :)
@Xepernas
Cool. You know your way around it. Good to know it's working fine.
@kingkingston
8) Ok. Nice to hear. Thanks for using/trying this mod.
I have this working fine in Firefox, but I'm not getting images to display in IE 7.0.5730.13.
Default theme on RC1
Is this because I use .ico files for the images and not .png or .gif files?
I will try today only
4. Execute Modification ./Sources/MessageIndex.php Test failed
I have this MessageIndex.php attached
can anyone help me with this ??
thanks
@C4G-TK
Try not using icon files. IE might have problem with .ico.
@Dariano
Here are your edited files. Try them after installing this mod. Keep a backup first.
@EZ1
Use this file before you install this mod. Make a backup first.
thank you for your time ;D
Quote from: Bulakbol on March 31, 2009, 04:51:47 PM
@C4G-TK
Try not using icon files. IE might have problem with .ico.
I'll try that later tonight and see if that's the problem. Thanks!
Well, it has nothing to do with the files being .ico I changed an image to .gif and .png and got the same results. All the other images are showing up fine on IE. It's just the Images On Board that aren't showing in IE.
The only error that I had when installing was the 1st edit of the ManageBoards.template file. I'm going to go back and see what that edit involved and see if I missed something there.
This is how I have the edit there:
Remember, using RC1 on default
images appear fine in firefox but not in IE
<tr valign="top" class="windowbg2">
<td>
<b>', $txt['mboards_description'], ':</b><br />
<span class="smalltext">', $txt['mboards_description_desc'], '</span><br />
</td>
<td valign="top" align="left">
<textarea name="desc" rows="3" cols="35" style="color: ', !empty($context['board']['desc_color']) ? $context['board']['desc_color'] : '', ';">', $context['board']['description'], '</textarea><br />
<b>', $txt['colorize_color'], '</b> <input type="text" name="desc_color" style="color: ', !empty($context['board']['desc_color']) ? $context['board']['desc_color'] : '', ';" value="' . $context['board']['desc_color'] . '" size="11" />
</td>
</tr>
<tr valign="top" class="windowbg2">
<td>
<strong>', $txt['board_image'], ':</strong> <a href="', $scripturl, '?action=iobuploads" target="_blank"><img src="', $settings['default_images_url'], '/iobuploads.gif" alt="*" /></a><br />
<span class="smalltext">', $txt['board_image_desc'], '</span><br />
</td>
<td valign="top" align="left">
<input type="text" name="img_filename" value="', $context['board']['image'], '" size="30" />
</td>
</tr>
UPDATE:
All working now. I switched them a second time to .png and this time they worked w/o problems. I don't know what I did to make it work this time. Anyway, THANKS for another great mod!
MessageIndex.php failed
attatched file below
Bulakbol, thanks for taking the time to do this mod and support for it.
I'm having a little difficulty installing it though. Here's the error message I get when applying the mod:
10. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
11. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
12. Execute Modification ./Themes/dilbermc/BoardIndex.template.php Test successful
13. Execute Modification ./Themes/dilbermc/MessageIndex.template.php Test successful
14. Execute Modification ./Themes/babylon/BoardIndex.template.php Test failed
15. Execute Modification ./Themes/babylon/MessageIndex.template.php Test failed
Any ideas on what I'm doing wrong???
@WVPreacher
The reasons your tests failed are because you probably have other mods which altered the code that this mod is looking for when testing the edits.
1) What version of SMF are you using?
Also, if you aren't going to be using the other themes, all you need to worry about are #10 & #11.
2) Are you using default theme or are you using all three of these themes?
All the failed tests mean is you will have to edit these manually.
I need some help with this. Im using Black rain v.2 latest version with SMF 1.1.8 and cannot for the life of me find the code in the files to edit.
Im attaching my files so someone can help me. Thanks if anyone can! :)
@PRaDiUS
Here's your MessageIndex.php. Use this file before installing the mod, not after.
@WVPreacher
as C4G-TK said, what theme are you using?
<edit>
@xPreatorianx
I'll get back to you. I'll have to find time to edit your two files.
(https://www.simplemachines.org/community/index.php?action=dlattach;topic=302845.0;attach=93209;image)
(https://www.simplemachines.org/community/index.php?action=dlattach;topic=302845.0;attach=93211;image)
I wants to place image in board how can i apply i am facing this problem.. i apply all thing on image have a look on it and give me any suggestion what can i do for that
@adi4u
Did you try what I told you in the other topic? Try typing stop.png in the Name of image for this board textbox and see what will happen.
Quote from: Bulakbol on April 05, 2009, 08:07:12 AM
@adi4u
Did you try what I told you in the other topic? Try typing stop.png in the Name of image for this board textbox and see what will happen.
Sir that is not working.. but thanks i found the solution for that thanks alot
Cannot get the images to show on the board, tried everything. Hopefully you can find something in these templates that points to the problem.
You are the MAN! Thanks so much for your help and this great mod.
Quote from: Bulakbol on April 05, 2009, 04:27:18 AM
@PRaDiUS
Here's your MessageIndex.php. Use this file before installing the mod, not after.
@PRaDiUS
You're welcome.
@foobs
What theme are you using? I edited your BoardIndex.template.php. Your MessageIndex.template.php is fine. Try the attached file. Use it after you installed the mod. If there's problem, I want to know the theme you are using so I can test the modified files.
Quote from: Bulakbol on February 25, 2009, 11:07:33 PM
@fotografo74
The default link for image is the board's url. If you want to link the image somewhere else, you have to enter the url in the "Link for the above image:" text box. For example, try to enter the following when modifying a board.
Name of image for this board: stop.png
Link for the above image: http://www.simplemachines.org
I have a problem of when I go to do this I just have "name of image for this board" listed twice. I have nothing that How do I fix this? It seems to be working ok, but I just checked it and it's listed three times. I modified the messageboard.php and didn't see anything in there in triplicate.
By the way, thanks for the fix to get the banner under the board name. Looks awesome now. Thank you for all you do with this mod.
IM sorry to bother you johnny. Was wondering how is the edits going for you? The ones I requested. Only reason why im alittle impatient is because im trying to get a deadline to my staff so they can create custom icons for my forum.
But ill leave ya alone :)
Quote from: Bulakbol on April 05, 2009, 08:36:35 PM
@foobs
What theme are you using? I edited your BoardIndex.template.php. Your MessageIndex.template.php is fine. Try the attached file. Use it after you installed the mod. If there's problem, I want to know the theme you are using so I can test the modified files.
That worked perfectly, thanks!
Quote from: C4G-TK on April 04, 2009, 08:22:09 PM
@WVPreacher
The reasons your tests failed are because you probably have other mods which altered the code that this mod is looking for when testing the edits.
1) What version of SMF are you using?
Also, if you aren't going to be using the other themes, all you need to worry about are #10 & #11.
2) Are you using default theme or are you using all three of these themes?
All the failed tests mean is you will have to edit these manually.
Quote from: Bulakbol on April 05, 2009, 04:27:18 AM
@WVPreacher
as C4G-TK said, what theme are you using?
My apologies, I keep forgetting to post the version. I'm using 1.1.8 and no, I do not use the Babylon theme. I do use Default and a modified version if His Own by Crip. Jade(Alundra) was kind enough to update His Own to work with Version 1.1.8
@xPreatorianx
Oppss sorry, thanks for bumping. I forgot. Here's your edited files. Use them after installing this mod.
@WVPreacher
Attach the BoardIndex.template.php and MessageIndex.template.php of the theme you are using. I'll find time to edit them for you.
@foobs
You're welcome. 8)
@sandmannd
Check your ManageBoards.template.php and remove the duplicated code.
Hi, this is Bulgarian translation UTF-8
$txt['disable_iob'] = 'Непказвай картинките в таблицата.';
$txt['board_image'] = 'Име на картинката за тази таблица';
$txt['board_image_desc'] = 'Валидни фаилови разширения. (т.е. stop.png)';
$txt['board_img_link'] = 'Линк до картинката';
$txt['board_img_link_desc'] = '(т.е. http://www.simplemachines.org)';
$txt['upload_title'] = 'Качи картинки';
$txt['select_files'] = 'Избери файл';
$txt['valid_file_types'] = 'Валидните типове файл са';
$txt['invalid_file_extension'] = 'Съжалявам. <span style="color: #FF0000;">%s</span> е невалидно фаилово разширение. Качването е прекратено.<br />';
$txt['upload_failed'] = '<span style="color: #FF0000;">Качването провалено! Неизвестна грешка.</span><br />';
$txt['file_too_big'] = 'Съжалявам. <span style="color: #FF0000;">%s</span> е твърде голям. Качването е прекратено<br/>';
$txt['file_cannot_move'] = '<span style="color: #FF0000;">%s</span> неможеда се премести. Неизвестна грешка.';
$txt['upload_successful'] = '<span style="color: blue;">файла е качен успешно. Благодария Ви.</span> - %s<br />';
$txt['file_exists'] = 'Съжалявам. %s вече съществува. Пробвай друг файл или смени име.<br/>';
$txt['maximum_allowed'] = 'Максималния размер разрешен от хоста е <strong>%s</strong> kilobytes или <strong>%d</strong> megabytes.<br />';
$txt['maximum_upload'] = 'Максималния размер на файл за качване е <strong>%s</strong> kilobytes или <strong>%d</strong> megabyte(s).<br /><br />';
Members can do this modification without using this customization so if you want to do it yourself, see this topic (http://www.simplemachines.org/community/index.php?topic=305425.msg2021205#msg2021205).
Would this mod work on my forum? I am using 1.1.8 and I have a custom theme named Callisto.
@nina-nina
You have to edit your BoardIndex.template.php and MessageIndex.tamplate.php of your custom theme.
Quote from: Bulakbol on May 02, 2009, 07:12:52 PM
@nina-nina
You have to edit your BoardIndex.template.php and MessageIndex.tamplate.php of your custom theme.
And how should I edit those? :o
I have a quesiton for you Johny. I while ago you helped me so the images were under the name of the board and it's great. I started adding images to some child boards and those show up a little goofy again. Do you know where I would go to image that?
Here's what I'm talkig about:
http://www.uppermidwestoutdoors.com/index.php?board=119.0 (http://www.uppermidwestoutdoors.com/index.php?board=119.0)
And I would like them to look like this:
http://www.uppermidwestoutdoors.com/index.php?action=forum (http://www.uppermidwestoutdoors.com/index.php?action=forum)
@nina-nina
You mean... you haven't done any edits before? Download the file in question to your PC using FTP program, edit the file and upload it back. Don't forget to make a backup just in case something goes wrong. How do I use FTP? / What is FTP? (http://docs.simplemachines.org/index.php?topic=480)
@sandmannd
I have to look at your BoardIndex.template.php tho. Then I can tell you what to do.
SMF 1.1.8,DEFAULT
getting this error
Execute Modification ./Sources/MessageIndex.php Test failed
any help plsssssssssssss
@kizley
Attach your MessageIndex.template.php to your next post and I'll see what I can do.
I am also getting Execute Modification ./Sources/MessageIndex.php Test failed
I have 1.1.8 Default theme.
I've attached my MessageIndex.php
Hi Bulakbol,
I have installed V2.1 of the mod on my board (running SMF 1.1.8 and it works great on the default themes. Thank you.
I also have the Dilber Multicolor 1.1 theme and have tried to modify the Board and Message index templates. It seemed to work for test but then members kept getting Template Parse errors and could not navigate the forum correctly. I restored backups of the original templates and all was well, thus proving it was what I had done that caused the errors.
Could I please ask you to do the mod for me on the two templates, see attached.
Regards
Chas
I'll see what I can do guys.
I installed this mod and it looked as it was installed succesfully. But I can't make images to show. I have followed all the instructions (file extension, etc.), but nothing shows.
Does it works on all themes? I have a premium theme-Callisto- and I have 1.1.8 version.
I would love to be able to have images adde to identify my boards!
Quote from: nina-nina on May 17, 2009, 11:08:58 AM
I installed this mod and it looked as it was installed succesfully. But I can't make images to show. I have followed all the instructions (file extension, etc.), but nothing shows.
Does it works on all themes? I have a premium theme-Callisto- and I have 1.1.8 version.
I would love to be able to have images adde to identify my boards!
No it doesn't hence my request for a mod to the Dilber theme. I'm sure, given time Bulakbol will help you out and there is a mod given on page 1 if you're confident with coding.
Quote from: Bulakbol on May 05, 2009, 10:29:54 PM
@sandmannd
I have to look at your BoardIndex.template.php tho. Then I can tell you what to do.
Been busy so didn't get back to you. Here is my php file. Thanks.
Hi guys,
this modification is amazing, but in the error log I have errors in BoardIndex.template.php file.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.maxipicture.cz%2Fthumb.php%3Fpicture%3D.%2Fuploaded_files%2F39%2F1242804524-img.jpg&hash=89a660f3a48e09252ab3fed70cad1a9706237dd1) (http://www.maxipicture.cz/ukaz/uploaded_files/39/1242804524-img.jpg)
Where would be a mistake please?
Original BoardIndex.template.php is in the attach.
Thanks a lot!
@Chas_Large
Sorry for the delayed reply. Try the attached edited files.
@flid
Here's your edited MessageIndex.php.
@sandmannd and MaxiPes
I'll get back to you. If you are using custom theme, let me know.
Hi Bulakbol,
my mistake.
Sorry and thank ;)
Quote from: Bulakbol on May 20, 2009, 05:21:53 AM
@Chas_Large
Sorry for the delayed reply. Try the attached edited files.
Thanks Bulakbol, that did the trick, much obliged. :)
Chas
Anyone know how to make a picture blend in to the background better ?
like a transparent picture or something
Quote from: kingkingston on May 21, 2009, 01:38:21 AM
Anyone know how to make a picture blend in to the background better ?
like a transparent picture or something
Use an image editing program and save it as PNG or GIF, these are the only two formats that support TRANSPARENCY. Most good graphics programs will allow you to specify the background colour as the transparent colour.
Try SUMOPAINT.com or netpaint
@Chas_Large
You're welcome. Thank you too for helping.
@KingKingston
Chas_Large is right. I am using photoshop though.
@sandmannd
SMF is rejecting the file. I cannot attach to my post. I'll try it again later.
@MexiPes
This mod was properly installed in your BoardIndex.template.php.
Yes, my mistake sorry ;)
@MaxiPes
Cool. Thank you for letting me know.
@sandmannd
Here's your edited BoardIndex.template.php. Please try it.
Bulakbol, you helped me with my boardindex.template.php before, it worked great, but I had some problems with forum so I deleted all packages, changed many things and re-install. I see that again I need to change chmod to 777, but that is not the problem. Installation of your package went without problems and I tested it with stop.png...it works but it shows 2 images instead of 1. So I help stop sign and another one with it. What changed to create this double image?
Here is my boardindex...if it helps.
@romper
Your BoardIndex.template.php is fine. I can't find any problem with it.
I have installed this mod but for some reason the images appear twice............
http://www.suffolksportsforum.co.uk/index.php?action=forum
Any ideas on how to fix this?
Quote from: Verso on May 26, 2009, 04:38:55 AM
I have installed this mod but for some reason the images appear twice............
http://www.suffolksportsforum.co.uk/index.php?action=forum
Any ideas on how to fix this?
:D :D just asked this....but I will check my problem again, because I restarded everything!
Quote from: Bulakbol on May 26, 2009, 01:42:38 AM
@romper
Your BoardIndex.template.php is fine. I can't find any problem with it.
Thx, It was my problem with other things, now it's great....I manually (from what you posted here) installed images in Blues MC...i just have problem with avatars on board...that is also your mod?
As you can see two places for images............
http://www.newgnr.com/forum/index.php
so will this mod work, by playing images on each of the boards, like the site above?
cause the site above is using the musiconica theme (same one as mine) but I have no idea how they can have images in each board section..
someone please explain it to me?
ta
hello Bulakbol
here is my ./Themes/default/MessageIndex.template.php it fails. When you get a chance can you see if it will work.
Thanks
I apologize for the delayed reply.
@computel
I edited your BoardIndex.template.php. Install the mod disregarding the MessageIndex.template.php failed test, then use the attached file after the installation. Do not forget to make a backup of the original MessageIndex.template.php in case something goes wrong.
@Frelo21
The wedsite you posted is using modified theme. They use images as a background. This mod add only images on the left hand side of board names, and is not used as a background.
@Verso
This mod was installed twice maybe. All you can do is edit the file in question manually and remove the duplicate coding.
If I missed any question, please let me know.
I fixed my issue. It was an upgrade issue (I tried to cheat but ended up screwing things)
This mod is working on my site:- http://www.suffolksportsforum.co.uk/index.php?action=forum
Just need a few more icons and then I'm all done........
Superb mod
Yes Bulakbol is real Simple Machines Hero :-)
@Verso
Good to hear. Nice site btw.
@MaxiPes
LOL. Thanks for the compliment though.
hi in the package parser it said edit this
In file Themes/[your theme]/BoardIndex.template.php
Find:
<td class="windowbg2 info">
Add after:
';
if (!empty($board['image']) && empty($options['disable_iob']))
{
echo '<span style="float:left; margin-right: 2px; margin-left: 2px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></span>';
}
echo '
In file Themes/[your theme]/MessageIndex.template.php
Find:
<td class="windowbg2 info">
Add after:
';
if (!empty($board['image']) && empty($options['disable_iob']))
{
echo '<span style="float:left; margin-right: 2px; margin-left: 2px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></span>';
}
echo '
But in my theme I do not have this where would i edit this? I included the files
Quote from: Bulakbol on May 21, 2009, 03:54:52 PM
@MaxiPes
Cool. Thank you for letting me know.
@sandmannd
Here's your edited BoardIndex.template.php. Please try it.
Sorry it took me a while, I uploaded this to my site and still have the same problem. The title is to the side of the picture on the child boards.
@bluesinjid
Try these edited files. I haven't tested them but I think they are ok.
@sandmannd
Sorry, I think I mislooked the error. Try this one instead.
Quote from: Bulakbol on June 02, 2009, 01:18:06 AM
@sandmannd
Sorry, I think I mislooked the error. Try this one instead.
This one actually messed up the ones on my main page so I went back to the old one.
Site is at www.uppermidwestoutdoors.com. If you look at the main page you will see them setup up right. If you click on "guide services" you will see them messed up.
Yes, hi. I'm new to the whole forum thing so maybe you have already answered this question before. BTW, great mod. The installation went fine, so I think it is just the way I am trying to enter the photos. I am using Photobucket because I did not know how to get a URL for the photos otherwis. I put the filename where it goes (ex -xxx.jpg) and then I put in the link. Where the picture should be instead of a pic I get the URL and a little "X" where the photo icon should be. If you click on it, it brings up the photo in another window. I know I'm close, but I just can't seem to get there on my own. Could you please help me out? BTW, i'm using default theme V. 1.1.9. Thanks,
Chris
I tried everything. I can't do it. I'm getting close to throwing in the towel. Please help.
@sandmannd
Can you post a screen cap?
@RPro1975
To use external images, you have to edit BoardIndex.template.php and MessageIndex.template.php. In Admin => Boards => modify => "Name of image for this board", enter
[img]http://www.photobucket...jpg[/img]
Then edit BoardIndex.template.php.
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
if (substr($board['image'],0 ,5) == '[img]')
{
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank">', parse_bbc($board['image']);
else
echo '<a href="', $board['href'], '">', parse_bbc($board['image']);
}
else
{
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
}
MessageIndex.template.php. 2 instances.
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
if (substr($board['image'],0 ,5) == '[img]')
{
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank">', parse_bbc($board['image']);
else
echo '<a href="', $board['href'], '">', parse_bbc($board['image']);
}
else
{
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
}
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)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi128.photobucket.com%2Falbums%2Fp170%2Fsandmannd%2FMainScreanBanner.jpg&hash=a057a19b46ddc5c5cf0017589aa98bc081061d28)
Here's how my child boards look.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi128.photobucket.com%2Falbums%2Fp170%2Fsandmannd%2FChildBoardBanner.jpg&hash=431c6969ddf982ee254dd5d092922ccae5bc964d)
I would like the name of the board on top of the banner on the child boards instead of next to them.
Do you want the description on top of the image too? I'll look at the code again for you.
Yes please
Great, thank you so much. Now I've got this problem though. I can't seem to get at the files for the current theme I am using. the other themes I have installed I can get to their files, but the one I am actually using, I can't find how you get into the files to do the edits??? It seems like I can finsd the other ones fine, but I'm using the default theme, and there are no files when you try to to bring them up. There are files for the Babylon, and the other Yabb I think it is, but not this one. I'm stumped. This might be the biggest challenge I've ever had in my lifr (I'm exagerrating-LOL) I need help, as usual!!!!
@sandmannd
I'll get back to you on this one. Have to try it first.
@RPro1975
SMF does not want you to edit the default theme templates. You need FTP program to download or edit them.
How do I use FTP? / What is FTP? (http://docs.simplemachines.org/index.php?topic=480)
Quote from: Bulakbol on June 03, 2009, 01:58:20 AM
@sandmannd
I'll get back to you on this one. Have to try it first.
@RPro1975
SMF does not want you to edit the default theme templates. You need FTP program to download or edit them.
How do I use FTP? / What is FTP? (http://docs.simplemachines.org/index.php?topic=480)
Ok, so if I'm understanding this right, here's what I need to do:
1. download and install FTP software
2. download the SMF files I need(basically download all the files from the theme I am using)
3. open the SMF files and make the edits you gave me
4. make sure I am entering all of the info correctly when I insert the picture
Is that it, in a nutshell? You'll have to bear with me, I'm newer than an infant at this! Thank you for your time, patience, and valuable information.
Chris
I downloaded and installed Filezilla(FTP) today. What should be my next step to get closer to accomplishing this?
Quote from: RPro1975 on June 03, 2009, 09:05:04 PM
I downloaded and installed Filezilla(FTP) today. What should be my next step to get closer to accomplishing this?
Are you able to FTP to your site? If not, that's your next step. Once you have that connection made you can transfer files back and forth between your PC and your Website.
Quote from: sandmannd on June 03, 2009, 10:10:48 PM
Quote from: RPro1975 on June 03, 2009, 09:05:04 PM
I downloaded and installed Filezilla(FTP) today. What should be my next step to get closer to accomplishing this?
Are you able to FTP to your site? If not, that's your next step. Once you have that connection made you can transfer files back and forth between your PC and your Website.
Great, and how would I go about getting that done? I'll be the first to admit I don't know much, but I'm learning awfully fast!
What I really need is someone to give me step by step instructions. I need to get the following done:
1.Access the default theme v.1.1.9 files which seem inaccessible from the admin panel(I was told because SMF does not want you to make changes to them)
2. Configure Filezilla to operate with my website(download the theme files to my pc so I can work on them, then save them to my SMF forum files-I think???)
3. Download and edit the proper files (I already have the edits, just need to cut & paste them in)
I know what I have to do from there. I someone would be kind enough to shoot me an e-mail with some step by step instructions, that would be greatly appreciated. My address is:
[email protected]Thank you so much for all of the help you all have given me so far. I have a lot to learn, but I need to learn by doing. I can do that but I want the proper instructions so I don't really screw something up and then be in a real bad bind!
Every mod that you add pretty much makes some kind of edit to the default theme. SMF doesn't want you to take off the copyright info from the program, but edits are allowed.
Looks like you are using Firefox, so try looking for the add-on FireFTP. I use that to FTP my files from my computer to the server. ;)
Quote from: C4G-TK on June 04, 2009, 04:48:00 PM
Every mod that you add pretty much makes some kind of edit to the default theme. SMF doesn't want you to take off the copyright info from the program, but edits are allowed.
Looks like you are using Firefox, so try looking for the add-on FireFTP. I use that to FTP my files from my computer to the server. ;)
Yes, I've added mods, but never had to do manual edits. Now that I have to do one, I noticed there is no way to pull up the files from the admin panel like you can with the other themes. So, I was told I need FTP, which I have. I downloaded Filezilla, not Firefox. I need to know how to have access to the files in the dfault theme so I can make the edits necessary for the mod to work properly. Basically, I have never used an FTP, so I really don't know what I'm doing here.
I'm not familiar with Firezilla. But, if you need a program to edit your files, Notepad++ is great (and free)!
http://download.cnet.com/Notepad/3000-2352_4-10327521.html?tag=mncol
@RPro1975
Sorry to interrup guys. Please post your issue in the support board for help. More people can help you there.
Hi your Mod looks great there is only one prob. it won't work! I get this error:
Execute Modification ./Sources/MessageIndex.php Test failed
Is this a common problem? or is the Mod not suitable for Smf 1.1.9 ?
I'm trying to use it at
[link removed by K@]
Tnx in advance!
riso
@W7 riso
It is acutally only couple of edits required. You should have done it yourself. :)
Attached is your MessageIndex.php. Upload the file before you install this mod. Let me know if you encounter any more failed test problem.
Yeah ! nice mod . i'm using it on my site. it work verry good. everybody can check it here (http://driver4vn.com). now using version SMF 1.1.9
Hi,
Tnx a Million! it works..
1. Execute Code ImagesOnBoardDB115.php
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Sources/Subs-Boards.php Test successful
4. Execute Modification ./Sources/MessageIndex.php Test successful
At my W7 Forum it works fine
P.s: I wished I could do the change by myself but I'm just to unknown with Smf programming..I was looking with PHP editor at the W7 messageindex file and saw some dif. between the original and a changed file at line 159, 430, 431,460 etc. but to me it's still ''Chinese''
>
I just did a checkup at my second Forum (W8 forum) and the file has a dif. size so if you would help me out with this last one, tnx in advance!
www.windows8newsinfo.com/smf
Attached W8 newsinfo Forum messageindexfile
@ngoclanbaby86
Your forum is nice. Thanks for using/trying this mod.
@W7 riso
Try the attached MessageIndex.php. It is edited but use it before installing this mod.
Why do I need a url for the image? Can I just use an image I have saved? Does it have to be an outside image? The mod installed correctly with no problems so I don't think it needs a manual edit. I just think I am entering the info wrong or don't know how to get the image entered in right. How do you do it? All I get when I enter the filename is a box with a little red "x" and the name of the board in it but no picture.
thanks for this great Mod...is there any images available to use with this mod..as some people are not designer so they can use ready images to upload..thanks for any help :)
Quote from: RPro1975 on June 11, 2009, 02:37:06 PM
Why do I need a url for the image? Can I just use an image I have saved? Does it have to be an outside image? The mod installed correctly with no problems so I don't think it needs a manual edit. I just think I am entering the info wrong or don't know how to get the image entered in right. How do you do it? All I get when I enter the filename is a box with a little red "x" and the name of the board in it but no picture.
Did you FTP the image to the ImagesOnBoard folder in the theme? The image needs to be uploaded to the ImagesOnBoard directory in order for it to pull that image to be displayed. Also, be sure you typed in the image name correctly (complete with the .gif, .png, etc etc extension)
the image dose not show i have tried it a couple difrent way cant fig it out
i get no error just wont show
You have it set to use both the file from the server directory and the link from the URL. I'm not sure if that is the problem or not.
If you didn't upload the image to your forum server (inside the themes/default/ImagesOnBoard directory) then take out the info that is placed in the first box for the image and keep the information that is for the URL with the photobucket info.
Try that.
this is the http://
[email protected]/ptuforum/Themes/default/images/poker_host_lrg.jpg
then i uploaded it to photobucket and still nothing
i feel so stupid im in the wrong directory let me try again ignore this for now thanks
solved dude thanks
Here's the reason:
There should be a directory called ImagesOnBoard
Upload the image to this location.
It should be here:
Themes/default/images/ImagesOnBoard/(this is where you upload your images to)
You have the image in this location:
Themes/default/images
It won't pull the image from that directory, but from the sub directory which is one more level called ImagesOnBoard... Check to see if you have that directory created.
Once you upload the image to the ImagesOnBoard directory, it should show. (Also, take out the link information from your board info.)
perfect that worked but is there a way to center the pic or prevent wraping of the description text
thanks again
@C4G-TK
Thanks for the help. I appreciated it.
@chefjohnnie
It requires editing your BoatdIndex.template.php manually. Are you comfortable with editing yourself? Or attach your BoardIndex.template.php. What custom theme are you using?
Quote from: bluesinjid on May 31, 2009, 03:18:29 PM
hi in the package parser it said edit this
In file Themes/[your theme]/BoardIndex.template.php
Find:
<td class="windowbg2 info">
Add after:
';
if (!empty($board['image']) && empty($options['disable_iob']))
{
echo '<span style="float:left; margin-right: 2px; margin-left: 2px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></span>';
}
echo '
In file Themes/[your theme]/MessageIndex.template.php
Find:
<td class="windowbg2 info">
Add after:
';
if (!empty($board['image']) && empty($options['disable_iob']))
{
echo '<span style="float:left; margin-right: 2px; margin-left: 2px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></span>';
}
echo '
But in my theme I do not have this where would i edit this? I included the files
Hi sorry for the inconvience, but I have added a lot of mods before you told me this and I don't wanna redo all my mods, can you tell me what you editted instead so I can plug it in??
@bluesinjid
Sorry, I edited so many files and I can't remember everything. In fact, not even one.
Quote from: Bulakbol on June 12, 2009, 12:41:37 AM
@C4G-TK
Thanks for the help. I appreciated it.
@chefjohnnie
It requires editing your BoatdIndex.template.php manually. Are you comfortable with editing yourself? Or attach your BoardIndex.template.php. What custom theme are you using?
yes i feel somewhat compatant but i tend to make a lot of mistakes ill include the file
@chefjohnnie
This mod was installed already but I think it is an old version. Make sure you are using the latest version before you use the attached edited BoardIndex.template.php.
I installed now this mod on SMF 1.1.9 with default theme. An error occured during pre-installation on file MessageIndex.php. I manually made change on file following the mod page instruction for smf 1.1.9. All fine, mod works, but in the description field I only wiew ":", no description. See image in attach. The language of the smf is italian.
Thanks in advance for your help and congratulation for this great mod!
Silvio.
Reading description of the mod seems the italian language is supported: http://custom.simplemachines.org/mods/index.php?mod=1266
Solved translating the file Modifications.italian.php in the /Themes/default/languages folder. In attach the php file with translation, i hope is useful to someone.
Thanks. :)
@Arantor
Thanks for your help. I appreciated it.
@SilvioTO
Thanks for the translated $txt strings. It will be added in the next update.
<edit>
Package updated. ImagesOnBoard2.1.zip.
Hey first i am gonna thank the creater for this AWSOME Mod...
I am having a problem the third board u can see has bad image....
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg200.imageshack.us%2Fimg200%2F8558%2Fimagesonboard.jpg&hash=d73b918da8f619cbf94607d11edc75e3ef9ff1d5)
If I uninstall v1.0 and install v2.1 will I be required to go to all the boards again to re enter in the filename for the pics?
Or does that stay saved in the SQL DB?
Quote from: Mayhem30 on June 19, 2009, 10:17:24 PM
If I uninstall v1.0 and install v2.1 will I be required to go to all the boards again to re enter in the filename for the pics?
Or does that stay saved in the SQL DB?
You don't have to re-enter the filename but you have to re-upload your images.
Not a problem at all. Thanks for the heads up!
Quote from: Bulakbol on June 24, 2008, 08:47:11 PM
If your theme is Triton11, then here's what you have to do. Open your Triton11/BoardIndex.template,php and look for
Quote<td class="windowbg2" valign="top" style="padding: 5px 10px 5px 10px;">
replace with
Quote<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>';
echo '
then the Triton11/MessageIndex.template.php, find
Quote<td class="windowbg2">
and replace with
Quote<td class="windowbg2">';
if (!empty($board['image']))
echo '<div style="float:left; margin-right: 4px;"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="*" /></div>';
echo '
That's all.
Does that work for any theme? im running the XD_Reborn theme and wouldnt mind using your mod :)
Hi, could you modify your mod for BlackRainV2 theme ? Needed files in attachement. Thank You
Would this mod work for the premium theme 'Callisto'?. If not, is there anyway to make it work on this theme?
Hi, there are my translations of $txt strings to Latin American Spanish
./Themes/default/languages/Who.spanish_latin.php
$txt['whoall_uploads'] = 'Viendo índice de <a href="'. $scripturl. '?action=uploads">Carga</a> para modificación ImagesOnBoard.';
./Themes/default/languages/Who.spanish_latin-utf8.php
$txt['whoall_uploads'] = 'Viendo índice de <a href="'. $scripturl. '?action=uploads">Carga</a> para modificación ImagesOnBoard.';
./Themes/default/languages/Modifications.spanish_latin.php
$txt['disable_iob'] = 'No mostrar imágenes en foro.';
$txt['board_image'] = 'Nombre de imagen para este foro';
$txt['board_image_desc'] = 'Incluir extensión de archivo. (ej. stop.png)';
$txt['board_img_link'] = 'Enlace para la imagen de arriba';
$txt['board_img_link_desc'] = '(ej. http://www.simplemachines.org)';
$txt['upload_title'] = 'Cargar Imagen';
$txt['select_files'] = 'Seleccionar un archivo';
$txt['valid_file_types'] = 'Tipos de archivo válidos';
$txt['invalid_file_extension'] = 'Disculpas. <span style="color: #FF0000;">%s</span> tuvo una extensión de archivo inválida. Carga abortada.<br />';
$txt['upload_failed'] = '<span style="color: #FF0000;">¡Falló la carga! Error desconocido.</span><br />';
$txt['file_too_big'] = 'Disculpas. <span style="color: #FF0000;">%s</span> estaba demasiado grande. Carga abortada.<br/>';
$txt['file_cannot_move'] = '<span style="color: #FF0000;">%s</span> no se puede mover. Error desconocido.';
$txt['upload_successful'] = '<span style="color: blue;">Archivo cargado satifactoriamente. Gracias.</span> - %s<br />';
$txt['file_exists'] = 'Disculpas. %s ya existe. Renombra el archivo o intenta con otro.<br/>';
$txt['maximum_allowed'] = 'El tamaño máximo permitido por el servidor es <strong>%s</strong> kilobytes o <strong>%d</strong> megabytes.<br />';
$txt['maximum_upload'] = 'El tamaño máximo permitido a cargar es <strong>%s</strong> kilobytes o <strong>%d</strong> megabyte(s).<br /><br />';
./Themes/default/languages/Modifications.spanish_latin-utf8.php
$txt['disable_iob'] = 'No mostrar imágenes en foro.';
$txt['board_image'] = 'Nombre de imagen para este foro';
$txt['board_image_desc'] = 'Incluir extensión de archivo. (ej. stop.png)';
$txt['board_img_link'] = 'Enlace para la imagen de arriba';
$txt['board_img_link_desc'] = '(ej. http://www.simplemachines.org)';
$txt['upload_title'] = 'Cargar Imagen';
$txt['select_files'] = 'Seleccionar un archivo';
$txt['valid_file_types'] = 'Tipos de archivo válidos';
$txt['invalid_file_extension'] = 'Disculpas. <span style="color: #FF0000;">%s</span> tuvo una extensión de archivo inválida. Carga abortada.<br />';
$txt['upload_failed'] = '<span style="color: #FF0000;">¡Falló la carga! Error desconocido.</span><br />';
$txt['file_too_big'] = 'Disculpas. <span style="color: #FF0000;">%s</span> estaba demasiado grande. Carga abortada.<br/>';
$txt['file_cannot_move'] = '<span style="color: #FF0000;">%s</span> no se puede mover. Error desconocido.';
$txt['upload_successful'] = '<span style="color: blue;">Archivo cargado satifactoriamente. Gracias.</span> - %s<br />';
$txt['file_exists'] = 'Disculpas. %s ya existe. Renombra el archivo o intenta con otro.<br/>';
$txt['maximum_allowed'] = 'El tamaño máximo permitido por el servidor es <strong>%s</strong> kilobytes o <strong>%d</strong> megabytes.<br />';
$txt['maximum_upload'] = 'El tamaño máximo permitido a cargar es <strong>%s</strong> kilobytes o <strong>%d</strong> megabyte(s).<br /><br />';
@evolva
I have your files. I'll get back to you after I finish editing them.
@nina-nina
If you will give the link of your custom theme, I can check it for you and tell you how to edit it manually.
@Tezca
Thanks a bunch. I will add the translation to the next update.
<edit>
@evolva
Attached are your files. Use them after installation. Let me lnow how things goes.
Unfortunateliy I can not upload images to /ImagesOnBoard. I cannot manage it. İmpossible 777 again happens to 655.
I renamed ImagesOnBoard folder to: qwdlekjwldjwlkdj
I have created a new folder /ImagesOnBoard. I could upload new images...
This is why? Thanks
@akbora
The file permission is probably incorrect. Good to hear you are okay now.
Hi
I use smf 1.1.9 with th older version 1.1 of mod
I upload the new pakage 2.1 but i dont see ( upgrade )
How can i upgrade my forum to new version ?
Anyway greek-utf8
<!-- default/languages/Modifications.greek-utf8.php -->
<file name="$languagedir/Modifications.greek-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['disable_iob'] = 'Μην εμφανιζεις εικονες on board.';
$txt['board_image'] = 'Το ονομα της εικονας για αυτο το board';
$txt['board_image_desc'] = 'Να υπαρχει και η καταληξη αρχειου. (i.e. stop.png)';
$txt['board_img_link'] = 'Το Link για την παραπανω εικονα';
$txt['board_img_link_desc'] = '(i.e. http://www.simplemachines.org)';
$txt['upload_title'] = 'Upload εικονες';
$txt['select_files'] = 'Διαλεξε ενα αρχειο';
$txt['valid_file_types'] = 'Valid file types are';
$txt['invalid_file_extension'] = 'ΣΥΓΝΩΜΗ. <span style="color: #FF0000;">%s</span> λαθος καταληξη αρχειου. Upload aborted.<br />';
$txt['upload_failed'] = '<span style="color: #FF0000;">Upload failed! Αγνωστο λαθος.</span><br />';
$txt['file_too_big'] = 'ΣΥΓΝΩΜΗ. <span style="color: #FF0000;">%s</span> ειναι πολυ μεγαλη. Upload aborted.<br/>';
$txt['file_cannot_move'] = '<span style="color: #FF0000;">%s</span> cannot move. Αγνωστο λαθος.';
$txt['upload_successful'] = '<span style="color: blue;">Το αρχειο ανεβηκε σωστα. Ευχαριστω.</span> - %s<br />';
$txt['file_exists'] = 'ΣΥΓΝΩΜΗ. %s υπαρχει ηδη. Δοκιμασε αλλο αρχειο η αλλαξε ονομασια σε αυτο.<br/>';
$txt['maximum_allowed'] = 'Το μεγιστο μεγεθος που επιτρεπεται απο τον host ειναι <strong>%s</strong> kilobytes or <strong>%d</strong> megabytes.<br />';
$txt['maximum_upload'] = 'Το μεγιστο μεγεθος αρχειου που επιτρεπεται να ανεβει ειναι <strong>%s</strong> kilobytes or <strong>%d</strong> megabyte(s).<br /><br />';
]]></add>
</operation>
</file>
could you modify your mod for More Style Multicolor?
http://custom.simplemachines.org/themes/index.php?lemma=1000
p.s. sweet and great mod :D
Thanks so much!!!!!! :D
@villasg
Sorry but the version 2.1 is not an upgrade. You have to uninstall the old one then install 2.1 version. If you want the upgrade version, grab version 2.0. Thanks for the language translation however, I need translation for the Who.english.php as well. Can you translate that too please.
@flakers
Edit your morestyle/BoardIndex.template.php and morestyle/MessageIndex.template.php manually.
morestyle/BoardIndex.template.php
echo '</a>
</td>
<td class="windowbg4" >
echo '</a>
</td>
<td class="windowbg4" >';
if (!empty($board['image']) && empty($options['disable_iob']))
{
echo '<div style="float:left; margin-right: 4px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></div>';
}
echo '
morestyle/MessageIndex.template.php
echo '</a>
</td>
<td class="windowbg2">
echo '</a>
</td>
<td class="windowbg2">';
if (!empty($board['image']) && empty($options['disable_iob']))
{
echo '<div style="float:left; margin-right: 4px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></div>';
}
echo '
Quote from: Bulakbol on July 07, 2009, 10:36:16 PM
@villasg
however, I need translation for the Who.english.php as well. Can you translate that too please.
$txt['whoall_uploads'] = 'Προβαλε <a href="'. $scripturl. '?action=uploads">τα ανεβασμενα</a>αρχεια για το ImagesOnBoard mod.';
Thanks villasg. I will update the package now with the language translation.
I have this mod in my forum and I know is well installed and should work. what I would like to know is if there is a step-by-step tutorial on how to put the images in the place or board I want. It is a little confusing for me.
Quote from: nina-nina on July 17, 2009, 06:36:38 PM
I have this mod in my forum and I know is well installed and should work. what I would like to know is if there is a step-by-step tutorial on how to put the images in the place or board I want. It is a little confusing for me.
They said, picture paints a thousand words so how about this image?
http://custom.simplemachines.org/mods/index.php?action=download;mod=1266;id=62867;image
Yes, that helped some.. but I still need more explanation (if you don't mind ;))
What is this? See below. It is for me to upload the images? I did upload one image but... where did it go? How do I retrieve them? What should I do? What would be the link to put, the link of my forum, the link of my domain?
Mmmm I told you I needed step-by-step instructions... These tech things do not come easily for me :(
nina-nina
Sorry, I can't explain more better than I already did. If you uploaded an image called "home.png", you should enter that filename in the "Name of image for this board" when you modify a board. This mod will display that image automatically.
Leave the link textbox blank if you don't know how it works.
hi
i used the old version 2.0, how i can update my version to 2.1 please ?
thx
If you will uninstall the old version, the images folder will be removed too. What I can suggest is copy the ImagesOnBoard folder to another folder, uninstall the old version, install the new version and then copy back your images. Your ImagesOnBoard configurations and settings will not be touched.
Quote from: nina-nina on July 21, 2009, 09:30:24 PM
Yes, that helped some.. but I still need more explanation (if you don't mind ;))
What is this? See below. It is for me to upload the images? I did upload one image but... where did it go? How do I retrieve them? What should I do? What would be the link to put, the link of my forum, the link of my domain?
Mmmm I told you I needed step-by-step instructions... These tech things do not come easily for me :(
nina-nina, here's what worked for me:
While I was installing this mod, I unzipped the file and made sure to put the folder "ImagesOnBoard" (that was included inside) into the images folder of my theme. If you use an ftp program, you can just drag it into your theme's image folder. So, in my case, it's: Themes/default/images/ImagesOnBoard. Then I created (or found online) some small images and dragged them into that ImagesOnBoard folder. I used 35 X 35 images, mostly (PNG, but I also have an animated GIF and a JPEG image). After I finished installing the mod, I went to Admin------->Boards then found the board I wanted to have an image on and clicked "Modify". Then, just under the "Description" of that board, I found the field "Name for the image for this board" and (in my case) entered home.png (which is the exact name of the image I put in the ImagesOnBoard folder and it's case-sensitive). Then, in the next field "Link for the above image" I put the URL for my website ending in this (again, this is my case, your theme may be different): /smf/Themes/default/images/ImagesOnBoard/house.png
You see, the name of the image must be exactly as it is in the ImagesOnBoard folder and the link to it must be exact and case sensitive, or your image will not show up. (For instance, ImagesOnBoard has capitals and those letters must be in your link).
After you are done entering your information, scroll down to the bottom of that page and click Modify. Then when you go to your front page to check for the image, if you don't see it at first, try refreshing your page.
I hope this works for you. :)
Editing this post:
The default location for all images is Themes/default/images/ImagesOnBoard folder.
gbsothere
Thanks for the explanation.
@nina-nina
Are you okay now? Do you need assistance?
@drav
If you are talking about anecdota for version 1.1.x, then the edits are the same as the default theme. Find the $board['description'] from BoardIndex.template.php and MessageIndex.template.php and the second line above it is the place to add the code for this mod. Let me know if you have any problem.
Hi Bulakbol
It's for version 2.0. However, the anecdota theme itself for version 2.0 seems to have bugs. I encountered some anyway. The author Crip says he will update the theme. For the moment I'm using core and it's working. I will check back when the new anecdota is available.
Cheers :)
Hi Bulakbol..
nice mod...
If I'm using Kani theme what file should I edit? Is it the same like other custom theme?
thanks
@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.
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>';
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.
Hi Bulakbol,
I download the image but it's still doesn't show the image that I want. It's still show the * .
it's okay now Bulakbol...
thanks for your help...
Great Mod, but I can't make it work. At least, I can't see the images... :(
Anyway, here's a translation:
Portuguese - BrazilianQuote$txt['board_image'] = '<b>Nome da imagem para esta categoria:</b><br />Incluir a extensão do arquivo. (exemplo: xx.gif)';
@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.
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
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? :-\
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.
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!!! :)
Dollhouse, did you do the edits to your language files? :)
Check this thread:
http://www.simplemachines.org/community/index.php?topic=246022.620 (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?
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
@DollhouseBz
Are you okay now?
@baagacheppav
Apology for the delayed reply. Try downloading the mod to your PC. Then upload and install.
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"
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.
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)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi128.photobucket.com%2Falbums%2Fp170%2Fsandmannd%2FMainScreanBanner.jpg&hash=a057a19b46ddc5c5cf0017589aa98bc081061d28)
Here's how my child boards look.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi128.photobucket.com%2Falbums%2Fp170%2Fsandmannd%2FChildBoardBanner.jpg&hash=431c6969ddf982ee254dd5d092922ccae5bc964d)
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.
what is a good recommeded size for the images?
@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.
Can you tell me the edit I have to make?
Quote from: Bulakbol on August 29, 2009, 07:05:48 PM
@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.
I am trying to install 2.1 version in 1.1.10 version but it is not working...
Quote from: sandmannd on August 30, 2009, 09:10:23 AM
Can you tell me the edit I have to make?
Is there an edit to make or should I updload my files again?
I had installed Images On Board successfully on my forum. But, even after I had uploaded images and added the image name, modifying my board, I was not able to see the image on the boards. I have even tried clearing my cache.
I have attached the BoardIndex.template.php and MessageIndex.template.php
Please edit those, if required, to make the mod work. :)
Thank you for this wonderful mod. :)
Quote from: Bulakbol on August 29, 2009, 07:05:48 PM
@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.
My bad. I put both of the files up here. Can you take a look at them please? I now have no images posting on my child boards. Main boards are great.
Thank you for your time.
Any plans on updating to 2.0 RC1.2 ?
There are parsing instructions for RC1.2. On my RC1.2 test board, I just uploaded the most recent zip then, before clicking "Apply Mod", I went back to Admin---> Packages and clicked the Advanced link under the mod listing. I set the emulator for RC1.1 and then applied the mod. It installed without any errors. (I went back and reset the emulator after that.)
I hope it works for you. :)
Quote from: gbsothere on November 04, 2009, 08:07:29 AM
There are parsing instructions for RC1.2. On my RC1.2 test board, I just uploaded the most recent zip then, before clicking "Apply Mod", I went back to Admin---> Packages and clicked the Advanced link under the mod listing. I set the emulator for RC1.1 and then applied the mod. It installed without any errors. (I went back and reset the emulator after that.)
I hope it works for you. :)
Would that work with other mods ?
Something like that will work for many mods that list themselves as compatible with RC1 or RC1-1.
Quote from: wickedstangs on August 29, 2009, 03:02:29 PM
what is a good recommeded size for the images?
32 X 32 pixels would match the SMF logo to the left of each Board.
Will this work with RC2 or a new version is planned to be released? :)
Quote from: lorenzone92 on November 09, 2009, 08:07:11 AM
Will this work with RC2 or a new version is planned to be released? :)
I hope so.. Bulakbol hasn't been on SMF in about a month though so it might not..
I doubt it will for that very reason. There were so many changes from RC1 to RC2 that I would be very surprised if it installed on Curve.
It won't install currently.. I'm sure someone could modify the code a little bit here and there for it to be able to work..
The source files all get modified correctly.. It's just the boardindex, messageindex and profile templates.. Mainly due to the way curve is written with <div>'s instead of <table>'s..
Well it probably wouldn't be that hard to do but no-one can update the package unless the author agrees to it.
Quote from: Arantor on November 18, 2009, 06:03:13 PM
I doubt it will for that very reason. There were so many changes from RC1 to RC2 that I would be very surprised if it installed on Curve.
if your talking about this mod installing on rc2 and curve then it does
Quote from: kingkingston on November 18, 2009, 10:58:41 PM
Quote from: Arantor on November 18, 2009, 06:03:13 PM
I doubt it will for that very reason. There were so many changes from RC1 to RC2 that I would be very surprised if it installed on Curve.
if your talking about this mod installing on rc2 and curve then it does
As was posted above, not without a ton of manual edits.
Quote from: PalmBeachPreps on November 18, 2009, 11:24:35 PM
Quote from: kingkingston on November 18, 2009, 10:58:41 PM
Quote from: Arantor on November 18, 2009, 06:03:13 PM
I doubt it will for that very reason. There were so many changes from RC1 to RC2 that I would be very surprised if it installed on Curve.
if your talking about this mod installing on rc2 and curve then it does
As was posted above, not without a ton of manual edits.
hmmmmn i have it installed on my site and just used the package manager
Needed 3 edits for myself on curve.
Im not using it though, just wanted to see if there were actually many edits.
Result = no
Sabre can you post those edits so we can temporary use 'em while waiting the next release? Thanks! :)
As stated buddy, I don't use this mod, so didn't make those changes.
But, I quickly re-downloaded the mod, and made them for you.
It should work fine.
I only 'changed' what I saw needed to be, by overwriting what was there for rc1.2.
Make a backup of your templates this alters, and the 'boards' table in your db, as I haven't tested this.
Just incase ;)
Anyways, good luck and hopefully it does what you need.
Will remove the attachment when Johnnyb(Bulakbol) requests, or another updates the mod.
Thanks, Sabre! One error on Classic theme, but I don't use that anyhow. 'Preciate it!
My pleasure mate :)
I only looked at the code for the curve theme and db for a quick fix. Im guessing the classic theme shouldn't be too difficult to edit for those that use it.
Im glad it worked for you mate :)
It works for me as well. And i use square theme.
Is it possible to get the images to display on the right side instead of the left?
Okay now that we have the mod install where's the best place to get images from
so we can add them in.. I have tried google by searching icons and the only result
i get back are the computer icons for windows...
any help from anyone would be good
oh yeah thank you for a great mod
Quote from: Kim Arne on December 02, 2009, 05:47:40 PM
Is it possible to get the images to display on the right side instead of the left?
In your BoardIndex.template.php, search for this line
echo '<div style="float:left; margin-right: 4px;">';
And change the 'left' to 'right' in that line.
echo '<div style="float:right; margin-right: 4px;">';
@ coldy316It would very much depend on what you were looking for that would be best suited for your site.
You have sites like [THIS] (http://www.iconarchive.com/) that offer many options, then others sites that have [different types] (http://iconka.com/free/) etc etc etc..
It just all depends on what youre looking for, and having a good look using different search queries.
I am sorry, i cant find what you wanted me to search for. I use SMF2 RC2 with square theme. The theme has not its own BoardIndex.template file, but i looked into the default and curve one, and did not find anything in there either.
What to do?
Can you attach your boardindex.template.php to your next post with the mod installed.
The default being curve, and the core theme being the old smf default.
So will need the curve theme template.
Cheers :)
Yes, here it is.
Thanks
Anytime :)
Many thanks as always Sabre.
Thanks for the update Sabre!
The only thing that I'm getting is just a cosmetic change in the admin area when going into Boards as far as I can tell.
Attached a pic.
For SMF 2.0 RC2 ?
@ C4G-TK
Sorry for the late reply bud, been away on vacation, and stayed away from a connection.
That's an interesting issue in your attachment.
Have you managed to find why it is occurring, or do you still require assistance with it?
@ -=[Vyorel]=-
You may see if the attachment located [HERE] (http://www.simplemachines.org/community/index.php?topic=246022.msg2365394#msg2365394) will work for you :)
I think I figured out part of the reason when I tried to add an image today.
I added an image and it wouldn't appear. So, I used the "stop.png" name in the text box and it appeared. I right clicked and looked at the image location. It is pulling from the wrong directory for the image despite creating an Images On Boards directory in the theme I'm using. In other words, when it did the edits, it is pulling from the default/Curve theme directory because the theme I'm using really only uses its own index.template.php file All the rest of the files are used from the default/Curve theme. So, I have to go back and change some things around in order for everything to work correctly in the new theme I'm using.
Quote from: Sabre™ on January 06, 2010, 05:01:56 PM
@ -=[Vyorel]=-
You may see if the attachment located [HERE] (http://www.simplemachines.org/community/index.php?topic=246022.msg2365394#msg2365394) will work for you :)
Thanks man! :) ;D
Ok, it's working on the forum, but not without a slight problem. lol.
On the main forum page that shows the categories and boards, it looks fine.
But, the childboards are not appearing correctly. They are horizontal instead of vertical. Take a look at the image below to see what I mean.
Does anyone know how I would correct this?
RC2 version of forum, sorry!
Attach your MessageIndex.template.php and I'll have a look
Thanks Sabre!
Let me know if there is something else I need to do.
Oooppss!!
Just deleted my post.
Been up half the night and realised my tired eyes played on me lol
Try the attached
Corrected! YAY!
Thanks Sabre!
Attached pic of it working now.
PS- What's your PayPal? Can send me a PM with info if you want.
No need for paypal buddy.
It is always My pleasure to assist where I can.
That is my payment :)
Thank You very much for your kind offer.
Enjoy :)
hello, great MOD.
Just a problem. The images on my forum have a active link to the directory where they are saved. Is possible to deactivate this active link ? i.e, if i put the mouse over the image, i dont want any active link. Is this possible ?
thanks
Not without manually modifying the template, and all it would remove is a link to display the unread posts in that board.
I use the Brazilian Portuguese language UTF-8. How do the mod is compatible with my language?.
It doesn't appear that anyone translated the mod for Brazilian Portuguese, so the mod does not have support for it at this time as far as I can see.
Works perfectly in RC2 and Curve. Awesome mod. Thanks!
here is for portuguese, so far as i can;
$txt['disable_iob'] = 'Nao mostrar imagens nos quadros.';
$txt['board_image'] = 'Nome da imagem para este quadro';
$txt['board_image_desc'] = 'Incluir a extensao do file. (i.e. stop.png)';
$txt['board_img_link'] = 'Link da imagem acima descrita';
$txt['board_img_link_desc'] = '(i.e. http://www.simplemachines.org)';
$txt['upload_title'] = 'Carregar imagens';
$txt['select_files'] = 'Selecionar um file';
$txt['valid_file_types'] = 'O tipo de ficheiros permitidos sao';
$txt['invalid_file_extension'] = 'Desculpe. <span style="color: #FF0000;">%s</span> tem uma extensao invalida. Upload abortado.<br />';
$txt['upload_failed'] = '<span style="color: #FF0000;">Upload falhou! Erro desconhecido.</span><br />';
$txt['file_too_big'] = 'Desculpe. <span style="color: #FF0000;">%s</span> e muito grande. Upload abortado.<br/>';
$txt['file_cannot_move'] = '<span style="color: #FF0000;">%s</span> impossivel mover. Erro desconhecido.';
$txt['upload_successful'] = '<span style="color: blue;">O ficheiro foi carregado correctamente. Obrigado.</span> - %s<br />';
$txt['file_exists'] = 'Desculpe. %s ja existe. Tente outro ficheiro ou mude o nome a este.<br/>';
$txt['maximum_allowed'] = 'O tamanho maximo permitido pelo host e <strong>%s</strong> kilobytes ou <strong>%d</strong> megabytes.<br />';
$txt['maximum_upload'] = 'O tamanho maximo permitido para upload e <strong>%s</strong> kilobytes ou <strong>%d</strong> megabyte(s).<br /><br />';
now,
i would like to remove the image link on the board. what code do i have to change ? because the image links to the directory "/public_html/Themes/default/images/ImagesOnBoard" and this doenst make any sense, for me.
help, please....
I solved the link problem :) Stupid bug of my mind hehehe.
Now i have a big problem. I am using the CHILD BOARD mod and if i use the IMAGE BOARD, the child boards appears all bad configured on board.
I mean, the board should look like this;Quote<image> Board name
child1 child2
and appears like this ( after i add the image )Quote<image> board name
child 1
child2
Is there a solution ?
thanks
What child board mod?
i am using "Tidy Child Boards"
you can take a look here, http://www.new-digital.net
Looks fine to me.
Screenshot would be handy at this point so I can see what you're seeing.
(As the author of Tidy Child Boards, I might be able to help ;))
i am going to aply one picture... 2 minutes
ok .. take a look on presentation board.
thanks
You should be able to fix it by adding the following to Themes/default/tidyboards.css and refreshing the page:
.board_children { clear:left; }
Great job ;)
i should pay you a drink !
many thanks :)
can i use this mod to SMF 2.0 RC 2 ?
Quote from: vanquizhers on February 02, 2010, 12:59:16 PM
can i use this mod to SMF 2.0 RC 2 ?
You may see if the attachment located [HERE] (http://www.simplemachines.org/community/index.php?topic=246022.msg2365394#msg2365394) will work for you :)
Quote from: -=[Vyorel]=- on February 02, 2010, 01:25:22 PM
Quote from: vanquizhers on February 02, 2010, 12:59:16 PM
can i use this mod to SMF 2.0 RC 2 ?
You may see if the attachment located [HERE] (http://www.simplemachines.org/community/index.php?topic=246022.msg2365394#msg2365394) will work for you :)
Just wanted to say thanks for this version for 2.0 RC-2 but it makes a mess of the board manage page, see attached. It can still be used though. Of course this may be unique to my installation.
No, it looks like the code in the template needs to be refitted - the default template in 2.0 RC2 doesn't use tables.
Thank you.... i already apply, and success.... you can look at www.jozinko.com, :D
Can I get some help in extreme6 theme...I do manage to get images on board but then I loose title of the board
do you think it is possible to get this updated to 1.11
Any chance to get an updated version for RC3..?
Given that Bulakbol's last post on this site was in August 2009, I think the chances of any updates to this mod will rely on someone else modifying it. He seems to have gone away.
Quote from: Chas Large on March 09, 2010, 09:06:21 AM
I think the chances of any updates to this mod will rely on someone else modifying it.
vbgaaaaaaamer.... xD :P
Quote from: Arantor on February 06, 2010, 03:45:36 PM
No, it looks like the code in the template needs to be refitted - the default template in 2.0 RC2 doesn't use tables.
Oh dang!!
I missed that in my quick edit :-[
For those that installed the package on page 34 (http://www.simplemachines.org/community/index.php?topic=246022.msg2365394#msg2365394), the attached package will fix the layout issue if you experienced it.
This is compatible for RC2 & RC3 default themes.
Will remove if requested. :)
~added
Quote from: Chas Large on March 09, 2010, 09:06:21 AM
Given that Bulakbol's last post on this site was in August 2009, I think the chances of any updates to this mod will rely on someone else modifying it. He seems to have gone away.
Yeah, he contacted me before he left stating that his offline life has taken priority now.
Downloaded, installed and working.
Thank you very much!
SMS 1.1.11
TinyPortal 1.0.4
Theme mobile10
Spanis_ES
I was using this for RC2 and made some changes to the ManageBoards.template file in order to clean it up. I'm not sure if the one posted above was changed since I'm not using RC3 until most of the mods I use are updated.
If you are using RC2, and just want to do the edit, you might want to try replacing the code with this in ManageBoards.template to make it look correct:
<textarea name="desc" rows="3" cols="35">', $context['board']['description'], '</textarea>
</dd>
<dt>
<strong>', $txt['board_image'], ':</strong>
<a href="', $scripturl, '?action=iobuploads" target="_blank"><img src="', $settings['default_images_url'], '/iobuploads.gif" alt="*" /></a><br />
<p class="smalltext">', $txt['board_image_desc'], '</p>
</dt>
<dd>
<input type="text" name="img_filename" value="', $context['board']['image'], '" size="30" />
</dd>
<dt>
<strong>', $txt['board_img_link'], ':</strong>
<p class="smalltext">', $txt['board_img_link_desc'], '</p>
</dt>
<dd>
<input type="text" name="img_link" value="', $context['board']['img_link'], '" size="30" />
</dd>
Hello!
I'm having a problem
Installed fine on rc3 . how do you delete the images in the store folder, i have allot of test icons left over..
Quote from: Sabre™ on January 11, 2010, 02:41:40 PM
Attach your MessageIndex.template.php and I'll have a look
Yours works on SMF 2 RC3 also, but I get the error where it pushes the stuff to the side in the boards page
Quote from: Bruno36 on March 24, 2010, 06:48:00 AM
Hello!
I'm having a problem
No errors on install?
Does it appear ok in the default theme?
Check that the files within your custom theme have been edited.
Quote from: aw06 on March 31, 2010, 09:55:50 PM
Installed fine on rc3 . how do you delete the images in the store folder, i have allot of test icons left over..
You would have to manually remove them.
They are located in the ImagesOnBoard directory... /Themes/default/images/ImagesOnBoard
Quote from: bros on March 31, 2010, 10:18:06 PM
Yours works on SMF 2 RC3 also, but I get the error where it pushes the stuff to the side in the boards page
Your template looks fine to me.
Do you have a link to see what is happening?
PM me if you would not like your site to be made public.
Cant manually delete them, telling me i have no permissions... :o
BTW, great mod, looks good on my board, check my siggy
I have installed this Mod and under the boards it is allowing me to add the external and direct link. However it either posts multiple images or part of the code shows up. I have tried so many different methods and I can't get it to work. I am using photobucket to get the images. Any help would be greatly appreciated. Is there a way to upload images of my computer?
Thanks
I have installed this Mod and under the boards it is allowing me to add the external and direct link. However it either posts multiple images or part of the code shows up. I have tried so many different methods and I can't get it to work. I am using photobucket to get the images. Any help would be greatly appreciated. Is there a way to upload images of my computer?
Thanks
Quote from: Arantor on January 27, 2010, 10:27:12 PM
You should be able to fix it by adding the following to Themes/default/tidyboards.css and refreshing the page:
.board_children { clear:left; }
Arantor - thank you ! I had the same issue and this resolved it.
Sabre - thank you for the RC3 version !
One question - How do I move the text of the main board underneath the image ?
My pleasure mate :)
Search for this code in your BoardIndex.template.php "and also in your MessageIndex.template.php for your child boards"
echo '<span style="float:left; margin-right: 2px; margin-left: 2px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></span>';
And replace it with this
echo '<span>';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></span><br />';
Enjoy :)
For those that do not want the image to be "clickable", remove this from the same line of code
<a href="', $board['img_link'], '" target="_blank">
It is how I have always had mine configured.
Very cool; thanks again.
hi there.
i like the mod for my forum but i would like to change something on it.
i put the image on te left side of my forum and create a .png file 500x50
now the thing is that the text in the board does not go over the image.
but the text is putting it under the image.
how do i change that?
im using smf 2.0 rc3
thx
Hey there Bulakbul! First, many thanks for this mod. It was one of the first I installed on my SMF1 board, and it's a great relief to find it still alive and kicking for 2RC3.
You may want to draw more attention to the latest version, (done by Sabre I think, thanks Sabre!) maybe by putting it on the top post of this thread, or the actual mod. It took me some time and effort to track it down!
Thanks again for the mod! Keep up the good work. :)
Quote from: Sabre™ on March 09, 2010, 10:14:40 AM
Quote from: Arantor on February 06, 2010, 03:45:36 PM
No, it looks like the code in the template needs to be refitted - the default template in 2.0 RC2 doesn't use tables.
Oh dang!!
I missed that in my quick edit :-[
For those that installed the package on page 34 (http://www.simplemachines.org/community/index.php?topic=246022.msg2365394#msg2365394), the attached package will fix the layout issue if you experienced it.
This is compatible for RC2 & RC3 default themes.
Will remove if requested. :)
~added
Quote from: Chas Large on March 09, 2010, 09:06:21 AM
Given that Bulakbol's last post on this site was in August 2009, I think the chances of any updates to this mod will rely on someone else modifying it. He seems to have gone away.
Yeah, he contacted me before he left stating that his offline life has taken priority now.
btw can this work on theme Overview from DzinerStudio ?
i instal mod
http://img709.imageshack.us/f/breznaslovae.png/
wher need upload icons ...
maybe somone can help me whit teamwiver or on msn help add icons..
Quote from: dvd123 on July 05, 2010, 05:09:41 AM
btw can this work on theme Overview from DzinerStudio ?
i instal mod
http://img709.imageshack.us/f/breznaslovae.png/
wher need upload icons ...
maybe somone can help me whit teamwiver or on msn help add icons..
Hi, dvd123,
It can work with a custom theme, if you place this mod's edits in the template files for your theme. This mod does edit several template files. Go to the page where you download the mod and, next to the zip you downloaded, use the pulldown to take a look at the parsing instructions for all the templates. Those edits need to be placed in the templates for your own theme, since the package manager only parses files for the Default theme.
The templates being parsed for 1.1.11 are:
ManageBoards.template.php
Profile.template.php
Settings.template.php
BoardIndex.template.php
MessageIndex.template.php
If your theme has any of these template files, you'll need to manually edit them.
Also, if you are not using English as your forum's default language, manually parse the version of Modifications.english.php that you do use.
:)
Hi gbsothere
i looking here http://custom.simplemachines.org/mods/index.php?action=parse;mod=1266;attach=105976;smf_version=1.1.11
but is much work need much edit
yes my forum is on englis language
and i got this file
Settings.template
i got
Forum version: SMF 1.1.11
Current SMF version: SMF 1.1.11
i found Installation Instructions for 1.1.11
so need only this edit?
./Themes/default/Settings.template.php
and will work?
soz for my englis :/
If that's the only template file your theme has in common with the mod, dvd123, then, yes, that's the one you'll need to edit.
If you like, attach it and I'll take a look at it.
:)
yeaaaaaaa
thanks you much for help now work :D
wich icons size ? x ? can add max ?
Quote from: dvd123 on July 05, 2010, 05:09:38 PM
yeaaaaaaa
thanks you much for help now work :D
wich icons size ? x ? can add max ?
I'm glad it's working for you. ;)
35 x 35 works best with the default theme, but your theme may allow you to adjust the size slightly. Take a look at this link. It's a post I made here last year that goes into detail about how to get the images to show up. You can add as many as the number of boards you have. :)
http://www.simplemachines.org/community/index.php?topic=246022.msg2175768#msg2175768 (http://www.simplemachines.org/community/index.php?topic=246022.msg2175768#msg2175768)
btw no work :/ i use other icons ... and only work this icons wich is allready on mod files stop.png
wher need upload icons?
i want find file ImagesOnBoard from this mod wher can find?because i think need here upload icons
/public_html...?
yea i make
/public_html/forums/Themes/overview_119/images/ImagesOnBoard
i uploads icons but dont show
here can see forum picture
http://img408.imageshack.us/i/breznaslova.png/
What is the name of that image that isn't showing?
i tested 4 images and no 1 no show whit name pictures.png
i tested size 48x48 and 32x32 but nothing dont want show
Quote from: dvd123 on July 05, 2010, 05:56:50 PM
i tested 4 images and no 1 no show whit name pictures.png
i tested size 48x48 and 32x32 but nothing dont want show
What I meant, dvd, was that, on the ImageShack link you just gave me.... what is the name of the image you intend to be seen on the Music board? What did you name that image (that's not showing up)?
i use name music.png but not show
btw i got only this pictures on ImagesOnBoard
but stil how me this another images on wallpapers
maybe can find files of mods -ImagesOnBoard on File Manager maybe need here upload
If you want, dvd, I can check your forum and server for you to try to determine what's going on. You would need to create a temporary admin log in for your board (one that you can just delete when I'm done) but that has admin privileges so that I can take a look at things. I may also need your ftp log in details (user name and password) so that I can check how you installed this mod and where things are.
If you want me to do that, just send me the link to you forum and the log in details in a Personal Message (don't put them here).
Before you do that, though, I always like to have members read this link, before they give out sensitive information:
http://www.simplemachines.org/community/index.php?topic=87130.msg575795#msg575795 (http://www.simplemachines.org/community/index.php?topic=87130.msg575795#msg575795)
:)
i sended you now details of forum account
and details of host account (File Manager)
Quote from: dvd123 on July 05, 2010, 06:15:11 PM
i sended you now details of forum account
and details of host account (File Manager)
Looks like we have you fixed up. ;)
i want know what need add or edit on theme for work on every theme
I have been using images for rc2 release of version 2.2 installed on board modifications. installation was not a problem. I want to edit a category, or section I noticed the theme has been corrupted.
Hey guys I just attempted to install "ImagesOnBoard2RC3" and it gave me several errors. All are related to finding "<td class="info">" on the "BoardIndex.template.php" or "MessageIndex.template.php" files for the various themes. So I loaded one of the files in Dreamweaver and did a search for the td line - Dreamweaver says those files don't have that line. What should I do to install this?
Search for the word "info" to find the correct line.
The complete line maybe altered in your custom themes.
I noticed the line is <td class="infob"> in one of your themes, I didnt have time to check the others, but this will give you the general idea.
Good luck :)
Found it no problem, thanks. :)
I'm a bit confused about this mod's actual purpose. Does it add images to only the main index page of the board or can you use it to add images to posts? Also I can't locate in the admin panel. Where exactly is it?
It allows you to add images next to the board's name
Create a new board or modify an existing board and you will see the necessary options
Hi there!
Where I can found "ImagesOnBoard2RC3"?
I'm very interested on this updated version of the mod (it was on my forum 1.1.X before I updated to 2 RC3) but now all I see is comments about it.
Can anyone share it?
I'd be very grateful...
Quote from: Loginsvarios on September 24, 2010, 07:13:21 AM
Hi there!
Where I can found "ImagesOnBoard2RC3"?
I'm very interested on this updated version of the mod (it was on my forum 1.1.X before I updated to 2 RC3) but now all I see is comments about it.
Can anyone share it?
I'd be very grateful...
Follow this link: http://www.simplemachines.org/community/index.php?topic=246022.msg2530237#msg2530237
I read the whole thread and that link wasn't there... ???
I suppose that the reason was that I logged after, so the link are now unhidden.
Thanks a lot for your help!
Quote from: Loginsvarios on September 24, 2010, 09:54:13 AM
I read the whole thread and that link wasn't there... ???
I suppose that the reason was that I logged after, so the link are now unhidden.
Thanks a lot for your help!
You are welcome.
I have a little problem with install....
I have this problem, But I don´t know how fix it :(
QuoteUnknown column 'b.img_filename' in 'field list'
Soubor: /var/www/space4all.cz/beta/Sources/Subs-BoardIndex.php
Řádek: 82
Must I install something to the my database ?
Or what and how :) thanks
I would REALLY like to use this mod, and have tried a couple of times to install it, and it goes just fine - except that it does not place any images on my board.
I'm using the guhlin-antep theme, with smf v1.1.11
Any ideas?
I'm not a coder, so could really use some help!
I am not sure but have you enable this mod after you have installed it? Some mods need to be enabled before it works.
and who help me ? :D
Quote from: evolva on September 24, 2010, 05:32:32 PM
and who help me ? :D
What version of your SMF? Which one did you download and install?
Try uninstall for now...
I have RC3 ... and I install manually version ImagesOnBoard2.1.zip :)
Why uninstall ?
Quote from: evolva on September 24, 2010, 01:11:31 PM
I have a little problem with install....
I have this problem, But I don´t know how fix it :(
QuoteUnknown column 'b.img_filename' in 'field list'
Soubor: /var/www/space4all.cz/beta/Sources/Subs-BoardIndex.php
Řádek: 82
Must I install something to the my database ?
Or what and how :) thanks
Because of the above. You should read this and download the attached copy if you are installing on SMF 2.0 RC3.
http://www.simplemachines.org/community/index.php?topic=246022.msg2530237#msg2530237
oh, thanks ;)
If I have Images on board and tidy child boards mod, I have little problem :( in screen ...
How fix it :( ?
Your answer resides [HERE] (http://www.simplemachines.org/community/index.php?topic=246022.msg2477386#msg2477386).
Will this work on RC4?
Quote from: Verso on November 11, 2010, 05:09:08 AM
Will this work on RC4?
Go to reply #711
I used that package and it installed and works fine on RC4
I tried that and get this:-
Execute Modification ./Themes/default/ManageBoards.template.php Test failed
1. Replace ./Themes/default/ManageBoards.template.php Test failed
Quote from: Verso on November 15, 2010, 06:21:13 AM
I tried that and get this:-
Execute Modification ./Themes/default/ManageBoards.template.php Test failed
1. Replace ./Themes/default/ManageBoards.template.php Test failed
Do you have other mods installed?
Chances are one of the other mods changed a portion of that code by adding something.
If that was the only failed test, attach your ManageBoards.template.php file and I'll edit it for you if you don't know how to edit it.
Yeah I've just installed a fresh forum RC4 and have not installed anything yet..........
I will upload ManageBoards.template.php in about an hour as I can't do it from work due to restrictions etc.........
Are you using a custom theme?
If you have no mods on it, yet.. and are using one of the themes included in the RC4 download, I can just attach the ManageBoards.template here and you can upload it to your forum and then install the mod and ignore the failed test.
Just let me know what theme.
The theme is FUZZY by http://voythas.com/
I have included the file as well
It's a simple error for that edit.
It is looking for:
<textarea name="desc" rows="3" cols="35" style="width: 100%">', $context['board']['description'], '</textarea>
But your file has:
<textarea name="desc" rows="3" cols="35" style="width: 99%">', $context['board']['description'], '</textarea>
So, the test fails.
I just searched for the first part of that line up to cols and easily found where to put the info.
Here you go.
Thank you.........
No problem.
This is a great mod and I'm glad to help when I can. (if I can)
I have now installed this:- http://www.thesportsforum.co.uk/index.php
My forum isn't "live" as yet but I do have data in it from my old forum..............
Feedback appreciated
If someone could please help it would be much appreciated. I've had this installed on my site for quite a while and it works great on the main page. But I can't get images to show up on the child boards. Can anyone help me fix this? I've read through everything and just can't get it to work.
I'm running SMF 1.1.11 and Images On Board 2.0
I'm attaching my BoardIndex.template.php as well as the MessageIndex.template.php from my site.
Thanks in advance.
C4G-TK,
I've used this mod for some time and upgraded from RC2 to RC4. I tried installing the version you suggested and got the same error that Verso got.
QuoteExecute Modification ./Themes/default/ManageBoards.template.php Test failed
1. Replace ./Themes/default/ManageBoards.template.php Test failed
I found the entry and, based on your comments, changed 99% to 100% and the install no longer shows an error there. Now it shows an error in the core files listed below:
QuoteCore Theme
Execute Modification ./Themes/core/Settings.template.php Test successful
1. Add After ./Themes/core/Settings.template.php Test successful
Execute Modification ./Themes/core/BoardIndex.template.php Test failed
1. Add After ./Themes/core/BoardIndex.template.php Test failed
Execute Modification ./Themes/core/MessageIndex.template.php Test failed
1. Add After ./Themes/core/MessageIndex.template.php Test failed
Any ideas as to what my be generating these errors?
Thanks...
Attach and I'll check your ManageBoards.template
Here it is.
Sorry, I was in a bit of a rush when I replied, but I'm finally done wrapping Xmas presents and have time before I pass out. LOL
Let me make sure I got this straight. How many failed tests did you have all together?
ManageBoards.template.php has a failed test
BoardIndex.template.php has a failed test
MessageIndex.php has a failed test
You probably have something installed already that is using the same code and replaced something.
Have you finished installing this mod?
Attach the BoardIndex.template.php and MessageIndex.template.php files.
Well, I'll bet you're happy that's over with. Merry Christmas, BTW.
When I first tried to install the mod, it generated the ManageBoards.template.php error. I went into that file, and based on the discussion in this thread, I edited it on the line indicated and changed the 99% to 100%, then tried to install again.
This time, it did not generate any ManageBoards.template.php errors, but instead generated core file (BoardIndex.template.php and MessageIndex.template.php) errors.
I was never able to sucessfully install the mod. My ManageBoards.template.php and BoardIndex.template.php files are attached.
Thanks...
@Nivlac
Can you PM me a link to your site?
Are you using a custom theme at all?
Quote from: sandmannd on December 08, 2010, 08:21:34 PM
If someone could please help it would be much appreciated. I've had this installed on my site for quite a while and it works great on the main page. But I can't get images to show up on the child boards. Can anyone help me fix this? I've read through everything and just can't get it to work.
I'm running SMF 1.1.11 and Images On Board 2.0
I'm attaching my BoardIndex.template.php as well as the MessageIndex.template.php from my site.
Thanks in advance.
Can anyone give me help on this at all?
Will this mod be updated or has it been abandoned ?
Great Mod!
I translate it to polish-utf8
<file name="$languagedir/Modifications.polish-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['disable_iob'] = 'Wyłącz obrazki przy nazwach działów.';
$txt['board_image'] = 'Nazwa obrazka działu';
$txt['board_image_desc'] = 'razem z rozszerzeniem. (np. stop.png)';
$txt['board_img_link'] = 'Link przypisany do obrazka';
$txt['board_img_link_desc'] = 'pozostaw puste jeśli po kliknięciu ma przechodzić do działu';
$txt['upload_title'] = 'Pobierz obrazek';
$txt['select_files'] = 'Wybierz plik';
$txt['valid_file_types'] = 'Dozwolone typy plików';
$txt['invalid_file_extension'] = 'Niestety. <span style="color: #FF0000;">%s</span> posiada nieprawidłowe rozszerzenie. Pobieranie przerwane.<br />';
$txt['upload_failed'] = '<span style="color: #FF0000;">Pobieranie nieudane! Nieznany błąd.</span><br />';
$txt['file_too_big'] = 'Niestety. <span style="color: #FF0000;">%s</span> jest za duży. Pobieranie przerwane.<br/>';
$txt['file_cannot_move'] = '<span style="color: #FF0000;">%s</span> nie można przenieść. Nieznany błąd.';
$txt['upload_successful'] = '<span style="color: blue;">Plik pobrany poprawnie.</span> - %s<br />';
$txt['file_exists'] = 'Niestyty. %s plik już istnieje. Zmień nazwę lub pobierz inny plik.<br/>';
$txt['maximum_allowed'] = 'Maksymalny rozmiar pliku dozwolony przez serwer to: <strong>%s</strong> kilobajtów lub <strong>%d</strong> megabajtów.<br />';
$txt['maximum_upload'] = 'Maksymalny rozmiar pliku jaki można pobrać to: <strong>%s</strong> kilobajtów lub <strong>%d</strong> megabajt(ów).<br /><br />';
]]></add>
</operation>
</file>
I also modified a pdx-dk 1.1.9v1 (1.1.5) (http://custom.simplemachines.org/themes/index.php?lemma=103) theme to work with "Images On Board" (it's for SMF 1.1.12)
<!-- Themes/pdx-dk119v1/languages/Modifications.polish.php -->
<file name="$boarddir/Themes/pdx-dk119v1/languages/Modifications.polish-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['disable_iob'] = 'Wyłącz obrazki przy nazwach działów.';
$txt['board_image'] = 'Nazwa obrazka działu';
$txt['board_image_desc'] = 'razem z rozszerzeniem. (np. stop.png)';
$txt['board_img_link'] = 'Link przypisany do obrazka';
$txt['board_img_link_desc'] = 'pozostaw puste jeśli po kliknięciu ma przechodzić do działu';
$txt['upload_title'] = 'Pobierz obrazek';
$txt['select_files'] = 'Wybierz plik';
$txt['valid_file_types'] = 'Dozwolone typy plików';
$txt['invalid_file_extension'] = 'Niestety. <span style="color: #FF0000;">%s</span> posiada nieprawidłowe rozszerzenie. Pobieranie przerwane.<br />';
$txt['upload_failed'] = '<span style="color: #FF0000;">Pobieranie nieudane! Nieznany błąd.</span><br />';
$txt['file_too_big'] = 'Niestety. <span style="color: #FF0000;">%s</span> jest za duży. Pobieranie przerwane.<br/>';
$txt['file_cannot_move'] = '<span style="color: #FF0000;">%s</span> nie można przenieść. Nieznany błąd.';
$txt['upload_successful'] = '<span style="color: blue;">Plik pobrany poprawnie.</span> - %s<br />';
$txt['file_exists'] = 'Niestyty. %s plik już istnieje. Zmień nazwę lub pobierz inny plik.<br/>';
$txt['maximum_allowed'] = 'Maksymalny rozmiar pliku dozwolony przez serwer to: <strong>%s</strong> kilobajtów lub <strong>%d</strong> megabajtów.<br />';
$txt['maximum_upload'] = 'Maksymalny rozmiar pliku jaki można pobrać to: <strong>%s</strong> kilobajtów lub <strong>%d</strong> megabajt(ów).<br /><br />';
]]></add>
</operation>
</file>
<!-- Themes/pdx-dk119v1/Profile.template.php-->
<file name="$boarddir/Themes/pdx-dk119v1/Profile.template.php" error="skip">
<operation><!-- 1260 -->
<search position="replace"><![CDATA[<label for="view_newest_pm_first"><input type="checkbox" name="default_options[view_newest_pm_first]" id="view_newest_pm_first" value="1"', !empty($context['member']['options']['view_newest_pm_first']) ? ' checked="checked"' : '', ' class="check" /> ', $txt['recent_pms_at_top'], '</label>
</td>
</tr><tr>]]></search>
<add><![CDATA[<label for="view_newest_pm_first"><input type="checkbox" name="default_options[view_newest_pm_first]" id="view_newest_pm_first" value="1"', !empty($context['member']['options']['view_newest_pm_first']) ? ' checked="checked"' : '', ' class="check" /> ', $txt['recent_pms_at_top'], '</label>
</td>
</tr><tr>
<td colspan="2">
<input type="hidden" name="default_options[disable_iob]" value="0" />
<label for="disable_iob"><input type="checkbox" name="default_options[disable_iob]" id="disable_iob" value="1"', !empty($context['member']['options']['disable_iob']) ? ' checked="checked"' : '', ' class="check" /> ', $txt['disable_iob'], '</label>
</td>
</tr><tr>]]></add>
</operation>
</file>
<!-- Themes/pdx-dk119v1/Settings.template.php-->
<file name="$boarddir/Themes/pdx-dk119v1/Settings.template.php" error="skip">
<operation><!-- 54 -->
<search position="before"><![CDATA[array(
'id' => 'view_newest_first',
'label' => $txt['recent_posts_at_top'],
'default' => true,
),]]></search>
<add><![CDATA[
array(
'id' => 'disable_iob',
'label' => $txt['disable_iob'],
'default' => true,
),]]></add>
</operation>
</file>
<!-- Themes/pdx-dk119v1/BoardIndex.template.php -->
<file name="$boarddir/Themes/pdx-dk119v1/BoardIndex.template.php" error="skip">
<operation><!-- 136 -->
<search position="replace"><![CDATA[echo '</a>
</td>
<td class="windowbg2">]]></search>
<add><![CDATA[echo '</a>
</td>
<td class="windowbg2">';
if (!empty($board['image']) && empty($options['disable_iob']))
{
echo '<div style="float:left; margin-right: 4px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></div>';
}
echo ']]></add>
</operation>
</file>
<!-- Themes/pdx-dk119v1/MessageIndex.template.php -->
<file name="$boarddir/Themes/pdx-dk119v1/MessageIndex.template.php" error="skip">
<operation><!-- 36 -->
<search position="replace"><![CDATA[echo '</a>
</td>
<td class="windowbg2">]]></search>
<add><![CDATA[echo '</a>
</td>
<td class="windowbg2">';
if (!empty($board['image']) && empty($options['disable_iob']))
{
echo '<div style="float:left; margin-right: 4px;">';
if (!empty($board['img_link']))
echo '<a href="', $board['img_link'], '" target="_blank"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['img_link'], '" />';
else
echo '<a href="', $board['href'], '" name="b', $board['id'], '"><img src="' . $settings['default_images_url'] . '/ImagesOnBoard/' . $board['image'] . '" alt="', $board['name'], '" />';
echo '</a></div>';
}
echo ']]></add>
</operation>
</file>
Hereby an dutch translation
// Images on board
$txt['board_image'] = 'Naam van de afbeelding voor dit board';
$txt['board_image_desc'] = 'Inclussief file extensie. (i.e. xx.gif)';
$txt['board_img_link'] = 'Link voor de bovenstaande afb.';
$txt['board_img_link_desc'] = '(o.a. http://www.simplemachines.org)';
// End // Images on board
great fun this Mod thanks
This is de complete code I believe
<file name="$languagedir/Modifications.dutch.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['disable_iob'] = 'Laat geen afbeeldingen zien op dit board.';
$txt['board_image'] = 'Naam van de afbeelding voor dit board:';
$txt['board_image_desc'] = 'Inclussief file extensie. (i.e. xx.gif or xx.png)';
$txt['board_img_link'] = 'Link voor de bovenstaande afbeelding.:';
$txt['board_img_link_desc'] = '(i.e. http://www.simplemachines.org)';
$txt['upload_title'] = 'Upload Afbeeldingen';
$txt['select_files'] = 'Kies een File';
$txt['valid_file_types'] = 'Toegestane file types zijn';
$txt['invalid_file_extension'] = 'Excuses. <span style="color: #FF0000;">%s</span> had een verkeerde file extension. Upload afgebroken.<br />';
$txt['upload_failed'] = '<span style="color: #FF0000;">Upload mislukt! Onbekende fout.</span><br />';
$txt['file_too_big'] = 'Excuses. <span style="color: #FF0000;">%s</span> was te groot. Opladen afgebroken.<br/>';
$txt['file_cannot_move'] = '<span style="color: #FF0000;">%s</span> kan niet verplaatsen. Onbekende fout.';
$txt['upload_successful'] = '<span style="color: blue;">File succesvol opgeladen. Dank U.</span> - %s<br />';
$txt['file_exists'] = 'Excuses. %s bestaat al. Probeer een ander bestand of herbenoem het bestand.<br/>';
$txt['maximum_allowed'] = 'Het maximum formaat toegestaan door de Host is <strong>%s</strong> kilobytes of <strong>%d</strong> megabytes.<br />';
$txt['maximum_upload'] = 'Het maximum formaat toegestaan om te laden is <strong>%s</strong> kilobytes of <strong>%d</strong> megabyte(s).<br /><br />';
]]></add>
</operation>
</file>
Must I uninstall version 1.1. before installing 2.1 or can I just update the older version and have I to install all the images on the boards again
I have version 2.0 rc5 smf how do I fit?
hi i could not get this to work with rc5 so i found a temp way round it
if you up load your images to a folder say "image"
image tiltle for this is "icon"
then modify the board and place before the board discription the following code
<IMG SRC="/image/icon.jpg" ALT="*">
will not work on the board title just discription as here www.r1-yzf1000.co.uk
fail installation on fresh SMF 2 RC 5!
Try this (http://www.simplemachines.org/community/index.php?msg=2530237) should require only 1 manual edit.
Doesnt work on 2.0 rc3
Its available other mod like this that works on rc3?
thanks
Quote from: unformatted_ on May 23, 2011, 05:09:00 PM
Doesnt work on 2.0 rc3
Its available other mod like this that works on rc3?
thanks
Do the same thing that was said in the post above yours. I've used that same package on RC3, RC4, RC4 patch, and RC5. You will probably just need to do the one manual edit in ManageBoards.template.php
i think i messed up someplace i had to phase the code for 2.0 rc5 see screen shot see if you have a clue i am not very code friendly
have 2 question how do i have to image justify to the left of the title and kill the hyperlink
This one works flawlessly on RC3
;)
I get errors just like hecho does with his fresh install.
Running 2.0 rc5
I can only say from experience of making many many forums that IOB is best installed as the first mod in the list of things to do and then i have never had problems albeit as i said this version was for RC3 not 5
:-X
Trying to install it fresh on SMF 2 gold.
Get an error on step 8, Execute Modification ./Themes/default/ManageBoards.template.php
I have tryed install boardimage2.0RC3 in my forum 2.0 RC3,
I edit some file & it was done
but in board appears 2 same image i entry from modify board.
please someone solve my problem..
Thanks
Quote from: bros on June 19, 2011, 07:22:53 PM
Trying to install it fresh on SMF 2 gold.
Get an error on step 8, Execute Modification ./Themes/default/ManageBoards.template.php
What is the error? It helps if you tell what the error line says and paste the lines surrounding the error line into a post.
Quote from: yakyakyak on June 07, 2011, 11:49:15 AM
I can only say from experience of making many many forums that IOB is best installed as the first mod in the list of things to do and then i have never had problems albeit as i said this version was for RC3 not 5
:-X
working fine for me on 2.0 with minor edits from parser
Quote from: Brack1 on June 22, 2011, 12:33:16 PM
Quote from: bros on June 19, 2011, 07:22:53 PM
Trying to install it fresh on SMF 2 gold.
Get an error on step 8, Execute Modification ./Themes/default/ManageBoards.template.php
What is the error? It helps if you tell what the error line says and paste the lines surrounding the error line into a post.
Find:
<textarea name="desc" rows="3" cols="35" style="width: 100%">', $context['board']['description'], '</textarea>
Replace with:
<textarea name="desc" rows="3" cols="35" style="width: 100%">', $context['board']['description'], '</textarea>
</dd>
<dt>
<strong>', $txt['board_image'], ':</strong> <a href="', $scripturl, '?action=iobuploads" target="_blank"><img src="', $settings['default_images_url'], '/iobuploads.gif" alt="*" /></a><br />
<span class="smalltext">', $txt['board_image_desc'], '</span><br />
</dt>
<dd>
<input type="text" name="img_filename" value="', $context['board']['image'], '" size="30" />
</dd>
<dt>
<strong>', $txt['board_img_link'] , ':</strong><br />
<span class="smalltext">',$txt['board_img_link_desc'], '</span><br />
</dt>
<dd>
<input type="text" name="img_link" value="', $context['board']['img_link'], '" size="30" />
The thing it wants me to find is nowhere in manageboards.template.php
Instead of 100% look for 99%
<textarea name="desc" rows="3" cols="35" style="width: 99%">', $context['board']['description'], '</textarea>
<textarea name="desc" rows="3" cols="35" style="width: 99%">', $context['board']['description'], '</textarea>
</dd>
<dt>
<strong>', $txt['board_image'], ':</strong> <a href="', $scripturl, '?action=iobuploads" target="_blank"><img src="', $settings['default_images_url'], '/iobuploads.gif" alt="*" /></a><br />
<span class="smalltext">', $txt['board_image_desc'], '</span><br />
</dt>
<dd>
<input type="text" name="img_filename" value="', $context['board']['image'], '" size="30" />
</dd>
<dt>
<strong>', $txt['board_img_link'] , ':</strong><br />
<span class="smalltext">',$txt['board_img_link_desc'], '</span><br />
</dt>
<dd>
<input type="text" name="img_link" value="', $context['board']['img_link'], '" size="30" />
I guess I should have checked first.. apparently in change in 2.0 gold again so look for
<textarea name="desc" rows="3" cols="35" style="' . ($context['browser']['is_ie8'] ? 'width: 635px; max-width: 99%; min-width: 99%' : 'width: 99%') . ';">', $context['board']['description'], '</textarea>
Quote from: yakyakyak on June 22, 2011, 01:19:14 PM
Quote from: yakyakyak on June 07, 2011, 11:49:15 AM
I can only say from experience of making many many forums that IOB is best installed as the first mod in the list of things to do and then i have never had problems albeit as i said this version was for RC3 not 5
:-X
working fine for me on 2.0 with minor edits from parser
Worked almost for me with 2.0 gold , had to manually change the line in ManageBoards.template.php since it's not the same origianlly with 2.0 gold.
However if you follow what spoogs said it will work, except that first line is different.
Then again, I get some minor issues with the layout that I'll have to see if I can work out.
It doesn't replace the original image that I hoped it did, but rather it added another one to the right.
Could be that I've misunderstood it sure, but yea. :)
I got multiple errors on mine.
1. Replace ./Themes/default/ManageBoards.template.php Test failed
* 9. Execute Modification ./Themes/default/Profile.template.php Test failed
1. Replace ./Themes/default/Profile.template.php Test failed
* 10. Execute Modification ./Themes/default/Settings.template.php Test successful
* 11. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
1. Add After ./Themes/default/BoardIndex.template.php Test failed
* 12. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
1. Add After ./Themes/default/MessageIndex.template.php Test failed
SMF version 2.0
Images On Board version 2.1
/Themes/default/Profile.template.php Test failed
SMF 1x version
Quote<label for="view_newest_first"><input type="checkbox" name="default_options[view_newest_first]" id="view_newest_first" value="1"', !empty($context['member']['options']['view_newest_first']) ? ' checked="checked"' : '', ' class="check" /> ', $txt['recent_posts_at_top'], '</label>
</td>
</tr>';
What shall I look for in the 2.0 versions?
/Themes/default/MessageIndex.template.php Test failed
SMF 1x version
Quote<td class="windowbg2 info">
What shall I look for in the 2.0 versions?
Thanks...
tamasir~
when will supported version 2.0?
Awsome mod. :) Can someone help me getting impulse2 theme working ? ( SMF 2.0 )
http://custom.simplemachines.org/themes/index.php?lemma=2060
many thanks in advance :)
Quote from: Valguskera on July 22, 2011, 03:37:23 PM
Awsome mod. :) Can someone help me getting impulse2 theme working ? ( SMF 2.0 )
http://custom.simplemachines.org/themes/index.php?lemma=2060
many thanks in advance :)
uh sorry, I meant can someone help me getting "Images On Board" mode working in impulse2 ? ::)
Any word if this mod is being updated for SMF 2.0 Gold?
Thanks,
Robert
not sure if this mod will be continued, brilliant mod anyway
may have some other similar mod, if anyone knows?
This mod could be put in next SMF relise, maybe someone would recommend SMF team?
Yeah I love this mod! It really added some style to the forum categories.
Does anyone know if the owner is still active at all? I see in his profile he hasnt been on the forum since 2009.
Robert
I really likes this feature on smf 1.14 and I want it to work on 2.0 Please see what else is wrong. I'm an old programmer and I'm not up to speed on the database coding.
I attached is a updated install-2.x.xml with new parameters trying to get this install to work but I get this error now. What else?
Table 'kpman_kp20110812.boards' doesn't exist
File: /home/kpman/public_html/forum2/Packages/temp/img_link2b.php
Line: 18
Line 18 of the above file is this
$smcFunc['db_add_column']('boards', $img_link);
* 8. Execute Modification ./Themes/default/ManageBoards.template.php Test failed
1. Replace ./Themes/default/ManageBoards.template.php Test failed
* 9. Execute Modification ./Themes/default/Profile.template.php Test failed
1. Replace ./Themes/default/Profile.template.php Test failed
* 10. Execute Modification ./Themes/default/Settings.template.php Test successful
* 11. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
1. Add After ./Themes/default/BoardIndex.template.php Test failed
* 12. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
1. Add After ./Themes/default/MessageIndex.template.php Test failed
Below is what I updated with the attached Install-2.x.xml
ManageBoards.template.php Section 8 Error: Fixed search and replace code
Profile.template.php. Section 9 Error:
Search issue: looked for code ending in </td> and <tr>, where new 2.0 uses <li> and </li>
Search issue: looked for code matching class="check", where new 2.0 uses class="input_check"
Section 11 and 12 are the same codes for the BoardIndex.template.php and MessageIndex.template.php
search looks for <td class="windowbg2 info">
and it exists as this now <tr id="board_', $board['id'], '" class="windowbg2">
This was not the end of the program line anymore so for the add code to follow, the search needs to look for the below code and allowed the original code for add to follow this line $board['href'] : $scripturl . '?action=unread;board=' . $board['id'] . '.0;children'), '">';
Hi,
I have modified the "ImagesonBoards" for my personal use.
Use at your own risk.
Tested : Freshly installed SMF 2.0 and Curve Only.
I am not supporting the attached package.
Please !!! You should use the mod authors version once he updates it !!!
Thanks
Maximus,
Wow! Thanks so much! Works great on 2.0 Gold.
The author to this mod has not even been on here for over a year. Maybe you could request to take over the mod!
Robert
Thanks maximus23, works great also on SMF 2.0.1.
maximus23 Thanks!!! your modification is very good, run in 2.0!
Thanks very much maximus23 for updating this, it works for 2.0.1 with no errors.
do this mod exist for Smf version 2.0.1?
if not, can you updates it?
thanks
ps: I've written this post for ask a question: I've tried to updates thi mod but unfortunately I failed
http://www.simplemachines.org/community/index.php?topic=246022.msg3140414#msg3140414 ;)
This modification is not comfortable with smf 2.0.1. Is there an update to SMF 2.0.1?
last updated in 2009
Quote from: iPhoneDestek on October 23, 2011, 03:34:21 PM
This modification is not comfortable with smf 2.0.1. Is there an update to SMF 2.0.1?
last updated in 2009
Hello iPhoneDestek,
Take a look at http://www.simplemachines.org/community/index.php?topic=246022.msg3140414#msg3140414 (http://www.simplemachines.org/community/index.php?topic=246022.msg3140414#msg3140414)
:)
189 posts and he can´t search?!? :o ::)
One post before... ;D :D ;)
Quote from: maximus23 on August 19, 2011, 02:33:46 PM
Hi,
I have modified the "ImagesonBoards" for my personal use.
Use at your own risk.
Tested : Freshly installed SMF 2.0 and Curve Only.
I am not supporting the attached package.
Please !!! You should use the mod authors version once he updates it !!!
I'm looking for something like this but unfortunately I can't download it - if I click on the "ImagesOnBoard_3.0.zip" to download it, I get just an "index.php" :S Could you help me please? Thank you very much!
EDIT: Oh, now it works - I had just to rename the "index.php" to a zip-file. Thank you very much for this mod!
I tried SMF 2.0 that I had recommended, but not working ... you have something newer to 2.0.1 smf default theme?
ps: link to italian support? thanks
I have a SMF 1.1.15
I want to get the icons of the boards in the recent list (in order to see which board member each topic)
I have placed the icons in other parts of the forum, but in the Recent.php (from Sources) something I do wrong
I added "b.img_filename, b.img_link,"
// This part is the same for each query.
$select_clause = '
ms.subject AS firstSubject, ms.posterTime AS firstPosterTime, ms.ID_TOPIC, t.ID_BOARD, b.name AS bname, b.img_filename, b.img_link,
t.numReplies, t.numViews, ms.ID_MEMBER AS ID_FIRST_MEMBER, ml.ID_MEMBER AS ID_LAST_MEMBER,
ml.posterTime AS lastPosterTime, IFNULL(mems.realName, ms.posterName) AS firstPosterName,
IFNULL(meml.realName, ml.posterName) AS lastPosterName, ml.subject AS lastSubject,
ml.icon AS lastIcon, ms.icon AS firstIcon, t.ID_POLL, t.isSticky, t.locked, ml.modifiedTime AS lastModifiedTime,
IFNULL(lt.ID_MSG, IFNULL(lmr.ID_MSG, -1)) + 1 AS new_from, LEFT(ml.body, 384) AS lastBody, LEFT(ms.body, 384) AS firstBody,
ml.smileysEnabled AS lastSmileys, ms.smileysEnabled AS firstSmileys, t.ID_FIRST_MSG, t.ID_LAST_MSG';
and in build array " 'image' => $row['img_filename'],
'img_link' => $row['img_link']
'subject' => $row['firstSubject'],
'pages' => $pages,
'replies' => $row['numReplies'],
'views' => $row['numViews'],
'board' => array(
'id' => $row['ID_BOARD'],
'name' => $row['bname'],
'href' => $scripturl . '?board=' . $row['ID_BOARD'] . '.0',
'link' => '<a href="' . $scripturl . '?board=' . $row['ID_BOARD'] . '.0">' . $row['bname'] . '</a>',
'image' => $row['img_filename'],
'img_link' => $row['img_link']
to obtain $topic['board']['img_link'] for example
but I get nothing for Recent.template.php
what is wrong ?
Any ideas?
If you are having this problem (even with a fresh install of SMF 2.0.1):
QuoteDatabase Error
BLOB/TEXT column 'img_link' can't have a default value
File: C:\Websites\exforce\Packages\temp\img_link2b.php
Line: 29
Do NOT modify the file to remove the default value code else you get this when you attempt to add a new forum board:
Quote
Database Error
Field 'img_link' doesn't have a default value
File: C:\Websites\exforce\Sources\Subs-Boards.php
Line: 789
The appropriate fix is to use the modded 3.0 version of the file and edit my.ini in the mysql directory and remove this
STRICT_TRANS_TABLES,
from the line which typically reads:
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
Works like a charm!
Have it running beutiful on 1.1...but just cant get it to work on 2.0 RC5 too many errors...is there an update at all for this brilliant mod?
Hi
Just tried the 3.00 version and got these errors, any ideas?
1. Execute Code img_link2b.php
2. Execute Code img_filename2b.php
* 3. Execute Modification ./index.php Test successful
* 4. Execute Modification ./Sources/Subs-Boards.php Test successful
* 5. Execute Modification ./Sources/Subs-BoardIndex.php Test failed
1. Replace ./Sources/Subs-BoardIndex.php Test failed
2. Replace ./Sources/Subs-BoardIndex.php Test successful
* 6. Execute Modification ./Sources/Subs-MessageIndex.php Test successful
* 7. Execute Modification ./Sources/ManageBoards.php Test successful
* 8. Execute Modification ./Themes/default/ManageBoards.template.php Test failed
1. Add After ./Themes/default/ManageBoards.template.php Test failed
* 9. Execute Modification ./Themes/default/Profile.template.php Test successful
* 10. Execute Modification ./Themes/default/Settings.template.php Test successful
If you attach files that caused errors, maybe someone will write manual instruction for this files.. ;)
On clean SMF 2.0 package install without problems, and you should update your forum to latest version :P
Its not a "clean" version as it as other mods...but it is the latest version, do you think there is a conflict?
mod list
Share This Topic
Stop Forum Spam
audiblepm 1.5 2.0
Simple Audio Video Embedder 1.1.4
Users Online Today 1.6.0 RC1
SMF Articles 1.4
PM Sent Notification 1.0.5
Signature Image Rotator 2.1
SimpleAds 1.0.1
Default Avatar 2.1
Board-color-and-icons 1.1
Search Focus Dropdown 1.53
Google +1 Topics 1.0
Stop Spammer 2.3.9
please !
a little help about ?
http://www.simplemachines.org/community/index.php?topic=246022.msg3221274#msg3221274
?
I think the idea is very interesting:
icon-boards, in the summary of Recent Post.
Gives a quick idea of which are of interest to visit.
This looks like a great mod for my gaming forum.
Unfortunately I got the following errors when trying to install on SMF 2.0.2:
Quote
1. Execute Code img_link2b.php
2. Execute Code img_filename2b.php
* 3. Execute Modification ./index.php Test successful
* 4. Execute Modification ./Sources/Subs-Boards.php Test successful
* 5. Execute Modification ./Sources/Subs-BoardIndex.php Test successful
* 6. Execute Modification ./Sources/Subs-MessageIndex.php Test successful
* 7. Execute Modification ./Sources/ManageBoards.php Test successful
* 8. Execute Modification ./Themes/default/ManageBoards.template.php Test failed
1. Replace ./Themes/default/ManageBoards.template.php Test failed
* 9. Execute Modification ./Themes/default/Profile.template.php Test failed
1. Replace ./Themes/default/Profile.template.php Test failed
* 10. Execute Modification ./Themes/default/Settings.template.php Test successful
* 11. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
1. Add After ./Themes/default/BoardIndex.template.php Test failed
* 12. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
1. Add After ./Themes/default/MessageIndex.template.php Test failed
13. Execute Modification ./Themes/babylon/BoardIndex.template.php Skipping file
14. Execute Modification ./Themes/babylon/MessageIndex.template.php Skipping file
15. Execute Modification ./Themes/classic/BoardIndex.template.php Skipping file
16. Execute Modification ./Themes/classic/MessageIndex.template.php Skipping file
17. Execute Modification ./Themes/shinyblue2b3/BoardIndex.template.php Skipping file
18. Execute Modification ./Themes/shinyblue2b3/MessageIndex.template.php Skipping file
* 19. Execute Modification ./Themes/default/languages/Who.english.php Test successful
* 20. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
21. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
22. Execute Modification ./Themes/default/languages/Modifications.italian.php Skipping file
23. Execute Modification ./Themes/default/languages/Who.greek-utf8.php Skipping file
24. Execute Modification ./Themes/default/languages/Modifications.greek-utf8.php Skipping file
25. Extract Tree ./Themes/default/images/ImagesOnBoard
26. Extract File ./Themes/default/images/iobuploads.gif
27. Extract File ./Themes/default/iobuploads.template.php
28. Extract File ./Sources/iobuploads.php
I'm running a custom theme, would it wise to continue the installation just to see if it works?
Quote from: maximus23 on August 19, 2011, 02:33:46 PM
Hi,
I have modified the "ImagesonBoards" for my personal use.
Use at your own risk.
Tested : Freshly installed SMF 2.0 and Curve Only.
I am not supporting the attached package.
Please !!! You should use the mod authors version once he updates it !!!
IT WORKS!!!.. Thanks!
Quote from: maximus23 on August 19, 2011, 02:33:46 PM
Hi,
I have modified the "ImagesonBoards" for my personal use.
Use at your own risk.
Tested : Freshly installed SMF 2.0 and Curve Only.
I am not supporting the attached package.
Please !!! You should use the mod authors version once he updates it !!!
That's for the upload, just tried it on 2.0 and all went well but anything i try to use for a image on the board fails to work. Oh well.
Hello,
Please can someone help me with this mod? It looks like it'll be perfect and I've loaded it in and all the tests were successful but now I can't see how to edit it to add the pictures up.
please help, I really can't do code so going to have to be very slow and specific with me! lol
Quote from: maximus23 on August 19, 2011, 02:33:46 PM
Hi,
I have modified the "ImagesonBoards" for my personal use.
Use at your own risk.
Tested : Freshly installed SMF 2.0 and Curve Only.
I am not supporting the attached package.
Please !!! You should use the mod authors version once he updates it !!!
after much searching and only finding one mod (this one) and it was out of date and didnt work with 2.0.2, I decided to backup and give your modified version 3.0 ago, and it worked for both my templates that I use
so thumbs up from me for modding it
nothing for new smf????
Quote from: the_shadow on September 08, 2012, 06:50:11 PM
nothing for new smf????
Have a look at reply 189.
Please remember to look through topics before posting.
:)
Quote from: Old Fossil on September 08, 2012, 06:56:00 PM
Quote from: the_shadow on September 08, 2012, 06:50:11 PM
nothing for new smf????
Have a look at reply 189.
Please remember to look through topics before posting.
:)
ther's some errors on the instalation and only on curve theme
This mods can not support in SMF 2.0.2
i just waiting for update....
Need also an update :)
Someone should really take over this mod :/ Works fine with default theme but any moderna theme it wont work on. Sad such a nice mod :/
Quote from: WaveZtream on June 30, 2013, 11:15:41 AM
Someone should really take over this mod :/ Works fine with default theme but any moderna theme it wont work on. Sad such a nice mod :/
Why won't it work?
Have a look at the cbi mod which is similar to this one.
Hi
And thx
Board index code is different and that is maybe why it can't apply the code correctly.
And cbi isn't at all the same. The thing that made this mod good and easy was the extra options in the creation of a board where you could add any image whatever size and then link an url to it.
So you had something like this (icon)[board image]
(board title)
(board description)
Is there any chance that you will be updating this mod for 2.0.7? I used it for a long time in the old 1.x versions and my users really like it. Now, I have to code the link to the image in the description and even though it works, I don't like doing it that way.
@MaryLouW
Considering the mods author hasn't been around since 2009 an upgrade to 2.0.7 is highly unlikely.
OH! Well, that's a pretty reasonable assessment! Thank you for your response, now I can uncross my fingers. :) Seems a lot of the nice ones are slowly fading away.
Hello,
Take a look at : http://www.simplemachines.org/community/index.php?topic=246022.msg3140414#msg3140414
It works perfect for me. Version 2.0 to 2.0.7.
:)
Wow... Thank you!!!!! It worked... perfectly! Am so happy that someone was able to "save" this one!!
Thank you so much for updating this one!! I just installed it on my 2.0.7 and it works perfectly!!! I really appreciate you doing this. Not a single error during the install. :)
Installed on 2.0.7 with 1 error. The error was due to another mod that I had installed. Edited that step manually and all is good.
Anybody know how and if it be hard to swap the image location with the on and off.png images?
Hi , Friends
I Want To Put The Image Under Description
Like This
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs4.picofile.com%2Ffile%2F8178928818%2FSet_Picture_Under_Blue_Line.JPG&hash=2d54eaaca886eabb53f8ab9f70de08ba2609815f)
Under Blue Line
Can You Help Me , Because a Little Hard To Set
?Please
Quote from: CHRIS-7 on March 24, 2015, 06:42:56 PM
Hi , Friends
I Want To Put The Image Under Description
Like This
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs4.picofile.com%2Ffile%2F8178928818%2FSet_Picture_Under_Blue_Line.JPG&hash=2d54eaaca886eabb53f8ab9f70de08ba2609815f)
Under Blue Line
Can You Help Me , Because a Little Hard To Set
?Please
Hey , Guys
I Did This
I Cut it And Replace Under Description
No , Need Help
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.uplooder.net%2Fimg%2Fimage%2F7%2Feda7d27b0e9314fdf4136266bcb104e2%2FImage_On_Board_3.0-BoardIndex.template.php.JPG&hash=4cbe59890423095cae57232c2aa694dbb19f3f0d)
Hi just update my smf 1.1.21 with Images On Board 2.1 to smf 2.0.10 .
I try to install again but i receive error in index.template.php .
Any help please ?
Finaly work great with this help : http://www.simplemachines.org/community/index.php?topic=246022.msg3140414#msg3140414
Thanks @maximus23
IOB v3.00 works sweet on SMF 2.0.9
Minor copy and paste needed for non package Themes
Thanks for your effort.
Just to everybody let know, ths wonderful Mod it cannot be installed in v2.0.13 as is, many errors even installing it manualy and parts of the code are different but editables.
For thos like me not experienced with coding, better to wait for someone who creates from scratch a similar Mod, is what i was looking for to get the board info i wanted layered, but i have to give up... for now, until a caritative soul can code a similar Mod.
Thanks to the Author anyway, and thanks to those who tried to help others getting this Mod working.
This one will work on 2.0.13- http://custom.simplemachines.org/mods/index.php?mod=4107
Thanks br360, but that's a different Mod, which i already got installed. That Mod add posterer avatar close to topic title and last reply title.
Thanks for your help anyway, Regards.
Oops, I looked quickly and thought this was his last avatar mod. There isn't really anything exactly like this but these may be close; and should install on your version-
http://custom.simplemachines.org/mods/index.php?mod=3604
http://custom.simplemachines.org/mods/index.php?mod=511
http://custom.simplemachines.org/mods/index.php?mod=3023
Thanks br360, i knew the first two Mods you have posted, however both don't work like i need, because both replace the "new/no-new" icon for an icon i choose, and that option already comes with v2.0.13
The third Mod it's a bit close to what i need, ths icon will not be placed where i need, and it force the size, maybe i will play with that Mod's code.
How it looks the new/no-new icon and my icon it's how it looks the topics list into a Category. So i will try to play with the third Mod and how it's coded that part of MessageIndex-template.
It's a shame that this "Images On Board" mod it's abandoned....Thanks for your time br360 :)
Hi all
I'm looking since days to find ImagesOnBoard_3.0.zip so if anyone still has the file let me pls know.
My Forum on version 2.0.18 won't run Images On Board any longer so I need help.
I have tried version 2.0 | 2.1 | 2.2 to no avail
Riso
As the mod author hasn't been here in 12 years I wouldn't hold out any hope for it to be updated.
You may want to look at this though:
How to add image next to description (https://www.simplemachines.org/community/index.php?topic=539000.0)
Bulakbol (Johnny) left to join the US army but no one took over the mod. Thanks for the link Steve.