News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Images On Board

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

Previous topic - Next topic

Arantor

No, it looks like the code in the template needs to be refitted - the default template in 2.0 RC2 doesn't use tables.

vanquizhers

Thank you.... i already apply, and success.... you can look at www.jozinko.com [nofollow], :D

romper

Can I get some help in extreme6 theme...I do manage to get images on board but then I loose title of the board

bjraines

do you think it is possible to get this updated to 1.11

MultiformeIngegno

Any chance to get an updated version for RC3..?
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

Chas Large

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.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

MultiformeIngegno

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
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

Sabre™

#707
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, 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.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Kikokeko

Downloaded, installed and working.

Thank you very much!

SMS 1.1.11
TinyPortal 1.0.4
Theme mobile10
Spanis_ES

C4G-TK

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>

-img removed-

Bruno36

Hello!

I'm having a problem
Bruno36 the French
SMF 2.0.9

aw06

Installed fine on rc3 . how do you delete the images in the store folder, i have allot of test icons left over..
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

bros

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


Sabre™

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.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


aw06

#714
Cant manually delete them, telling me i have no permissions... :o

BTW, great mod, looks good on my board, check my siggy
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Darkred35

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

Darkred35

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

TomW

#717
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 ?

Sabre™

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.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


TomW

Very cool; thanks again.

Advertisement: