Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 251
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 128
Total: 128

Author Topic: Classified v2.0 Beta 4 and v4.0.10a breaks Lightbox  (Read 3404 times)

0 Members and 1 Guest are viewing this topic.

Offline Darkshadow

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • Dark Mysterious Worlds
Classified v2.0 Beta 4 and v4.0.10a breaks Lightbox
« on: March 12, 2017, 10:05:04 am »
Unfortanly found annother bug ?

My LightBox (INTEGRATE LIGHTBOX v1.6) now broken in Classified Section, in rest of forum ist still works.

Lightbox is comming up, start to resize and freezes without image shown... in Classifieds v2.0 Beta4 the same issue

In Classified v1.2.25 all ok with this lightbox

Offline Darkshadow

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • Dark Mysterious Worlds
Re: Classified v2.0 Beta 4 and v4.0.10a breaks Lightbox
« Reply #1 on: March 12, 2017, 11:25:34 am »
Now more specific info:

i used a smal picture 64x64 (but it also do the same with bigger pictures in classifieds)
- when clicking on this picture from listing, lightbox starts up and start to horizontal resize the picture and stops.
- when clicking outside lightbox, lightbox disappear.
- when clicking the same picture again, lightbox come up again but this time it starts to resize picture vertical and stops again
- so clicking again outside lightbox, lightbox disappear again
- clicking again same picture, the picture will be shon in correct size, bit wiethout lightbox control button  to close picture
- clicking outside lightbox, picture disapear

it seems lightbox will be interrupted by classifieds in each step...

Hope this helps more...

No errors in errorlog shown

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Classified v2.0 Beta 4 and v4.0.10a breaks Lightbox
« Reply #2 on: March 12, 2017, 11:47:31 am »
Around line 489 remove this from sources/classifieds.php

Code: [Select]
// For the ligthbox
$context['html_headers'] .= '<script type="text/javascript" src="' . $modSettings['class_url'] . 'js/prototype.js"></script>
<script type="text/javascript" src="' . $modSettings['class_url'] . 'js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="' .  $modSettings['class_url'] . 'js/lightbox.js"></script>
<link rel="stylesheet" href="' . $modSettings['class_url'] . 'css/lightbox.css" type="text/css" media="screen" />';
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/

Offline Darkshadow

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • Dark Mysterious Worlds
Re: Classified v2.0 Beta 4 and v4.0.10a breaks Lightbox
« Reply #3 on: March 12, 2017, 01:13:00 pm »
Confirmed, works now... :)

Thanks!

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
5849 Views
Last post June 14, 2008, 08:55:08 am
by rgsknr
0 Replies
3360 Views
Last post October 13, 2008, 08:44:54 am
by darkorical
3 Replies
4576 Views
Last post February 13, 2011, 05:34:58 pm
by SMFHacks
1 Replies
4632 Views
Last post September 22, 2011, 04:46:51 pm
by SMFHacks
1 Replies
4256 Views
Last post July 26, 2015, 08:01:43 pm
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
Today at 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal