News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

nCode Image Resizer

Started by vbgamer45, May 18, 2008, 01:43:55 PM

Previous topic - Next topic

Seyit replikacep.com

You need to make it compatible
SSL certificate compatible not
You do this harmoniously

SSL certificate problem
smf 2.1   /smf 2.0.14   Must be harmonious
I need it now :)

Subs.php  Change it Enough

Images must be https: // for SSL certificate

Kindred

Ummmm... what?

2.0.14 and 2.1 both handle images through proxy
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Seyit replikacep.com

This mode is canceling the proxy

Seyit replikacep.com

Mode updated incorrectly


Kindred

Then you should be posting in the mod specific support thread....
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Seyit replikacep.com

I think You did not understand me  Mod incorrectly updated 

Ssl compatibility disappears because of this mode !!!!

Mode must be updated again

vbgamer45

It has to be redone. I checked the code. I am going to have make some patches in order to get to work correctly.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Seyit replikacep.com

Quote from: vbgamer45 on May 16, 2017, 04:30:19 PM
It has to be redone. I checked the code. I am going to have make some patches in order to get to work correctly.

Finally the output that understands  :laugh:   O:)

I need this mode     I hope you update now  :)

Illori

next time when you have a question about a mod, post in the mods support topic.

Kindred

I understood you quite fine, the second time.... (your initial post was unclear)

And, as I said, and Illori repeated - issues with specific mods should be brought up in the thread dedicated to supporting that specific mod.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Steve

Topics merged. Replikacep notified.
DO NOT pm me for support!

Seyit replikacep.com

Quote from: Steve on May 17, 2017, 09:35:42 AM
Topics merged. Replikacep notified.

Thanks for the notification

Steve

DO NOT pm me for support!

Lord991

Is this updated for 2.0.14?

vbgamer45

No it is not requires changes.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Lord991

It requires changes or doesn't ?

When I try to download it says > The mod you have requested has not been approved yet for downloads.

vbgamer45

it requires many changes
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Cola-Coca

Hi,

I have a forum in the version '2.0.13' and i want to make the update to '2.0.14' but there is error in 'Subs.php'.
To be more precise, this is an error:

Find:

'content' => '<img src="$1" alt="" class="bbc_img" />',
'validate' => create_function('&$tag, &$data, $disabled', '
$data = strtr($data, array(\'<br />\' => \'\'));
if (strpos($data, \'http://\') !== 0 && strpos($data, \'https://\') !== 0)
$data = \'http://\' . $data;
'),


Replace with:

'content' => '<img src="$1" alt="" class="bbc_img" />',
'validate' => function (&$tag, &$data, $disabled)
{
global $image_proxy_enabled, $image_proxy_secret, $boardurl;

$data = strtr($data, array('<br>' => ''));
if (strpos($data, 'http://') !== 0 && strpos($data, 'https://') !== 0)
$data = 'http://' . $data;

if (substr($data, 0, 8) != 'https://' && $image_proxy_enabled)
$data = $boardurl . '/proxy.php?request=' . urlencode($data) . '&hash=' . md5($data . $image_proxy_secret);
},



The problem is that I have installed the mod 'NcodeImageResizer' and I need it. That's why I have that part different and that's why I get an error when I want to do it update to '2.0.14'

I'm here because I do not know how to change that part, this part of my 'Subs.php' looks like this:

array(
'tag' => 'img',
'type' => 'unparsed_content',
'parameters' => array(
'alt' => array('optional' => true),
'width' => array('optional' => true, 'value' => ' width="$1"', 'match' => '(\d+)'),
'height' => array('optional' => true, 'value' => ' height="$1"', 'match' => '(\d+)'),
),
'content' => '<img src="$1" alt="{alt}"{width}{height} border="0" onload="NcodeImageResizer.createOn(this);" class="bbc_img" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => '($1)',
),
array(
'tag' => 'img',
'type' => 'unparsed_content',
'content' => '<img src="$1" alt="" border="0" onload="NcodeImageResizer.createOn(this);" class="bbc_img" />',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
'disabled_content' => '($1)',
),


I leave you my 'Subs.php' in attachments if anyone wants to help me.
I LOVE SMF

vbgamer45

NcodeImageResizer try to uninstall then upgrade 2.0.14
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: