Search found 34 matches

by Jabrwock
Wed Mar 01, 2006 4:36 pm
Forum: Bugs
Topic: default WYSIWIG editor inserting linebreaks in strange place
Replies: 6
Views: 3895

That solved it.

Thx!
by Jabrwock
Wed Mar 01, 2006 4:25 am
Forum: General discussions
Topic: Restricting access by IP & using avatars
Replies: 5
Views: 3356

eureka

I dug around a bit, and found out that if I add this to the start of s9y's .htaccess: ErrorDocument 403 /s9y/default.php ErrorDocument 404 /s9y/not-found.php <Files index.php> deny from BANNED_IP_ADDR </Files> It works, since all unaddressed requests are forwarded to index.php, as are all .html requ...
by Jabrwock
Wed Mar 01, 2006 12:21 am
Forum: General discussions
Topic: Restricting access by IP & using avatars
Replies: 5
Views: 3356

Blacklisting IPs should best be done within a .htaccess file. If you make s9y restrict IPs, the wohle framework would have to be loaded just to deny a hit to your blog. Instead it is much better to make Apache reject the call! Unfortunately I don't have access to my host's .htaccess. Can I do it wi...
by Jabrwock
Tue Feb 28, 2006 9:33 pm
Forum: Bugs
Topic: default WYSIWIG editor inserting linebreaks in strange place
Replies: 6
Views: 3895

They don't show up in the WYSIWIG editor's field, but they show up on the entry when I save or preview. They also show up if I switch to HTML edit mode in the editor.
by Jabrwock
Tue Feb 28, 2006 8:20 pm
Forum: General discussions
Topic: Preserving comment hierarchy after a deletion
Replies: 16
Views: 8853

Yeah, it would be kind of hard to make it context sensitive, in comments.inc.php there's no way to know if $comment has been replied to. Maybe just add to COMMENT_DELETE_CONFIRM to add in (Note: if this comment has already been replied to, deleting it will replace it with {COMMENT DELETED}. If this ...
by Jabrwock
Tue Feb 28, 2006 8:13 pm
Forum: Bugs
Topic: default WYSIWIG editor inserting linebreaks in strange place
Replies: 6
Views: 3895

I'm pasting from another web-page http://gamepolitics.livejournal.com/216094.html

It puts the linebreaks in at the same place the webpage does, but then it also inserts extra ones after the first few words of each paragraph.

I'm not using any extra firefox extentions (except bugmenot).
by Jabrwock
Tue Feb 28, 2006 7:30 pm
Forum: Bugs
Topic: default WYSIWIG editor inserting linebreaks in strange place
Replies: 6
Views: 3895

default WYSIWIG editor inserting linebreaks in strange place

When using the default WYSIWYG editor (I'm having issues configuring FCKeditor atm), it seems to insert <BR> tags where they're not supposed to go. After the 2nd paragraph, it sticks <BR> tags after the first word of every paragraph. So when I paste in text like this: Lorem ipsum dolor sit amet, con...
by Jabrwock
Tue Feb 28, 2006 7:07 pm
Forum: General discussions
Topic: Preserving comment hierarchy after a deletion
Replies: 16
Views: 8853

Or, on deleting a comment the user is prompted with appropriate information. I think a warning in that deletion prompt, something like (are you sure you want to delete this: warning, this comment has children, and will be moderated instead of deleted. use delete again to completely delete it) would...
by Jabrwock
Tue Feb 28, 2006 6:57 pm
Forum: General discussions
Topic: Preserving comment hierarchy after a deletion
Replies: 16
Views: 8853

I added a nifty modification: The first deletion of a comment with a subtree will replace it with "COMMENT_REMOVED" (it is replaced in the template with the right localized version so that if you change languages, you always see the localized version). I thought about that, but wasn't sur...
by Jabrwock
Tue Feb 28, 2006 6:28 pm
Forum: General discussions
Topic: FCKeditor & server media
Replies: 1
Views: 1651

nevermind, I just found the solution. :)

http://www.s9y.org/forums/viewtopic.php?t=4238
by Jabrwock
Tue Feb 28, 2006 6:06 pm
Forum: General discussions
Topic: FCKeditor & server media
Replies: 1
Views: 1651

FCKeditor & server media

Under the default WYSIWYG editor, clicking "add image" allows you to choose from the media you've previously uploaded in "add media". FCKeditor can't seem to find these images when I click "browse server". I just followed the default install for FCKeditor, do I need to ...
by Jabrwock
Tue Feb 28, 2006 5:09 pm
Forum: General discussions
Topic: Preserving comment hierarchy after a deletion
Replies: 16
Views: 8853

For the moment, I've made a temporary "comments.tpl" that checks for "<strong>(COMMENT DELETED)</strong>", If it's present, it skips printing the "reply" link. (no point in allowing replies to a "non-existent" comment). This is just a temporary fix. Maybe we c...
by Jabrwock
Tue Feb 28, 2006 3:51 pm
Forum: General discussions
Topic: Preserving comment hierarchy after a deletion
Replies: 16
Views: 8853

Wouldn't it be easier to just edit the offending comment than to make developers hardcode a "COMMENT DELETED" into the s9y core? Apart from that, there might be users who actually do want specific comments to disappear completely (which includes a decreasing number in the comment counter ...
by Jabrwock
Mon Feb 27, 2006 11:45 pm
Forum: General discussions
Topic: Preserving comment hierarchy after a deletion
Replies: 16
Views: 8853

diff

This seems to work for me. Deleting a reply-less comment deletes it. Deleting a comment with replies replaces it with (COMMENT DELETED) , so you need to delete all the children first. Comment count decrements when comments are deleted, but not if the comment is already marked " (COMMENT DELETED...
by Jabrwock
Mon Feb 27, 2006 9:13 pm
Forum: General discussions
Topic: Preserving comment hierarchy after a deletion
Replies: 16
Views: 8853

Re: Preserving comment hierarchy after a deletion

Would you like to try patching it? I could then patch it into our core distribution. If you don't get along, I think I could patch it for you, but I might not be able to do so before the end of this week. I'll give it a shot, and see what I can come up with. Can I restrict it to admins/moderators? ...