PDA

View Full Version : Link Directly to Attachment on Who's Online Page


TWTCommish
03-22-2002, 10:00 PM
Ok, this is pretty much as tiny as a hack can possibly get. :D I just did it on a whim and thought, hey, ya' never know what someone else might find useful.

What's it do?
Simple: Ya' know how it says, on the Who's Online page, "Viewing Attachment in Thread BLAH"? Well, by default, the thread name is a link to the thread. This hack (if you can even call it that. :D) turns the word "Attachment" into a link right to the attachment they're viewing. I've only bothered to give it its own attached file because I believe we're encouraged to do so 'round here. So here you are. :)

defnot
03-23-2002, 03:57 PM
great !!!!

but what template or php file we need to modif ??

TWTCommish
03-23-2002, 04:00 PM
Sorry, I edited the file. It's online.php that you'll be editing. :)

Psychdrone
03-23-2002, 04:05 PM
actually this helps a lot man, Thanks much!

TWTCommish
03-23-2002, 04:09 PM
No problem. I like the convienence of it...I LOVE the Who's Online? page; I use it constantly, so I like it to be as powerful as possible, within reason.

afterlab
03-24-2002, 04:26 AM
Nice hack. I've wondered about it and thought it wasn't a big deal not having specifics. But details are always nice. Thanks again TWTCommish. :p

Meta
04-24-2002, 12:43 PM
Hey ... that was easy. Thank you, TWTCommish!