wiki | forum | trac | otrs | joomla | tech blog | mailman | bewelcome Branches: test.bw | alpha.bw | www.bw Participate: download | get involved

Ticket #382 (assigned improve feature)

Opened 7 months ago

Last modified 4 months ago

URLs for Forum threads

Reported by: lemon-head Assigned to: lemon-head (accepted)
Priority: minor Milestone: 0.5.2-short cleanup and framework
Component: BW Forum Version: all
Keywords: nice urls Cc:
Follow up needed: review code Frequently reported: 1
Announce on BW: 0

Description

Currently the URLs for forum subjects have problems:

  • whitespaces are turned into %20, which looks ugly.
  • a title 'please/reply' will result in an adress that is understood as a request saying you want to reply.

I think it's nicer to turn everything into url-friendly characters like '_' or '-' etc.

Change History

(follow-up: ↓ 2 ) 02/02/08 02:21:30 changed by lemon-head

  • follow_up changed from none to review code.
  • owner set to lemon-head.
  • status changed from new to assigned.

[3912] - replaced problematic characters with '-'. We might still change some things later. Is '_' better? And maybe the function does not belong in class ForumsView? ?

(in reply to: ↑ 1 ) 02/29/08 14:58:55 changed by micha

  • freq_reported set to 1.
  • show_on_bw changed.

Replying to lemon-head:

[3912] - replaced problematic characters with '-'. We might still change some things later. Is '_' better? And maybe the function does not belong in class ForumsView? ?

Now that you changed this behaviour anyway, could you try to get rid of a bug aswell? If you create a topic and start the title of the thread with ", the title won't be displayed in the URL. For an example see: http://test.bewelcome.org/forums/s29-

Any idea, why that is? Can you fix it?

02/29/08 15:00:03 changed by micha

I like your change by the way. And I don't care if it's a '-' or a '_' or whatever. Like this it's just fine. We just shouldn't change it too often, otherwise we get problems with static links on other pages/sites.

04/11/08 01:25:13 changed by lemon-head

No, we don't get such problems - everything that happens after the first '-' symbol is just decoration.

For instance, look where the following link takes you :)

04/23/08 12:22:31 changed by philipp

  • milestone changed from 0.1.4 - improving userinterface for members and volunteers and start work on big 0.2 tasks to 0.5.2-short cleanup and framework.

please finish this one!

Trac Customization: trac stylesheet
SourceForge.net Logo