Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#355 closed new feature (fixed)

Reintroduce blogs and trips again!

Reported by: micha Owned by: micha
Priority: major Milestone: 0.5.2
Component: BW General Keywords: blog trip tb xml
Cc: Micha, matthias

Description

To reintroduce we have to make sure:

  • XML-errors don't show up
  • the blog is well-integrated in the website -> on profile page, on main-menu, etc.
  • remove reference to "trip"-application for now
  • make sure, categories work or are safely removed before release

Optional

  • Provide an eye-catching public view of the blog (an own template) for non-logged users. So that people have even a better reason to use our blogs (and later the trips)...

Attachments (2)

Bild 1.png (163.3 KB) - added by crumbking 10 years ago.
crumbking1
Bild-2.jpg (188.4 KB) - added by crumbking 10 years ago.
crumbking2

Download all attachments as: .zip

Change History (45)

comment:1 Changed 11 years ago by micha

  • Type changed from bug to new feature

comment:2 Changed 11 years ago by jaliste

Making blogs public would conflict with #65, or unleast should be implemented in conjuction! The reason is that we would need a more advance permission system(that the proposed in #65) so we can decide in a image by image basis if the image is public or not.

comment:3 Changed 11 years ago by micha

  • freq_reported set to 1
  • Owner set to micha
  • show_on_bw set to 0
  • Status changed from new to assigned

still, I think it's worth working on this. TB already has a setting for making "the content" of blogs available to 1) the public, 2) your friends, 3) none but yourself.

Most importantly for now I will try to give an end to the bugs in the application..

comment:4 Changed 11 years ago by micha

  • follow_up changed from none to test
  • freq_reported changed from 1 to 5
  • Summary changed from Reintroduce blogs again! to Reintroduce blogs and trips again!

Ok, I improved the blogs and trips slightly. Please test on test.bewelcome.org

The trips application: http://test.bewelcome.org/trip

Example for a trip: http://test.bewelcome.org/trip/5

The blogs application: http://test.bewelcome.org/blog

Example for a blog post: http://test.bewelcome.org/blog/admin/6

Also check out the public view for a blog post (when not logged in).

comment:5 Changed 11 years ago 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

lets reintroduce them as beta soon

comment:6 Changed 11 years ago by micha

  • freq_reported changed from 5 to >5
  • show_on_bw changed from 0 to 1

Further improvements to the blogs. Uploaded in r[4723] Nearly in a stage for production I would say.. Only a few things missing from my point of view:

  • CSS changes to improve the look of tags
  • repair Category-Selection on Blog-creation (only works for Editing a post afterwards for now)
  • repair the look of the Fieldset-Menu
  • remove last PHP-errors on trip-selection. It works anyway but looks bad right now.
  • maybe make the maps for every blog-entry smaller
  • integration into menu-structure of BW. Best would be a tab under the member-profile for now!

The next steps for very cool blogs:

  • nice integration of pictures that can be downloaded or just integrated via an image-tag
  • even better connection to the trips (we have to improve the trips for that first!) and the meetings-page (I hope mahouni is still working on that)

comment:7 follow-up: Changed 11 years ago by micha

Sorry for the bad layout.. Again:


Further improvements to the blogs. Uploaded in r[4723] Nearly in a stage for production I would say.. Only a few things missing from my point of view:

  • CSS changes to improve the look of tags
  • repair Category-Selection on Blog-creation (only works for Editing a post afterwards for now)
  • repair the look of the Fieldset-Menu
  • remove last PHP-errors on trip-selection. It works anyway but looks bad right now.
  • maybe make the maps for every blog-entry smaller
  • integration into menu-structure of BW. Best would be a tab under the member-profile for now[[BR]]


The next steps for very cool blogs:

  • nice integration of pictures that can be downloaded or just integrated via an image-tag
  • even better connection to the trips (we have to improve the trips for that first!) and the meetings-page (I hope mahouni is still working on that)

comment:8 Changed 10 years ago by micha

I started the gallery integration into "trips": r4890

comment:9 in reply to: ↑ 7 Changed 10 years ago by micha

Let's see what we achieved so far:

  • CSS changes to improve the look of tags

Done.

  • repair Category-Selection on Blog-creation (only works for Editing a post afterwards for now)

Done.

  • repair the look of the Fieldset-Menu

Done.

  • remove last PHP-errors on trip-selection. It works anyway but looks bad right now.

Done.

  • maybe make the maps for every blog-entry smaller

Done.

  • integration into menu-structure of BW. Best would be a tab under the member-profile for now[[BR]]

Not done yet. Should I just put a tab under the member-profile?


The next steps for very cool blogs:

  • nice integration of pictures that can be downloaded or just integrated via an image-tag

How can we achieve this?

  • even better connection to the trips (we have to improve the trips for that first!) and the meetings-page (I hope mahouni is still working on that)

comment:10 Changed 10 years ago by globetrotter_tt

When i create a new blogentry i still get an XML error after i klick on the submit button. The other pages worked good for me so far.

The link "map" leads to the mainpage (i am afraid this was broken by my commit [5175] )

comment:11 follow-up: Changed 10 years ago by micha

Ok, Matthias could you please give a detailed bug report on this?
I tried it again and I just dont get this XML-error. Write down, what options you chose and with which user you are logged in.

comment:12 Changed 10 years ago by henri

If I click on "Create a trip" when surfing this site with henri: http://test.bewelcome.org/trip

I get: Notice: Undefined variable: User in /var/www/test_html/build/trip/trip.ctrl.php on line 52

If I click on "Details of this trip, Map, ..." when surfing this site: http://test.bewelcome.org/trip/show/my

I get: Notice: Trying to get property of non-object in /var/www/test_html/build/trip/trip.view.php on line 42

Notice: Trying to get property of non-object in /var/www/test_html/templates/apps/trip/singletrip.php on line 16

Notice: Trying to get property of non-object in /var/www/test_html/templates/apps/trip/singletrip.php on line 16

Notice: Trying to get property of non-object in /var/www/test_html/templates/apps/trip/singletrip.php on line 36

crumbking

comment:13 in reply to: ↑ 11 Changed 10 years ago by globetrotter_tt

Replying to micha:

Ok, Matthias could you please give a detailed bug report on this?
I tried it again and I just dont get this XML-error. Write down, what options you chose and with which user you are logged in.

Hmmm, i could not reproduce the XML-error again on creating a new blogentry. I will give you a more detailed report when i get another error message.

comment:14 Changed 10 years ago by globetrotter_tt

I remember about the maplink now. I commented out the whole google map script, because it takes an eternity to load the "blog overview" page if there are many blogs that include a map.

Maybe we should reconsider this link ?

comment:15 Changed 10 years ago by philipp

when I edit a blog post and try to save it afterwards I always get an error on test

A terrible PException was thrown

exception 'PException' with message 'MySQL error!' in /var/www/test_html/lib/db/db_mysql.lib.php:221 Stack trace: #0 /var/www/test_html/build/blog/blog.model.php(1001): PDB_mysql->exec('?INSERT INTO `b...') #1 /var/www/test_html/build/blog/blog.ctrl.php(597): Blog->updateBlogToCategory('21', false) #2 [internal function]: BlogController?->editProcess() #3 /var/www/test_html/lib/handler/posthandler.lib.php(101): call_user_func(Array) #4 /var/www/test_html/lib/handler/posthandler.lib.php(51): PPostHandler->save() #5 /var/www/test_html/tools/routing/roxfrontrouter.class.php(170): PPostHandler::get() #6 /var/www/test_html/tools/routing/roxfrontrouter.class.php(136): RoxFrontRouter?->traditionalPostHandling() #7 /var/www/test_html/tools/routing/roxfrontrouter.class.php(24): RoxFrontRouter?->route_normal(Object(stdClass)) #8 /var/www/test_html/roxlauncher/roxlauncher.php(54): RoxFrontRouter?->route(Object(stdClass)) #9 /var/www/test_html/roxlauncher/roxlauncher.php(22): RoxLauncher?->chooseAndRunApplication(Object(EnvironmentExplorer?)) #10 /var/www/test_html/htdocs/index.php(62): RoxLauncher?->launch() #11 {main}

comment:16 Changed 10 years ago by micha

Wow, that's nasty. I will look into it.

comment:17 Changed 10 years ago by micha

  • freq_reported changed from >5 to >10

updated in r5623. Should be fixed. Please test the trips and blogs!!

comment:18 Changed 10 years ago by micha

Next update on trips. See r5627

comment:19 Changed 10 years ago by globetrotter_tt

some quick feedback to trips:

  • the map as it is displayed now looks confusing as it is repeated vertical and shows the continent twice or more. Better display the map smaller, but then show the world only one times ;-)
  • clicking on the orange flags has no effect. Shouldn't be there a short summary of the trip shown with a click/mouseover ?
  • there should be a sort introduction what this feature is about.
  • the layout about the listed trip looks a bit chaotic and should be improved.
  • is there already a function for "favourite trips" and "user with great galleries" ? Otherwise i wouldn't display it in the sidebar for now.

Changed 10 years ago by crumbking

crumbking1

comment:20 Changed 10 years ago by crumbking

I agree with the point of Mathias.

  • seems like I can drag/drop the orange flags on the map but I don't really understand why?
  • I get some black boxes around text and in the header (see screen shots)

What is the difference between a normal blog entry and a trip? How are they both connected? I mean can I write a blog without being on a trip?

but in general that is the way to go ... nice! :)

Changed 10 years ago by crumbking

crumbking2

comment:21 Changed 10 years ago by globetrotter_tt

I think we should make it clearer that a trip is a collection of blog entries. Also the navigation between blogs, trips and the gallery should be better. Maybe the best is to have links between all the apps in the sidebar. If we remove "favourite trips" and "user with great galleries" there will be more space.

Another thing i would like to see, is that you can embed the photos from your gallery inside your blogposts.

comment:22 Changed 10 years ago by philipp

coool!

  • on this http://test.bewelcome.org/trip/9 I don't see the map (while it works on the other trip pages, including my own http://test.bewelcome.org/trip/10)
  • the date function is broken (as you know), it is not possible to enter any meaningful dates
  • how about linking photo sets to blog posts (trip items) instead of the whole trip?
  • I am still lost what to do next after creating a trip (I would like to have a BIG "create your first blog posts / trip item)
  • the map zoom level set is not useful if the distance between the trips is bigger than on regional level - maybe let it focus to fit all markers?

comment:23 Changed 10 years ago by micha

more in r5649

comment:24 follow-up: Changed 10 years ago by micha

  • Cc matthias added

I will comment on your feedback soon.

@Matthias: Could you please try to fix the input-field that is shown on the map? It should have paddings around it on all sides but currently it is cropped at the bottom. Look at http://test.bewelcome.org/trip to understand what I mean. If I remove the "display:inline" CSS-property, it displays correctly in Firefox but without any background-color in IE. Maybe you can make it work with both! Thanks..

comment:25 Changed 10 years ago by micha

http://test.bewelcome.org/trip/9 works now. It was only an escaping-problem[[BR]]
I integrated a location-based trip search too. Very simple, but works.

Autozoom works for singletrips too, now.

comment:26 Changed 10 years ago by micha

@Matthias: You can already embed pictures in your blogposts. But it's not a native way to do so, yet. Copy the location of the picture/thumbnail on our server and on blog-creation click the image-button and insert the copied URL. That's it. You can define yourself where in the blog a picture should be displayed.

@Philipp: After trip-creation you end up at the just created trip >> Now, click on the link in the main column to create a new post. Is that more userfriendly to you?

@All: I would appreciate some help on the layout of the trips-list. As Matthias already said: It looks a bit chaotic now. A better alignment, other font-styles, maybe another column or whatever could help here. Suggestions very welcome - also graphical drafts ;)

comment:27 in reply to: ↑ 24 Changed 10 years ago by globetrotter_tt

Replying to micha:

@Matthias: Could you please try to fix the input-field that is shown on the map? It should have paddings around it on all sides but currently it is cropped at the bottom. Look at http://test.bewelcome.org/trip to understand what I mean. If I remove the "display:inline" CSS-property, it displays correctly in Firefox but without any background-color in IE. Maybe you can make it work with both! Thanks..

Hmmmm... I don't know if it's good to display it that way. Manuel even thought it is an error:

I get some black boxes around text and in the header (see screen shots)

Can't we just display it without the black background ? I think it looks even nicer. What about a calender graphic as background instead of a black box ?

Thanks for the hint with the photo in the blog post. Works fine for me :-) I will have a look at the trip template and css this weekend. Basically some more margin between the blogposts, less links and lists can already help.

comment:28 Changed 10 years ago by micha

Thanks for the hint with the photo in the blog post. Works fine for me :-) I will have a look at the trip template and css this weekend. Basically some more margin between the blogposts, less links and lists can already help. 

Alright! That sounds good. Looking forwards to your modifications..

Can't we just display it without the black background ? I think it looks even nicer. What about a calender graphic as background instead of a black box ?

Actually I removed a calender graphic already to make it more lightweight. The black-backgrounds I liked because they are clear but divide the parts in the website. Maybe we can adjust the color? But I agree, it's very bad if Manuel takes it as an error ;) (although I think this might be because it had a totally different layout before, so new users might just take it as it is)

Good news: Today I just tried to implement blog-entry-creation right from the trips. And you know what? It worked very well. The only problem is that it's quite a lot of data that has to be loaded to display the page. I think I will upload a test-version of it today.

comment:29 Changed 10 years ago by micha

  • follow_up changed from test to release

trips moved to alpha in r5878 and blogs in r5873

comment:30 Changed 10 years ago by micha

scripts in r5879, also to be moved to production

comment:31 Changed 10 years ago by crumbking

some bugs on alpha:

I created a trip (Ocean in September) and ticked the box open a gallery. Than there was a link in the bar with something like: upload pictures for the trip than I uploaded 2 pics. After click on upload following error:

Warning: Missing argument 2 for MOD_images_Image::construct(), called in /home/bwrox/alpha.bewelcome.org/build/gallery/gallery.model.php on line 654 and defined in /home/bwrox/alpha.bewelcome.org/modules/images/lib/image.lib.php on line 12

Notice: Undefined variable: username in /home/bwrox/alpha.bewelcome.org/modules/images/lib/image.lib.php on line 13

Warning: Missing argument 2 for MOD_images_Image::construct(), called in /home/bwrox/alpha.bewelcome.org/build/gallery/gallery.model.php on line 654 and defined in /home/bwrox/alpha.bewelcome.org/modules/images/lib/image.lib.php on line 12

Notice: Undefined variable: username in /home/bwrox/alpha.bewelcome.org/modules/images/lib/image.lib.php on line 13

Warning: Cannot modify header information - headers already sent by (output started at /home/bwrox/alpha.bewelcome.org/modules/images/lib/image.lib.php:12) in /home/bwrox/alpha.bewelcome.org/lib/handler/posthandler.lib.php on line 70

After "back" in my browser the pic are uploaded.


Another one while creating a blog post: Second tab (BlogCreateTrips_LabelLocation:) after a search for Halle this:

Fatal error: Call to undefined method Blog::suggestLocation() in /home/bwrox/alpha.bewelcome.org/build/blog/blog.ctrl.php on line 144

comment:32 Changed 10 years ago by micha

@Manuel: I fixed both errors. Thanks for the feedback and don't forget to delete the pictures, that you uploaded on alpha. Otherwise, they will show up as missing on production (DB is the same, picture directory isn't)

more bugs?

comment:33 Changed 10 years ago by micha

  • follow_up changed from release to none

comment:34 Changed 10 years ago by micha

  • follow_up changed from none to release

oops

comment:35 Changed 10 years ago by micha

  • follow_up changed from release to none
  • Resolution set to fixed
  • Status changed from assigned to closed

I am crazy but rests moved to production in r5893-r5898. Please test.

comment:36 Changed 10 years ago by philipp

great!

it is terribly slow, and the remaining things listed above still need to be fixed but it already is a great feature. Why should we test on production?

comment:37 Changed 10 years ago by crumbking

Great works wonderful on production :) Just in write blog/settings

Settings label_vis BlogCreateSettings_LabelVispublic

BlogCreateSettings_DescriptionVispublic BlogCreateSettings_LabelVisprotected

BlogCreateSettings_DescriptionVispublic BlogCreateSettings_LabelVisprivate

BlogCreateSettings_DescriptionVisprivate

Dont really understand that? What does that mean?

comment:38 Changed 10 years ago by crumbking

There is no access for trips??!? (I mean a navigation button) Or I can't find it?

While I was deleting my alpha photoset (even if it said "do you really wanna delete this gallery?) I thought the pics were removed,too. No I had to delete them manually. Could be deleted with the photoset. And rename the delete gallery to delete photoset, or something ...

:)

But I love it already ;)

comment:39 Changed 10 years ago by crumbking

and another one ...

my title renames are not seen in the member gallery (latest pics)

Ohh!! just checked the title and description doesn't save and get lost ...

comment:40 follow-up: Changed 10 years ago by crumbking

wow! you even can add photos to other users photosets (drop down)

I think this should be removed! Its kind of photosets spamming ;)

Should be just allowed to your own photosets.

comment:41 in reply to: ↑ 40 Changed 10 years ago by micha

Replying to crumbking:

wow! you even can add photos to other users photosets (drop down)

I think this should be removed! Its kind of photosets spamming ;)

Should be just allowed to your own photosets.

I still have to translate that. The above bug in gallery has been fixed.

Sorry, philipp for misusing production as a testing site but I had the feeling that noone else is trying to move my tickets and crumbking and us three is really not enough people for testing. So it has to be said: I'm breaking the rules on purpose. :(

comment:42 Changed 10 years ago by micha

I fixed quite some stuff. (photosets) And Manuel: try to comment on the gallery in this ticket: #267

comment:43 Changed 10 years ago by crumbking

just collect some minor bugs:

*blog_categories (should be renamed into Categories)
*RSS Feeds doesn't work: Mit dieser XML-Datei sind anscheinend keine Style-Informationen verknüpft. Nachfolgend wird die Baum-Ansicht des Dokuments angezeigt.
*while not logged in: comments for blogs, pictures etc.:"PleaseRegister" rename to "Say something. <link>Signup for BeWelcome<link> or <link>register a new member profile<link> (it's free to join)."

<link> I mean create a link to the signup page.

Note: See TracTickets for help on using tickets.