Questions tagged [foscommentbundle]

The FOSCommentBundle adds support for a comment system in Symfony2. It is a part of the “Friends of Symfony” (FOS) project.

32 questions
3
votes
0 answers

FOSCommentBundle not ajax with posts limit

I use this bundle https://github.com/FriendsOfSymfony/FOSCommentBundle/blob/master/Resources/doc/index.md but need first comments display in html - not assync. its almost done i create controller extends ThreadController add function to get limited…
Developer
  • 2,731
  • 2
  • 41
  • 71
2
votes
1 answer

FOSCommentBundle how to implement

Is there some examples to implement this? Don't show nothing on my page. {% include 'FOSCommentBundle:Thread:async.html.twig' with {'id': 'foo'} %} I don't understand how to place this code and what will show on my page. And when i place this on…
Pillow
  • 103
  • 2
  • 9
2
votes
0 answers

FOSCommentBundle querybuilder add order make bad query?

i have something strange in FOSCommentBundle in FOS\CommentBundle\Entity\class CommentManager extends BaseCommentManager method: public function findCommentsByThread(ThreadInterface $thread, $depth = null, $sorterAlias = null) queryBuilder: $qb…
Developer
  • 2,731
  • 2
  • 41
  • 71
2
votes
1 answer

FOS Comment permissions with ACL and Roles

So, I installed foscomment (most current version to date) and set it up for ACL, with success. I then decided to add their role based permissions as well. The problem is, the user who posts a comment can no longer edit their own comment. and if I…
Architect Nate
  • 674
  • 1
  • 6
  • 21
2
votes
1 answer

Symfony2 FOS Comment Bundle error

I?m having problems with my FOSCommentBundle. I've set up my bundle and it worked for a couple of days, but today it's not working. I'm crushing my head and cant get to a solution. The problem is that the fos_comment_script.src =…
StrikoMirko
  • 415
  • 4
  • 17
1
vote
1 answer

Symfony : private services - provide change options by using Rest -API

I am currently using FOSCommentBundle to get sample example of Rest api best practice In this bundle there are using Sorter (or Sorting) services with different options, sorting with date asc and date desc, but this services are not injected in…
mduvernon
  • 498
  • 3
  • 13
1
vote
0 answers

FOSCommentBundle and thread_id

I've followed FOSComment's instruction to have multiple threads in one page. It's ok everything works. Just kidding, the world isn't that beautiful. I'll try to explain my problem : When I submit my comment, i've got Integrity constraint violation…
PierreB
  • 31
  • 5
1
vote
1 answer

How to fix FOSComment when i add it to the template?

An exception has been thrown during the compilation of a template ("You must add FOSCommentBundle to the assetic.bundle config to use the {% javascripts %} tag in FOSCommentBundle:Thread:async.html.twig.") in …
1
vote
1 answer

how install fos CommentBundle on symfony 2.7.5 that that use fos\RestBundle ^2.0@dev

I use symfony 2.7.5-dev and install FOSRestBundle and JMSSerilizerBundle on it that installed version FOSRestBundle and JMSSerializerbundle is dev-master. my `composer.json: "minimum-stability": "dev", ... "require": { "php": ">=5.3.9", …
1
vote
1 answer

FOSCommentBundle Custom comment sorting

I need to implement the custom comment sorting based on the comment score , i have gone through 14-customizing_tree_sorting.md The services: in my app/config.yml as follows # app/config/config.yml services: demoBundle.comment.sorter.score: …
1
vote
1 answer

FOSCommentBundle access control replying,deleting and editing Comments

I have successfully installed FOSComentBundle on my symfony2.3 project. I have integrated FOSCommentBundle with FOSUserBundle, then I added the role based ACL security.I have seen that the actions that can be controlled are…
Dev DOS
  • 1,018
  • 4
  • 18
  • 45
1
vote
1 answer

FOSCommentBundle Sorting

How do I configure Ascending sorting on the FOSCommentBundle I've tried the following, but I keep getting a "Maximum function nesting level"(which is set at 200) error. fos_comment: service: sorting: default: (ASC sorting service) Any…
jspizziri
  • 793
  • 1
  • 9
  • 24
1
vote
0 answers

InactiveScopeException After Installing FOSCommentBundle

I am setting up FOSCommentBundle, I followed all steps to install it however any page I access now, I am getting the exception below: InactiveScopeException: You cannot create a service ("fos_comment.listener.thread_permalink") of an inactive scope…
dextervip
  • 4,999
  • 16
  • 65
  • 93
1
vote
2 answers

What is the best way to notify about new FOSCommentBundle:Comment?

I have AcmeBlogBundle:BlogPost entity and use FOSCommentBundle to comment it. All works fine, I just do: {% include 'FOSCommentBundle:Thread:async.html.twig' with {'id': 'blogpost' ~ blogpost.id} %} And today I want to notify…
Dmytro Krasun
  • 1,714
  • 1
  • 13
  • 20
1
vote
1 answer

Multiple threads on one page using ajax FOSCommentBundle form and Symfony2

What is the best way to place more than one thread on a page while using the FOSCommentBundle? It seems that this is not supported by default with the ajax method of including comments on a page. Should I try to avoid the ajax method or is there an…
Mike
  • 12,359
  • 17
  • 65
  • 86
1
2 3