Ticket #467 (closed improve feature: fixed)
static maps - on profile page and elsewhere
| Reported by: | philipp | Owned by: | globetrotter_tt |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.5.2-long |
| Component: | BW Profile | Keywords: | |
| Cc: | philipp, midsch, globetrotter_tt |
Description
static google maps are now available.
- could be used to reduce load
- could be used when javascript is disabled
- a dynamic map could be loaded upon click
- they can be used wherever an image can be used
- it should be easy to cache them
- they are currently limited to 50 markers, standard marker icon in 3 colors with one character
Attachments
Change History
comment:2 Changed 4 years ago by feuerdaemon
The profile infos are pushed under the profile picture on FF 2.0.0.12 with Kubuntu. See uploaded picture.
comment:3 Changed 4 years ago by philipp
fixed the problem that the profile info is pushed under the picture - this now only happens when the window is too narrow, so still not perfect.
comment:4 Changed 4 years ago by micha
I think the maps should be rectangular and they should go with a border+title. else it looks really bad. Could you try to generate the maps based on the "terrain" maps by google?
comment:5 Changed 4 years ago by philipp
- border: sure
- title: what kind of title? I think it is pretty obvious what it shows, no?
- rectagular: I agree, it would look much better, but you would hardly see anything if you place it in the header, though one might think of placing it into the main content on the right - well, maybe matthias has some nice ideas here (however it would be nice to fill the teaser with something useful)
- terrain: no unfortunately not, currently static maps only provide normal and mobile (less information, bigger lables) map types.
comment:6 follow-up: ↓ 7 Changed 4 years ago by midsch
- title: what kind of title? I think it is pretty obvious what it shows, no?
-> not if you're blind, block images, what ever. _ALWAYS_ use titles for proper HTML.
comment:7 in reply to: ↑ 6 Changed 4 years ago by philipp
Replying to midsch:
- title: what kind of title? I think it is pretty obvious what it shows, no?
-> not if you're blind, block images, what ever. _ALWAYS_ use titles for proper HTML.
you are probably talking about alternate text for images? yes this should definitely be added! Sorry I thought about some real "title, or caption" on top or below the map.
comment:8 Changed 4 years ago by globetrotter_tt
- Owner set to globetrotter_tt
- Status changed from new to assigned
comment:10 Changed 4 years ago by feuerdaemon
- follow_up changed from test to move to alpha
works fine on test. tested with Kubuntuand FF 3.0
comment:11 Changed 3 years ago by micha
- Cc midsch, globetrotter_tt added
- follow_up changed from move to alpha to test on alpha
- Milestone changed from unassigned to 0.5.2-long
moved to alpha in r5944. Please test.
comment:12 Changed 3 years ago by micha
- Type changed from unknown to improve feature
- Component changed from unknown to BW Profile
ok, on my local install of the production code I get an error, saying "Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\Websites\bw-production\htdocs\bw\member.php on line 115"
As alpha seems to work, I guess that means other files have to be moved than in r5298. Please tell me, which files (or better revisions) have to be moved to production
comment:14 Changed 3 years ago by globetrotter_tt
On alpha i get for every profile except my own: Fatal error: Class 'LinkSinglePictureLinkpathWidget?' not found in /home/bwrox/alpha.bewelcome.org/htdocs/bw/member.php on line 85.
comment:15 Changed 3 years ago by globetrotter_tt
getting rid of the error with disabling the linkpath code from philipp in r5968. What i also noticed is that the footer is missing on old /bw pages. Seems that the rox/templates folder is missing on alpha
comment:16 Changed 3 years ago by micha
- follow_up changed from test on alpha to release
Please move this to production!
comment:17 Changed 3 years ago by micha
- follow_up changed from release to none
- Status changed from assigned to closed
- Resolution set to fixed
Ok, works on production BUT does still now work for other pages like comments, editmyprofile, contact etc. But maybe we really should wait with this till we have the rox-version working!




I created a proof of principle on the profile page and main page - please test, comment and improve if you like.