![]() |
1 Attachment(s)
A great mod, and I am already liking its use very much, and am thankful for developers like yourselves taking out time and effort, to provide us with such free modifications and add-ons.
With due respect, there is a small bug fix that would be nice (which should be a stroll in the park for coders like you). The issue is in the postbit, when this mod is used with ITW - Time Spent Online. So what happens is that the time online is displayed along with the X Thanks in X Posts line which makes reading confusing. If this is not clear, I have posted an image. You could have a look. Thanks again for your time. For the time being, I have disabled showing the Thank You, but I would really love to have this working. |
Took me 3 hours to make my first ever modification in my life. And guess what! It's a success. Not sure how many eyebrows raise if this is a stupid way to make a modification, but hey, I got it all working for me at least.
Well, just in case somebody faces this problem, you can replace the code in the post_thanks_postbit_info style with the one below PHP Code:
|
1 Attachment(s)
Here's the fix for the searching. Replace post_thanks.php with this file.
What was wrong: It was looking in an old table 'search' for the results. This no longer works. What was fixed: I have the initial SQL statement grab the thread IDs and post IDs: PHP Code:
PHP Code:
Then, we need to create our query to match the way vB 4.x wants it. PHP Code:
array of threadIDs/postIDs number of 'confirmed' posts (No idea what this is, left it as 0). array of groups seen (No idea on this, just make an empty array). array of groups denied (Again, no clue. Just made an empty array). We then insert the data into the searchlog table and use that to generate the search results. I also included some various files at the beginning and setup a variable for the whole search thing: PHP Code:
|
Thanks a lot for your efforts. :)
Do I have to use the fixed version first (post_thanks_7_82.fixed.zip ) and then replace the original one with your post_thanks.php? Or do I have to use abe1's original version and then replace the post_thanks.php? https://vborg.vbsupport.ru/showpost....postcount=1433 I am confused since the fixed version has an updated version of post_thanks.js (besides of the product-post_thanks.xml). Is that updated post_thanks.js needed in order to run properly or should I use abe1's original one? ATM I am running the fixed version from the link above. Do the recounters options work? Thanks again. |
Quote:
Edit: It appears his fix was only in the .xml file. Mine was only in the .php. They should work just fine. You can use 7.82-fixed and overwrite the post_thanks.php with my file. |
Quote:
|
Awesome stuff channelfuse!! I'm glad I hung on to this hack. It works perfectly now. Thank-you very much indeed :)
|
Quote:
all you have to do is edit this. Code:
<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" /> Code:
<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.9.99" /> |
Quote:
Great job "channelfuse" You make me very happy when I read your great post Work like a charm Appreciate your help and you time consumed on that Keep it up :up::up::up: |
I think by solve searching bug, this hack become live again
I have suggestion If any one can think about it (Notification when receive new thank) Will be a great feature |
All times are GMT. The time now is 02:54 PM. |
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:
|