News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Images On Board

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

Previous topic - Next topic

secangel

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: hxxp:secblitz.com/Themes/smfone_multicolour/images/blue/off.gif [nonactive]

(I get this when I click on the board icon and select properties)



Have I missed something else?

Bulakbol

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?
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

secangel

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

secangel

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?




Bulakbol

#44
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. :)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

secangel

#45
It looks wonderful!    You're the man!   Thank you!

Mr_Lon

 :( 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.

MaXiForum.cz

2 JohnyB i am on holiday
Wen i come i will look at it.
THX very much ;)

runvs

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
Help me I'm a noob

Bulakbol

@MaxiPes
   Enjoy your holiday! Come back soon.  :D


@runvs
   Here's your MessageIndex.php. Backup your old one. Use this before installation. Not after
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

runvs

Thank you much!!  Do you have a website that gives a good selection of images I could use for this?
Help me I'm a noob

Bulakbol

You are welcome. Just google crystal icons.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

MaXiForum.cz

#52
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:


But there's no image before board name at BlueAce Theme :(


Where is error?  :-[ :-\
Install in others files is correctly :)
THX, THX, THX ...

EDIT:
i have already done it
THX! Very good mod :)

InsaneneSs

JohnyB can you install this mod on this 2 themes for me please?

Thank you =D

Bulakbol

@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.

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

MaXiForum.cz

Quote from: MaxiPes on June 29, 2008, 09:45:25 AM
EDIT:
i have already done it
THX! Very good mod :)


;) THX THX THX :)

Bulakbol

I know I know MaxiPes.  :D I posted the three lines for other people who might be wondering how you did it.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

stefano8663

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?  ;)

Bulakbol

@stefano8663
Here's your edited MessageIndex.php. I edited already. Thanks for using this mod.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

stefano8663

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  ;)

Advertisement: