![]() |
First of all a huge round of applause for both this awesome plugin and his work on many others. You rock Ted :)
Now to an issue I (and likely others) have. Concerning highlighting the top rated post with this code in all instances of class="alt1" or class="alt2" in your postbit template: Code:
<if condition="$thread[toppost] == $post[postid]">background-color:#CCCCCC;</if> 1. If you click edit on the post, you lose the BG color changes. 2. if you receive a PM from a user with a high rated post, the BG color will appear. Very strange as I understand the if conditional but not sure why this occurs :/ Feel free to PM Ted and I could show you this on my dev machine. |
Hmm perhaps an 'if page is Showthread' conditional is needed to solve no. 2. Not so sure about 1 though.
|
Interesting stuff.
Edit post I don't think I can do much about and of course it's only something seen in select instances. For the second issue add AND THIS_SCRIPT == 'showthread' to the conditional. |
how can i enable this plugin just for one forum?
|
Quote:
|
Ted just wanted to confirm for you that AND THIS_SCRIPT == 'showthread' fixes the issue with the PMs as it should. So for anyone else background colors for highlighting top post can be like:
Code:
<if condition="$thread[toppost] == $post[postid] AND THIS_SCRIPT == 'showthread'">background-color:#CCCCCC;</if> |
When a post is edited inline it's an ajax javascript call so there is no script associated... it's all javascript.
|
Good stuff, Ted
I have been using 1.5.4 for a while and only get to play with the latest version until now. When I tried to use ha_import to import the thanks mod to this, it ran halfway and got this error Invalid SQL: UPDATE post SET totalrank=totalrank + 1, goodrank=goodrank + 1 WHERE postid = 548; MySQL Error : Unknown column 'totalrank' in 'field list' Error Number : 1054 |
Quote:
i say another thing i want this plugin just work for one section for example on this forum we have General vBulletin Discussions and Programming Discussions i want this plugin enable for Programming Discussions and no need this plugin in other forums xcuz for bad english |
Quote:
|
All times are GMT. The time now is 04:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|