Page 1 of 2 [ 19 posts ]  Go to page 1, 2  Next

alex
Developer
Developer

User avatar

Joined: 13 Jun 2004
Age: 37
Gender: Male
Posts: 10,215
Location: Beverly Hills, CA

28 Sep 2007, 9:42 am

I've created a new URL scheme that will cut down on the length of URLs so people can link to pages more easily. It also makes more sense than the old scheme.


Instead of http://www.wrongplanet.net/modules.php? ... wforum&f=3

you'll now have:

http://www.wrongplanet.net/forum3.html


_________________
I'm Alex Plank, the founder of Wrong Planet. Follow me (Alex Plank) on Blue Sky: https://bsky.app/profile/alexplank.bsky.social


alex
Developer
Developer

User avatar

Joined: 13 Jun 2004
Age: 37
Gender: Male
Posts: 10,215
Location: Beverly Hills, CA

28 Sep 2007, 10:29 am

Also, I've changed the site to include the forum and post titles in the title of your web browser window.


_________________
I'm Alex Plank, the founder of Wrong Planet. Follow me (Alex Plank) on Blue Sky: https://bsky.app/profile/alexplank.bsky.social


Hadron
Veteran
Veteran

User avatar

Joined: 7 Aug 2007
Gender: Male
Posts: 957
Location: IntensitySquared or Zomg

28 Sep 2007, 10:33 am

I take it all the older URLs still work?



alex
Developer
Developer

User avatar

Joined: 13 Jun 2004
Age: 37
Gender: Male
Posts: 10,215
Location: Beverly Hills, CA

28 Sep 2007, 10:36 am

Hadron wrote:
I take it all the older URLs still work?


yes. I don't like 404 errors


_________________
I'm Alex Plank, the founder of Wrong Planet. Follow me (Alex Plank) on Blue Sky: https://bsky.app/profile/alexplank.bsky.social


TheMachine1
Veteran
Veteran

User avatar

Joined: 11 Jun 2006
Gender: Male
Posts: 8,011
Location: 9099 will be my last post...what the hell 9011 will be.

28 Sep 2007, 10:42 am

alex wrote:
Hadron wrote:
I take it all the older URLs still work?


yes. I don't like 404 errors


I agree any url that has ever been indexed by a search engine should remain workable till the end of time. Thats a pet peeve of mine anyway. :)



Hadron
Veteran
Veteran

User avatar

Joined: 7 Aug 2007
Gender: Male
Posts: 957
Location: IntensitySquared or Zomg

28 Sep 2007, 10:43 am

alex wrote:
Hadron wrote:
I take it all the older URLs still work?


yes. I don't like 404 errors

Excellent. The new changes look rather good. :)



alex
Developer
Developer

User avatar

Joined: 13 Jun 2004
Age: 37
Gender: Male
Posts: 10,215
Location: Beverly Hills, CA

28 Sep 2007, 12:04 pm

Hadron wrote:
alex wrote:
Hadron wrote:
I take it all the older URLs still work?


yes. I don't like 404 errors

Excellent. The new changes look rather good. :)


thanks. :)


_________________
I'm Alex Plank, the founder of Wrong Planet. Follow me (Alex Plank) on Blue Sky: https://bsky.app/profile/alexplank.bsky.social


Anubis
Veteran
Veteran

User avatar

Joined: 6 Sep 2006
Age: 135
Gender: Male
Posts: 11,911
Location: Mount Herculaneum/England

28 Sep 2007, 2:29 pm

Thanks alex! It's very helpful.


_________________
Lalalalai.... I'll cut you up!


shadexiii
Veteran
Veteran

User avatar

Joined: 15 Dec 2006
Age: 39
Gender: Male
Posts: 3,545

28 Sep 2007, 7:04 pm

alex wrote:
Also, I've changed the site to include the forum and post titles in the title of your web browser window.

Image



0_equals_true
Veteran
Veteran

User avatar

Joined: 5 Apr 2007
Age: 42
Gender: Male
Posts: 11,038
Location: London

28 Sep 2007, 7:31 pm

That is great :)


There are still problems with the pagination on things like the viewing a members posts. The search needs to be reinstated, optimise it by all means. The google search is unusable and chances are you are searching for something obscure and end up hitting your head against the wall in despair. There are some other problems but I forget what. Nothing major.



