Advertisement:

Author Topic: Highslide Image Viewer  (Read 272058 times)

Offline alpheus

  • Full Member
  • ***
  • Posts: 580
Re: Highslide Image Viewer
« Reply #560 on: June 13, 2011, 05:56:11 PM »
Hello digger. I installed this mod as manually. There is not a mistake but nothing change! My version is 1.1.13! It is working only with attachments images? Not working with images which are in the message area?
« Last Edit: June 13, 2011, 06:14:40 PM by alpheus »

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,781
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Highslide Image Viewer
« Reply #561 on: June 28, 2011, 01:08:18 AM »
On linked images in posts, is there a way of disabling the URL link shown at the bottom of the image? I'm using 1.1.14.

Offline OMGPeace

  • Newbie
  • *
  • Posts: 4
Re: Highslide Image Viewer
« Reply #562 on: December 04, 2011, 06:16:44 AM »
For those that won't to use this with 2.0.1.   you just need to make 2 file changers .


download the 1.6 zip file  http://custom.simplemachines.org/mods/index.php?mod=1450  open it up and open this file package-info.xml

find this 
Code: [Select]
<install for="1.1 - 1.1.99, 2.0 RC2""> replace with this
Code: [Select]
<install for="1.1 - 1.1.99, 2.0.1""> find this
Code: [Select]
<uninstall for="1.1 - 1.1.99, 2.0 RC2">  replace with this
Code: [Select]
<uninstall for="1.1 - 1.1.99, 2.0.1"> 



Code: [Select]
<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<name>Highslide Image Viewer</name>
<id>digger:Highslide</id>
<type>modification</type>
<version>1.6</version>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<install for="1.1 - 1.1.99, 2.0.1">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<require-dir name="Highslide" destination="$themedir" />
<modification>install.xml</modification>
</install>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<uninstall for="1.1 - 1.1.99, 2.0 RC2">?>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<modification reverse="true">install.xml</modification>
<remove-dir name="$themedir/Highslide" />
</uninstall>
</package-info>


Then re-zip upload and install it, it will then say failed on this file Display.template.php

go to your  /Themes/default/Display.template.php edit


find this
Code: [Select]
<a href="', $attachment['href'], ';image" id="link_', $attachment['id'], '" onclick="', $attachment['thumbnail']['javascript'], '"><img src="', $attachment['thumbnail']['href'], '" alt="" id="thumb_', $attachment['id'], '" /></a><br />';

replace with this
Code: [Select]
<a href="', $attachment['href'], ';image" id="link_', $attachment['id'], '" class="highslide" rel="highslide"><img src="', $attachment['thumbnail']['href'], '" alt="' , $attachment['name'] , '" id="thumb_', $attachment['id'], '" border="0" /></a><br /><div class="highslide-heading">' , $context['subject'] , '</div>';
and it should work! well it did for me hope it helps some one else.


cheers peace.


« Last Edit: December 04, 2011, 06:19:51 AM by OMGPeace »

Offline alienwebguy

  • Newbie
  • *
  • Posts: 6
Re: Highslide Image Viewer
« Reply #563 on: December 12, 2011, 09:59:49 PM »
Remove the credits for Highslide Image Viewer in SMF 2.0.1 by adding (hs.showCredits = false;) without quotes after (hs.graphicsDir = 'highslide/graphics/';) in /Sources/load.php, line 1619.


Offline Abhay Trivedi

  • Semi-Newbie
  • *
  • Posts: 16
  • Gender: Male
  • Windows & WP7 Forum. ;)
    • scubix on Facebook
    • @scubixblog on Twitter
    • Scubix
Re: Highslide Image Viewer
« Reply #564 on: May 09, 2012, 06:34:59 AM »
No support left?
I want two features added to it??
Scubix Tech Forum [nofollow] for Windows Phone 7 , Windows 8 and Windows for PC Stuff.

Offline digger

  • Sr. Member
  • ****
  • Posts: 787
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Highslide Image Viewer
« Reply #565 on: May 09, 2012, 08:55:08 AM »
No support left?
I want two features added to it??
What features you want?

Offline Abhay Trivedi

  • Semi-Newbie
  • *
  • Posts: 16
  • Gender: Male
  • Windows & WP7 Forum. ;)
    • scubix on Facebook
    • @scubixblog on Twitter
    • Scubix
Re: Highslide Image Viewer
« Reply #566 on: May 14, 2012, 08:25:48 AM »
No support left?
I want two features added to it??
What features you want?
1. when opening an image the background should go dark so that it looks decent. Just like Fancybox 4 SMF
2. There should be a download button so that the users can download the image on their pc's. [Useful for Wallpapers forum.]
3. The most Important one is that the images should be resized to a smaller size so that it does not look ugly or atleast to the size of browser windows.

