rainlab / forum-plugin Goto Github PK
View Code? Open in Web Editor NEWA simple embeddable forum
License: Other
A simple embeddable forum
License: Other
An exception has been thrown during the rendering of a template ("Missing argument 2 for October\Rain\Html\Helper::limit(), called in
/vendor/october/rain/src/Support/Str.php on line 94 and defined").
{% for post in posts %}
{% set topic = post.topic %}
<tr class="forum-topic">
<td>
{{ str_limit_html(post.content_html, 100)|raw }}
</td>
<td class="activity-column">
<p>
Posted in
<a href="{{ topic.url }}?page=last#post-{{ post.id }}">{{ topic.subject }}</a>
{{ post.updated_at.diffForHumans }}
When you make a post in a thread, the thread list shows '1 replies'. It shouldn't - there have been no replies yet. Showing 0 would work better as it would immediately let forum visitors know that a question has so far gone unanswered.
If I own a plugin that I'm selling to customers I'd like to receive an email for every post made. I don't want to miss anything when it comes to supporting paying customers and reputation is important when it comes to future sales.
I'd like to be able to at-a-glance see the latest posts made in any area of the forum. It's always nice to see the latest forum activity and helps visitors notice posts they may otherwise not notice.
Underneath the post title I'd like to see the channel the topic was posted in (with a link to that channel). This would allow mods to better know whether a post needs to be moved. It would also help at-a-glance for regular visitors to know what kind of post a topic is for.
I'd like to be able to preview my rendered markdown before posting.
Call to a member function gt() on a non-object
plugins/rainlab/forum/models/ChannelWatch.php line 61
Posts simply won't get read by anyone besides the plugin author if they're posted in the Support tab of their appropriate plugin. I propose adding a new channel (or using the Plugin Support channel) that displays all posts from all marketplace plugins.
Extend the user form with a forum tab, and checkbox Is Forum Moderator
If a thread is getting out of hand I'd like to be able to close it.
Thread owner and moderators should be able to mark threads as 'solved'. Makes it easier for visitors to know which threads to look in.
Is it possible to allow posts without any registration, eventually as per channel setting?
I planned to use it as comment system for a blog, and should be possible without registration…
It seems, the forum is vulnerable to xss attacks, specifically in code-blocks. They dont seem to be excaped properly:
http://octobercms.com/forum/post/how-to-display-pictures-in-backend-lists#post-5259
Call to a member function gt() on a non-object
/public_html/plugins/rainlab/forum/models/TopicWatch.php line 60
Following the steps in the Building a Blog and forum video, when I try to embed a topic on a forum post, viewing the post shows an error page.
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'parent_id' in 'where clause' (SQL: select * from rainlab_forum_topics
where embed_code
= second-post and parent_id
= 11 limit 1)
rainlab_forum_topics table has an embed code column where NULL is populated and no column for parent_id
I manually added the column and the error goes away and the page loads, but I'm not sure what to populate the field with for rows that have already been created.
Can we get an email if our username is mentioned in a thread regardless of whether or not we've reached our 1-email limit please?
While entering a member page, on latest post you can see a bad formatting, which gives weird marks � and also can't see markdown code used in topic page.
Looking to add a page/block that will show the latest posts across the forum, obviously it should obey permissions and the hidden attribute on the channels etc
ability to change channel image, so some channel will have their image, and post icon such as : question, discussion, etc
thanks
Hello, currently there is a problem with the Topic component, if it comes to the else case here: https://github.com/rainlab/forum-plugin/blob/master/components/Topic.php#L157-L160
Obviously, the following line will result in a fatal error (Call to member function on a non-object), which is not nice to present to the end user.
After I move a post, rather than have it disappearing from the thread it was in, a line should remain there saying 'Moved to <thread>'
Profile pages currently show just about nothing. They should show posts, threads and support events to display extra information (for example on the live site we want to see marketplace plugins).
Forum needs an option to receive emails for follow up posts in threads you've commented in. And a mute option to stop excessive emails on spammy threads.
A forum member submitted this post and it appeared in my email inbox like so:
This could be formatted much nicer.
Hi all,
I have a embedded comment is repeated in every posts in my blog. May I know what is the problem?
please bring this one back, or another alt for markdown
thanks
Hello,
when creating a Post in the Form, the input is not properly sanitized. It is possible to inject arbitrary html and javascript scripts which leads to an XSS vulnerability. (Possibility to cookie theft and account-hijacking)
This is consideres to be critical and needs fast fix ;)
Just tried to install this plugin on a fresh install and get the following error.
Update failed
"SQLSTATE[HY000]: General error: 1364 Field 'nest_left' doesn't have a default value (SQL: insert into rainlab_forum_channels
(title
, description
, slug
, updated_at
, created_at
) values (Channel Orange, A root level forum channel, channel-orange, 2015-03-20 15:29:02, 2015-03-20 15:29:02))" on line 620 of /www/sites/motoprofile/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
In a bit of a rush so haven't been able to supply the usual information.
Regards,
Jon
When clicking on a topic assigned to a plugin, the plugin name should link to the plugin page on marketplace.
If a word starts with an @ symbol, if a form user with that symbol exists, it should link to them automatically.
Makes it easier/faster to find the correct area in the 'Move To' drop down moderators have.
I'm now getting this error whenever I try to update or re-install the forum plugin:
[Exception]
A node cannot be moved to a descendant of itself.
It doesn't seem to be getting past v1.0.1 in the install process by looking at the DB forum version.
EDIT: from a fresh install, it's not even creating the DB tables.
SQLSTATE[42703]: Undefined column: 7 ERROR: column "id" does not exist LINE 1: ...ed_at", "created_at") values ($1, $2, $3, $4) returning "id" ^ (SQL: insert into "rainlab_forum_topic_followers" ("member_id", "topic_id", "updated_at", "created_at") values (1, 1, 2015-05-19 19:56:41, 2015-05-19 19:56:41) returning "id")
The file plugins/rainlab/forum/models/Post.php
was modified in b89e41d but I never received a plugin update notice in the backend. I had to manually change my file. This error was preventing users from creating and commenting on posts. Does version.yaml need to be updated to reflect this change?
i cant choose channel in embed topic
/plugins/rainlab/forum/components/EmbedTopic.php line 70
The forum nags me about being insecure due to your use of a HTTP fallback URL on gravatar:
<img src="//www.gravatar.com/avatar/7a3689e6d923fa232660f243f020e213?s=50&d=http%3A%2F%2Fplacehold.it%2F50x50.png" alt="Daniel81">
Example page:
https://octobercms.com/forum/post/twig-functions-tags-filters-variables
When I create a new post, it starts out as having '-1' replies in the forum I created for forum posts.
I was following the tutorial here: https://vimeo.com/97088926
I guess something's changed for counting from 0 or from 1 or something ...
(I have three posts, listed as three forum topics, one with -1 comments, two with 0 -- while in reality they have 0 and 1 comments ...)
(PHP 5.6.9-0+deb8u1, Debian 8, October CMS Built 271, Forum plugin v1.0.14)
Viewing a forum topic should not alter its last updated status
Can u help me with issue
In Channel page is button to redirect to creat new topic - but on me not working correct all the time redirect me to chanel page
as soon I undestand this code
it look is some wrong or I'm wrong
Carbon locale is not set for other languages than english, so diff time for the last post date is not translate. It works with the last version of Carbon : http://carbon.nesbot.com/docs/#api-localization
After installation process, it doesn't appear anywhere.
The only thing that I mentioned is menu entry in backend only on "plugins manage" page, and it shows rainlab.forum::lang.settings...blabla
.
I can have the same username as an other user. It should not be possible.
Upon installing the pluggin after it unpacks i get:
Update failed
"SQLSTATE[42803]: Grouping error: 7 ERROR: column "rainlab_forum_channels.nest_left" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...ainlab_forum_channels" where "slug" = $1 order by "nest_left... ^ (SQL: select count(*) as aggregate from "rainlab_forum_channels" where "slug" = channel-orange order by "nest_left" asc)" on line 624 of /home/vagrant/designmalice/vendor/laravel/framework/src/Illuminate/Database/Connection.php
My System Stats:
psql (PostgreSQL) 9.3.6
PHP (fpm) 5.6.7-1+deb.sury.org~trusty+1 (cli) (built: Mar 24 2015 11:21:10)
Ubuntu 14.04.2 LTS - 4 MB Upload Limit & 512 MB Memory & 2 vCPUs
Laravel Framework version 5.0.28
OctoberCMS version: 251
"SQLSTATE[42803]: Grouping error: 7 ERROR: column "rainlab_forum_channels.nest_left" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...ainlab_forum_channels" where "slug" = $1 order by "nest_left... ^ (SQL: select count(*) as aggregate from "rainlab_forum_channels" where "slug" = channel-orange order by "nest_left" asc)" on line 624 of C:\Bitnami\wampstack-5.4.37-0\apache2\htdocs\october_clear\vendor\laravel\framework\src\Illuminate\Database\Connection.php
Been trying to setup a 'news posts' component to show a paginated list from a specific channel of about 5 ish threads per page with only the initial post. Maybe this could be truncated to a reasonable level and a link added to it...
should show title, when the topic was posted, and optionally the # of replies that topic has had
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.