Signature Limits Settings Mod

Started by SMF Customization Team, November 05, 2006, 08:59:06 PM

Previous topic - Next topic

lednik

So, if I understand OK it is not working for 1.1.8 ?  :(

R.Bourne

#281
It works with 1.1.8 very well. I only updated Display.template.php from my particular theme.

However, I believe if there is a space in the image name, the MOD fails to resize the image properly. Can someone please confirm? Thanks.

EDIT: My bad. No problem when there is a space between file names! Sorry :)

lednik

QuotePlease see reply #158 on this topic...if yours is a problem with oversize externally hosted images it is a known issue...the size limitation only works with images hosted on your forum. 

Is this still a problem?

Also, someone wrote that it doesn't work when profile is changed second time.

R.Bourne

We are still busy doing internal testing on our forum but so far the MOD has been doing everything that was designed for.

Although we don't allow our regular users to upload anything to our server, but the images either hosted on our own server or external sites resized with no issue.

FWIW, we used this site to http://www.e-imagesite.com/index.php to test the images. I will check other reported image site shortly.

In regards to changing profile for the 2nd time, I am not so sure if I understand it, but as part of our testing, yes we made some updates to different profiles. All the images in signatures stayed the way we wanted to.

Hope this answered your concerns.

lednik

Thanks. I had a problem with testing becouse I am administrator. Settings don't work for me so I tought that mod is not working.  :)

It is working but it seems that there is a bug. My setting is: 

Maximum amount of lines:   3

If user put 5 lines in signature than he end up with 4 line signature.



R.Bourne

I chose to limit the number of characters as well as image and smilies. Maybe, someone else could help with your issue. We are pretty happy with this configuration though.

Oh, maybe just maybe, it depends on the screen resolution! I am thinking a 3 lines signature would show more lines when displayed on a smaller size screen. Something to test.

rparlett

Hi. First off, I want to say thanks for the great mod.

We have an issue where it's scaling tickers in the signature to a max width of 350 pixels, but the setting in the admin panel is set to 400 pixels. At one time, we had it set to 350, but we changed it and have applied the new settings several times to no avail.

It seems like it's stuck at the old setting. Where can I look to fix this?

Kelly1234

I tried the mod V 2.3 with a 1.1.8. I changed permissions to view ads and everything else I could get from the forum but am too computer illiterate to get it to work.


R.Bourne

Quote from: rparlett on May 01, 2009, 08:12:43 PM
Hi. First off, I want to say thanks for the great mod.

We have an issue where it's scaling tickers in the signature to a max width of 350 pixels, but the setting in the admin panel is set to 400 pixels. At one time, we had it set to 350, but we changed it and have applied the new settings several times to no avail.

It seems like it's stuck at the old setting. Where can I look to fix this?

In order to apply the new settings, ie; size and etc., you'd need to go to:

Admin -> Features and Options -> Signature Settings

Look for the following line in red on top and click on "here":

Note that settings are not applied to existing signatures by default. Click here to apply rules to all existing signatures.

If still doesn't work, I usually click on save button couple of time and again click on "here" link. Then, it works.

R.Bourne

Quote from: Kelly1234 on May 01, 2009, 09:31:21 PM
I tried the mod V 2.3 with a 1.1.8. I changed permissions to view ads and everything else I could get from the forum but am too computer illiterate to get it to work.

This is a very easy MOD when it comes to get it work with almost any theme and or configuration. You'd need to give more details about your issue there. Simply saying it doesn't work, well .... won't help :)

archi

#290
I'm using SMF 1.1.8 - English language, with last Signature Setting Mod

One of my user is trying to set this signature:
[img]http://img217.imageshack.us/img217/1882/miscelanea43yi1.gif[/img][img]http://img263.imageshack.us/img263/5271/emoticonzodiacali09dh6.gif[/img][img]http://img392.imageshack.us/img392/1094/4953895cu1.gif[/img][size=14pt][color=blue]La vita je' na f'tecchia......la morta je' na sc'kfezza!!!......Com c'ama cumpurta'???!!![/color][/size]

but he obtains this "Database error" message:

QuotePlease try again. If you come back to this error screen, report the error to an administrator.

