okay, this live version of ttf is about to be pushed to the bleeding edge.
sorry if things break.
enjoy!
excitement!
asemisldkfj
the law is no protection
I'm excited. are we on the bleeding edge yet?
textarea still broken in chrome, so i guess not
i'm permanently deleting this post to facilitate database migration:
mysql> SELECT post_id, thread_id, author_id, hide, date, ip, CHAR_LENGTH(body), LEFT(body, 16) FROM ttf_post WHERE post_id=10926;
+---------+-----------+-----------+------+------------+---------------+-------------------+------------------+
| post_id | thread_id | author_id | hide | date | ip | CHAR_LENGTH(body) | LEFT(body, 16) |
+---------+-----------+-----------+------+------------+---------------+-------------------+------------------+
| 10926 | 537 | 2 | t | 1195762940 | 76.171.216.78 | 56052 | tooooooooooooooo |
+---------+-----------+-----------+------+------------+---------------+-------------------+------------------+
1 row in set (0.00 sec)
that's the only post that killed the migration script. i guess regexps are very intensive to run if there's 56000 characters without a line break.
by the way, none of you should go post something like this. i won't ban you, but i'll be very annoyed. so please don't think it would be funny.
man, i get nauseated when i'm about to run a huge migration script and completely change the live scripts.
okay, here goes...
we're up.
i hope things don't break!
this post has been archived.
user title! it's gone! :o
mine? i removed my user title before migration.
having this version live is creepy.
phi_
... and let the Earth be silent after ye.
Holy crap, everything looks weird in Chrome.
woah!
revisions
i'm bleeding!
edit: hello there
and the era of thread hijacking has ended--
yarr.
This looks great, lr. I like it a lot.
thanks. :)
more to come, hopefully.
this live version is newer than what's in svn. i have some code cleanup to do and some commits to make.
:O
live indeed.
asemisldkfj
the law is no protection
this looks totally fucked in Safari.
asemisldkfj
the law is no protection
oh wait I refreshed and it's much better!
asemisldkfj
the law is no protection
this is awesome I just edited a post!
phi_
... and let the Earth be silent after ye.
<3 edits.
Now just a "mark all as read" feature and I'll be happy.
r278 brings us almost perfect xhtml 1.1 compliance.
asemisldkfj
the law is no protection
html bold tag fucking up search results:
http://thinktankforums.com/search.php?string= … e+messages
also what is the "on Array" thing?
blood
thanks, asemi.
search.php isn't updated to handle the new format_date() function, which now returns an array.
search.php also isn't updated to handle the fact that `ttf_post.body` is already run through outputbody(), which is why the bold tag is fucking things up.
noted in
issue 36 .
i love revisions.
asemisldkfj
the law is no protection
I am extremely happy about this edit feature and love how it is implemented with the revisions and stuff. having to archive and repost stuff that had tags was such a pain before!
asemisldkfj
the law is no protection
no weird HTML formatting, but some ugly stuff going on:
http://img236.imageshack.us/img236/4082/picture1xi9.jpg
better than before though!
have any suggestions on how to handle that?
wordwrap() ?
asemisldkfj
the law is no protection
why don't you display whole posts in search results? if it's just for the sake of the page being shorter you could load the entire posts but then hide part of them with javascript. that might kind of suck though. you could write something so that at the end of each result it automatically closes any open tags. or you could show entire posts in the results. the html in search results is kind of ugly.
> why don't you display whole posts in search results?
we do, now. :)
> the html in search results is kind of ugly.
do you have a suggestion on what to do?
oh, you just want the whole, formatted posts?
i guess we can do that.
done.
it looks good, except that if the script tries to highlight a search term that occurs in the middle of a link, it busts the link. :/
asemisldkfj
the law is no protection
oof that's rough. any idea how other forums do it? maybe they search the formatted posts somehow, but then they miss out on searching URLs.
i'll think about how to do it nicely. (this became issue 38.)
have you guys seen the new profile editing page?
http://www.thinktankforums.com/editprofile.php
asemisldkfj
the law is no protection
what's new about it? I see some minor changes I guess.
it's organized more nicely, in my opinion.
I can edit my posts, woohoo!
asemisldkfj
the law is no protection
ooh interesting.
DaGr8Gatzby
Drunk by Myself
Firefox 2 at work fucks up the post button. Shit looks like a tetris piece. However, I'm happy to report Safari 4 is working quite well :)
andyp
nothing is wrong - what are you scared of?
it was like that on mine for a few days.. then magically it fixed itself to the bottom of the text box.
gatzby: did you get the new style sheet? try ctrl+f5.
andyp: it's because your browser finally retrieved the new style sheet.
DaGr8Gatzby
Drunk by Myself
Lucas, I'll try on thursday :)
Also, I think a good feature would be a timestamp on all edits.
DaGr8Gatzby
Drunk by Myself
this post has been archived.
there is a timestamp: hover your cursor over any relative time.
DaGr8Gatzby
Drunk by Myself
Wow. If you click on revision, the IP address shows up. Insecure?
i don't see a problem with that
is it just me or is ttf much more responsive now?
it should be (at least marginally).
forum.php is performing 15 fewer queries with each execution.
thread.php is no longer formatting posts on demand (formatted posts are cached).
asemisldkfj
the law is no protection
I don't know if I like the IPs showing.
DaGr8Gatzby
Drunk by Myself
CTRL-F5 worked.
this post has been archived.
this post has been archived.
asemisldkfj
the law is no protection
no more archive confirmation?
oh sweet, dedicated html confirmation page. I'm into it.
asemisldkfj
the law is no protection
this post has been archived.
not via javascript--there's an html page now instead.
so is ttf now fully lynx compatible?
asemisldkfj
the law is no protection
lol
> so is ttf now fully lynx compatible?
i think so...
cleaned up the migration a bit:
DELETE FROM ttf_revision
WHERE body = ''
AND rev_id < 2689
AND type = 'title' ;
Deleted rows: 1296 (Query took 0.0848 sec)
DELETE FROM ttf_revision
WHERE body = ''
AND rev_id < 2689
AND type = 'profile' ;
Deleted rows: 1312 (Query took 0.0725 sec)
freshies are crazy!
i know... it's kinda annoying
yay, back to zero freshies again
> > so is ttf now fully lynx compatible?
>
> i think so...
It looks rather nice in Lynx ... The only `complaint' is that the navigation / login form are at the top of the page (In the HTML order, not the visual rendering), instead of the bottom ... Or that's there no link to skip navigation and go to content.
looking good in elinks too
shit, now i'll have to make the three latest posts too :o
ah, here we go