Thanks for replying. :)
Scubix Tech Forum [nofollow] for Windows Phone 7 , Windows 8 and Windows for PC Stuff.

Offline digger

  • Sr. Member
  • ****
  • Posts: 787
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Highslide Image Viewer
« Reply #567 on: May 14, 2012, 06:34:09 PM »
Quote
What features you want?
1. when opening an image the background should go dark so that it looks decent. Just like Fancybox 4 SMF
2. There should be a download button so that the users can download the image on their pc's. [Useful for Wallpapers forum.]
After a while I'll make a new version and add to it these options.

Quote
3. The most Important one is that the images should be resized to a smaller size so that it does not look ugly or atleast to the size of browser windows.
Mod already resize all images to a smaller size. What feature did you mean?

Offline Abhay Trivedi

  • Semi-Newbie
  • *
  • Posts: 16
  • Gender: Male
  • Windows & WP7 Forum. ;)
    • scubix on Facebook
    • @scubixblog on Twitter
    • Scubix
Re: Highslide Image Viewer
« Reply #568 on: May 21, 2012, 05:48:50 AM »
ohk sorry
the resize option is already there but this mod does not work on my forum.
it shows various errors.
:(
http://forum.scubix.com [nofollow]
lagusta theme by DS
Scubix Tech Forum [nofollow] for Windows Phone 7 , Windows 8 and Windows for PC Stuff.

Offline Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
Re: Highslide Image Viewer
« Reply #569 on: July 11, 2012, 05:06:07 PM »
Any chance of an update that will install on SMF 2.0.2?

I get:
Quote
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

kat

  • Guest
Re: Highslide Image Viewer
« Reply #570 on: July 11, 2012, 05:08:11 PM »
I just replied in your other topic. :)

Offline Srinib

  • Jr. Member
  • **
  • Posts: 207
    • India Exit Polls
Re: Highslide Image Viewer
« Reply #571 on: February 12, 2013, 04:50:52 AM »
Does this work for 2.0.4?

Offline digger

  • Sr. Member
  • ****
  • Posts: 787
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community

Offline digger

  • Sr. Member
  • ****
  • Posts: 787
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: Highslide Image Viewer
« Reply #573 on: May 25, 2013, 03:17:49 AM »
Updated for SMF2.0 Gold

Offline kerbob

  • Semi-Newbie
  • *
  • Posts: 63
Re: Highslide Image Viewer
« Reply #574 on: October 02, 2013, 01:09:09 AM »
Hey Guys,
I installed this mod on 2.0.5 and it works great.
However, after installing, I get a lot of these errors:

2: preg_match_all(): Unknown modifier 'b'
File: /home4/bobrekus/public_html/Sources/Subs.php
 Line: 4444

Line 4444 of Subs.php is as follows:
      if(preg_match_all('~(<a href="([^"]*?)"(?:[^>]*?)>|)(<img src="((?!'. preg_quote($modSettings['smileys_url'], '#') .').*?)"(?:[^>]*?)>)(?:</a>|)~ism'.($context['utf8'] ? 'u' : ''), $message, $images, PREG_SET_ORDER))

Anyone have any idea? I'm not familiar with the preg_match_all function and that looks like an ugly regex! :O

Offline kerbob

  • Semi-Newbie
  • *
  • Posts: 63
Re: Highslide Image Viewer
« Reply #575 on: October 04, 2013, 12:01:51 AM »
Any ideas folks?  I still have the error flooding my logs.  This is an excellent mod so I'd love to be able to fix this.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Highslide Image Viewer
« Reply #576 on: October 04, 2013, 12:08:32 AM »
I'd assume preg_quote($modSettings['smileys_url'], '#') should be preg_quote($modSettings['smileys_url'], '~')
No good deed goes unpunished
All helpful urges should be circumvented

Offline kerbob

  • Semi-Newbie
  • *
  • Posts: 63
Re: Highslide Image Viewer
« Reply #577 on: October 09, 2013, 11:48:13 PM »
Arantor for the win! +1 +1.. that fixed it!

Offline mackes

  • Semi-Newbie
  • *
  • Posts: 20
Re: Highslide Image Viewer
« Reply #578 on: October 17, 2013, 12:20:45 AM »
Im using custom theme... what should i do to make it work?
http://custom.simplemachines.org/mods/index.php?mod=1450
Manual Install Instructions for SMF x.x

Great mod. I tried this for Theme Ostara but it does not seems to work, any hints?

Thks

Offline sneakers

  • Semi-Newbie
  • *
  • Posts: 62
Re: Highslide Image Viewer
« Reply #579 on: November 27, 2013, 11:00:33 AM »
Hello,
I tried to install this mod. Unfortunately, when I installed it I got this error:

Quote
Fatal error: Call to undefined function highslide_images() in /home/user/domains/domain.com/public_html/forum/Sources/Subs.php on line 2566


My subs.php is attached.


Thanks!