Fork me on GitHub
Subscribe 4

Ticket #270 (fixed bug)

Images are not parsed correctly in signatures

  • Created: 2011-02-01 14:55:29
  • Reported by: Otomatic
  • Assigned to: quy
  • Milestone: 1.4.5
  • Component: code
  • Priority: normal

I just do extensive testing locally and confirmed that the images in the signatures are not parsed correctly. On the other hand, it is impossible to verify whether the problem exists on fluxbb.org or fluxbb.fr since the images are not allowed in signatures.
Administration, Permissions, Signatures, Beacon image in signatures = Yes, then setting in the signature same image that is in a message, the image appears in the message, but in signature tags [img ]...[/ img] have not been parsed as much as needed and you get exactly the same text as written in the signature form :
Test d'une image dans la signature
[img]http hmm/aviatechno/images/levinson.png[/img]

History

Reines 2011-02-01 15:19:19

  • Milestone set to 1.4.4.

Otomatic 2011-02-01 15:20:59

  • Description changed. (Diff)

Reines 2011-02-01 15:36:16

Images in signatures need to be enabled by the admin in admin -> permissions. This allows them to then be used in peoples signatures, but there is also a setting for each user in their profile under display, which determines if they will see images in peoples signatures or not. With them enabled in both places I'm having no problems.

Otomatic 2011-02-01 16:44:52

Images in signature works well only if in admin -> permissions we set to Yes :
Allow image in signature
AND
Allow BBCode in signature
Il is not possible to have image without BBCode.

Reines 2011-02-01 16:47:36

What's wrong with that? Seems expected behaviour to me?

Reines 2011-02-01 17:01:49

I've just done some testing - are you saying that the problem is when images in signatures is disabled - the image tags are left in their original form, instead of being converted into a link?

Otomatic 2011-02-01 17:09:17

I think it would be better to see "nothing" or a link.

Otomatic 2011-02-01 17:26:18

Another thing:
If BBcode is disabled in messages or signatures, image must be automaticaly disabled for messages or signatures.

Reines 2011-02-02 12:23:28

  • Milestone changed from 1.4.4 to 1.4.5.

Mpok 2011-02-16 05:10:00

This bug seems affect my mod (FluxToolBar) as several members complain about 'signature' (the mod do adds a verification about signatures).

quy 2011-02-19 04:37:36

Will these changes solve the issue?

Under Administration > Permissions, make it clear that BBCode must be enabled for img tag to be in effect.

find:

Allow the BBCode [img][/img] tag in posts.

change to:

If BBCode is enabled, allow the BBCode [img][/img] tag in posts.

find:

Allow the BBCode [img][/img] tag in user signatures (not recommended).

change to:

If BBCode in signatures is enabled, allow the BBCode [img][/img] tag in user signatures (not recommended).

Under Profile > Display, only display these options if BBCode is enabled and img tag is enabled.

Show images in posts.
Show images in user signatures.

Am I understanding this issue correctly?

quy 2011-02-20 21:18:53

  • Owner set to quy.
  • Status changed from open to fixed.