Images On Board

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

Previous topic - Next topic

cor met snor

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

cor met snor


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>

cor met snor

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


_Luke_

I have version 2.0 rc5 smf how do I fit?
NEL MiNUTO iN CUi STAi PENSANDO Di ARRENDERTi PENSA ALLA RAGiONE PER CUi HAi RESiSTiTO COSi A LUNGO...

turtleautos

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




hecho

fail installation on fresh SMF 2 RC 5!

www.hornet.it - Honda Hornet forever

Spoogs

Try this should require only 1 manual edit.

unformatted_

Doesnt work on 2.0 rc3
Its available other mod like this that works on rc3?

thanks

C4G-TK

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

-img removed-

srgsng25

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

yakyakyak

This one works flawlessly on RC3

;)

razors edge

I get errors just like hecho does with his fresh install.

Running 2.0 rc5


yakyakyak

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

bros

Trying to install it fresh on SMF 2 gold.

Get an error on step 8, Execute Modification ./Themes/default/ManageBoards.template.php

bhakti_dinar

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

TheListener

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.

yakyakyak

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

bros

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

Spoogs

Instead of 100% look for 99%

Code (find) Select
<textarea name="desc" rows="3" cols="35" style="width: 99%">', $context['board']['description'], '</textarea>
Code (replace) Select
<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" />

Spoogs

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>

Advertisement: