
Security News
Oxlint Introduces Type-Aware Linting Preview
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
= Xforum This is a javascript dependent forum that is relatively light weight. It's unique feature is that it supports multiple language posting and ask the user community to translate the various posting from other users.
You'd be a bit crazy to use it now at v.0000000001 since this is my first attempt:)
usage include gem 'xforum' in you gem file
bundle install
in your config/routes mount Xforum::Engine => '/xforum', as: 'xforum'
To use as a partial in you page
In application.js //= require xforum/application.js in application.css (or css.scss) *= require xforum/application.css.scss
<%= t('Forum')%> add this javascript so we can hide the area you want hidden when the forum is up
function showPageName() { "use strict"; return 'the-ID-of-div-to-hide'; }
you have to provide your own translation for the label add this where you want the page to display
to use as a separate page. Create a link to xforum/forums/the_page
create xforum_init.rb in config/initializers include in it these two lines Xforum.user_class='User' or whatever you user class is e.g. Member Xforum.user_table='users' or whatever you user table is e.g. members
rake xforum:install:migrations
rake db:migrate
in your user model require 'xforum/user_include.rb'
You now have access to the instance methods Xforum in you model.
forum_reading_privileges? forum_translating_privileges? forum_posting_privileges? forum_admin?
Set ENV variables XFORUM_S3_BUCKET: your_bucket_name XFORUM_PHOTOS: path_to_photos XFORUM_S3_ACCESS_KEY_ID: XFORUM_S3_SECRET_ACCESS_KEY: XFORUM_USE_S3: true XFORUM_LANGUAGES: en;es (list of languages you want active at start.) (for a single language forum don't include the variable)
This project rocks and uses MIT-LICENSE. This is a javascript dependent forum that is relatively light weight. It's unique feature is that it supports multiple language posting and ask the user community to translate the various posting from other users.
You'd be a bit crazy to use it now at v.000001 since this is my first attempt:)
usage include gem in you gem file gem 'xforum' bundle install
in your config/routes mount Xforum::Engine => '/xforum', as: 'xforum'
To use as a partial in you page
In application.js //= require xforum/application.js in application.css (or css.scss) *= require xforum/application.css.scss
add a label so we know to open the forum <%= t('Forum')%> add this javascript so we can hide the area you want hidden when the forum is up
function showPageName() {
"use strict";
return 'the-ID-of-div-to-hide';
}
you have to provide your own translation for the label add this where you want the page to display
to use as a separate page. Create a link to xforum/forums/the_page
create xforum_init.rb in config/initializers include in it these two lines Xforum.user_class='User' or whatever you user class is e.g. Member Xforum.user_table='users' or whatever you user table is e.g. members
rake xforum:install:migrations
rake db:migrate
in your user model require 'xforum/user_include.rb'
You now have access to the instance methods Xforum in you model.
forum_reading_privileges? forum_translating_privileges? forum_posting_privileges? forum_admin?
Set ENV variables XFORUM_S3_BUCKET: your_bucket_name XFORUM_PHOTOS: path_to_photos XFORUM_S3_ACCESS_KEY_ID: XFORUM_S3_SECRET_ACCESS_KEY: XFORUM_USE_S3: true XFORUM_LANGUAGES: en;es (list of languages you want active at start.) (for a single language forum don't include the variable)
FAQs
Unknown package
We found that xforum demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.