Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4214
Latest: thatsjustit
New This Month: 5
New This Week: 3
New Today: 1
Stats
Total Posts: 42791
Total Topics: 7455
Most Online Today: 60
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 68
Total: 69

Author Topic: Display error SMF2 and SP 2.3.1  (Read 3349 times)

0 Members and 1 Guest are viewing this topic.

guest3817

  • Guest
Display error SMF2 and SP 2.3.1
« on: November 24, 2009, 09:19:44 am »
Hi

I'm using

SMF 2 RC2 using the Curve theme with
SMF Gallery Pro 2.5.6 and
SimplePortal 2.3.1

I'm getting some problems with thumbnails running into Simple Portal righthand blocks. The main gallery view is fine but most other views exhibit the problem. Please see the attached picture for examples. It looks pretty messy, is there anyway I can fix this?

Should add that the display issue only occurs when the member viewing has righs to approve edit and delete images.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16233
    • View Profile
Re: Display error SMF2 and SP 2.3.1
« Reply #1 on: November 24, 2009, 08:02:28 pm »
The sections are too close together. Could be that extra date information in the thumbnail is causing it to overlap and push over into the simple portal blocks.

Another option would be to reduce the number of images in a row.
You can run the following query on the database to reduce the number per row from 4 to 3
Quote
REPLACE INTO settings (variable, value) VALUES ('gallery_set_images_per_row', '3')
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

guest3817

  • Guest
Re: Display error SMF2 and SP 2.3.1
« Reply #2 on: November 25, 2009, 07:43:15 am »
Hi

The date information is wrapping if too long to fit on one line. It is the Unapprove, Edit and Delete buttons  that are "causing" the overflow. I edited the Gallery.english.php file to shorten these to prove it to myself. 

Code: [Select]
// Shortened text for Edit buttons to stop photos overflowing when using SimplePortal
// $txt['gallery_text_delete'] = '[Delete]';
$txt['gallery_text_delete'] = '[Del]';

$txt['gallery_text_edit2'] = 'Edit';

$txt['gallery_text_delete2'] = 'Delete';

// $txt['gallery_text_unapprove'] = '[UnApprove]';
$txt['gallery_text_unapprove'] = '[UnApp]';

$txt['gallery_text_unapprove2'] = 'UnApprove';

//$txt['gallery_text_approve'] = '[Approve]';
$txt['gallery_text_approve'] = '[App]';

Changing to the above allows me to display 4 column of thumbnails at at a resolution of 1280 by 960. but not lower. So i took up your suggestion of displaying 3 thumbnails per row. Looks OK at 1024 by 768. Note I also had to set the "Number of images to Show" to 3 (so that i only get one row of image0 in the Layout Settings ->Gallery Index Settings window rather than directly in the database.

I guess a nice enhancement (for me at least) would be to be able to set the number of images per row within gallery Admin rather than directly in the database.

Anyway thanks for your help once again.


 

Related Topics

  Subject / Started by Replies Last post
7 Replies
8108 Views
Last post July 28, 2007, 06:27:50 pm
by Skyview
0 Replies
3060 Views
Last post August 21, 2009, 04:15:46 am
by Vincent Volmer
0 Replies
5112 Views
Last post September 25, 2009, 07:08:30 pm
by fussilet
7 Replies
686 Views
Last post August 22, 2021, 04:07:09 pm
by Saftek
13 Replies
538 Views
Last post October 25, 2022, 08:50:14 pm
by KKOG

+- Recent Topics

prettyurls - TroubleShooting.wiki by thatsjustit
March 24, 2023, 07:56:39 pm

Download Gallery Option by SMFHacks
March 23, 2023, 09:34:02 am

Lost attachments by pete
March 22, 2023, 10:24:17 am

Additional Permissions by mickjav
March 18, 2023, 05:21:23 am

[Mod]Discord Web Hooks by SMFHacks
March 17, 2023, 08:48:30 am

Site upgrade to 2.1 by SMFHacks
March 12, 2023, 08:51:19 am

Theme/CSS design wanted by mickjav
March 11, 2023, 12:10:11 pm

Category Images by Anmer
March 10, 2023, 06:20:04 am

DownloadsPro - Topic Link by Anmer
March 08, 2023, 03:18:05 pm

Bulk File Import by SMFHacks
March 08, 2023, 07:56:23 am

Powered by EzPortal