News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Images On Board

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

Previous topic - Next topic

maximus23

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

:)
Pas de support par PM ou Courrier...Veuillez utiliser le forum pour vous avoir une réponse rapide à votre demande d'aide. Merci.
Amitiés et à Bientôt...
No support by PM or Mail...You will get better and faster responses in the support forums. Thank you.
Have a nice day...

MaXiForum.cz

189 posts and he can´t search?!? :o ::)
One post before...  ;D :D ;)

imihandstand

#822
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!

marcoaureliocommodo

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

_sebas_


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?


Grayma11er

#825
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!

crustybum

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?

crustybum

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

Adrek

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
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

crustybum

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    

_sebas_

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.

JMantis

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?

CKWT

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!
www.catrachosgaming.com
Charlton White
CG Administrador


 
   
         
 


SilverKnight

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.

jennyc

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

knowlsey

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

the_shadow


TheListener

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.

:)

the_shadow

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


Advertisement: