Another Member Notepad [Updated for 2.0 Final]

Started by Kays, January 10, 2010, 12:10:26 PM

Previous topic - Next topic

Draffi

When i check the popup-window (site-information, right-click in Firefox, look for Media...), i see this:

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAADT0lEQVR42u2WyS+rYRjFtWpoUa2hxqg5QmlLLYwxJSJE+A/6J3Qj9hL/BGsJG7FiUREWEkFKQ83S1nA7medQ/e4vbFvXd2/k3pt4V2+/4ZznOec871eJz+eL+sol/VL0b4J/gkD28e3Hx8fX11dBEB4eHn68rWAwaNDr5QqFRqP5DIHEFyGmXq/37OwsEAjk5ubGxMSwSUlJKS4uTkxMhHVpaQnK5ubm3yRwu93Hx8c6nQ64tbW1/f19tVotkUgODw9lMpnRaGxsbNzY2Dg5OWlvbxftwcXFBeU3NTVptVoQkSUrK+v+/n56enpra+vm5mZlZWVxcbGioiI6Onpubk40wdXVFWrExcVdXl6OjY2Njo46HA65XN7S0kIT19fX720dHR2ZTCaPx0NB4gh4Mz4+fmdnh6p5+fb2livPz88o1tXVhXRcRDEeSEhIwOqFhQVxBHhrtVqHhobQp76+nlYoHHsrKyuRvrS0lJ81NTVwuFyusrIyRBNH8PT0dHd3R6VEpbe312w2t7a2ZmdnE4fU1FT2JJW2MOb09DQ5ORnRVldXRRAQfHKiVCrRfXt7OxQKUe/4+LjFYpmdnYXp5eUFlaChDqRTKBTUJIKAolB2YGAAV0kLfaDJ5ubmwcHBxMQEiiGO0+lEH7ok0IQNShEEjNX5+TkdEKfq6mpswO3CwkKgAeVWfn4+uWIIcnJySBGPCUJIBEFBQQGIMzMzIyMj7Ds7OxGhra0Nk3GYBCMaZDSal5fHns4EQYzJKpXK7/e/W0cESf3y8jIDjAeDg4PgIhEjglWgYwk24IcIAt4nLRkZGahETnByamqKcUNxEBEES/GfNJMlJgZ05i7SuIUh4OWioqLMzEx87uvro3Zq3Nvbs9lswbfFQQIH8ccSRj0pKSktLW14eDgsQfjjuqSkBDNxW6/Xg15bWzs5OcmBSjdSqRR7EZBziT0S0S5tNTQ0fLaD90VUQOQ8QIT+/n6DwYC9lA86lmAAe2qHY3d3lzh1d/eExYn4PWARQXzGCc4J1ODsRJb5+Xm73R4bGwsB3FVVVXV1dR0dHZFAPiJg+QMBt8u5vm6nG0CRqLy8nDmPihL40EmlEk16ukqt/gDhFwR/vv7/fxXfBH+f4CffSQsw1WtjCgAAAABJRU5ErkJggg==

What meaning this?

Kays

Hi, that's not added by the mod. Not deliberately at any rate. ???

Which theme are you using? And do you see the same on a normal forum page?

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

NekoJonez

Dear mod author.

I got extremely confused with your last update. Since on this page it's saying that the latest version is 2.1.2 while in your XML you gave in a totally different number, 2.0.3

Please pay attention to that next time. 
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Shambles

I'd like the "highlight" button to copy to the clipboard if possible, rather than just focusing on and selecting the data block.

<input class="button_submit" type="button" value="', $txt['note_highlight'], '" onClick="javascript:this.form.body.focus();this.form.body.select();" />

The net gives me confusing ideas, like window.clipboardData.setData(...) and javascript:copyToClipboard() but I've had no joy with these, nor with guessing variants of this.form.body.xxx


leftezi

Thanks for this mod, Kays. :)
I don't know how difficult is to include BBC code into the mod, but maybe is easier to make links clickable in the text window. This would be very useful.

JamesWC

Not sure if the mod author's still checking this topic, but I'm using the version for SMF 2.0.4 and it won't allow certain characters in users' notes:

If a note contains a backslash (\) this character will be removed when saving, unless there are two consecutively (\\) in which case it will only remove one of them.

Also, if a note contains the currency symbol for the British pound (£) then the entire note is wiped blank when saving!

I'd rather not have to warn users to avoid using these characters, as it makes my site look half-baked, so is there any way around this please?

Arantor



Arantor

There's your first problem then. Pound signs don't usually behave in non UTF-8. Backup (using phpMyAdmin) and convert to UTF-8 using the admin panel.

JamesWC

From what I can tell they work everywhere else on the forum, so there must be some code I can add to the notepad mod to make them work here as well, without altering my whole database to a new character set. Know what I mean?

Arantor


JamesWC

If I did I wouldn't be here asking for help, so I'm sorry if I caused any offense by trying to explore the matter further. It just doesn't make sense to me (as a non-expert) that posts and private messages can contain the £ symbol but there's no way of just tweaking this mod's code to handle them in the same way. I wasn't saying that your UTF-8 method was wrong, I just wanted to ascertain if that's the only solution and, if it is, perhaps understand why so that I can learn and get by with less help in future.

Biology Forums

Excellent modification, I incorporated it into highslide.

leftezi

Very good mod! Thank you Kays  :)
This would be better if we can use BBCode in the notes, or at last clickable links.  ;)

Ilkharnos

Hello,

I use this mod and I like it very much. It suits to my forum well. However, it doesn't look very well in my theme. In order to make it nicer, I would like to use a background image for the notepad screen, but I don't know how to add one. Can you help?

Thank you very much.

EDIT: The forum's body itself would also be enough. I see a blank darkness in the background.

Advertisement: