Or are you simply wanting to double up. Like + Rate? If that is the case, I'm not sure that is even something I'd like to see. Seems like overkill.
Error Info
ErrorException: Fatal Error: Call to undefined method XenForo_Model_Post::getPagedPostsPR() - library/Dark/PostRating/Deferred/PostCache.php:18
Generated By: Denis Dyack, A moment ago
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
["url"] => string(53) "http://que-ee.com/forums/admin.php?tools/run-deferred"
["_GET"] => array(1) {
["tools/run-deferred"] => string(0) ""
}
["_POST"] => array(5) {
["execute"] => string(1) "1"
["_xfRequestUri"] => string(31) "/forums/admin.php?tools/rebuild"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
Hi Luke,
Just finished upgrading Xenforo to the latest version and this add-on was one I was updating as well. I am getting the following error:
Code:Error Info ErrorException: Fatal Error: Call to undefined method XenForo_Model_Post::getPagedPostsPR() - library/Dark/PostRating/Deferred/PostCache.php:18 Generated By: Denis Dyack, A moment ago Stack Trace #0 [internal function]: XenForo_Application::handleFatalError() #1 {main} Request State array(3) { ["url"] => string(53) "http://que-ee.com/forums/admin.php?tools/run-deferred" ["_GET"] => array(1) { ["tools/run-deferred"] => string(0) "" } ["_POST"] => array(5) { ["execute"] => string(1) "1" ["_xfRequestUri"] => string(31) "/forums/admin.php?tools/rebuild" ["_xfNoRedirect"] => string(1) "1" ["_xfToken"] => string(8) "********" ["_xfResponseType"] => string(4) "json" } }
I tried deleting and re-installing but it says it cannot read xml file when I try to re-install.
Help .
Thanks,
Denis
@Lone Wolf, that is correct but I think you can't understand totally what I said but no problem. You said "it would be too long, too confusing" etc. but not at all ratings. Other ratings are okay they should be the same. I said, only for removed or disabled Post Rating Like system. Not others. Everything will be the same. Only will possible to use XenForo Like System.
@Sheldon why the both system is not possible? If there is an option for that, we would use the both system. People can like a message or can rating a message. XenForo Like System always should be active. We still cannot this add-on on us forums. Because after install, XenForo like system disabled. Now you will said "no disable, it will just replace with Post Rating System". We don't want Post Rating "LIKE" system. We want to use only other ratings (dislike, helpful, etc.) after install add-on.
Luke, you may remember my query back when I purchased. I was expecting all positive ratings to equal a like in Xenforo. You said it was an old setting that you abandoned and you amended the resource take the reference away.Hopefully you can understand my hesitation to add the feature while still maintaining a high standard of consistency:
After using this I'd like to say that the tagline of this is add-on is a little misleading "taking likes to the next level"
Consider thestandard list of icons:
View attachment 60049
Almost all are positive ratings. But if you use anything other than "like", it doesn't record a like against the thread. If you have a thread with 50 informative votes. It will have 0 likes on the forum. So if you use widgets for things like, most liked thread or you sort your thread by thread_likes, the add-on is actually detrimental to your forum.
So not really sure how this addon takes likes to the next level. A like is a like.
A simple fix would for all positive votes to equal a like. It would simplify the sql as well (looking at the union queries used) and take the "Standard Like System" to a new level.
I'm not saying this a is a bad mod. It just seems that it's gone off track over time as you used to be able to keep likes and use the custom ones also. So you could like a thread and mark it as informative.
Frankly, I'd prefer it that way also.You said it was an old setting that you abandoned and you amended the resource take the reference away.
I've been wanting that since.
Its just makes so much more sense for all positive to equal a like in legacy system.
Luke, you may remember my query back when I purchased. I was expecting all positive ratings to equal a like in Xenforo. You said it was an old setting that you abandoned and you amended the resource take the reference away.
I've been wanting that since.
Its just makes so much more sense for all positive to equal a like in legacy system.
Plus
View attachment 99736
- Queries would be much simpler, no need for messy unions or whatever you have to to to add likes to the rest of the ratings.
- Disabling would mean that all positive ratings become a like in legacy making it much easier to turn off.
- Totals of likes in other custom addons (widgets as an example) would then show total positives rather than just the likes.
- Sort of thread likes would be be on all positive threads. I'd want the wizard thread to show higher as its been rated positive 11 times
My answers your questions
- What would happen to the like rating?
- It'd run behind rating, positive rating = like. Rule would be only ratings of the same level (positive/neutral/negative) would be allowed per user.
- Where would like totals be displayed? Should they be included in positive rating totals still?
- like total is the total positive ratings, you could then have a table of of ratings by type that make up the total.
- If likes are not included in all positive rating totals as they are currently, there are bound to be some cases where it still does make sense to include them - will require going through the addon with a fine tooth comb and carefully considering the user experience for each area.
- You can include like as a rating, which would be a positive rating , which would then add a like to the like system.
- There are a lot of features that factor in positive ratings such as trophy integration, most positive ratings, etc. - should those include likes still?
- Like system is better integrated with this change as it enhances the like process within the legacy system rather than forgetting about all other positive ratings.
- On a technical level, a large amount of work has been done to enforce the equivalent of a unique key at the application level across both the likes and post ratings tables. I actually did not realise you wanted to be able to like and rate posts simultaneously, and ripping out the protection against that very action will not be simple.
- I'm not a fan of actually doing both. But the like system isn't disabled with this change, it just has more selections (all positive ratings)
- What about the people who want the legacy like UI and post ratings together, but do NOT want to be able to like and rate posts simultaneously? That requires a completely different implementation involving interop between XF and Post Ratings javascript, such that interaction with one UI updates the other. (This is actually a slightly easier thing to implement, and is what I assumed you wanted originally, as it's what the old (broken) option did.)
- This!
Hello!
Please, tell me, how change phrase "Ratings" under user profile (message elements) ? screenshot:
View attachment 99960
The new PHP files have not been uploaded correctlyI'm running Xf 1.4.4. When I upgrade Post ratings to 1.7.1 I get this error:
Code:Fatal error: Call to undefined method XenForo_Model_Post::getPagedPostsPR() in /public_html/community/library/Dark/PostRating/Deferred/PostCache.php on line 18
What's wrong?
I tried to upload the files once again. But I got the same error. Anything I'm missing here?The new PHP files have not been uploaded correctly
Line 18 in Postcache.php according to the picture:
I have uploaded the source files multiple times now.
public function getPagedPostsPR($page, $perPage, array $fetchOptions = array())
Line 6 is according to what you wrote. As far as I know I'm not using anything like opcode caching. What other options do I have?
We use essential cookies to make this site work, and optional cookies to enhance your experience.