Post Ratings - taking likes to the next level [Deleted]

Please help me change the color in the small menu that appears when you click on list to find out the users who liked/rated the post.

The current color is hardly visible to read as shown in the screenshot where it says
Ratings for post #1
Thread:Read before posting in this section <<<< this color the black one for ''Thread'' and the dark brown one as well.

hTBlUp.png


@Luke Foreman can you help.
 
For some strange reason the rating bar won't appear :( Anyone know why?

Never mind it was me being stupid and trying to rate my own post
 
Last edited:
Please help me change the color in the small menu that appears when you click on list to find out the users who liked/rated the post.

The current color is hardly visible to read as shown in the screenshot where it says
Ratings for post #1
Thread:Read before posting in this section <<<< this color the black one for ''Thread'' and the dark brown one as well.

hTBlUp.png


This is an issue with your custom style, but to adjust it the relevant CSS selectors are '.subHeading.pairsInline dt' and '.subHeading.pairsInline a'
 
This is an issue with your custom style, but to adjust it the relevant CSS selectors are '.subHeading.pairsInline dt' and '.subHeading.pairsInline a'

The issue is that, when I edited what you just gave me, it applies to everything else and that is what I don't want. I want to edit the exact block without messing up the other things.
 
The issue is that, when I edited what you just gave me, it applies to everything else and that is what I don't want. I want to edit the exact block without messing up the other things.

You would need to add an extra class in template dark_postrating_detail, e.g. to <div class="section">
 
Can you give the exact code/class I need to add. Im no expert in this at all.

Thank you

Change <div class="section"> to <div class="section dark_postrating_detail_section"> then the CSS rules would be '.dark_postrating_detail_section .subHeading dt' and '.dark_postrating_detail_section .subHeading a'
 
Change <div class="section"> to <div class="section dark_postrating_detail_section"> then the CSS rules would be '.dark_postrating_detail_section .subHeading dt' and '.dark_postrating_detail_section .subHeading a'

It didn't change anything plus I didn't understand a jack.
 
It didn't change anything plus I didn't understand a jack.

In template dark_postrating_detail, find:

Code:
<div class="section">

Replace with:

Code:
<div class="section dark_postrating_detail_section">


In template EXTRA.css, add:

Code:
.dark_postrating_detail_section .subHeading dt { color: #fff !important; }
.dark_postrating_detail_section .subHeading a { color: #fff !important; }
 
  • Like
Reactions: KSA
In template dark_postrating_detail, find:

Code:
<div class="section">

Replace with:

Code:
<div class="section dark_postrating_detail_section">


In template EXTRA.css, add:

Code:
.dark_postrating_detail_section .subHeading dt { color: #fff !important; }
.dark_postrating_detail_section .subHeading a { color: #fff !important; }

Thank you, now you are talking.(y)
 
@Luke Foreman
I may have found a small bug / incompatibility between Post Ratings and the XenForo Resource Manager. A user on a forum I use pointed that when he checked his post ratings from the Resource Manager, it only showed a fraction of the positive ratings he had, and no neutral / negative ratings.

I looked at his profile, and the 566 positive ratings he had were only 'likes', which makes me think it's a small incompatibility between the Resource Manager and Post Ratings.

Original Thread: http://www.spigotmc.org/threads/buyers-page-shows-the-correct-likes.36307/

3dfac5fd3415de4bdb7c980bb45155a7.png

95a3a934c161040ff857183b05babd87.png
Bumping this for @Luke Foreman. Post Ratings is incompatible with the XenForo Resource Manager, it seems.
 
Luke Foreman updated Post Ratings - taking likes to the next level with a new update entry:

Version 1.7.0

Please expand post to view the update instructions.


Changelog:

1.7.0 (12/12/2014):

  • Added persistent cache of rating totals per post, significantly improving thread viewing performance (previously a bottleneck) especially on large sites.
    • Thread listing now also uses this cache, so sites that were unable to use the ‘thread list top...

Read the rest of this update entry...
 

Updated, but got about 50 identical server errors during the process:

Code:
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Table 'theadminzone.dark_postrating_post_cache' doesn't exist - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, Today at 12:53 PM
Stack Trace
#0 /srv/www/theadminzone.com/public_html/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\r\n\t\t\tSELECT pos...')
#1 /srv/www/theadminzone.com/public_html/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\r\n\t\t\tSELECT pos...')
#2 /srv/www/theadminzone.com/public_html/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\r\n\t\t\tSELECT pos...')
#3 /srv/www/theadminzone.com/public_html/library/XenForo/Model.php(219): Zend_Db_Adapter_Abstract->query('\r\n\t\t\tSELECT pos...', 101582, 2)
#4 /srv/www/theadminzone.com/public_html/library/XenForo/Model/Post.php(243): XenForo_Model->fetchAllKeyed('\r\n\t\t\tSELECT pos...', 'post_id', 101582)
#5 /srv/www/theadminzone.com/public_html/library/XenForo/ControllerPublic/Thread.php(68): XenForo_Model_Post->getPostsInThread(101582, Array)
#6 /srv/www/theadminzone.com/public_html/library/Waindigo/Trophies/Extend/XenForo/ControllerPublic/Thread.php(17): XenForo_ControllerPublic_Thread->actionIndex()
#7 /srv/www/theadminzone.com/public_html/library/ModEss/ControllerPublic/Thread.php(17): Waindigo_Trophies_Extend_XenForo_ControllerPublic_Thread->actionIndex()
#8 /srv/www/theadminzone.com/public_html/library/ChangeThreadStarter/ControllerPublic/Thread.php(7): ModEss_ControllerPublic_Thread->actionIndex()
#9 /srv/www/theadminzone.com/public_html/library/Borbole/ThreadReaders/ControllerPublic/Thread.php(7): ChangeThreadStarter_ControllerPublic_Thread->actionIndex()
#10 /srv/www/theadminzone.com/public_html/library/CTA/FeaturedThreads/ControllerPublic/Thread.php(208): Borbole_ThreadReaders_ControllerPublic_Thread->actionIndex()
#11 /srv/www/theadminzone.com/public_html/library/XenForo/FrontController.php(347): CTA_FeaturedThreads_ControllerPublic_Thread->actionIndex()
#12 /srv/www/theadminzone.com/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#13 /srv/www/theadminzone.com/public_html/index.php(13): XenForo_FrontController->run()
#14 {main}
Request State
array(3) {
  ["url"] => string(67) "https://theadminzone.com/threads/ipb-email-activation-email.101582/"
  ["_GET"] => array(1) {
    ["/threads/ipb-email-activation-email_101582/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Back
Top Bottom