Username:    Password:   
Navigation
Latest 10 Mods
Ajax Po... khalid545 17
Currenc... Fraz Ahmed 10
Reindel... Mehmet 16
downloa... UniCoRN 27
article... UniCoRN 23
News JQ... UniCoRN 32
kroax J... UniCoRN 24
ReCaptc... Mike Crawford, Ben Maurer 42
Multime... Grimloch 133
Locatio... Digitanium 98
Latest Tutorials
bullet.gif How to check your ho...
bullet.gif How to load up an Addon
bullet.gif Conditional Custom P...
bullet.gif Panels, Infusions an...
Last Seen Users
khalid545Online
khaman< 5 mins
roadless00:11:40
gh0st2k00:16:24
jikaka00:17:06
Falcon00:18:11
scathing00:21:02
jjwichter00:24:25
Cristi00:37:28
stoerti00:48:11
Member Poll
Apple?

Best personal electronics company ever!
Best personal electronics company ever!
4% [2 Votes]

Steve Jobs is a genius!
Steve Jobs is a genius!
16% [8 Votes]

All Hype, no substance
All Hype, no substance
20% [10 Votes]

Don't know, don't care.
Don't know, don't care.
18% [9 Votes]

Fanboy toys
Fanboy toys
18% [9 Votes]

They grow on trees, don't they?
They grow on trees, don't they?
22% [11 Votes]

Votes: 49
You must login to vote.
Started: 17 Aug : 21:41

Polls Archive
RSS Feeds
Subscribe to our Feeds

Latest Mod Releases
Latest News

Validated Feeds
Awards
Valid HTML 4.01!
Valid CSS!
News Ticker
Viewing Mod: HighSlide Gallery
Name: HighSlide Gallery 
Version: 1.2
Category: Photogallery & Video
Type: v7.00 (Infusion)
Author: Bartek124 [Visit]
Co-Author: flyingduck
Date: 18-12-2008 10:41
Rating: Rating StarRating StarRating StarRating StarRating Star [37 Votes]
Download: Download Now [3180 Downloads]
Description
This infusion adds a High Slide Javascript to The Photogallery in Version 7 of PHP-Fusion,
without any modifications to your existing installation. It does not alter any files nor does it make database changes.

Features:
Click Next and Previous image.
Slideshow.
Expand to exact size.
Admin Settings.
and more...

You only need to activate the random photopanel included or the invisble version of it. Then it will add the Highslide Photogallery Overlay.
Copyright
This infusion is copyrighted under the Common Creative License 2.5
Approved By: Starefossen Staff Rating: Rating StarRating StarRating StarRating Star
Comment:
Translations: No Extra Translations Submit : Report an Error Report a Vulnerability Report a Broken Link Submit a Translation
Other Mods by Bartek124
CategoryNameDownloadsStaff Rating
News & Feeds  Ajax News Panel618Rating StarRating StarRating Star
Ratings
Rating is available to Members only.

Please login or register to vote.

Awesome! Awesome! 62% [23 Votes]
Very Good Very Good 27% [10 Votes]
Good Good 0% [No Votes]
Average Average 8% [3 Votes]
Poor Poor 3% [1 Vote]
Comments
#1 | HobbyMan on January 24 2009 - 00:05:17
Excellent mod Cool

p.s. 107 downloads and no ratings, that's just mean.

Have an Awesome Grin
#2 | joshroudebush on February 10 2009 - 06:28:51
Great Mod i just put it on my Wedding website and love it thanks!!!!
#3 | flyingduck on June 20 2009 - 10:30:52
Its been Updated!
#4 | Stanch on July 07 2009 - 19:14:41
Working great.

Thanks for the effort.
#5 | aletic on August 04 2009 - 20:51:34
Notice: Use of undefined constant SAFEMODE - assumed 'SAFEMODE' in /srv2/www/inzertweb.cz/subdomains/test/infusions/hsgallery_panel/hsgallery_panel.php on line 3

http://test.inzer...
#6 | Ron de Groot on August 16 2009 - 12:17:16
I still get the safemode error thing ..
#7 | CohenDaniel on September 02 2009 - 22:47:28
Hey guys ... has there been an update or a fix for the safemode error. Installed today and Iam getting the safemode error line 3 and line 28.

ERROR NOTICE
Code