MysteryFan3
Veteran
Veteran

User avatar

Joined: 8 Jun 2007
Age: 67
Gender: Male
Posts: 1,156
Location: Indiana

28 Sep 2007, 8:33 pm

Works great. Thanks. :D


_________________
To eliminate poverty, you have to eliminate at least three things: time, the bell curve and the Pauli Exclusion Principle. Have fun.


alex
Developer
Developer

User avatar

Joined: 13 Jun 2004
Age: 37
Gender: Male
Posts: 10,215
Location: Beverly Hills, CA

29 Sep 2007, 10:56 am

0_equals_true wrote:
That is great :)


There are still problems with the pagination on things like the viewing a members posts. The search needs to be reinstated, optimise it by all means. The google search is unusable and chances are you are searching for something obscure and end up hitting your head against the wall in despair. There are some other problems but I forget what. Nothing major.


THe pagination problems are being worked on. Search will be tricky.


_________________
I'm Alex Plank, the founder of Wrong Planet. Follow me (Alex Plank) on Blue Sky: https://bsky.app/profile/alexplank.bsky.social


0_equals_true
Veteran
Veteran

User avatar

Joined: 5 Apr 2007
Age: 42
Gender: Male
Posts: 11,038
Location: London

29 Sep 2007, 7:05 pm

It don’t know if you have FULLTEXT indexing yet. MySQL 5+ is optimised use that. You can tweak the stoplist and minword length. There are also embedded search engines that might offer you better performance. You would expect phpBB to be pretty sound in the db so should be ok to mod. To be honest I don't mind waiting that little bit longer for a good search if you want to prioritise requests, because you save time in relevance. Putting a smaller LIMIT option can speed it up quite a lot. In other words just get it to return less result per page. If you are using FULLTEXT don't put and ORDER BY cause that will slow it down it sorts on relevance anyway. The SQL_CALC_FOUND_ROWS, FOUND_ROWS() combination is faster than using COUNT() for the total number of results. If your table contains many columns of data, one idea is just to create a temporary table just containing the columns you need and index that for you search. Sub-selects/derivatives would almost certainly be slower than using an optimised temporary table, as they are generally. Alternatively you could have 1 to 1 split tables for the search optimisation though that is bordering on de-normalising. Another idea I thought of is although the FULLTEXT is sorted by relevance you can qualify the search differently before it has even started by having a compulsory drop down for each year (or whatever duration). So then what you can do and create a temporary table with just the column data limited by the year then you do a full text search on that. On the results pages you can put the dropdown under the pagination as well or have next year previous year links.



Last edited by 0_equals_true on 29 Sep 2007, 7:31 pm, edited 1 time in total.

greenblue
Veteran
Veteran

User avatar

Joined: 25 Mar 2007
Age: 48
Gender: Male
Posts: 7,896
Location: Home

29 Sep 2007, 7:15 pm

This really looks better :)

The pagination seemed to work ok for me, when I tried yesterday.

I have this problem with 'View posts since last visit' and it seems it is still like that, after viewing or replying a post, I click again, and I don't see any post, or just get the posts since the time time I view the last post.


_________________
?Everything is perfect in the universe - even your desire to improve it.?


0_equals_true
Veteran
Veteran

User avatar

Joined: 5 Apr 2007
Age: 42
Gender: Male
Posts: 11,038
Location: London

29 Sep 2007, 7:33 pm

yep that issue is because the cookie is removed in the wrong order.



0_equals_true
Veteran
Veteran

User avatar

Joined: 5 Apr 2007
Age: 42
Gender: Male
Posts: 11,038
Location: London

30 Sep 2007, 4:46 pm

When searching/browsing the highlight feature is really useful to find a word(s) in thread. Though the colour is not good it is the same colour as the background almost. But with the new URLs the highlight feature is not there.

From looking at one of my posts I have clicked on one and highlighted the word 'eye'. It does this automatically in the defualt search.

The old way:

http://www.wrongplanet.net/modules.php? ... hlight=eye

new way comes out like this:

http://www.wrongplanet.net/postp927306. ... hlight=eye

‘Eye' is not highlighted. I've tried quite a few variations to try to get it to work but doesn't correspond with anything in your server rules/.htaccess file.