I really can't test it on 4.x right now. I know it works fine on 3.8. I would revert back to the "Thank You" hack and see if it works then- that would confirm a bug with the changed code or just a limitation of the mod itself.
|
Quote:
|
BOP the problem is still there... AJAX feature is not working... when ever i click on the like button the page refreshes which in post thank you hack was not the case...
any solution? |
Quote:
|
have totally re installed the product but will try again now... let me do this, i'll get back to you... thank you
--------------- Added [DATE]1311308942[/DATE] at [TIME]1311308942[/TIME] --------------- now its working fine... i have re-uploaded all files again and then imported the product.. Thanx BOP |
Quote:
|
Quote:
Also, I can clearly see where to change the width of the box, colors, etc, but where do I change the font and size of the text within the box? |
Quote:
|
Quote:
Please try change it to: PHP Code:
PS. An appendix to post: https://vborg.vbsupport.ru/showpost....7&postcount=35 |
Quote:
Edit: it still works great, I had overlooked one of the template edits. |
Hello,
First, thanks for the instructions to change this mod! I think it's great. However, I am having a small problem in regards to the postbit_display_start change which brings the like into the post. When I make this change, it "pushes" the rest of the bottom of the post (the buttons, quote, reply, etc) OFF of the post itself. So the green like line is at the bottom of the post, but for some reason it is screwing up the buttons that are supposed to be below it by pushing them completely outside of the post. For reference - vb 3.8, postbit legacy being used. |
Quote:
|
Quote:
|
How about that dislike on ur forums, will you share that with us? :D
|
Quote:
|
Dear michal72 ,
How can i remove the small space at the bottom of the likebox ? Like this image : https://vborg.vbsupport.ru/attachmen...1&d=1309952895 This image haven't any bottom margin . Edit : I solve the problem . i just change .postrow in postbit.css and remove paddings ;) |
Quote:
|
This code by definition is only run when viewing threads/posts... If something was causing all your pages to be blank (including forumhome, forumdisplay, etc...) then it wasn't this code. You might have other issues.
What version of vBulletin are you using? |
My apologies, I should have said when trying to view any thread then I get a blank page. I'm on 3.8.5
--------------- Added [DATE]1314263167[/DATE] at [TIME]1314263167[/TIME] --------------- Is there a way to manually edit the postbit legacy template and add the code for the thanks box, instead of using a plugin? |
Probably but it's not something I've spent time attempting.
Which postbit style do you use? Have you checked for the existence of the template hook in that template? Can you try it on the default style and see if you have the same problem? |
Well that's really strange, I tested it on the default style and it worked, so went back to my modified style and it was still working, I made no other changes whatsoever, really odd, oh well, it's working now, I don't know how or why, lol. Thanks for the help and for this mod.
Joe, pretty please Joe :p, I noticed on your site that you give your users the option to switch off this hack in their usercp. Would you mind sharing how to do that? Thanks.:) |
Quote:
Step 1- Make new user profile field, single selection radio box, options: No Yes Step 2- Edit the postbit_display_complete plugin. Change the 2nd Conditional to: Code:
if (can_thank_this_post($post, $thread['isdeleted']) && !thanked_already($post) && $vbulletin->userinfo['field29'] != "No" && $post['userid'] != 0) Code:
if ($vbulletin->userinfo['field29'] != "No" && !(defined('LOCATION_BYPASS')) && !(post_thanks_off($this->thread['forumid'], $this->post, $this->thread['firstpostid'], THIS_SCRIPT))) Note: Putting the "No" before the "Yes" and checking for "No" in the code is important so that it's active for everyone EXCEPT those who specifically opt-out of it. |
Thanks Joe, much appreciated. :)
|
Great tutorial. I was able to follow it all the way through for both the LIKE and DISLIKE buttons.
Nice job Joe! |
Quote:
Quote:
Quote:
Quote:
--------------- Added [DATE]1315278204[/DATE] at [TIME]1315278204[/TIME] --------------- Quote:
|
|
Quote:
However, I did fix my AJAX problem by going back and having a second look. For my site, the design of the Like box is all contained within the template post_thanks_postbit. Therefore the contents of my template post_thanks_box was simply: PHP Code:
PHP Code:
|
Quote:
PHP Code:
As for your earlier question about what Paul did- it doesn't matter, the vb.org like system is completely custom and has nothing to do with the mod this article is based on- so nothing Paul did here is relevant. |
Hope you will release this article for vB4 soon :)
|
Quote:
|
So I installed this, the Thanks template edits work great, however for Post Groan, the groan templates are still default (dont show in bar)
I have them integrated/connected with Post Thanks in settings Running VB 3.8 any ideas? Do I have to do any other template edits? I saw the <IF> condition I assumed this was already built in. |
Yo have to do basically the same edits you did for Thanks on the Groan's hack now.
|
Awesome! Thanx :)
|
Quote:
|
Thanks. I edited it into the first post. :up:
|
Nice man, will this able to work on vBulletin 4.1.4?
|
Quote:
|
i'm using DBTech thanks v2 and i don't think it will work for me =/
|
This is instructions for Abe1's mod. It won't work with any other thanks mod.
|
Hello BirdOPrey
I don't have this code on postbit_legacy Code:
<!-- / edit note --> EDIT: Also look what happens to my show thread.. IMAGE: http://puu.sh/c66Y :( Thanks |
All times are GMT. The time now is 07:17 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|