In the "Forum Error Log" I read:
Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'na f'tecchia......la morta je' na sc'kfezza!!!......Com c'ama cumpurta'???!!![/c' at line 12
File: /usr/local/psa/home/vhosts/*****.it/httpdocs/new/smf/Sources/Subs.php
Line: 631


I obtain the same error with many other signatures... I noticed they all contain the apostrophe symbol
'

These are the settings of the mod:

Maximum allowed characters: 0
Maximum amount of lines: 0
Maximum image count: 0
Maximum smiley count: 0
Maximum width of signature images: 300
Maximum height of signature images: 30
Maximum font size allowed in signatures: 0
Enabled BCC: all

Please can someone test if that signature causes problem on other forums? (note that the signature must be set by non-admin user)

If someone is interested I can post other signatures which causes errors.

Kindred

it does not like those single quotes...
Сл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."

archi

This is another example of non-accepted signature:

[url=http://it.youtube.com/watch?v=iOZmt7BtdXA]Quando si giocava al calcio per pura passione[/url]
[url=http://it.youtube.com/watch?v=VwOr5iCcabU]C'era una volta San Nicandro dal bianco e nero al colore![/url]
[url=http://it.youtube.com/watch?v=IcwJpyA2fKA] La community e l'estate 2008[/url]
[url=http://it.youtube.com/watch?v=3Umax9uJhio]Brodetto fumante di Pesce[/url]
[img]http://img220.imageshack.us/img220/1564/bandieradellapacebl1.jpg[/img]


The user obtains this Database error:
QuotePlease try again. If you come back to this error screen, report the error to an administrator.

In the Forum Error Log I read:

Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'era una volta San Nicandro dal bianco e nero al colore![/url]
[url=http://i' at line 12
File: /usr/local/psa/home/vhosts/vaira.it/httpdocs/new/smf/Sources/Subs.php
Line: 631



As you can see in this signature there are some apostrophes, too.

Kindred

right...    so we have determined the error and the cause....  listing more errors will not be helpful, since it's all the same issue.

I will leave it to someone who actually knows SQL to indicate a fix....   since I suspect that the problem is in the SQL statement and escaping the quotes.
Сл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."

archi


R.Bourne

#295
Your error message is not the MOD's fault. It's the limitation, or actually, it's how MySQL works. Just to get the point here is what needs to be done.

For each and every ' (apostrophe), add one extra! Example:

[img]http://img217.imageshack.us/img217/1882/miscelanea43yi1.gif[/img][img]http://img263.imageshack.us/img263/5271/emoticonzodiacali09dh6.gif[/img][img]http://img392.imageshack.us/img392/1094/4953895cu1.gif[/img][size=14pt][color=blue]La vita je'' na f''tecchia......la morta je'' na sc''kfezza!!!......Com c''ama cumpurta''???!!![/color][/size]


You see those double ''. Now, when you save this, you won't get any error message on that. BUT, if you go back and look at it, you'll see single ' !!! If you try to save this, you'll get the same error message. I have no solution for this, other than repeating the same step above.

archi

Thanks for your reply R.Bourne... but please note, this signature works:
[size=14pt][color=blue]La vita je' na f'tecchia......la morta je' na sc'kfezza!!!......Com c'ama cumpurta'???!!![/color][/size]

I leaved the singole aposthopes but I removed the images.

Isn't it strange? If the problem is a limitation of MYSL, why the above signature works? :o

R.Bourne

Quote from: archi on May 10, 2009, 04:56:13 PM
Thanks for your reply R.Bourne... but please note, this signature works:
[size=14pt][color=blue]La vita je' na f'tecchia......la morta je' na sc'kfezza!!!......Com c'ama cumpurta'???!!![/color][/size]

I leaved the singole aposthopes but I removed the images.

Isn't it strange? If the problem is a limitation of MYSL, why the above signature works? :o


Yes it is. I actually tried all your signature codes in your previous posts and they worked fine here including the one with images. On my forum, every time someone complains, it's due to having a single '. I have no further suggestion.

fairytears

Hello

My problem is it is not resizing the images that are hosted in the forum, images that people upload to the forum and then place as their signature. Images hosted outside it resizes with no problem.

I would really appreciate it if someone could help me.

Kindred

fairytears,   Please stop deleting your previous message and re-posting the same thing. Do you think it's going to attract any more attention?

Сл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."

Advertisement: