Redmine Blog Plugin
Added by Andrew Chaika over 15 years ago
Features:
- Blog for users, not related to project
- Posts commenting
- Permissions: view, create, comment
- Post tagging
- Attach files/images to posts
- Tag cloud
- Filter posts by user, tag
- RSS
- Activity/event
Replies (89)
RE: Redmine Blog Plugin - Added by jerry song over 15 years ago
hi,it is my issue:
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your redMine administrator for assistance.
and i test at redmine server,the issue info. is :
Showing blogs/index.rhtml where line #45 raised:
Mysql::Error: Table 'redmine.tags' doesn't exist: SELECT tags.id, tags.name, COUNT() AS count FROM `tags` INNER JOIN taggings ON tags.id = taggings.tag_id INNER JOIN blogs ON blogs.id = taggings.taggable_id WHERE (taggings.taggable_type = 'Blog') GROUP BY tags.id, tags.name HAVING COUNT() > 0
Extracted source (around line #45):
42: <div class="box">
43: <h3 class="icon22 icon22-tags"><%=l(:label_tag_cloud)%></h3>
44: <div class="tags">
45: <% tag_cloud Blog.tag_counts, w(css1 css2 css3 css4) do |tag, css_class| %>
46: <= link_to tag.name, { :action => :show_by_tag, :id => tag.name }, :class => css_class >
47: < end %>
48: </div>
RE: Redmine Blog Plugin - Added by Akiko Takano over 15 years ago
Hello.
I've installed Blog plugin and it's so useful for our members.
But I have a few question and requests.
1. Question about permission:
Anonymous user can see Blog contents via index or tag when I unchecked "view blog" flag to Anonymous user. But anonymous user can not access to each blog item via show acction. Is this expected work? I hope only autholized users enabled to access blog contents.
2. RSS feed:
I foud some lines to feed in blogs_controller.rb and I trued to access with the parameter for feed, such as "format=atom", but I could not see the result. Has this feature been not implemented yet?
I'm sorry if I have misunderstood about this plugin's use.
RE: Redmine Blog Plugin - Added by w Li over 15 years ago
I just installed 0.0.4. This plugin is awesome!
but one thing that bugs me the most now is that all blog posts are kinda visually hard tell apart on the blog page. They adhere to each too closely. A clear boundary or box between each post would make it look nicer.
Also, on the front blog page, it would be better if it only shows a small part of each post in case some posts are too long
Thanks,
RE: Redmine Blog Plugin - Added by Andrew Chaika over 15 years ago
w Li wrote:
Also, on the front blog page, it would be better if it only shows a small part of each post in case some posts are too long
I have a new version of plugin. There are a special "macros" {{more}}, that implements described functionality. All that bellow it in post will be cut out in "index" action.
In this version RSS is implemented too.
RE: Redmine Blog Plugin - Added by Sheldon Kotyk over 15 years ago
I just installed 0.5
When I click on the blog link in the main navigation I get an error.
NameError in BlogsController#index
uninitialized constant Blog::Approval
This error occurred while loading the following files:
..../vendor/plugins/redmine_blogs/app/models/blog
RE: Redmine Blog Plugin - Added by Andrew Chaika over 15 years ago
When I click on the blog link in the main navigation I get an error.
fixed in 0.0.6 version
RE: Redmine Blog Plugin - Added by Sheldon Kotyk over 15 years ago
Clicked on blogs running 0.6 and got this error.
NoMethodError in Blogs#index
Showing blogs/index.rhtml where line #68 raised:
undefined method `other_formats_links' for #<ActionView::Base:0x1e02364>
Extracted source (around line #68):
65: <% end >
66: <p class="pagination"><= pagination_links_full @blogs_pages ></p>
67:
68: < other_formats_links do |f| >
69: <= f.link_to 'Atom', :url => { :key => User.current.rss_key } >
70: <= f.link_to 'RSS', :url => { :key => User.current.rss_key } >
71: < end %>
RE: Redmine Blog Plugin - Added by Andrew Hamilton over 15 years ago
Hi,
I've installed Redmine Blogs 0.6 (running Redmine 0.8.4) and followed the instructions on how to install it.
I've setup the permissions in the Administration section, but it doesn't seem to be working. When I go to http://projects.example.com/blogs I get an internal server error (500)
Internal error An error occurred on the page you were trying to access. If you continue to experience problems please contact your redMine administrator for assistance. Back
Any ideas what's gone wrong?
Thanks in advance,
/ Hami
RE: Redmine Blog Plugin - Added by WenSong Zhou over 15 years ago
Hello.
I configured my redmine home page automatic redirect to the wiki page http://www.redmine.org/boards/2/topics/1176
How to show "Bolgs" on the top-menu or per project ?
RE: Redmine Blog Plugin - Added by Andrew Chaika over 15 years ago
Andrew Hamilton wrote:
I've installed Redmine Blogs 0.6 (running Redmine 0.8.4) and followed the instructions on how to install it.
I've setup the permissions in the Administration section, but it doesn't seem to be working. When I go to http://projects.example.com/blogs I get an internal server error (500)
...
There is no error description in your post, it can be found in your log/production.log.
WenSong Zhou wrote:
I configured my redmine home page automatic redirect to the wiki page http://www.redmine.org/boards/2/topics/1176
How to show "Bolgs" on the top-menu or per project ?
You can change line №29 in vendor/plugins/redmine_blogs/init.rb:
menu :application_menu, :blogs, { :controller => 'blogs', :action => 'index' }, :caption => 'Blogs'
instead application_menu you can use top_menu, project_menu or account_menu.
RE: Redmine Blog Plugin - Added by WenSong Zhou over 15 years ago
Hello.
I have another question :
How to connect with another blog page, such as syntax [[blog_page]]
RE: Redmine Blog Plugin - Added by Andrew Chaika over 15 years ago
WenSong Zhou wrote:
How to connect with another blog page, such as syntax [[blog_page]]
Like any other link in textile:
"My blog post 1":http://www.my-redmine-example.com/blogs/show/1
But you can use links to projects wikis:
[[ProjectName:PageName]]
RE: Redmine Blog Plugin - Added by Paul paul over 15 years ago
Trying Blogs 0.0.6 on RM 0.8.4
Clicking "Blogs" gives me "Application error. Rails application failed to start properly"
The rest of Redmine (and all the plugins) run just fine.
What do I do?
Thanks!
RE: Redmine Blog Plugin - Added by steve tierney over 15 years ago
Paul paul wrote:
Trying Blogs 0.0.6 on RM 0.8.4
Clicking "Blogs" gives me "Application error. Rails application failed to start properly"The rest of Redmine (and all the plugins) run just fine.
What do I do?
Thanks!
Check your Redmine log. If you're getting some sort of database error regarding a table not being found: try re-installing the plug-in. This happened with our installation. Deleting the plugin, re-installing it, re-raking it, rebooting Redmine resolved it.
Your Redmine log should give you the specific Application error and point you in the right direction at the very least.
RE: Redmine Blog Plugin - Added by Andrew Hamilton over 15 years ago
Andrew Chaika wrote:
There is no error description in your post, it can be found in your log/production.log.
Hey Andrew, thanks for the quick reply - here's the error from the log...
Processing BlogsController#index (for 58.96.24.62 at 2009-08-31 22:18:40) [GET] Session ID: cf61f6b3a515e4bf024ee714046a7de0 Parameters: {"action"=>"index", "controller"=>"blogs"} Rendering template within layouts/base Rendering blogs/index ActionView::TemplateError (undefined method `other_formats_links' for #<ActionView::Base:0xb5ac3ae0>) on line #68 of blogs/index.rhtml: 65: <% end %> 66: <p class="pagination"><%= pagination_links_full @blogs_pages %></p> 67: 68: <% other_formats_links do |f| %> 69: <%= f.link_to 'Atom', :url => { :key => User.current.rss_key } %> 70: <%= f.link_to 'RSS', :url => { :key => User.current.rss_key } %> 71: <% end %> vendor/plugins/redmine_blogs/app/views/blogs/index.rhtml:68:in `_run_erb_47vendor47plugins47redmine_blogs47app47views47blogs47index46rhtml' vendor/rails/actionpack/lib/action_view/base.rb:342:in `send' vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute' vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send' vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render' vendor/rails/actionpack/lib/action_view/template.rb:35:in `render' vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template' vendor/rails/actionpack/lib/action_view/base.rb:248:in `render_file' vendor/rails/actionpack/lib/action_controller/base.rb:1112:in `render_for_file' vendor/rails/actionpack/lib/action_controller/base.rb:845:in `render_with_no_layout' vendor/rails/actionpack/lib/action_controller/layout.rb:251:in `render_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render' vendor/rails/actionpack/lib/action_controller/base.rb:1161:in `default_render' vendor/rails/actionpack/lib/action_controller/base.rb:1167:in `perform_action_without_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:579:in `call_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching' vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `passenger_orig_perform_action' vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache' vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `passenger_orig_perform_action' /dh/passenger/lib/passenger/railz/request_handler.rb:53:in `perform_action' vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send' vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:568:in `process_without_session_management_support' vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process' vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch' /dh/passenger/lib/passenger/railz/request_handler.rb:38:in `process_request' /dh/passenger/lib/passenger/abstract_request_handler.rb:165:in `main_loop' /dh/passenger/lib/passenger/railz/application_spawner.rb:321:in `start_request_handler' /dh/passenger/lib/passenger/railz/application_spawner.rb:282:in `handle_spawn_application' /dh/passenger/lib/passenger/utils.rb:163:in `safe_fork' /dh/passenger/lib/passenger/utils.rb:161:in `fork' /dh/passenger/lib/passenger/utils.rb:161:in `safe_fork' /dh/passenger/lib/passenger/railz/application_spawner.rb:280:in `handle_spawn_application' /dh/passenger/lib/passenger/utils.rb:163:in `safe_fork' /dh/passenger/lib/passenger/utils.rb:161:in `fork' /dh/passenger/lib/passenger/utils.rb:161:in `safe_fork' /dh/passenger/lib/passenger/railz/application_spawner.rb:279:in `handle_spawn_application' /dh/passenger/lib/passenger/abstract_server.rb:317:in `__send__' /dh/passenger/lib/passenger/abstract_server.rb:317:in `main_loop' /dh/passenger/lib/passenger/abstract_server.rb:168:in `start_synchronously' /dh/passenger/lib/passenger/abstract_server.rb:135:in `start' /dh/passenger/lib/passenger/abstract_server.rb:112:in `fork' /dh/passenger/lib/passenger/abstract_server.rb:112:in `start' /dh/passenger/lib/passenger/railz/application_spawner.rb:179:in `start' /dh/passenger/lib/passenger/spawn_manager.rb:222:in `spawn_rails_application' /dh/passenger/lib/passenger/spawn_manager.rb:217:in `synchronize' /dh/passenger/lib/passenger/spawn_manager.rb:217:in `spawn_rails_application' /dh/passenger/lib/passenger/spawn_manager.rb:126:in `spawn_application' /dh/passenger/lib/passenger/spawn_manager.rb:251:in `handle_spawn_application' /dh/passenger/lib/passenger/abstract_server.rb:317:in `__send__' /dh/passenger/lib/passenger/abstract_server.rb:317:in `main_loop' /dh/passenger/lib/passenger/abstract_server.rb:168:in `start_synchronously' /dh/passenger/bin/passenger-spawn-server:46 Rendering /home/.server/path/to/install/public/500.html (500 Internal Server Error)
thanks,
/ Hami
RE: Redmine Blog Plugin - Added by Sheldon Kotyk over 15 years ago
I'm getting the same error as Hami above.
RE: Redmine Blog Plugin - Added by Luca Pireddu over 15 years ago
I don't think the other_formats_links method has made it into the stable branch yet. I don't see it defined in app/helpers/application_helper.rb. For I got the page to display by changing in redmine_blogs/app/views/blogs/index.rhml the lines
<% other_formats_links do |f| %> <%= f.link_to 'Atom', :url => { :key => User.current.rss_key } %> <%= f.link_to 'RSS', :url => { :key => User.current.rss_key } %> <% end %>
to
<p class="other-formats"> <%= link_to 'Atom', :url => { :key => User.current.rss_key } %> <%= link_to 'RSS', :url => { :key => User.current.rss_key } %> </p>
I haven't tested whether the feed links actually work though.
RE: Redmine Blog Plugin - Added by W. BM over 15 years ago
Hi all,
I finally got the plugin working somehow, version 0.0.6, after inserting the code-snippet above from Luca Pireddu.
All rights are set up as described in this thread, but I still can't get the plugin to work correctly.
I'm running redmine on a virtual Win2k Server (64bit) and it took me a while to set up Rails to run Redmine.
So, the Blog-Plugin ist linked in the application menu and I don't get the internal error message.
There's no "new post" button though.
What am I doing wrong?
Thanks in advance...
rights.png (69.2 KB) rights.png | How I set the rights... |
RE: Redmine Blog Plugin - Added by Luca Pireddu over 15 years ago
I was puzzled too. You have to log in as an administrator and edit Roles and Permissions. You'll find new settings for commenting, viewing and managing blogs.
About this plugin, would it be difficult to include the blogs' content in the search engine?
RE: Redmine Blog Plugin - Added by Maic Haubitz about 15 years ago
Hi Folks.
I just tried to translate the plugin into German. I created two files "de.yml" (copies of "en.yml") in the following folders:- redmine_blogs/lang
- redmine_blogs/config/locales
Unfortunately, the frontend still shows the names of the labels (e.g. "label_blog_plural") instead of the appropriate texts. Any ideas?
Reagrds,
Maic
RE: Redmine Blog Plugin - Added by Simon Romans about 15 years ago
Hi,
Can this blog be setup so an Email is sent when a new blog is added.
Even better you can watch a blog and emails are sent if someone comments on that blog.
RE: Redmine Blog Plugin - Added by Daniel Hazelbaker about 15 years ago
Does this plugin work with the latest SVN? I am currently running 0.8.5.devel.2924 and am having errors. To start with, on first load everything is fine. On second load, I get an exception. I edited the lib/application_helper_global_patch.rb and commented out the unloadable line. Then the site worked. Until I actually added a blog entry. Once I added a blog entry I again got exceptions, at that point I decided not continue tracking down problems until I checked if 0.0.6 should work with the latest SVN or not. If yes, I will post the second error.
RE: Redmine Blog Plugin - Added by Maic Haubitz about 15 years ago
Maic Haubitz wrote:
Hi Folks.
I just tried to translate the plugin into German. I created two files "de.yml" (copies of "en.yml") in the following folders:
- redmine_blogs/lang
- redmine_blogs/config/locales
Unfortunately, the frontend still shows the names of the labels (e.g. "label_blog_plural") instead of the appropriate texts. Any ideas?
Reagrds,
Maic
Issue solved. Another restart of the redmine services helped in this matter.