Home arrow Support arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:New feature for 1.7 : Fancy URL (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Re:New feature for 1.7 : Fancy URL
#13987
Zeuh (User)
Fresh Lemon
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
[done] New feature for 1.7 : Fancy URL 4 Months, 2 Weeks ago Karma: 0  
I have implemented fancy URL for LS 1.70+

I have made a patch compatible with revision 4938 of subversion repository.

I don't know if you prefer submissions of code via forums or via the bugtracker

This patch introduce:

- .htaccess file at root
- new configuration option (in config-defaults.php)
- Fancy URL in admin panel when display survey URL when modrewrite option activated (in admin/html.php)
- Fancy URL with tokens when inviting via mail (in admin/tokens.php)

Perhaps i have missing some important location where URL appears ?!

I have tested the patch and it work well

Sorry for my Evil English

Regards,
File Attachment:
File Name: ls_fancyurl.gz
File Size: 1633


Edit: small bug with languagechanger box because URL are relative in link.
 
Logged Logged  
 
Last Edit: 2008/06/17 14:23 By Mazi.
  The administrator has disabled public write access.
#13990
ElMatador69 (Moderator)
LimeSurvey Team
Posts: 1547
graphgraph
User Offline Click here to see the profile of this user
Re:New feature for 1.7 : Fancy URL 4 Months, 2 Weeks ago Karma: 30  
Hi, Thx for your contribution!!!
Plz open a new feature request in the bugtracker and attach your files there.

Have a look at
docs.limesurvey.org/tiki-index.php?page=...eSurvey+Project+Team
 
Logged Logged  
 
Get in touch with the LimeSurvey Development Team via IRC
If our informations and answers were useful to you, please consider a donation to the LimeSurvey Project!
  The administrator has disabled public write access.
#14010
Zeuh (User)
Fresh Lemon
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:New feature for 1.7 : Fancy URL 4 Months, 2 Weeks ago Karma: 0  
At the moment my patch in not perfect, some links are broken because links are sometimes href="index.php...." instead of href="$relativeurl/index.php....."

I'm going to review all links in the survey part (admin part are not concerned)

After doing this I will post on bugtracker
 
Logged Logged  
  The administrator has disabled public write access.
#14011
lemeur (Admin)
LimeSurvey Team
Posts: 290
graphgraph
User Online Now Click here to see the profile of this user
Re:New feature for 1.7 : Fancy URL 4 Months, 2 Weeks ago Karma: 9  
Hi,

At the moment my patch in not perfect, some links are broken because links are sometimes href="index.php...." instead of href="$relativeurl/index.php....."

Humm... then this is a bug in current release.

If you fix it, could you please make 2 patch files (diff -Nru outputs):
* first one with URL fixed to use relativeurl
* second one with your new feature
==> This will be easier to apply for the team member who is assigned this ticket.

Thanks for your work,
Thibault
 
Logged Logged  
  The administrator has disabled public write access.
#14046
Zeuh (User)
Fresh Lemon
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:New feature for 1.7 : Fancy URL 4 Months, 2 Weeks ago Karma: 0  
No problem :

first patch available #02050 (fix for URL without relativeurl)
 
Logged Logged  
  The administrator has disabled public write access.
Go to top