Integrate Lightbox

Started by quake101, April 10, 2008, 11:03:44 PM

Previous topic - Next topic

smldmr

#80
Hello, how can i fix this problem:

8: Undefined index: host
File: /www/htdocs/w0089d7e/at_site/smf/Sources/Subs.php
Line: 2403

the Line 2403 in Subs.php:
$c = empty($c) ? '' : $c['host'];

samurai-lupin

I fully agree that Shadowbox has way more to offer! I would love to sue it on my SMF. Maybe some one can write a Mod for it?


Hoochie Coochie Man

#83
Quote from: smldmr on May 25, 2008, 08:19:28 PM
Hello, how can i fix this problem:

8: Undefined index: host
File: /www/htdocs/w0089d7e/at_site/smf/Sources/Subs.php
Line: 2403

the Line 2403 in Subs.php:
$c = empty($c) ? '' : $c['host'];

I'm getting same error.!! Please help?  :-\

8: Undefined index: host
File: /*****/****/*****/forum/Sources/Subs.php
Line: 2683

the Line 2683 in Subs.php:

            // Match images hosted by Imageshack or Photobucket
            $c = @parse_url($b[4]);
            $c = empty($c) ? '' : $c['host'];




Edit: Interesting, but I've got a member.. and I'm getting that error only in his messages  :-[
and he has only 4 posts..
İnadına SMF 1.1.X

quake101

Sorry guys, I've been very busy the past few weeks. (My wedding is in 2 months and there is still lots of stuff yet to do)

I'll look into the "8: Undefined index: host" error and other replies on this thread. I plan on having most the questions answered soon. Please bear with me as I don't have much free time for the next few months. :)

Hoochie Coochie Man

Ok @quake101   congratulations! :)
I hope you live happy and healthy with your wife.
İnadına SMF 1.1.X

Davey D.

CONGRATULATIONS! You are a braver man than me.

quake101

Version 1.6 has been released.

quake101

Quote from: samurai-lupin on May 26, 2008, 04:47:52 AM
I fully agree that Shadowbox has way more to offer! I would love to sue it on my SMF. Maybe some one can write a Mod for it?

I might just do that.... ;D

samurai-lupin

This would be fantastic! I sure would love to use it! Thanks!

Hoochie Coochie Man

Quote from: quake101 on May 29, 2008, 02:13:56 PM
Version 1.6 has been released.

Is this error solved?

Quote from: Hoochie Coochie Man™ on May 27, 2008, 10:53:24 AM
Quote from: smldmr on May 25, 2008, 08:19:28 PM
Hello, how can i fix this problem:

8: Undefined index: host
File: /www/htdocs/w0089d7e/at_site/smf/Sources/Subs.php
Line: 2403

the Line 2403 in Subs.php:
$c = empty($c) ? '' : $c['host'];

I'm getting same error.!! Please help?  :-\

8: Undefined index: host
File: /*****/****/*****/forum/Sources/Subs.php
Line: 2683

the Line 2683 in Subs.php:

            // Match images hosted by Imageshack or Photobucket
            $c = @parse_url($b[4]);
            $c = empty($c) ? '' : $c['host'];




Edit: Interesting, but I've got a member.. and I'm getting that error only in his messages  :-[
and he has only 4 posts..
İnadına SMF 1.1.X

quake101


Hoochie Coochie Man

İnadına SMF 1.1.X

pinba

#93
Template Parse Error!
There was a problem loading the /Themes/ApolloBB-TP/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/ApolloBB-TP/index.template.php on line 118

109:       // Defaults.
110:       $options['theme_color'] = isset($settings['theme_main_color']) ? $settings['theme_main_color'] : 'blue';
111:       $settings['theme_main_color'] = $options['theme_color'];
112:    }
113:
114:    // The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly.
115:    echo '
116:    <link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style_' , $settings['theme_main_color'] , '.css?fin11" />
117:    <link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />

118:   // Include the Lightbox Scripts (except for the stats page and SMF Garage) if($context['current_action'] != 'stats' && $context['current_action'] != 'garage') echo ' <!-- Integrate Lightbox Mod: Start -->  <!-- MooTools Includes -->  <script type="text/javascript" src="', $settings['default_theme_url'], '/mootools1.11.js"></script>  <!-- Lightbox Includes -->  <script type="text/javascript" src="', $settings['default_theme_url'], '/slimbox.js"></script>  <link rel="stylesheet" href="', $settings['default_theme_url'], '/slimbox.css" type="text/css" media="screen" />  <!-- Integrate Lightbox Mod: End -->';

119:    <!--[if IE]>
120:    <style type="text/css">
121:    /* IE hack to emulate the :hover & :focus pseudo-classes
122:       Add the selectors below that required the extra attributes */





I have this message in my ApolloBB-TP thema.Please help me

FragaCampos

I'm having some issues. For example, in this page it opens the images, including the link to IMDB (which wasn't supposed to open). And here, it opens none  ::)

quake101

Quote from: FragaCampos on June 01, 2008, 09:59:14 AM
I'm having some issues. For example, in this page it opens the images, including the link to IMDB (which wasn't supposed to open). And here, it opens none  ::)

First Page: It opens the links because of the img tags used. (by design)

Second Page: I believe the mod is not picking up the imageshack images (I'll look into this)

Omniverse

#96
I like it!

I notice large pics get cut off on the left side. You can't scroll it all the way over to see all the of the pic. If the pic is bigger than the browser window.

Any way to fix this?

wjhdiz

Just tried to install the mod on SMF2 beta3.1, got the message:


Installations actions for "Integrate Lightbox":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.


Will you update the version list?

Thank you very much.
Jimmy
Freedom of speech? It is freer if not speaking out.
Believing in God? Yes, talk with God every day through God creations.
Coding is poem and a way of keeping away from the troubled world.

FragaCampos

Quote from: quake101 on June 01, 2008, 11:00:02 AM
Quote from: FragaCampos on June 01, 2008, 09:59:14 AM
I'm having some issues. For example, in this page it opens the images, including the link to IMDB (which wasn't supposed to open). And here, it opens none  ::)

First Page: It opens the links because of the img tags used. (by design)

Second Page: I believe the mod is not picking up the imageshack images (I'll look into this)

But the code in both pages is exactly the same... :( (i'm referring to posters and IMDB image)

quake101

Quote from: FragaCampos on June 01, 2008, 08:36:54 PM
Quote from: quake101 on June 01, 2008, 11:00:02 AM
Quote from: FragaCampos on June 01, 2008, 09:59:14 AM
I'm having some issues. For example, in this page it opens the images, including the link to IMDB (which wasn't supposed to open). And here, it opens none  ::)

First Page: It opens the links because of the img tags used. (by design)

Second Page: I believe the mod is not picking up the imageshack images (I'll look into this)

But the code in both pages is exactly the same... :( (i'm referring to posters and IMDB image)

Correct, but the images are not hosted from the same server. I may add a feature to the mod so users can add lightbox to any image by using bbcode. Ex: [lightbox][/lightbox] As the mod currently can not detect all images.

Advertisement: