Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11898
Latest: michalm
New This Month: 16
New This Week: 4
New Today: 1
Stats
Total Posts: 37806
Total Topics: 6656
Most Online Today: 92
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 66
Total: 66

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

0 Members and 1 Guest are viewing this topic.

Offline Darkshadow

  • Community Suite Customer
  • Jr. Member
  • ******
  • Posts: 51
    • View Profile
    • Dark Mysterious Worlds
Classified v2.0 Beta 4 and v4.0.10a breaks Lightbox
« on: March 12, 2017, 09: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

  • Community Suite Customer
  • Jr. Member
  • ******
  • Posts: 51
    • View Profile
    • Dark Mysterious Worlds
Re: Classified v2.0 Beta 4 and v4.0.10a breaks Lightbox
« Reply #1 on: March 12, 2017, 10: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: 13995
    • View Profile
Re: Classified v2.0 Beta 4 and v4.0.10a breaks Lightbox
« Reply #2 on: March 12, 2017, 10: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 http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline Darkshadow

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

Thanks!

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
3919 Views
Last post June 14, 2008, 07:55:08 am
by rgsknr
0 Replies
2115 Views
Last post October 13, 2008, 07:44:54 am
by darkorical
3 Replies
2400 Views
Last post February 13, 2011, 05:34:58 pm
by SMFHacks
1 Replies
1722 Views
Last post September 22, 2011, 03:46:51 pm
by SMFHacks
1 Replies
1645 Views
Last post July 26, 2015, 07:01:43 pm
by SMFHacks

+- Recent Topics

Bug in saving settings by Darkshadow
Today at 09:15:59 am

Aprove link by Darkshadow
March 24, 2017, 06:28:26 pm

Extreme coding help by SMFHacks
March 23, 2017, 07:37:58 pm

Permissions system by Darkshadow
March 23, 2017, 09:26:41 am

Downloads folderm by davejo
March 21, 2017, 11:33:14 am

use on a sandbox pre-production? by drewactual
March 19, 2017, 10:22:13 pm

Delete ratings from profile? by yameth
March 17, 2017, 03:32:17 am

tiny url error by SMFHacks
March 16, 2017, 03:49:25 pm

Daughter menus by KevinK
March 16, 2017, 04:02:43 am

[Mod] Tagging System by Web Presence Consulting
March 15, 2017, 08:50:21 pm

Powered by EzPortal