Git Product home page Git Product logo

forum-plugin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

forum-plugin's Issues

After following a link on member profile i got error

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 }}

Replies count should be n-1 comments

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.

Receive emails for all posts on plugins owned by you

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.

Add 'Latest Posts' component

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.

Latest Topics page should display channel

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.

Preview button

I'd like to be able to preview my rendered markdown before posting.

Add channel for all plugin-specific posts

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.

Add 'Mark as Solved' button

Thread owner and moderators should be able to mark threads as 'solved'. Makes it easier for visitors to know which threads to look in.

Question - Allow anonymous posts

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…

Undefined column in query for embedded topic

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.

@username reference email

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?

Badly formated messages in member page

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.

Latest Posts 'Block'/Component

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

channel image and topic icon

ability to change channel image, so some channel will have their image, and post icon such as : question, discussion, etc
thanks

Profile pages need posts, threads etc

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).

Follow up emails/mute

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.

[Vulnerability] Input is not sanitized

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 ;)

Error on install through backend

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

@username links

If a word starts with an @ symbol, if a form user with that symbol exists, it should link to them automatically.

[Exception Error] Plugin Install

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.

Forum topic followers requires id column for Postgres

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")

Update version.yaml?

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?

Using forumEmbedTopic, getting wrong counts for replies

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)

Can't install

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.

Trouble with PostgreSQL on install and update

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

Grouping error for Postgres after plugin installation

"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

Show Single Posts Only

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.