I'll patch this in the next version, it isn't required for the add-on to function.but I still get the same DEBUG with red X in options and the template error as above.
Not yet, I plan to support that style of UI in a future release.Is there way to men the ratings display as it was with post ratings, i.e. all images/icons visible along the bottom of the post, not in a dropdown?
I've looked through the style properties . Maybe it's there and I've missed it, thanks!
Not yet, I plan to support that style of UI in a future release.
Known Issues:
- Fix CSS of ratings in the admin page
- Rating Categories
- Statistics integration
- Criteria support
- Front-end UI integration (postbit, profile, etc)
- Style properties and some global options
- Does not support UI.X themes
- Deleting/Merging users misses data.
- No Post Rating Importer
margin-right: 4px;
width:24px;
height:24px;
width:30px;
In this case, you can just set the text size directly on the 'Rating Type Icon' property. That way it won't affect the description text and no override is necessary.Rating Type (FA icons in dropdown and in posts)
Text 24px sets FA icons size - BUT this also affects the description text, so you can override that in Rating Type Text (e.g. 12px)
Aside from setting the text size directly here, this seems right. The width/height/and text size should all be set equal if you're using both CSS and image icons.Rating Type Icon (image icon in menu)
Code:margin-right: 4px; width:24px; height:24px;
(seems to need both width and height for IE, other browsers seem to keep aspect ratio
Just curious - what happens here if it is set to 24px like the others? And is the text size being adjusted here as well?Rating Icon (image icon in posts)
Code:width:30px;
Hi Xon,
Could we integrate Rate with Like button (on hover) like Facebook?
Thanks.
Could you provide a short gif/video how you would like it to behave? I just haven't actually seen how facebook's on-hover effect works before.Hi Xon,
Will this be supported soon?
In this case, you can just set the text size directly on the 'Rating Type Icon' property. That way it won't affect the description text and no override is necessary.Rating Type (FA icons in dropdown and in posts)
Text 24px sets FA icons size - BUT this also affects the description text, so you can override that in Rating Type Text (e.g. 12px)
Well, checking again this has confused me as it doesn't seem to change the size of the image icon, but it changes the size (width only) of the container. I also has a weird effect on the animation if you set it really large, e.g. 300px then it rotates round an arc as opposed to rotating in one place. Hmmmm I'm now confused again.Rating Icon (image icon in posts)
Code:width:30px;
Just curious - what happens here if it is set to 24px like the others? And is the text size being adjusted here as well?
Probably something with the CSS animation being wonky I guessWell, checking again this has confused me as it doesn't seem to change the size of the image icon, but it changes the size (width only) of the container. I also has a weird effect on the animation if you set it really large, e.g. 300px then it rotates round an arc as opposed to rotating in one place. Hmmmm I'm now confused again.
Probably something with the CSS animation being wonky I guess![]()
FRONT:
An exception occurred: [InvalidArgumentException] Container key 'sv.contentRatings.ratingTypes' was not found in src/XF/Container.php on line 43
XF\Container->offsetGet() in src/XF/App.php at line 2690
XF\App->container() in src/addons/SV/ContentRatings/Repository/RatingType.php at line 606
SV\ContentRatings\Repository\RatingType->getRatingTypesAsEntities() in src/addons/SV/ContentRatings/Entity/DynamicRatingCounts.php at line 157
SV\ContentRatings\Entity\DynamicRatingCounts::getRatingStructure() in src/addons/SV/ContentRatings/Entity/DynamicRatingCounts.php at line 182
SV\ContentRatings\Entity\DynamicRatingCounts::getStructure() in src/XF/Mvc/Entity/Manager.php at line 70
XF\Mvc\Entity\Manager->getEntityStructure() in src/addons/SV/ContentRatings/Entity/Ratable.php at line 328
SV\ContentRatings\XF\Entity\User::getStructure() in src/addons/XFMG/XF/Entity/User.php at line 74
XFMG\XF\Entity\User::getStructure() in src/addons/XFRM/XF/Entity/User.php at line 38
XFRM\XF\Entity\User::getStructure() in src/XF/Mvc/Entity/Manager.php at line 70
XF\Mvc\Entity\Manager->getEntityStructure() in src/XF/Mvc/Entity/Manager.php at line 210
XF\Mvc\Entity\Manager->getFinder() in src/XF/Mvc/Entity/Manager.php at line 131
XF\Mvc\Entity\Manager->find() in src/XF/Repository/User.php at line 24
XF\Repository\User->getVisitor() in src/XF/App.php at line 1498
XF\App->getVisitorFromSession() in src/XF/Admin/App.php at line 52
XF\Admin\App->start() in src/XF/App.php at line 1859
XF\App->run() in src/XF.php at line 328
XF::runApp() in admin.php at line 13
ACP
Exception: Could not find class SV\ContentRatings\XF\Template\Templater when attempting to extend XF\Template\Templater src/XF/Extension.php:174
Generated by: Pete Thomas Nov 15, 2017 at 2:22 PM
Stack trace
#0 src/XF/App.php(2338): XF\Extension->extendClass('XF\\Template\\Tem...', NULL)
#1 src/XF/App.php(1400): XF\App->extendClass('\\XF\\Template\\Te...')
#2 src/XF/App.php(1062): XF\App->setupTemplaterObject(Object(XF\Container), '\\XF\\Template\\Te...')
#3 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#4 src/XF/App.php(2624): XF\Container->offsetGet('templater')
#5 src/XF/Pub/App.php(348): XF\App->templater()
#6 src/XF/Mvc/Dispatcher.php(280): XF\Pub\App->preRender(Object(XF\Mvc\Reply\View), 'html')
#7 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#8 src/XF/App.php(1863): XF\Mvc\Dispatcher->run()
#9 src/XF.php(328): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
["url"] => string(1) "/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
InvalidArgumentException: Table 'xf_sv_rating_cache_ConversationMessage' does not exist so cannot be altered in src/XF/Db/Schema/Alter.php at line 38
XF\Db\Schema\Alter->__construct() in src/XF/Db/SchemaManager.php at line 188
XF\Db\SchemaManager->newAlter() in src/XF/Db/SchemaManager.php at line 141
XF\Db\SchemaManager->alterTable() in src/addons/SV/ContentRatings/Repository/RatingType.php at line 360
SV\ContentRatings\Repository\RatingType->getSchemaChangeFor() in src/addons/SV/ContentRatings/Repository/RatingType.php at line 246
SV\ContentRatings\Repository\RatingType->applySchemaForContent() in src/addons/SV/ContentRatings/Repository/RatingType.php at line 212
SV\ContentRatings\Repository\RatingType->applyOutstandingSchemaChanges() in src/addons/SV/ContentRatings/Repository/RatingType.php at line 55
SV\ContentRatings\Repository\RatingType->addDefaultContentTypes() in src/addons/SV/ContentRatings/Setup.php at line 38
SV\ContentRatings\Setup->installStep1() in src/XF/AddOn/StepRunnerInstallTrait.php at line 60
SV\ContentRatings\Setup->installStepRunner() in src/XF/AddOn/StepRunnerInstallTrait.php at line 27
SV\ContentRatings\Setup->install() in src/XF/Admin/Controller/AddOn.php at line 379
XF\Admin\Controller\AddOn->actionInstall() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1863
XF\App->run() in src/XF.php at line 328
XF::runApp() in admin.php at line 13
It is for developers to add support for this add-on to new content types (and notes for me when I get around todoing the sameGood news!
I notice there is a file (outside the upload folder) DEVELOPMENT.md what is this for?
- Fix installer not apply schema changes as expected
- Rating phrases & style properties are not owned by this add-on to prevent upgrades from removing them
- Handle user merges and deletions properly
- Rework some style properties to be less confusing
Could you provide a short gif/video how you would like it to behave? I just haven't actually seen how facebook's on-hover effect works before.
We use essential cookies to make this site work, and optional cookies to enhance your experience.