Posted by (0th , :)

Back to news index / Refresh page


You can edit or delete your own comments, but you'll have to login first.

read biography for - dormouse

 dormouse ( 5th Jan 2003, 13:25, Rank: Jedi )  reply

Collating/deleted most of the posts for resolved issues, as this is getting long (won't be doing this on normal news posts, but this is more of a to-do list)

Recent updates: split into multiple pages. Reformat? I'm still thinking about this one (k)

A reviews system of some sort, linked into the database search. latter maybe - it's a fringe benefit. Comments field fine for now (k) - no, too complicated

Preferences for visibility of bio sections. - not bothering

Bios: Add some conditional logic, to hide "show all" links if there isn't anything to show?

Gallery - basically done. link in to bio pictures. Make any photo selectable in gallery to be 'my bio mugshot'. Fix history links.

Links db images: save images in database?

ICONS: 'back'/'index', add to reading list/log

Commenting on requests: implemented. don't ask for them to be editable after submitting ;)

Dates on reading logs: done

read biography for - dormouse

 dormouse ( 5th Jan 2003, 14:39, Rank: Jedi )  reply

Notes for people coding/editing site:

Various isAdmin($username) type functions to call when checking user permissions on pages. Also isCommittee($username, $post), all in functions.php. Update existing pages.

use clean() or cleanHTML() functions for all input. Update existing pages.

read biography for - dormouse

 dormouse ( 8th Jan 2003, 00:04, Rank: Jedi )  reply

The custom site tag function is there - call convertSpecialTags($text) before displaying any text that may contain HTML.
currently only converts <user> tags, eg <user>prgp</user> = Philip Pearson (phil gets picked on cos he has different username/alias)

now need to think of and add in special tags

p>from editing this comment, we really also need to use htmlentities($text) on HTML to edit in text areas. bother!

It particularly applies when non-alphanumerics (eg ") may be present in the field. the <input value=\"$somevalue\"> breaks if $somevalue contains a ". Use value=\"".htmlentities($somevalue)."\" instead.

read biography for - John Kirk

 John Kirk ( 8th Jan 2003, 15:06, Rank: Patrician )  reply

A while back, Michelle was gathering info on what order books came in (e.g. the sequence of the Narnia chronicles). I know that some books in the library now have stickers on the spines, giving this information - would it be possible to stick it on the website too? This could either be database driven, or just static HTML. Maybe even incorporate it into the library search tool? (In my own books database, I store that info in the same table as the book's name.) That way, you could say something like "show me all Star Trek novels" - if we had a drop-down list for the available "themes", then this would solve the problem of whether things have been entered as "Star Trek" or "ST: TNG" or whatever (similarly for "Dr Who" vs "Doctor Who").

read biography for - dormouse

 dormouse ( 5th Mar 2003, 16:56, Rank: Jedi )  reply

from billy: weird bug like thing on the new icsf site - in opera on the book pages, it only gives the thought bubble icon for each book in your "to read" lsit, and it marks things as read instead of adding comments. no tick.

read biography for - dormouse

 dormouse ( 13th Mar 2003, 15:09, Rank: Jedi )  reply

must fix the news page links to only show 10 at a time

read biography for - John Kirk

 John Kirk ( 18th Mar 2003, 23:16, Rank: Patrician )  reply

Requests list: trouble editing comments. Whenever I enter anything in the "Comments" box for "Midnight Nation", it gets discarded. (This is using the "edit" function rather than the "Add comment" function). If this is deliberate, maybe hide that box? But it may be useful to have some way to edit existing comments.

read biography for - John Kirk

 John Kirk ( 28th Mar 2003, 10:17, Rank: Patrician )  reply

I added a comment to a link last night (Neil Gaiman's blog), but nothing showed up in the "what's new" page.

read biography for - John Kirk

 John Kirk ( 30th Mar 2003, 19:51, Rank: Patrician )  reply

I've just tried again (edited existing comments for that link, and added a new dummy comment), but nothing shows up in the "what's new" page. (I'm not sure whether editing comments should trigger an update.) Incidentally, I also noticed that after I edited comments once, the pencil icon disappears, so I can't edit them again. And I can't delete any of them (including the dummy one, so feel free to get rid of that one yourself). Maybe a permissions issue, if you have admin rights?

read biography for - dormouse

 dormouse ( 30th Mar 2003, 22:01, Rank: Jedi )  reply

request list comments - I can edit it fine... still having problems?

read biography for - Sulkyblue

 Sulkyblue ( 30th Mar 2003, 22:07, Rank: Nazgul )  reply

I@ve fixed the intermittant error, it was to do with one of hte other pages actually not adding slashes when it should have been. As for the edit thing, I have no idea what's going on. I can't replicate it and you have full admin permissions on the links database just like I do. It must have managed to log you out somewhere, somehow... dunno (and no, editing a comment wouldn't show up anyways).

read biography for - Sulkyblue

 Sulkyblue ( 22nd Apr 2003, 11:23, Rank: Nazgul )  reply

having issues on one of hte add comments to news article bits. I'm trying to put two links inside a comment. It does the first link thingy fine, but completely ignores the second. It's just displaying the <link></link> in the source. Tried editting, but that didn't work either.

read biography for - John Kirk

 John Kirk ( 24th Apr 2003, 10:12, Rank: Patrician )  reply

Links database: when I do a search, if I check the subject box for "Angel", and leave the rest of the subject boxes unchecked (all content boxes checked), then I'd expect to see all the Angel links. Instead, I get every link in the database, i.e. all 204 for all subjects.

read biography for - Sulkyblue

 Sulkyblue ( 24th Apr 2003, 10:39, Rank: Nazgul )  reply

There's no preferencing over the contents versus subject. So if you check all the contents and 1 subject you'll get all of them because it's returning all the links that have that subject *or* any one of hte contents. The search still needs some work, but it's already quite complex (something like 100 lines of code behind it as it is). Next time I look at it I'll switch off the auto ticking of content and make it a bit more obvious that's what's going on.

Add your burblings

You are not logged in. Any comments submitted will be attributed to random.
Log in/Register

View small text box

Special tags: <user>username</user>,<link>URL</link>,<image (align="right|left|center")>URL</image>,<big>,<small>
Allowed HTML; <b>,<i>,<u>,<strike>,<p>,<br />,<hr />,<pre>,<ul>,<ol>,<li>,<dl>,<dt>,<dd>,<a>,<img>

Back to news index

Recent articles: [2x06!! Stream "The Fall" Season 2 Episode 6 Finale Online] ['Best of SF' article in Felix Today] [Science fiction bonanza in Felix] [Science Fiction Column - "Moon" Review] [Congratulations SpaceX]