Highslide 4 SMF

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

Previous topic - Next topic

cosmicxxx

hello again...

just want to ask if i how to change the code tag? i want to use my own code tag... for example is, [pic] [/pic]

and then add the code tag button in the bbc code tag buttons in post menu

Doburpally

This mod installed with out any problems, however, this mod does not work, even on the default theme.
All attached images don't work with highslide, same for [img] url's.

BTW yes, it is enabled in Admin > Modification Settings > Highslide
Including "Enable Highslide on Attachments" is ticked

hmmm.

Spuds

Make sure the highslide directory and its sub directories were created and that the files were installed in them.  Sometimes the package manager does not expand that directory fully, or expands it but does not put in all the files. 

Doburpally

#283
Yeah, there is a problem with the site.

I have installed this mod in my test site and it woks 100%, both are 2.0.1.

So, I have a huge job of backing up my members and topics etc and forget the settings.
I will be installing 2.0.1 and import the database over, see how that goes.

Sorry for my previous post :-[

-- Edit --

Problem is now fixed, It is now working 100% on both sites ;)

French

Did you Enable the Highslide 4 SMF Modification.Management--> Configuration-->Modification settings-->Highslide

Edit Highslide works only when images are uploaded using Image Post, Imageshack, Photobucket, iPicture, Radikal, Keep4u, Xs and Fotosik.

French

Also installed this Mod in the basic/core theme

TheCodfather

the add before add after edits in subs.php cause a template error message on mine could some 1 take a look at my subs.php and maybe add the edits thanks

subs.php attached

TheCodfather

tried this myself only error on install is the add before add after on subs.php

been trying all afternoon to get this 2 work could some 1 have a look at my above subs.php file attached because i just carnt figure out why im getting a parse error when i do the edits.

TheCodfather


Shambles

Quote from: TheCodfather on October 24, 2011, 01:55:03 PM
any one ?

I just had a look and cannot see why the parser is not finding the two search strings.

However, providing we are talking about the HS4SMF_0.7a_for_2.0.zip download package, I edited the before/after string in for you. Personally I would have made the package installer fit the subs.php file, but as the search operation should be working imho, here's your edited subs.php file

TheCodfather

thnks shambles will report back shortly if it works

TheCodfather

#291
getting exactly same error when i edited my subs.php just carnt figure out why im getting this error even when u have tried also to do the edits.

Fatal error: Call to undefined function hs4smf() in /public_html/Sources/Subs.php on line 2446

TheCodfather

any one willing to take a look ?

Shambles

The file I attached is post-edit, ie I applied the edits for you. To make use of that you would have to use package manager to apply the mod and accept the error message shown with your original subs.php;
then you'd go in and upload the new subs.php that I provided.


TheCodfather

oh okay thanks ill try it mate thanks

TheCodfather

thanks shambles its working many many thanks for all your help.

imburner

Installed through package manager on modified .css core theme. Seemed to install perfect and I have enabled it and several options and it has no affect on the images from photobucket or any other source. realhomemadeturbo.com/forum

Spuds

either the hs4smf-Subs.php file did not get extracted to your sources directory or more likely the edits to the themes index file did not happen.

open you index.template.php file and see if this section is in there
// HS4SMF enable footer
if (!empty($modSettings['hs4smf_enabled']) && empty($context['uninstalling'])) {
if (!function_exists('hs4smf')) {
global $sourcedir;
include_once $sourcedir . '/hs4smf-Subs.php';
}
echo hs4smf_prepare_footer();
}


it should be right after this line
global $context, $settings, $options, $scripturl, $txt, $modSettings;

imburner

http://www.realhomemadeturbo.com/forum/index.php/topic,15961.msg192537.html#new

It does the lightbox now only when I click on the image but its not resizing. Is this the way its suppose to work? I edited the php file and the sources directory did not have the addremovehooks or the hs4smf.php files. Possibly more is missing?

Spuds

Well its resizing when you click on it so you can see the entire image and then zoom inside the lightbox to full size etc.

To prevent what you have going on, go to admin -> features & options -> layout and set some values in
Max width of posted pictures
Max height of posted pictures

try something small (320 x 240 or 640 x 480 or whatever works with your layout), the image will be constrained to those dimensions and then when you click on it you will be able to expand it in the lightbox.


Advertisement: