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

Lamarck

Yes,I tried...but nothing.I used stop.png and other image (mine),but they don't show in the index :(

Bulakbol

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

Pwn Kyuubi

Here is the file sorry XD this is my subs-boards.php

Bulakbol

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

Pwn Kyuubi

#264
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 [nofollow]

Bulakbol

Ow, can you create column manually? I am not sure why the img_link is not created. I will look at the code again.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Pwn Kyuubi

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

Bulakbol

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

Pwn Kyuubi

#268
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



Bulakbol

Sorry, I have not found a sulution yet.  :P
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Pwn Kyuubi

xD dont worry take your time   :D

tk2012

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

Bulakbol

@tk2012
Attach your ManageBoards.template.php and I'll edit it for you.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

cafenubia

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?

Bulakbol

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

cafenubia

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?

cafenubia

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!

Bulakbol

Cool. Glad to know you have it fixed. Thanks for using this mod.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Rap4Life

Hi!
great mod!!

i have the Extreme6 theme and i can't make it work!
can someone please help me?

thanks

Bulakbol

@Rap4Life
Re: Extreme 6 theme. Edit extreme6/BoardIndex.template.php
Code (find) Select
<td class="windowbg2">
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />


Code (replace) Select
<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 />
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Advertisement: