Comments (23)
this is my comment.php in config folder
i m using it here in my model
my public folder
i m using it here in blade file
but this error is coming can u please help me
which is of react.js. I do not know react.js can you please help me to run this package
from comments.
Did you add use Laravelista\Comments\Comments\Traits\Comments;
to your App\User
model?
from comments.
yes sir u can see in the model pic
https://cloud.githubusercontent.com/assets/8025359/21066105/94d12ae8-be85-11e6-9bdc-1fd4bf393a2c.png
from comments.
In the pic I can see that you have added use Comments
to the App\Post
model, not App\User
model. Can you check that you have use Comments
in your User model and your Post model?
from comments.
Sir my comment.php is this
my auth.php is this
my admin.php is this
Still getting same error
from comments.
Sir can you please let me know that i have to add anything related to react.js file
from comments.
@mabasic is there anything related to react,js thing to be installed in my project?
from comments.
There is nothing to change related to react.js. Can you click on this marked in the image
and let me know what is says
from comments.
When i click on this marked by you
i got this error
from comments.
Oh, I see. Which version of PHP are you using? This package works with version >= 7.0
from comments.
i am using php 5.5.4
from comments.
That is why this package is not working for you. I will later add a dependency in composer.json to require minimum PHP 7.0.
If you update to version 7.0 it will work.
from comments.
Can you please add this thing in documentation or in read.md as it is new project and very simple to use
from comments.
You can follow this lesson to update your PHP installation on Windows Prepare for modern PHP applications
from comments.
I will check nd inform you
from comments.
Ok, I will.
from comments.
Sir there is csrf token mismatch error so do we to comment out this
its now working when we comment the middleware
from comments.
Don't do that. You need to add this to app/Http/Middleware/VerifyCsrfToken.php
see here:
protected $except = [
'api/*'
];
I will add this to the readme.
from comments.
is there a facility of this thing in this plugin
hide old comments i.e sow recent comnents
from comments.
You mean this "View old comments" button ?
from comments.
yes
from comments.
No, that does not come with this package. It is a simple Bootstrap collapse component in which I display "old" comments from when disqus was installed on this site.
You can use the collapse from bootstrap to display comments inside it, so that the user has to first click on the button "view comments" and then display the comments-react view inside it.
from comments.
Solved this issue with release 1.1.0
https://github.com/laravelista/comments/releases/tag/1.1.0
from comments.
Related Issues (20)
- Argument Two passed HOT 9
- Call count on Null HOT 3
- On server not Working.. HOT 2
- Changes not detected in Blade File HOT 4
- Error installing for Laravel 7 HOT 1
- Latest Release Tag? HOT 1
- Argument 2 passed to Laravelista\Comments\CommentPolicy::reply() must be an instance of Laravelista\Comments\Comment HOT 1
- The edit/replay button not working
- Laravel 9.x Compatibility HOT 1
- ajax support HOT 1
- Reply for Guest Users HOT 1
- Spatie permission issues after upgrading to Laravel 9 HOT 2
- unable to install in laravel 9 HOT 7
- Loading all comments? HOT 1
- Attempt to read property "comments" on string
- Section added after the comment block is not working -
- markdown styling is not working
- Laravel 9 doesn't support HOT 1
- Abandoned HOT 1
- Not compatible with Laravel 10.X , unable to install HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comments.