Notice: Use of undefined constant SAFEMODE - assumed 'SAFEMODE' in /home2/pfrimmer/public_html/infusions/hsgallery_panel/hsgallery_panel.php on line 3
   Random Photo       

Notice: Use of undefined constant SAFEMODE - assumed 'SAFEMODE' in /home2/pfrimmer/public_html/infusions/hsgallery_panel/hsgallery_panel.php on line 28
Moi
Moi





CODE IN QUESTION
GeSHi: PHP
  1. <?php
  2. if (!defined("IN_FUSION")) { die("Access Denied"); }
  3. if (!SAFEMODE) { define("SAFEMODE", @ini_get("safe_mode") ? true : false); }
  4.  
  5. add_to_head("<script type='text/javascript' src='".INFUSIONS."hsgallery_panel/highslide/highslide.js'></script>");
  6. add_to_head("<link rel='stylesheet' href='".INFUSIONS."hsgallery_panel/highslide/highslide.css' type='text/css' />");
  7.  
  8. if (file_exists(INFUSIONS."hsgallery_panel/locale/".$settings['locale'].".php")) {
  9. include INFUSIONS."hsgallery_panel/locale/".$settings['locale'].".php";
  10. } else {
  11. include INFUSIONS."hsgallery_panel/locale/English.php";
  12. }
  13.  
  14.  
  15. $result = dbquery(
  16. "SELECT pa.album_id,pa.album_title,ph.photo_id,ph.photo_title,ph.photo_thumb1,pa.album_access
  17. FROM ".DB_PHOTO_ALBUMS." pa, ".DB_PHOTOS." ph
  18. WHERE ".groupaccess('pa.album_access')."
  19. AND pa.album_id = ph.album_id
  20. ORDER BY RAND() LIMIT 0,1"
  21. );
  22.  
  23.  
  24. if (dbrows($result) == 1) {
  25. openside($locale['hsg103']);
  26. $data = dbarray($result);
  27. echo "<div style='text-align:center'>\n<a href='".INFUSIONS."hsgallery_panel/photogallery.php?album_id=".$data['album_id']."' class='highslide'>\n";
  28. echo "<img src='".PHOTOS.(!SAFEMODE ? "album_".$data['album_id']."/" : "").$data['photo_thumb1']."' title='".$data['photo_title']."' alt='".$data['photo_title']."' /></a><br />\n";
  29. echo "<a href='".INFUSIONS."hsgallery_panel/photogallery.php?album_id=".$data['album_id']."'>".$data['photo_title']."</a><br />".$data['album_title']."</div>\n";
  30.  
  31. closeside();
  32. }
  33. ?>
  34.  
Parsed in 0.247 seconds, using GeSHi 1.0.7.20



thanks in advance !

Cohen
#8 | AlterEgo on September 11 2009 - 15:53:20
The same here - line 3 and 28 error
#9 | Balkanac21 on September 27 2009 - 18:27:42
i get error code on line 3
Notice: Use of undefined constant SAFEMODE - assumed 'SAFEMODE' in /home/malibalk/public_html/drina/infusions/hsgallery_panel/hsgallery_panel.php on line 3
#10 | kneekoo on November 02 2009 - 20:02:34
The following should work.

Corrected line #3:
Code
if (!defined(SAFEMODE)) { define("SAFEMODE", @ini_get("safe_mode") ? true : false); }




Corrected line #28:
Code
echo "<img src='".PHOTOS.(!defined(SAFEMODE) ? "album_".$data['album_id']."/" : "").$data['photo_thumb1']."' title='".$data['photo_title']."' alt='".$data['photo_title']."' /></a><br />\n";


Post Comment
Please Login to Post a Comment.
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Popular Mods
HighSlide Gallery 3180
Fusion Lightbox 2707
Event Calendar 2612
Newsticker Panel 2307
PictureFlow Gallery 2243
Shoutbox
You must login to post a message.

06 Sep : 08:18
. . . spam is sux

06 Sep : 08:18
. . . .

06 Sep : 08:17
. . . . .

06 Sep : 07:28
This SPAM really SUX, especially when there are solutions to fight it. I have NO (ZERO) Spam on my site.

04 Sep : 18:10
Happy Svenson and KEFF are one person Wink

MOD Support Sites
bullet.gif Czech republic
bullet.gif Denmark
bullet.gif Nederlands
bullet.gif Poland
bullet.gif Sweden
Random Tweeter
effwun

HobbyMan

Members who Tweet: 19