SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: ibm450 on October 07, 2008, 02:34:30 AM

Title: thumbnails on portal homepage not showing
Post by: ibm450 on October 07, 2008, 02:34:30 AM
 :o
installed simple portal, and loving it. but have issues with picture gallery thumbnails showing up on home page. also not sure on default left and right column sizes???

help will be much appreciated

its running on my home server

http://yarriesafety.mine.nu/


 :(
Title: Gallery block - nothing
Post by: ibm450 on October 23, 2008, 10:59:08 PM
hi guys, great portal and easy to use.

firstly, im a newbie on php. my setup is:


site: yarriesafety.mine.nu
Issue: Gallery block, error i get is: Could not find the gallery installation

Theme = Fire 1.1.6

Could some one help us out. ive searched all forum post in here regarding from thumbnails not showing to block changes to gallery block and none worked


Also, the smilies you have here, where to grab from and where to put them, also is there an MUCH easier / user friendly way of inserting pics into posts, i mean, browse for pics instead of the
Code: [Select]
[img][/img] tags as this site will be used by computer ilterate people. :-[

also why is the quotes/code box are SO small! is there a way of changing this ? where abouts in the css or template to modify from x-small to normal readable size

cheers  :)
Title: Re: thumbnails on portal homepage not showing
Post by: ibm450 on October 23, 2008, 11:03:58 PM
so no one can help out here?
Title: Re: thumbnails on portal homepage not showing
Post by: ???1031 on October 24, 2008, 12:46:39 AM
Could not find the gallery installation

This mean the SMF Gallery mod is not intalled.

Bye
DIN1031
Title: Re: thumbnails on portal homepage not showing
Post by: ibm450 on October 24, 2008, 12:52:23 AM
thanks for the reply, but the short breif answer dosnt help,

the gallery lite is installed and working

how to install appropiate mod will be appreciated and getting the block to work would be great

Title: Re: thumbnails on portal homepage not showing
Post by: ???1031 on October 24, 2008, 12:59:55 AM
Hmm the gallery check only if the table exists... and i did the test on a xampp installation and it work.
But i will test this at weekend.

Is there a way to change the name of the gallery table on install i'm not sure? :X
Title: Re: thumbnails on portal homepage not showing
Post by: ibm450 on October 24, 2008, 06:16:01 AM
found and fixed issue

it lies in the code of the php block

find
Code: [Select]
<a href="' . $scripturl . '?action=gallery;sa=view;id=' . $gallery_picture['id'] . '"><img ' . ($GD_Installed == true ?  'src="' . $modSettings['gallery_url'] . $gallery_picture['thumbfilename'] . '" ' : 'src="' . $modSettings['gallery_url'] . $gallery_picture['filename'] . '" height="250" width="250" ')  . ' border="0" /></a>
<br />' . $gallery_picture['title'] . '<span class="smalltext"><br />

replace with

Code: [Select]
<a href="' . $scripturl . '?action=gallery;sa=view;id=' . $gallery_picture['id'] . '"><img ' . ($GD_Installed == true ?  'src="gallery/' . $modSettings['gallery_url'] . $gallery_picture['thumbfilename'] . '" ' : 'src="' . $modSettings['gallery_url'] . $gallery_picture['filename'] . '" height="250" width="250" ')  . ' border="0" /></a>
<br />' . $gallery_picture['title'] . '<span class="smalltext"><br />


its all to do with the location in
Code: [Select]
($GD_Installed == true ?  'src="gallery/'
Title: Re: thumbnails on portal homepage not showing
Post by: ???1031 on October 28, 2008, 02:21:37 AM
Oh strange :), thanks for the information i will add it to the bug tracker to see if this a real bug :).

Bye
DIN1031
Title: Re: thumbnails on portal homepage not showing
Post by: 130860 on January 08, 2009, 02:46:25 PM
sorry to bother you but, I made the changes you say and still not working, im using SP 2.1.1, SMF 1.1.7 and DS-Natural designed by DzinerStudio

I could not found a gallery dir, all I found was a mgal_data dir

 :'(
SimplePortal 2.3.8 © 2008-2024, SimplePortal