News:

Wondering if this will always be free?  See why free is better.

Main Menu

Highslide 4 SMF

Started by Spuds, May 01, 2010, 01:03:29 PM

Previous topic - Next topic

teos55

#340
Spuds,

  Refering to http://www.simplemachines.org/community/index.php?topic=376767.300

I'd performed a clean start ...

Installed ILA 1.21  no problem. 

But when I try to install HS4SMF,  failes at subs.php  (add after) step.

So I continued installation, and modified subs.php according to parse, afterwards ..

I again got 500 internal server errors ..

possiblities are :

-my editor fulls me. ( notepad++  being used more then several times with no prob. (encode in utf8 without rom selected as always) maybe keyboard is adding nulls, I dont know ..

-some files in the dir  has  file permissions other then 644  in the mod  like 755 (mostly happens ) seen in other mods and rejected by hosting firm.

-something wrong in my system that is revoked by this installation...

My subs.php before mod is attached .

Can you pls guide me ..

I can provide login details via PM if requested ...

 

Fnix

#341
Sorry for my poor english!  :)
How do I get this mod to work with images that has no ending?
Like: hxxp:lh6.googleusercontent.com/-xBpMcXJX8CM/TzlowH3PuII/AAAAAAAAAH4/mhlEz848khw/s816/13.02.12+-+1 [nonactive]  (just paste the URL in your browser, the forum says its nonactive :| )

or: hxxp:foro.cemzoo.com/picture.php?albumid=6123&pictureid=78481 [nonactive]   (just paste the URL in your browser, the forum says its nonactive :| )

And with this mod installed, my forum won't resize large images anymore if the imagefile has no ending :(

Otherwise it's a really great mod! :D

distante

Hello Spud! I have a problem/question

See,  I have problems viewing attachemtns that have full size in the post (using ILA), see here: http://www.forosperuanos.net/zona-de-trafico/desahogate-v-2/msg83549/#msg83549

The only image that can be load in the highslide is the one in miniature, but the one that is in full size is not showed in the highslide.

Any ideas why?

Spuds

Quote from: distante on February 15, 2012, 02:02:35 PM
Hello Spud! I have a problem/question

See,  I have problems viewing attachemtns that have full size in the post (using ILA), see here: http://www.forosperuanos.net/zona-de-trafico/desahogate-v-2/msg83549/#msg83549

The only image that can be load in the highslide is the one in miniature, but the one that is in full size is not showed in the highslide.

Any ideas why?
Thats just the way that it works with ILA ... since the image is already fullsize it does not attach the highslide click event  to the image since clicking it would only show the same thing as what you already have.  You could always use the size attribute of the attac bbc to make the image smaller, and it would then (i think) highslide.

distante

There's no tweek that I can do to ILA so the highslide work allways?

Because I have a floating menu (well I managed to be a drop up/down menu) and this sometimes hide some part of the big images (specially for lowers monitor resolutions)

thanks :)

teos55

OK, I've found what my mistake is :

While applying the mod, I got parisng errors in subs.php  but there are 2 modifications and only "add after" one fails.
So I pressed enter and modifed only the failing part of the subs.php  and failed with 500 internal errors ...

When I trace back what is wrong, I've noticed that "add before" part is alos not applied to subs.php consiquently failed.

So I manually applied  add before and after statements to subs.php  and hs4smf is working as designed.

   

Spuds

Glad you were able to figure it out  :)

The editing of the source files is problematic due to mod conflicts as you have found.   Its notably troublesome in the high use files like subs.php and display.php where mods often need to edit the same areas.  The hooks added in 2.0 were a help in preventing this and in a future 2.1 there will be more to help further reduce this problem.

distante

How about my question Spuds, theres no way?

Dzonny

Hey Spuds.

Can we disable this mod to be affected on images in posts - i mean about images posted via img tag, and use this mod only in attachments?

Thanks in advice. :)

Spuds

Quote from: Dzonny on February 23, 2012, 03:23:54 PM
Hey Spuds.

Can we disable this mod to be affected on images in posts - i mean about images posted via img tag, and use this mod only in attachments?

Thanks in advice. :)
I've never even thought of that usage mode :) ... The mod is geared towards the images with attachment support ... not the other way around if that makes sense.

I've not tried this, but maybe this will short circuit it the correct way, in hs4smf-Subs.php

Code (find) Select
// init some thangs
$context['hs4smf_img_count'] = 0;


Code (replace) Select
// init some thangs
$context['hs4smf_img_count'] = 0;return;



Dzonny

Thanks Spuds, that actually works like a charm :)

distante

Spuds, I have a problem with some topics, that I'm not quite sure the reason.

see, here: http://www.desadaptados.net/television/homero-simpson-y-sus-apariencias!/ the Highslide isn't working, but here it is:
http://www.desadaptados.net/zona-de-trafico/gifs-chistosos-curiosos-estupidos-o-demas/

I was looking in my Cpanel 404 error log, and saw that in the first topic, there's an error looking for the zoomin.cur :
http://www.desadaptados.net/television/homero-simpson-y-sus-apariencias!/highslide/graphics/zoomin.cur

Do you know why is this happen?

Thanks

Spuds

I just went to both links and for me everything worked ... the one page with the 45+ images took a long time to load, but once it did everything worked as expected for my.

Zuća

if he could enlarge(zoom) in the smf gallery - compatible mods ?

distante

Quote from: Spuds on March 10, 2012, 08:59:45 PM
I just went to both links and for me everything worked ... the one page with the 45+ images took a long time to load, but once it did everything worked as expected for my.

Extrange, could be a browser thing? I use crhome, I enter in "private mode" so there's no old cached files, and don't worked, always send the to the full picture instead of high slide them (in the Homer Simpson topic)

Spuds

When I looked at that page in chome, I get an "Uncaught SyntaxError: Unexpected identifier" (3 times) ... something to do with a facebook like onclick event from another mod.

distante

Grrr, facebook SDK is always screwing with all the others javascript, well thanks anyway, I just saw that works ok in IE :(

MadTogger

Hi Spuds,

will this mod work with Flickr thumbnails?

Regards..,

Spuds

Currently I don't think it will .... not sure how a Flickr link looks (so that the mod could find the fullsize image to expand)

MadTogger

Quote from: Spuds on March 31, 2012, 09:24:34 AM
Currently I don't think it will .... not sure how a Flickr link looks (so that the mod could find the fullsize image to expand)


Hi Spuds,

thanks for replying.

If this helps, below are two img links for the same photo from my own Flickr stream.

The first is the address for the Thumbnail and the second is the address for the Original image.

<img src="http://farm8.staticflickr.com/7177/6935446545_3b8391bd51_t.jpg" width="100" height="74">

<img src="http://farm8.staticflickr.com/7177/6935446545_7c2d60ff03_o.jpg" width="2304" height="1704">

I am wondering, can the links be hardcoded or will that not really work?

Regards..,

Advertisement: