New Pornstar Interviews - [more]
Audrey Madison Interview

"I really want even more DPs and double anal. And more gangbang stuff."
All Forums > Tech Talk > Tech Talk Forum Page 35 > Question about browsing the forum
Page 1 of 2 Last
AuthorPost
Drew Black
broken crankshaft


8009 Posts
9/99
Posted - Feb 11 2007 : 4:50PM
I've noticed a couple of forums that I recently visited had a feature that I thought was pretty cool.

If I had read or posted in a topic the next time I visited the topic I was directed to the spot on the page with the newer posts instead of to the top of the page. This saves a lot of scrolling down to find the new stuff, especially at 99 posts per page like I typically use.

The basic idea being that if you had previously read or posted in a topic that you would want to automatically end up at the newer posts when you click on a topic instead of at the beginning of the thread or the top of a page.

It would be fairly easy to add this to our forum. Is this something that people would find helpful?

Gentleman Jon All-Star Supporter
All-Star Member

1881 Posts
6/05
Posted - Feb 11 2007 : 4:54PM
Sure.
K
Smitten Kitten

Cloud 9
530 Posts
2/06
Posted - Feb 11 2007 : 4:59PM
Very.
I've never seen that anywhere, but I had actually considered asking for just this feature, but figured it'd be a bitch to implement.

On a related issue: in some threads just about to get another page, the number of pages (I mean the links) listed above the posts is incorrect and one count higher than the number below the posts.

Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 11 2007 : 5:00PM
That's interesting because I think the same function call is used for both places. I'll look at it.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 11 2007 : 5:03PM
It would have been a bitch a while back but I recently made a significant change that reorganizes a thread's view based on a user's posts-per-page setting. It's trivial to expand this to automatically direct a visitor to a specific post on a page.
 
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 11 2007 : 5:05PM
The one concern that I have over this type of "feature" is that it might be very confusing for some people. Specifically if they click on the 'mark all topics read' link and subsequently go to a thread that they never actually had previously read.
astroknight All-Star Supporter
Questionable Moderator

Tastes so good...
4187 Posts
11/99
Posted - Feb 11 2007 : 6:15PM
I like the idea, but also understand the possible confusion. Pretty sure it's more complex than this, but is it something that could be turned on and off for users in their profile?????

"Vegetarianism for me is about saying ‘yes’ to things - even meat." - Coupling

Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 11 2007 : 6:44PM
Not yet but I could add that.
Redish All-Star Supporter
Poetic Moderator

Long and Cursive road to the Ivory Pagoda in the province of Loraine
4076 Posts
12/03
Posted - Feb 11 2007 : 7:49PM
I would like that addition.

nietzsche
Deactivated User

5470 Posts
8/03
Posted - Feb 11 2007 : 8:50PM
Please add the feature. It's especially useful when the threads get longer than say 20 or 25 posts.
Flash All-Star Supporter
Golden Age Classic

11018 Posts
5/01
Posted - Feb 11 2007 : 9:50PM
Yes, I'd love that feature, especially on the longer threads where I have to figure out what page I last read it on.
croy
Platinum Member

Discovry
4574 Posts
3/04
Posted - Feb 11 2007 : 10:37PM
Its okay, not really a necessity. I usually open to the last page and if needed go back to where I had last read.
Some forums also have a preview function, where if you hold the mouse arrow on the link for a thread, it gives a 50 word view in a box of the originating post. Semi-useful.
Bornyo
Deactivated Member

803 Posts
12/04
Posted - Feb 11 2007 : 11:34PM
I think it would be a great addition.

I use and enjoy it at most other boards Drew- from xpt to the lame sports boards we've talked about. It's a great feature.

OneLouder
Member

203 Posts
12/06
Posted - Feb 11 2007 : 11:38PM
Sounds like a good idea.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 12 2007 : 12:15AM
I've looked at stuff like that but I don't like it from a programming perspective. It really bloats the HTML code in the page. Most of those kinds of things are done with dynamic HTML/ which implies that the 50 words per post are sent over the wire. Wasteful for a forum that sees lots of traffic. I could do it with Ajax but that's slow for dialup users and people unlucky enough to be on a satellite.
 
croy
Platinum Member

Discovry
4574 Posts
3/04
Posted - Feb 12 2007 : 5:55AM
If it is bad for dial-up users, then I guess it would have to be a no vote. Though the vBulletin based sites with it don't seem slow.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 13 2007 : 3:47PM
I added the jump-to-last-read post functionality today. it only kicks in for threads that a user actually visited. It doesn't apply to threads that get marked as read by using the 'mark topics read' links.

The forum code only keeps track of which threads were read by a member for 10 days. After 10 days those records are automatically deleted. So if you haven't visited a topic in 10 days you might not get directed to the next newest post since the last time the topic was read.

Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 13 2007 : 3:49PM
I guess I have to figure out how to make it redirect properly to the bottom of the page when posting. ;)
Redish All-Star Supporter
Poetic Moderator

Long and Cursive road to the Ivory Pagoda in the province of Loraine
4076 Posts
12/03
Posted - Feb 13 2007 : 3:57PM
Something I just noticed.

When you click on active topics, and it takes you to a page on that topic, it won't let you go to a different page in that topic. I was reading the Sasha Grey thread and wanted to go back a page, but it wouldn't let me.

When you click on a different page number, it just takes you back to the last post.

Edited by - redish on 2/13/2007 3:58:47 PM

Gentleman Jon All-Star Supporter
All-Star Member

1881 Posts
6/05
Posted - Feb 13 2007 : 4:30PM
What Redish said.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 13 2007 : 5:33PM
The page number stuff should work properly now.
the unknown pervert
Deactivated User

I'd like to stay but I've got a plane to catch.
3243 Posts
5/06
Posted - Feb 13 2007 : 6:25PM
Not for me it isn't. I just had the same experience as Redish only in Kami's gatorade poop thread.
Redish All-Star Supporter
Poetic Moderator

Long and Cursive road to the Ivory Pagoda in the province of Loraine
4076 Posts
12/03
Posted - Feb 13 2007 : 7:33PM
I tried to click on the exotic meats thread and it took me to page two with no entries and would not let me click on page one.

tritone
Deactivated User

1009 Posts
4/03
Posted - Feb 13 2007 : 7:39PM
I am having the same problem with not being able to go back to previous pages of a thread. Browsing keeps me on the final page no matter what.

willywilly
Member

Activated Member
662 Posts
2/05
Posted - Feb 13 2007 : 7:49PM
So it wasn't just me.

Same thing - could not go back to page 1.
Fwiw, that was as of about 10 minutes ago.

 
Harri Patel
Senior Member

#SDNY he's all yours. -- Michael Steele
5110 Posts
3/03
Posted - Feb 13 2007 : 8:07PM
I can't get back to page 1 of imak's green turd thread from page 2.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 13 2007 : 8:22PM
I see what the problem is. I'll try to fix it tonight.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 13 2007 : 9:26PM
The page 1 problem should be fixed now.
Hardware All-Star Supporter
All-Star Member

Your other left
14594 Posts
3/02
Posted - Feb 13 2007 : 9:34PM
Yep.
Hardware All-Star Supporter
All-Star Member

Your other left
14594 Posts
3/02
Posted - Feb 13 2007 : 10:26PM
I'm not sure if this is related to the 'go to the first post you haven't read in the thread' feature or not, because this has happened to me before that feature got implemented, but if the last post I read was at the bottom of page one then the next time I hit that thread I get a blank 'page 2.'
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 13 2007 : 10:39PM
It must be inaccurately determining post position for paging. I'll try to look into it tomorrow if I can. We've got 30 inches of snow on the way and I'll be off playing. (I doubt the satellite is going to work for most of tomorrow and the next day.)
Bill All-Star Supporter
All-Star Member

5334 Posts
6/00
Posted - Feb 13 2007 : 11:51PM
I have a broom on a telescoping pole that reaches up to the roof. A whack with that always seems to do the trick of getting the snow off of the dish.
croy
Platinum Member

Discovry
4574 Posts
3/04
Posted - Feb 14 2007 : 5:50AM
Everything is better on a stick.
But it is good to get some exercise and air too.
john thomas
Deactivated User

1168 Posts
6/06
Posted - Feb 14 2007 : 6:21PM
I'm finding that when I get to a thread I have to scroll up a little to remind myself what point the conversation had reached. Maybe the feature could be tweaked a bit so we're redirected to the last post in the thread that we did read rather than to the first of the new posts?
gejothho
Member

177 Posts
4/01
Posted - Feb 14 2007 : 7:16PM
+1
 
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 15 2007 : 1:31AM
Is it working better now?
Redish All-Star Supporter
Poetic Moderator

Long and Cursive road to the Ivory Pagoda in the province of Loraine
4076 Posts
12/03
Posted - Feb 15 2007 : 1:38AM
Yes, it is.

Thanks Drew

Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 15 2007 : 1:48AM
It was the strangest problem that I've ever encountered in debugging. The html header of the topic pages (and many other pages on the site) have http-equiv content-type/charset tags. This tag was causing Firefox to launch two requests to the server. The first one was recording the "read" of the topic and the second one would think you just read the topic within the last second and would redirect you to the latest post.

I need to go strip those tags from everywhere on the site. IF every page request is actually two hitting the server that's a whole bunch of extra headroom we should have.

Bob All-Star Supporter
All-Star Member

5516 Posts
3/03
Posted - Feb 15 2007 : 1:55AM
That feature would be nice, Drew!
K
Smitten Kitten

Cloud 9
530 Posts
2/06
Posted - Feb 15 2007 : 12:08PM
I remember reading that before.
I'm not positive, but I vaguely recall that IE might also restart the parsing of an XHTML page from scratch, when it encounters the charset tag. Or perhaps that was Firefox too.

Anyhu, instead of having a charset in the XHTML output, I put in the following line of code in my PHP files before anything else was written:

header('Content-type: text/html; charset=iso-8859-1'); [/code]
Does ASP have something similar?


BTW, didn't you mention planning to rewrite the site to XHTML + CSS in an effort to slim down the pages a little?

Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 15 2007 : 1:05PM
Asp has response.addheader "name","value". I could do that.

Yes, we do want to rewrite the forum and most of the site to be more dependent on CSS but for the moment I'm working on new features and someday we'll get to the other stuff, most likely as part of a complete redesign of the site.

nietzsche
Deactivated User

5470 Posts
8/03
Posted - Feb 15 2007 : 11:47PM
Is there a reason you use ASP over Apache Linux, Mysql?
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 16 2007 : 7:43AM
We started with ASP and MSSQL back when we launched the site. I started developing with it well before then. So it's what I knew at the time. PHP and MySQL were not as good of a solution as ASP and MSSQL back then.

Things are different now. If we were starting today I would definitely go the PHP route but still not sure about MySQL. I do all of the database access code in stored procedures. As of 6 months ago MySQL's support of stored procedures was still not that great. I'd most likely go with PHP/MSSQL.

jayo All-Star Supporter
All-Star Member

2117 Posts
7/04
Posted - Feb 17 2007 : 1:29PM
Yes!
K
Smitten Kitten

Cloud 9
530 Posts
2/06
Posted - Feb 21 2007 : 1:46AM
Still there.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 21 2007 : 7:23AM
Haven't looked at fixing that yet.
K
Smitten Kitten

Cloud 9
530 Posts
2/06
Posted - Feb 21 2007 : 1:18PM
Ah, okie dokie. I just remembered your "The page number stuff should work properly now" post, but I see that was a reply to another issue.
cobalt60
Knuckle Dragger

2046 Posts
2/03
Posted - Feb 21 2007 : 3:34PM
If you get to feeling squirrelly and want to mess around with some, this is the hat I'm throwing my lot in with:
CodeIgniter

I'll probably be spending a lot more time on their forum than here. I've been putting off some of this development work far too long and people are getting antsy.

Anyway:

You'd probably want to use ADODB for your dal (but you don't have to) with SQL Server:
ADODB

As for MySQL, I too have some reservations about it, but one place I use it doesn't need stored procs or triggers and I hand coded all the referential integrity in the source (don't judge me). Other places I've used it to replace things that were running in drag-n-drop Access database apps (ugh). Works great! If you don't need the features.

For mission-critical production databases, though, ain't no way I'd use anything other than Oracle, DB2, MSSQL, or .. hell, that's about it. Maybe Postgres is there yet. I tried it 6-7 years ago and it threw poo at me. Once bitten twice shy.

As for the feature you asked about, in general I'd say "is it something I can turn on/off if I figure out I want/need it", then sure, otherwise, don't fuck with me, man.

I like adt. I'm used to it. I'm not as young as I used to be and change fucks me up. Be gentle.

If you're not interested in looking into PHP frameworks, I understand. If you are, the other one I'd recommend considering if I were you, as a friend whose already spent many many hours researching this, it would be Cake:
CakePHP

I like the stuff you've been doing. Thanks dude.

Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Feb 21 2007 : 11:47PM
I've used ADOdb in the past. I had a client that had a legacy ASP website that was transitioning to PHP and needed to share session data between the PHP and ASP portions of the site. Using ADOdb and MSSQL I was able to write an ASP class and a corresponding PHP object that made the session handling pretty much transparent to the existing code. Just a little global searching and replacing on strings with response/request.cookies. (I used portions of the code I wrote for them here on ADT to transition to encrypted cookies. Next step is to drop the use of the ASP session object altogether. yeah, maybe someday.)
Len Nicodemo
Doctor of Pornography (Po.D.)

On avatar hiatus
1224 Posts
2/06
Posted - Mar 16 2007 : 10:57AM
How do I create a hyperlink to the first post in a thread I've visited?

Edited by - Len Nicodemo on 3/16/2007 10:59:23 AM

Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Mar 16 2007 : 11:38AM
see the blue [link] to the bottom right of each post. Click it. The URL in the address bar will be the link to that post.
All Forums > Tech Talk > Tech Talk Forum Page 35Question about browsing the forum

Previous topic: Recommend DVD burner software
Next topic: Speed up your Firefox
Page 1 of 2 Last



Jump To: