![]() |
Quote:
|
Quote:
The only thing that is slightly different is I also have vBookie installed. https://vborg.vbsupport.ru/showthread.php?t=94128 And that hack requires the template edit Code:
<if condition="$vboptions['vbookiecashon']"> Code:
<!-- Start Post Thank You Hack --> Code:
$vbphrase[posts]: $post[posts] |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
What do you mean by 'like it was in 3.0.7'? It was the same way as now. |
I have error when press thank button
PHP Code:
|
I have same problem.....
" the Thanks part does not appear unless they refresh their browser." |
I'd like to add one more (well, two, because I want the same thing for groan, also) queries in the memberlist area.
I'd like a query that shows all thanks (and groans) given by user. Find all Thanked posts by Username (exists) Find all Thanks given by Username (would like) & Find all Groaned at posts by Username (exists) Find all Groans made by Username (would like) That would be just great!! :) |
I like having the Memberinfo sorted a bit differently...
|
Spoke too soon. The 'Remove All' feature on both Thanks and Groans isn't working for me.
|
Quote:
|
is there a change to integrate this to hide hack? So when a user press thank you they can see hidden post?
|
Version 4.4 (5/7/06):
|
Confirm FIXED..
Thank you Master Coder Abe1 |
Hi all, I had disabled the groan modification pending the update. Does this new update automatically make use of the "groan" mod or do I need to reinstall it for it work with the Thank You mod?
Thanks in advance. |
Quote:
|
...done...
|
Great idea, great hack. Thank you!
|
Uses AJAX technology so your users don't have to refresh when they thank.
-------------------- very cool feature |
Wonderful hack, really something I've been looking for.
I've got a few small problems though, because I'm trying to keep my forum a bit minimalistic (my taste ;)) I've been trying to put the list of users who thanked into a popup menu, similiar to the one you get if you click on a username. To do this I've added a new button besides the "Reputation" one which needs to be clicked to see this menu. The code I've used for this: After "$post[iplogged]" Code:
<!-- Start Modified Post Thank You Hack --> Code:
<!-- Start Modified Post Thank You Hack --> It's working fairly well, I've got a few problems that I couldn't find a solution for though: How can I 'extend' the hack some so I'll able to hide the info.gif image if there are no users who thanked for a post. And how can I make sure the list will be updated when a user clicks the "Thanks" button? I'm afraid I destroyed the AJAX somewhere but can't figure out where it was. Thanks a lot for your help, hopefully there are also other users interested in this. Edit; reduced the template edits by one, still hoping for someone to help me fixing the bugs! |
Do you have a demo of your extra bit or a screener please,
Do you think you could do the same for the post groan? Pehaps you can release yours as an add on for these 2 hacks.. Its just that my post bit is looking a tad full ya see and getting rid of the thanks and groans amounts would be a godsend :) Quote:
|
As soon as I've made sure all bugs are gone I'll definitely release it here (if Abe allows me, which shouldn't be too much of a problem as it's only a template edit).
You can find somewhat of a "demo" here: http://otfans.net/showthread.php?p=347708. Code:
Logon with vBtest / test |
wow...that is 100% brill m8...
look forward to the release if its allowed :) Thanks for the login! |
Quote:
|
I'm glad to hear that, could you also help me out some with the two problems I'm experiencing (which I posted a way up), thanks a lot.
|
Hi Yorixz I am not seeing a post_thanks_box template, i have a post_thanks_groan template though....?
|
I haven't got the Groan Hack installed so I don't know if/what templates it's overwriting. The post_thanks_box template is the one that has all the Javascript of the AJAX in it and at the bottom one line of HTML.
|
im kinDA congfused, when u say
Do the template edits in postbit AND postbit_lagacy: find: -------------------------------------------------------------------- $vbphrase[posts]: $post[posts] -------------------------------------------------------------------- AFTER place this: -------------------------------------------------------------------- <!-- Start Post Thank You Hack --> <if condition="$post[userid]"> <br /> $vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount] <br /> <if condition="$post[post_thanks_thanked_times_on] == 1"> $vbphrase[post_thanks_time_post] <else /> <if condition="$post[post_thanks_thanked_posts_on] == 1"> <phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase> <else /> <phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase> </if> </if> </if> <!-- End Post Thank You Hack --> -------------------------------------------------------------------- i am using ------ Find and Replace in Templates (be careful!)----- shoud i ------ Search for Text then =------- replace with text? Meaning the value that u given should be replace or just add it to the variable ? sample $vbphrase[posts]: $post[posts] replace by <!-- Start Post Thank You Hack --> <if condition="$post[userid]"> <br /> $vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount] <br /> <if condition="$post[post_thanks_thanked_times_on] == 1"> $vbphrase[post_thanks_time_post] <else /> <if condition="$post[post_thanks_thanked_posts_on] == 1"> <phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase> <else /> <phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase> </if> </if> </if> <!-- End Post Thank You Hack --> OR $vbphrase[posts]: $post[posts] then i just insert below this <if condition="$post[userid]"> <br /> $vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount] <br /> <if condition="$post[post_thanks_thanked_times_on] == 1"> $vbphrase[post_thanks_time_post] <else /> <if condition="$post[post_thanks_thanked_posts_on] == 1"> <phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase> <else /> <phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase> </if> </if> </if> <!-- End Post Thank You Hack --> Sorry for the stupid question :) |
It says "AFTER place this:", so you should place it after what you searched for.
|
Look at the screenshot, what can be wrong??? BTW, using your hack from the beginning...;)
|
Quote:
|
Perhaps its something as simple as a _ after the button code in the postbit?
Quote:
|
No, I don't think so, it happens after uploading an xml file.
|
I always doing carefuly upgrade, here it's something wrong in code, I don't know where because I'm not PHP writer.
|
Bashy you could also move the thanks and groans amounts into the sig file section of the postbit or legacy, whichever you use. It would put them just under the users sig file. If they don't have a sig though, it won't show.
|
Cheers for the heads up Tulsa,
I have a few that dont have a sig so this wouldnt be much cop.. What i have done for noww to make it a little smaller is removed the Code:
$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount] |
Quote:
|
thanks a lot
|
All times are GMT. The time now is 11:34 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:
|