PDA

View Full Version : Show Thread Enhancements - [AJAX] Post Thank You Hack


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16

NetElectronics
10-25-2013, 10:50 PM
Great Hack! Question where can I change it so instead of saying:

Thanks 1
Thanked 2 Times in 2 Posts

I would like to change Thanks to Display Thanks Given?

RichieBoy67
10-28-2013, 07:10 PM
Hey guys, does anyone have a better Thanks image?

Thanks

Also, has anyone written the plug in to move the button?

Hippy
10-28-2013, 07:23 PM
Hey guys, does anyone have a better Thanks image?

Thanks

Also, has anyone written the plug in to move the button?

What thanks button? The thumb?

To move location of the thumb
Look here
https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1943

Hippy
10-28-2013, 07:34 PM
Hippy,
I've not read through all the replies/comments but may I assume your updated version will work for 4.2.2 ?
Yes Sir it does

In number of thanks box (below the post), if a username contains a space character, it produces a line break.
How can we prevent that?


Currently, this is how it behaves...

username1, username1, username1, username1, username1, user
name2, username1, username1, user
name2, username1, username1, username1, user
name2, username1


We want it to behave like this...

username1, username1, user name2, username1, username1, user name2,
username1, user name2, username1, user name2, user name2, username1,
username1, user name2, username1


username1 ~ sample username with no space in it.
user name2 ~ sample username with space in it.



EDIT:
One more thing, is it possible to have a confirmation feature when clicking the Remove All button to prevent accidental clicking since removing all thanks of a post cannot be undone.
The version I posted has this fix in it
Great Hack! Question where can I change it so instead of saying:

Thanks 1
Thanked 2 Times in 2 Posts

I would like to change Thanks to Display Thanks Given?

You can it phrases

fly
10-30-2013, 02:19 PM
Does anyone have some screenshots of what this looks like?

datoneer
11-04-2013, 12:36 PM
I have vb 4.2.1 version. Thanks button in postbit is on the right side. How to move it to the left side?

mw2fan
11-06-2013, 10:13 PM
I seem to be getting this error.

Database error in vBulletin 4.2.2:

Invalid SQL:

SELECT userid, usergroupid, displaygroupid, username, posts, post_thanks_thanked_times
FROM vb_user AS user
WHERE post_thanks_thanked_times > '0'
ORDER BY post_thanks_thanked_times DESC
LIMIT 0, 15;

MySQL Error : Unknown column 'post_thanks_thanked_times' in 'field list'
Error Number : 1054
Request Date : Wednesday, November 6th 2013 @ 03:55:17 PM
Error Date : Wednesday, November 6th 2013 @ 03:55:18 PM
Even when I uninstall the mod.
Edit: Problem solved, I figured out what was wrong.

Harpo
11-11-2013, 03:18 AM
This product is not compatible with version 4.2.2 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)

Dang.

Hippy
11-11-2013, 11:08 AM
Dang.
This version is completely comparable

https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941

Spangle
11-15-2013, 02:18 PM
Dang.

Works for me in 4.2.2

The only thing I don't have is the images.

Hippy
11-15-2013, 02:24 PM
Works for me in 4.2.2

The only thing I don't have is the images.

Custom skin?
Make sure you add the images to that image dir
As the files are uploaded to default dir

Spangle
11-15-2013, 07:40 PM
Custom skin?
Make sure you add the images to that image dir
As the files are uploaded to default dir

It's always some thing simple !!

Now why didn't I think of that !

soujro-kun
11-16-2013, 03:49 AM
i have 2 errors with vbulletin 4.2.2 :

Warning: Illegal string offset 'postid' in ..../includes/functions_post_thanks.php on line 137

Warning: Illegal string offset 'post_thanks_amount' in .../includes/functions_post_thanks.php on line 143

And if I deactivate the product I get this error:

Fatal error: Call to undefined function thanked_already() in /home/XXX/public_html/includes/class_postbit.php(345) : eval()'d code on line 168

I put this ini_set('display_errors', 'Off'); below <?php in the config.php file and the error continues. Please appreciate your help.

Achelos
11-23-2013, 11:00 PM
I'm using the 7.84 version (without collapse) and it doesn't seem to be compatible with the "anonym.to"-footerhack (https://vborg.vbsupport.ru/showthread.php?t=237329) - is there a way to get this compatible?

Spangle
11-27-2013, 12:20 PM
I'm using 4.2.2 and I get an alignment problem when I use this hack with the Blog

4ngeluxpunk
11-27-2013, 03:30 PM
I'm using 4.2.2 and I get an alignment problem when I use this hack with the Blog

What version of PHP do you use?

Spangle
11-27-2013, 03:57 PM
What version of PHP do you use?


5.3.26

scoutz
11-27-2013, 07:43 PM
Doesn't work for 4.2 :(

ForceHSS
11-27-2013, 08:04 PM
Doesn't work for 4.2 :(

It tells you it is for 4.0.x in op post

4ngeluxpunk
11-27-2013, 10:07 PM
I use version 5.4.20 with vbulletin 4.2.2 I get these errors:

Warning: Illegal string offset 'postid' in ..../includes/functions_post_thanks.php on line 137

Warning: Illegal string offset 'post_thanks_amount' in .../includes/functions_post_thanks.php on line 143

And if I deactivate the product I get this error:

Fatal error: Call to undefined function thanked_already() in /home/XXX/public_html/includes/class_postbit.php(345) : eval()'d code on line 168

I put this ini_set('display_errors', 'Off'); below <?php in the config.php file and the error continues. Please appreciate your help.

4ngeluxpunk
11-27-2013, 10:09 PM
Doesn't work for 4.2 :(

If it works for vB 4.2.2 but fails theme for PHP version I think.

ForceHSS
11-27-2013, 11:31 PM
If it works for vB 4.2.2 but fails theme for PHP version I think.

It already tells u in ops post this works for 4.0.x not 4.2 and up

4ngeluxpunk
11-28-2013, 12:49 AM
It already tells u in ops post this works for 4.0.x not 4.2 and up

You can say that, but when installing on some forums with 4.2.2 but with lower versions of PHP function as normal.

ForceHSS
11-28-2013, 03:01 AM
This plugin is no longer supported use it if you wish but as the op or myself dont support it any more as there are better bug free plugins out there that work better

Loget
11-30-2013, 11:18 PM
This plugin is no longer supported use it if you wish but as the op or myself dont support it any more as there are better bug free plugins out there that work better


Which ones would you recommend?

I was going to ask if it was possible to have a dislike for this modification but I guess there's no support anymore.

Hippy
11-30-2013, 11:43 PM
Doesn't work for 4.2 :(

Nothing to fix it's working with the latest v4

https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941

Carpesimia
12-16-2013, 07:07 AM
HAs anyone seen this in the ABOUT tab of the user profile?


Total Likes 0

Liked 4,294,967,294 Times in 4,294,967,294 Posts


I've seen this in 3 different users, and some of them have zero liked posts. How did this number get in there?

Also, I googled this number, and it is the number equivalent of the NOBODY user, which gives me pause for concern. User NOBODY is whom my apache installation runs.

Anyone else see this?

RichieBoy67
12-16-2013, 10:17 AM
Does anyone have a better thumbs up image?

fxdigi-cash
12-19-2013, 03:45 AM
Does anyone have a better thumbs up image?

like these:

thumbs up (http://www.smileyvault.com/displayimage.php?pid=10901)

check this list: thumbs up (http://emoticonhq.com/icqemoticons.html)

found some at stackoverflow, nice ones though some thumbs up (http://stackoverflow.com/questions/4840211/gd-star-rating-thumbs-up-down-size-help)

and if you search these worlds in google "thumbs up symbol", you will find bunch of them

Max Taxable
12-19-2013, 03:49 AM
https://vborg.vbsupport.ru/external/2013/12/21.jpg

wildheart
12-27-2013, 09:31 AM
Back on page 165 I asked how I can make the thank you block smaller and some one directed me to this thread which worked great: https://vborg.vbsupport.ru/showthread.php?t=194553. Force did some changes on my forum and it reverted back to a huge block under the posts that looks absolutely terrible. I tried to do the same fix but now I get this error:

Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3822

The following error occurred when attempting to evaluate this template:
%1$s
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

Does anybody know how I can fix this please?

Hippy
12-28-2013, 01:53 PM
Post the code your trying to replace.
What template.
And any other info that may help me track the issue down.

wildheart
12-30-2013, 05:48 AM
Hi Hippy, thanks for offering to look at it. I just followed this thread's instructions: https://vborg.vbsupport.ru/showthread.php?t=194553 After I added all the code I got the above error.

Never mind I see where the problem is, it says to add the code to the post_thanks_postbit and it should read Replace the code. Working now.

RichieBoy67
01-03-2014, 09:25 PM
What thanks button? The thumb?

To move location of the thumb
Look here
https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1943

Yes, the thumb is barely visible, very small. I was wondering if anyone has used anything else?

Thanks

RichieBoy67
01-03-2014, 09:27 PM
like these:

thumbs up (http://www.smileyvault.com/displayimage.php?pid=10901)

check this list: thumbs up (http://emoticonhq.com/icqemoticons.html)

found some at stackoverflow, nice ones though some thumbs up (http://stackoverflow.com/questions/4840211/gd-star-rating-thumbs-up-down-size-help)

and if you search these worlds in google "thumbs up symbol", you will find bunch of them

Thanks, yeah I did all that already. I just wanted to see what everyone else was using and how it looks, etc. I haven't found anything that fits decent and looks ok.

solarboy
01-07-2014, 03:20 PM
I made it work only by editing the version lines in the xml file.
I used it back in vb 3.8 and had a lot of thanks given among users already so changing to a new hack meant losing all that data.

HS2005
01-16-2014, 08:48 PM
Perhaps this has been asked a lot of times but I could not find any solution for it. :(

I have upgraded my board from 3.8.4 (www.forum.com) to 4.2.2 (www.forum.com/vb4) --> (Vb 5 does not support this hack)
It's a clean install and new database. Using impex I have transferred all of my threads, posts etc. Impex is not solid, so with less effort I managed to set everything straight, except for the amount of thanks per user.

I looked at the table where thank you(s) were stored and I found that reputation has a lot of comments so I exported it and imported it again to the new database. But without any luck sadly.

How can I make a good back-up of my MySQL database so that when I import the amount of thanks are whole again per user. Perhaps there is a different method. Thanks in advance :)

This hack has Always been a godlike addon to vBulletin.

zzSQL
01-17-2014, 01:25 AM
Ok, n00b question but I installed Advanced Post Thanks / Like v3.1.7 (Lite) and imported it into the AdminCP.

Don't see the Like/Thanks buttons but do see the stats for those.
Am I not seeing b/c I haven't gotten a license?

I'm new to mods so please excuse my ignorance on the matter.

Greg

Ladillaxx
01-19-2014, 03:43 AM
There is version of this addons for version 4.2.2?

GMan55
02-05-2014, 02:35 AM
There is version of this addons for version 4.2.2?

I'm using this in 4.2.2 without any issues.

GMan55
02-05-2014, 02:37 AM
Quick question to whoever that can answer. One of the members in my forum wishes to delete all of the thanks that he received. I am able to delete thanks posted by a user, but how do I delete "thanked" for a user?

ye22
02-10-2014, 08:45 PM
is there away to show the thanks score(number only) of the first post in threadbit as variable?

ForceHSS
02-10-2014, 08:54 PM
is there away to show the thanks score(number only) of the first post in threadbit as variable?
might be only for the pro but check there site for that info

ye22
02-10-2014, 09:03 PM
couldn't find it(his site).
i have tried this hack: https://vborg.vbsupport.ru/showthread.php?t=180862
and it's working fine. the only problem is with it's query usage..
So i was just wandering if there is anyway else to do it.. i mean via the original product it self :/

ForceHSS
02-10-2014, 09:05 PM
couldn't find it(his site).
i have tried this hack: https://vborg.vbsupport.ru/showthread.php?t=180862
and it's working fine. the only problem is with it's query usage..
So i was just wandering if there is anyway else to do it.. i mean via the original product it self :/
(Pro) Cloud Display Style
Choose the display style for the button clicks block in the postbit.

Full: Displays header, who clicked buttons and the action button rows.
No Header: Displays who clicked buttons and the action button rows.
Compact: Displays the action buttons and how many people clicked each button (no user names).

ye22
02-10-2014, 09:22 PM
(Pro) Cloud Display Style
Choose the display style for the button clicks block in the postbit.

Full: Displays header, who clicked buttons and the action button rows.
No Header: Displays who clicked buttons and the action button rows.
Compact: Displays the action buttons and how many people clicked each button (no user names).

well.. where can i find it? :)
edit: forgot to mention that my vb version is 3.8.8
and somehow when i click in the product name.. it redirects me to this.

so just nvm. i am going to post in this thread: https://vborg.vbsupport.ru/showthread.php?t=165673
it's my mistake that i posted in the wrong section. sorry all.

nanox
02-11-2014, 11:12 PM
How come it refreshes the page when i like/dislike a post?

MahdyE23
02-13-2014, 06:52 PM
This does not work for 4.2.? I tried it, installed perfectly into the host files, but then uploaded the XML and it says it is not compatible.

ForceHSS
02-13-2014, 07:13 PM
well.. where can i find it? :)
edit: forgot to mention that my vb version is 3.8.8
and somehow when i click in the product name.. it redirects me to this.

so just nvm. i am going to post in this thread: https://vborg.vbsupport.ru/showthread.php?t=165673
it's my mistake that i posted in the wrong section. sorry all.
posted that in wrong plugin that was for dbtech pro version

ForceHSS
02-13-2014, 07:15 PM
This does not work for 4.2.? I tried it, installed perfectly into the host files, but then uploaded the XML and it says it is not compatible.
Try this one (https://vborg.vbsupport.ru/showthread.php?t=243510)

GMan55
02-14-2014, 12:08 AM
Quick question to whoever that can answer. One of the members in my forum wishes to delete all of the thanks that he received. I am able to delete thanks posted by a user, but how do I delete "thanked" for a user?

Bump!

Mr_von
02-15-2014, 10:32 AM
@ GMan55

ACP ---> Post Thank you hack ---> Special Promotions

Barcham
02-17-2014, 04:49 PM
I installed the updated package that Hippy posted and it works perfectly on my 4.2.2. Thanks a lot to everyone for all the work they do so the rest of us can have cool boards!

moonclamp
02-23-2014, 01:44 AM
I'm not sure if this has been covered before, but I've just noticed there's no alt text on the button ... anyone know where I can add this please?

dariyos
02-26-2014, 11:20 AM
when I want to select all posts of a thread by the "inline-moderation" it selects only the first post

and the button at the bottom shows "Moderation (0)"

when I disable the hack it works.

any idea or bugfix/update?

ForceHSS
02-26-2014, 01:02 PM
when I want to select all posts of a thread by the "inline-moderation" it selects only the first post

and the button at the bottom shows "Moderation (0)"

when I disable the hack it works.

any idea or bugfix/update?

If you are using anything higher than vb 4.1.x then this plugin is not for you try dbtech thanks one its better

Barcham
02-26-2014, 02:30 PM
I've been using this hack on 4.2.2 and it works perfectly. I have no problem with my in-line moderation tools or anything else for that matter.

e36talk
02-26-2014, 09:42 PM
Can you view the thanks?
Go to the profile and select "show thanked by user"... For me, it's not working anymore...

Barcham
02-26-2014, 10:53 PM
To see the posts a user has thanked, I just go to the user profile and click the 'About Me' tab and scroll down to Statistics. There it will indicate the user's total thanks received and given. Clicking on either 'Find all thanked posts by XXXXX' or 'Find all posts thanked by XXXXX' will open a list of applicable posts. I see no other visible option to see the thanks given or received.

WEBDosser
03-02-2014, 08:58 AM
Can't seem to get this right in legacy postbit.

http://www.webdosser.com/m/pic.png

See the zero at the end of Posts and then that messes up the one's below but the groans hack is set right.

wD

Simon Lloyd
03-09-2014, 11:01 AM
Seems like it's using the same replacement as your uploads/downloads hack as the zero has come from there.

viliksar1
03-09-2014, 09:40 PM
Version 7.84 (21/06/12 by Forcehss) fix given by snakes1100


I've installed your "Thank You"
Help me make - Show / Hide list of the thanked!

I have tried this, (https://vborg.vbsupport.ru/showthread.php?t=250325) but the button to hide \ show is not working.

ForceHSS
03-09-2014, 10:40 PM
I've installed your "Thank You"
Help me make - Show / Hide list of the thanked!

I have tried this, (https://vborg.vbsupport.ru/showthread.php?t=250325) but the button to hide \ show is not working.

As you installed that other plugin and it is supported you need to ask in there plugin for support

joeychgo
03-12-2014, 02:21 PM
Try this one (https://vborg.vbsupport.ru/showthread.php?t=243510)

No thanks -- I cant stand your 3 links on every page BS. It keeps be from even looking at any of your mods, let alone buying any.

If you are using anything higher than vb 4.1.x then this plugin is not for you try dbtech thanks one its better


Not true, I run it on 4.22 without a problem. Stop pushing your own product.


To install on later versions look for this line in the product file

<dependency maxversion="4.1.0 alpha 1" minversion="4.0.0 beta 4" dependencytype="vbulletin"/>

and change it to

<dependency maxversion="4.2" minversion="4.0.0 beta 4" dependencytype="vbulletin"/>

ozzy47
03-12-2014, 03:10 PM
No thanks -- I cant stand your 3 links on every page BS. It keeps be from even looking at any of your mods, let alone buying any.




Not true, I run it on 4.22 without a problem. Stop pushing your own product.


To install on later versions look for this line in the product file

<dependency maxversion="4.1.0 alpha 1" minversion="4.0.0 beta 4" dependencytype="vbulletin"/>

and change it to

<dependency maxversion="4.2" minversion="4.0.0 beta 4" dependencytype="vbulletin"/>

I would suggest knowing what you are complaining about before you reply, the prospect he suggested is not his, and he in in no way shape or form associated with that company. :)

joeychgo
03-12-2014, 05:10 PM
my mistake then, I apologize.

ozzy47
03-12-2014, 05:13 PM
It happens to all of us at one point or another. :)

ScoobyDoo
03-15-2014, 03:39 AM
Hey ozzy47,

I replaced the code with <dependency maxversion="4.2" minversion="4.0.0 beta 4" dependencytype="vbulletin"/> as you said, but upon importing it says:

" XML Error: Reserved XML Name at Line 1 "

Would you please tell me what I'm doing, or have done wrong? Thank you very much!

ozzy47
03-15-2014, 03:42 AM
I would be willing to bet you used a improper file editor, try redownloading the zip and edit the XML with notepad ++

ScoobyDoo
03-15-2014, 03:43 AM
I would be willing to bet you used a improper file editor, try redownloading the zip and edit the XML with notepad ++


That's actually what I'm using. Notepad ++

ozzy47
03-15-2014, 03:46 AM
Hmmm, not sure then, as that file has been edited by possibly hundreds of users without issues.

ScoobyDoo
03-15-2014, 03:48 AM
Hmmm, not sure then, as that file has been edited by possibly hundreds of users without issues.


OK, well I'll keep messing with it, but thank you so much with the FAST reply!

ForceHSS
03-15-2014, 04:07 AM
<dependency maxversion="" minversion="4.0.0 beta 4" dependencytype="vbulletin"/>

do it like this it will work as well

Simon Lloyd
03-15-2014, 06:47 AM
If you are using vb4.2.2 then max version vb4.2 will not allow the hack to work use vb4.2.x then it will work for all versions of vb4.2

ScoobyDoo
03-15-2014, 03:54 PM
ForceHSS thank you as always, and thank you as well Simon, I really appreciate it! I 'think' my problem has something to do with the configuration settings of Notepad++ as I just downloaded it yesterday due to the fact that I couldn't find the standard Notepad on my computer any longer. Just a little while ago I just went to Start->Run->Notepad and there it was, but now same EXACT[B] problem appears:

[b]XML Error: Reserved XML Name at Line 1

so it has to be in the settings and I don't see much for Settings in Standard Notepad but in Notepad++ there's Encoding Options and Style Configurator Options and I feel it has to be some setting in there because when I paste it, it all just pastes up against the wall. It's it rows, BUT it's NOT in the same format which I believe to called Rich Text.

I'm no longer a complete idiot to this as I was when I first spoke with ForceHSS, but this right here has definitely got me stumped! Any help from anyone would be so much appreciated.

ozzy47
03-15-2014, 04:03 PM
When you tried with Notepad, did you try it on a fresh copy of the XML, you would need to redownload the zip, and try it like that.

TBH, you can completely remove the line:

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />


So in the XML it will look like this:
<dependencies>
</dependencies>

ScoobyDoo
03-15-2014, 04:26 PM
When you tried with Notepad, did you try it on a fresh copy of the XML, you would need to redownload the zip, and try it like that.

TBH, you can completely remove the line:

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />


So in the XML it will look like this:
<dependencies>
</dependencies>

Again, thank you for the Super Fast reply!!:D I just redownloaded both Notepad++ and the xml file and it still says XML Error: Reserved XML Name at Line 1

Lines 1-10 read like and are formatted like the following in Notepad++:

<?xml version="1.0" encoding="ISO-8859-1" ?>
- <product productid="post_thanks" active="1">
<title>Post Thank You Hack</title>
<description>Post Thank You Hack</description>
<version>7.82</version>
- <url>
- <![CDATA[ https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=post_thanks
]]>
</url>
- <versioncheckurl>


Whereas when I open it in Internet Explorer, which [B]IS NOT[B] what I use as a browser by the way, it reads and is formatted like this for 1-10:

<?xml version="1.0" encoding="ISO-8859-1" ?>
- <product productid="post_thanks" active="1">
<title>Post Thank You Hack</title>
<description>Post Thank You Hack</description>
<version>7.82</version>
- <url>
- <![CDATA[ https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=post_thanks
]]>
</url>
- <versioncheckurl>


It appears to me thank Line 1 is blank and pushed down but if I do that then it follows[B] with the same error stating that it's on Line 2. I know the look as if they're the same, but it, [B]I believe is not getting pushed over the same exact way as in Internet Explorer cause it Notepad++ it's all aligned up against the wall.......:confused:


Instead of replying to this post I just edited to say that the Formatting appears to look the same here, but it didn't post the same way I copied it, meaning they weren't all aligned like they are here...if that even matters


And when I go to open the edited file from my computer it states:

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

Invalid at the top level of the document. Error processing resource 'file:///C:/Documents and Settings/Administrator/My Doc...

<?xml version="1.0" encoding="ISO-8859-1" ?>

ScoobyDoo
03-15-2014, 06:37 PM
ALL the aforementioned is SOLVED!! Apparently when you Copy it from IE and Paste it in Notepad++ it takes away the Auto Indent, so I saved it and then opened the from inside of Notepad++. 11 hours later this semi-idiot got it!! Thanks ozzy47, ForceHSS, and Simon Lloyd as I really appreciated your help/input!!! :D



And Abe1 and ForceHSS thank you very much for this Mod!!!! :D

ozzy47
03-15-2014, 11:32 PM
Yeah you should always just open the file from the editor, not c/p it into the editor from the browser. Glad you got it sorted. :)

Meler
03-17-2014, 10:03 AM
Is possible import thanks from dbtech advanced post like/thanks ?

Barcham
03-17-2014, 01:49 PM
I would stick with the dbtech mod if I were you. I was running this one first and moved to the dbtech as it worked better. At least it did on 4.2.2.

Meler
03-18-2014, 11:43 AM
dbtech likes dont work with tapatalk

ForceHSS
03-18-2014, 02:44 PM
Is possible import thanks from dbtech advanced post like/thanks ?

dbtech likes dont work with tapatalk

Best to ask dbtech about this

Slonoed
03-20-2014, 12:20 PM
can anybody make screenshot of main settings chapter of this hack?
i have ??????? in there, but it works well on forum. so i need to set up it...
please.

ForceHSS
03-20-2014, 12:23 PM
can anybody make screenshot of main settings chapter of this hack?
i have ??????? in there, but it works well on forum. so i need to set up it...
please.

What is your forum version?
Are you using the ops plugin or the updated one from here (https://vborg.vbsupport.ru/showthread.php?p=2249550#post2249550)

Slonoed
03-20-2014, 02:31 PM
i use it from here (https://vborg.vbsupport.ru/showthread.php?t=231666) v. 4.2.2
but now i find another BIG problem - after this hack installed, no any changes can be saved on the forum.
when i change any setting i get message that all saved, but in fact nothing changed...
and i cant delete this hack now too.

ForceHSS
03-21-2014, 05:36 AM
i use it from here (https://vborg.vbsupport.ru/showthread.php?t=231666) v. 4.2.2
but now i find another BIG problem - after this hack installed, no any changes can be saved on the forum.
when i change any setting i get message that all saved, but in fact nothing changed...
and i cant delete this hack now too.

Are you saying you cant uninstall the plugin?

Simon Lloyd
03-21-2014, 06:23 AM
I think you have dbtechs vboptimise installed as this can sometimes produce this problem on forums.

ForceHSS
03-21-2014, 08:26 AM
i use it from here (https://vborg.vbsupport.ru/showthread.php?t=231666) v. 4.2.2
But now I find another BIG problem - after this hack installed, no any changes can be saved on the forum.
When I change any setting I get a message that all saved, but in fact nothing changed...
And I can't delete this hack now too.
Best to remove it and use dbtech one

Slonoed
03-24-2014, 06:15 AM
what is "dbtech"?

Slonoed
03-24-2014, 06:56 AM
hoever, my question is still actual - can anybody make screenshot of main settings chapter of this hack?

ForceHSS
03-24-2014, 04:06 PM
what is "dbtech"?

https://vborg.vbsupport.ru/showthread.php?t=243510

AuroraStorm
03-27-2014, 01:32 AM
Does the "dbtech" file go in the root directory or admincp? it's not really clear...but then, I'm not a techie...

ozzy47
03-27-2014, 01:37 AM
The dbtech folder goes in the forum root. The best way to load files for mods is, drag and drop the contents of the upload folder (use Ctrl+A to select all files) to your public_html folder. :)

But I am not clear why you are asking about a dbtech mod in this thread. :confused:

ForceHSS
03-27-2014, 02:36 AM
Does the "dbtech" file go in the root directory or admincp? It's not really clear... But then, I'm not a techie...
If you need help pm me I can show you how

Boss-Hog
03-29-2014, 02:47 PM
I just upgraded to 4.2.2 (from 3.8), and I believe in the version of this hack that worked with 3.8, there was a way to search for all thanks / links using the global search functionality. The description for this hack mentions this functionality is included with this version ("Search for all thanked posts"), but I do not see anywhere on my search page to search for all thanked posts. I was able to restore the functionality to search an individual user's thanks within the "About Me" part of their profile using the updated files Hippie posted, but I can't find a way to do so on the search page. Is there any way to do this in this version?

Thanks in advance.

sub_ubi
04-05-2014, 05:26 PM
Has anyone written any code to allow a certain usergroup (admins for example) to give unlimited thanks, while limiting other usergroups to X thanks per day?

If not I'll write it - just curious if it's been done.

Jennifer2010
04-10-2014, 05:02 AM
Does anyone know how I can disable the usernames from linking to their respective profiles in the list of users who thanked the poster?

imnotanoob
04-14-2014, 05:05 AM
The thumbs up image does not show, what do I do?

Black Snow
04-15-2014, 08:05 AM
The thumbs up image does not show, what do I do?

PM me a link to your forum and I will help you.

ggrimes620
04-19-2014, 04:54 AM
Does anyone know how to move the thumbs image to the top right corner or bottom right corner of posts? I've attached a screenshot of how it's shown on my forum currently. Obviously I've messed something up and I cannot for the life of me figure out what I did.

Here is the screenshot: http://postimg.org/image/ys7o58zfp/

Here is my current postbit_legacy file:

{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer {vb:raw post.statusicon}" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">,&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']"><a name="post{vb:raw post.postid}"></a>{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<label for="post_imod_checkbox_{vb:raw post.postid}"><input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" /></label>
</vb:if>
</span>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<dd><span class="usertitle">
{vb:raw post.usertitle}
</span></dd>
<vb:if condition="$post['rank']"><dd>
<span class="rank">{vb:raw post.rank}</span></dd>
</vb:if>
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase posts}</dt> <dd><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw post.userid}&amp;contenttype=vBForum_Post&amp;showposts=1">{vb:raw post.posts}</a></dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}">
<vb:each from="reputationdisplay" value="row">
<dd><img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}</dd>
</vb:each>
</span>
</vb:if>
<vb:if condition="$post['field5']">
<a class="postuseravatar">
<iframe src="http://gamercard.xbox.com/{vb:raw post.field5}.card" scrolling="no" frameBorder="0" height="135" width="200">{vb:raw post.field5}</iframe>
</a>
</vb:if>
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
{vb:raw post_thumbs_box}
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['field5']"><img src="http://avatar.xboxlive.com/avatar/{vb:raw post.field5}/avatar-body.png" align="right" width="150" height="300"/></vb:if>

<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_files}" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attachments_pending_approval}" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{vb:raw template_hook.postbit_signature_start}
<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_sig}
</vb:if>
<vb:if condition="$post['signature']">
<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
<div class="cleardiv">{vb:raw template_hook.postbit_messagearea_end}</div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols floatcontainer">
<span class="postcontrols">
{vb:raw template_hook.postbit_thanks}
{vb:raw template_hook.postbit_controls}
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}" title="{vb:rawphrase edit_delete_message}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<vb:if condition="THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}&amp;noquote=1" rel="nofollow" title="{vb:rawphrase quick_reply_to_this_message}"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow" title="{vb:rawphrase reply_with_quote}"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a>
<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['multiquote_post']">
<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}" title="{vb:rawphrase multi_quote_this_message}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw post.iplogged}
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
<vb:if condition="$show['reputationlink'] OR $show['infractionlink'] OR $show['moderated'] OR $show['spam'] OR $show['deletedpost'] OR $show['redcard'] OR $show['yellowcard']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" title="{vb:rawphrase add_reputation}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase add_reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
&nbsp;<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
&nbsp;<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}">&nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_button}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
<vb:if condition="$post['api_platform']">
<vb:if condition="$post['api_platform_link']">
<a class="mobile mobile_{vb:raw post.api_platform}" href="{vb:raw post.api_platform_link}" rel="nofollow" title="{vb:rawphrase {vb:raw post['api_platform_link_title']}}">{vb:rawphrase {vb:raw post['api_platform_link_phrase']}}</a>
<vb:else />
<span class="mobile mobile_{vb:raw post.api_platform}">{vb:rawphrase {vb:raw post['api_platform_link_phrase']}}</span>
</vb:if>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}

Also, here is my current postbit_display_complete hook:

require_once(DIR . '/includes/functions_post_thanks.php');

if (!(defined('LOCATION_BYPASS')) && !(post_thanks_off($this->thread['forumid'], $this->post, $this->thread['firstpostid'], THIS_SCRIPT)))
{
global $ids;

$thanks = fetch_thanks($this->post['postid'], $ids);

if (thanked_already($this->post) && $this->registry->options[post_thanks_delete_own])
{
$this->post['show_thanks_remove_option'] = true;
}

if ($this->post['post_thanks_amount'] > 0 && $this->thread['isdeleted'] == 0)
{
$this->post['post_thanks_bit'] = fetch_thanks_bit($this->thread['forumid'], $thanks);
$this->post['post_thanks_user'] = $post_thanks_user;
$this->post['post_thanks_amount_formatted'] = vb_number_format($this->post['post_thanks_amount']);

$post_thanks_box = fetch_post_thanks_template($this->post);
}

$templater = vB_Template::create('post_thanks_box');
$templater->register('post', $post);
$templater->register('post_thanks_box', $post_thanks_box);
$template_hook['postbit_messagearea_end'] .= $templater->render();
}

if ($this->registry->userinfo['userid'] != 0 && !(defined('LOCATION_BYPASS')) && !(post_thanks_off($thread['forumid'], $post, $thread['firstpostid'], THIS_SCRIPT)))
{
$display_thanks_image = 'none';

if (can_thank_this_post($post, $thread['isdeleted']) && !thanked_already($post))
{
$display_thanks_image = '';
}

$templater = vB_Template::create('post_thanks_button');

$templater->register('post', $post);

$templater->register('display_thanks_image', $display_thanks_image);

$template_hook['postbit_thanks'] .= $templater->render();
}

if ($this->registry->options['post_thanks_show_stats_postbit'])
{
$post['post_thanks_user_amount_formatted'] = vb_number_format($post['post_thanks_user_amount']);
$post['post_thanks_thanked_times_formatted'] = vb_number_format($post['post_thanks_thanked_times']);
$post['post_thanks_thanked_posts_formatted'] = vb_number_format($post['post_thanks_thanked_posts']);

$templater = vB_Template::create('post_thanks_postbit_info');
$templater->register('post', $post);
$template_hook['postbit_userinfo_right_after_posts'] .= $templater->render();
}

Thanks to whomever saves the day!

fxdigi-cash
04-19-2014, 05:20 AM
Does anyone know how to move the thumbs image to the top right corner or bottom right corner of posts? I've attached a screenshot of how it's shown on my forum currently. Obviously I've messed something up and I cannot for the life of me figure out what I did.
...........
....................
Thanks to whomever saves the day!

I don't think you missed something, but your postbit_display_complete hook needs to be modified where location of the post it has be set to.

you see here, it says the following:


$template_hook['postbit_messagearea_end'] .= $templater->render();


you need to change the hook : postbit_messagearea_end to the place where you want and then play with the rest using css modification.

so basically postbit_messagearea_end means the end of the post box area, but you need it somewhere close to the right side either up or down...

here is the list of the post hooks I know of:

$template_hook['postbit_start']
$template_hook['postbit_userinfo_left']
$template_hook['postbit_userinfo_right_after_posts']
$template_hook['postbit_userinfo_right']
$template_hook['postbit_messagearea_start']
$template_hook['postbit_signature_start']
$template_hook['postbit_signature_end']
$template_hook['postbit_controls']

try them one by one and see where each one throw the icon at in your post...

I guess you can do that easily :)

Good luck!!

ggrimes620
04-19-2014, 08:45 AM
Here is an updated view: http://postimg.org/image/3mwag6de5/

I fixed one of the problems of "thanks" not showing on bottom of posts. Now the next problem is moving the actual thumbs up icon to the top right or bottom right of posts. As you said it is probably a css issue now. Unfortunately I'm horrible at playing around with formatting.

Assuming this is where I need to make edits, here is my post_thanks_button:

<a href="post_thanks.php?$session[sessionurl]do=post_thanks_add&amp;p=$post[postid]&amp;securitytoken=$bbuserinfo[securitytoken]" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_give($post[postid], <if condition="$vboptions[post_groan_integrate]">true<else />false</if>);"</if> <if condition="$display_thanks_image == 'none'">style="display:none"</if> rel="nofollow"><img src="$stylevar[imgdir_button]/like.png" alt="Like This Post" border="0" /></a>

Is that the template I need to edit to move that thumbs image around? You wouldn't happen to know what edits I would need to make?

I really do appreciate you replying so quick. It's truly frustrating the hell out of me. LOL:erm:

fxdigi-cash
04-19-2014, 09:07 AM
I think you didn't try all hooks, did you?? :)

did you try these ones??


$template_hook['postbit_start']
$template_hook['postbit_userinfo_left']
$template_hook['postbit_userinfo_right_after_posts']
$template_hook['postbit_userinfo_right']


because these ones will throw the button to the right side of the post box...

you can post a link to your site to see how to edit the css in a proper way if you like...

:)

Here is an updated view: http://postimg.org/image/3mwag6de5/

I fixed one of the problems of "thanks" not showing on bottom of posts. Now the next problem is moving the actual thumbs up icon to the top right or bottom right of posts. As you said it is probably a css issue now. Unfortunately I'm horrible at playing around with formatting.

Assuming this is where I need to make edits, here is my post_thanks_button:

<a href="post_thanks.php?$session[sessionurl]do=post_thanks_add&amp;p=$post[postid]&amp;securitytoken=$bbuserinfo[securitytoken]" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_give($post[postid], <if condition="$vboptions[post_groan_integrate]">true<else />false</if>);"</if> <if condition="$display_thanks_image == 'none'">style="display:none"</if> rel="nofollow"><img src="$stylevar[imgdir_button]/like.png" alt="Like This Post" border="0" /></a>

Is that the template I need to edit to move that thumbs image around? You wouldn't happen to know what edits I would need to make?

I really do appreciate you replying so quick. It's truly frustrating the hell out of me. LOL:erm:

ggrimes620
04-19-2014, 07:05 PM
I hope I understand you correctly!

I've got the thanks box at the very bottom of posts which is great! I've got the thumbs up button at the top next to the thread title. I'd like to move it to the far right of the post just like in the picture below.

http://postimg.org/image/7fc97ucdv/

Here is my current postbit_legacy:

{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer {vb:raw post.statusicon}" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">,&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']"><a name="post{vb:raw post.postid}"></a>{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<label for="post_imod_checkbox_{vb:raw post.postid}"><input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" /></label>
</vb:if>
</span>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<dd><span class="usertitle">
{vb:raw post.usertitle}
</span></dd>
<vb:if condition="$post['rank']"><dd>
<span class="rank">{vb:raw post.rank}</span></dd>
</vb:if>
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase posts}</dt> <dd><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw post.userid}&amp;contenttype=vBForum_Post&amp;showposts=1">{vb:raw post.posts}</a></dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}">
<vb:each from="reputationdisplay" value="row">
<dd><img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}</dd>
</vb:each>
</span>
</vb:if>
<vb:if condition="$post['field5']">
<a class="postuseravatar">
<iframe src="http://gamercard.xbox.com/{vb:raw post.field5}.card" scrolling="no" frameBorder="0" height="135" width="200">{vb:raw post.field5}</iframe>
</a>
</vb:if>
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}{vb:raw template_hook.postbit_thanks}
<vb:if condition="$post['field5']"><img src="http://avatar.xboxlive.com/avatar/{vb:raw post.field5}/avatar-body.png" align="right" width="150" height="300"/></vb:if>

<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_files}" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attachments_pending_approval}" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_sig}
</vb:if>
<vb:if condition="$post['signature']">
<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
<div class="cleardiv">{vb:raw template_hook.postbit_messagearea_end}{vb:raw post_thumbs_box}</div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols floatcontainer">
<span class="postcontrols">
{vb:raw template_hook.postbit_controls}
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}" title="{vb:rawphrase edit_delete_message}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<vb:if condition="THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}&amp;noquote=1" rel="nofollow" title="{vb:rawphrase quick_reply_to_this_message}"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow" title="{vb:rawphrase reply_with_quote}"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a>
<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['multiquote_post']">
<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}" title="{vb:rawphrase multi_quote_this_message}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw post.iplogged}
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
<vb:if condition="$show['reputationlink'] OR $show['infractionlink'] OR $show['moderated'] OR $show['spam'] OR $show['deletedpost'] OR $show['redcard'] OR $show['yellowcard']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" title="{vb:rawphrase add_reputation}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase add_reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
&nbsp;<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
&nbsp;<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}">&nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_button}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
<vb:if condition="$post['api_platform']">
<vb:if condition="$post['api_platform_link']">
<a class="mobile mobile_{vb:raw post.api_platform}" href="{vb:raw post.api_platform_link}" rel="nofollow" title="{vb:rawphrase {vb:raw post['api_platform_link_title']}}">{vb:rawphrase {vb:raw post['api_platform_link_phrase']}}</a>
<vb:else />
<span class="mobile mobile_{vb:raw post.api_platform}">{vb:rawphrase {vb:raw post['api_platform_link_phrase']}}</span>
</vb:if>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}

I added:

{vb:raw template_hook.postbit_thanks}

In-line, after:

{vb:raw template_hook.postbit_messagearea_start}

fxdigi-cash
04-20-2014, 02:10 AM
I hope I understand you correctly!

I've got the thanks box at the very bottom of posts which is great! I've got the thumbs up button at the top next to the thread title. I'd like to move it to the far right of the post just like in the picture below.



Ok, great you did what you were after.

Now all you need is to add some css to your button so it moves to the place where you like,

you need to know what class or id is placed with each button to add css to it. Add your css to your additional.css file.

it should be something very simple:


.yourbuttonclass{
right:40px;
position:absolute;
margin:10px 4px;
}



it is not necessary to be the same css because that depends on the place where you want, something you decide in your own...

I hope that helps.

if not, then you will have to provide a link to your forum, and if you want it to be private then send me a PM

Good luck!

ggrimes620
04-20-2014, 05:23 AM
I think I hit pretty close to what you described. I'm going to shoot you a PM real quick. If we get it working, you or I can post the fix in this thread. It'll help other people if they have the same problem, right? :)

fxdigi-cash
04-20-2014, 08:18 AM
I think I hit pretty close to what you described. I'm going to shoot you a PM real quick. If we get it working, you or I can post the fix in this thread. It'll help other people if they have the same problem, right? :)

I sent you back with the solution. I think it shouldn't affect anything since .postrow>a can push things to the right place.

Good luck!!:)

ggrimes620
04-20-2014, 10:34 AM
That did the trick.

Thank you fxdigi-cash for responding so fast and for your help! You da' man! :)

niteflyer
04-25-2014, 03:20 PM
does this work with 4.2.2,thanks

ForceHSS
04-25-2014, 04:02 PM
does this work with 4.2.2,thanks

You would be best to use this one https://vborg.vbsupport.ru/showthread.php?t=243510

carsafety
04-25-2014, 09:49 PM
You would be best to use this one https://vborg.vbsupport.ru/showthread.php?t=243510

Is that one compatible with the Abe1's v7.7 for 3.8.7 Thanks Hack?

In other words, if I am upgrading from 3.8.7 to 4.2.2, is there any way to retain Thanks on existing posts?

fxdigi-cash
04-26-2014, 06:53 AM
Is that one compatible with the Abe1's v7.7 for 3.8.7 Thanks Hack?

In other words, if I am upgrading from 3.8.7 to 4.2.2, is there any way to retain Thanks on existing posts?

if you have Abe's Thanks before, I guess that means you have all Thanks on your database. Therefore I would strongly advise you to use Abe's for vb4 in here:

https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941

you can choose with or without drop Thanks list.

I have it installed on latest vb4.2.2 on default style with no issues. :)

carsafety
04-26-2014, 09:39 PM
if you have Abe's Thanks before, I guess that means you have all Thanks on your database. Therefore I would strongly advise you to use Abe's for vb4 in here:

https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941

you can choose with or without drop Thanks list.

I have it installed on latest vb4.2.2 on default style with no issues. :)

Thanks! I missed that 7.84+ version. Seems to be working so far. I also noticed that the DragonTech one supposedly has an importer so perhaps it is compatible as well.

ForceHSS
04-26-2014, 09:41 PM
Thanks! I missed that 7.84+ version. Seems to be working so far. I also noticed that the DragonTech one supposedly has an importer so perhaps it is compatible as well.

https://vborg.vbsupport.ru/showpost.php?p=2249550&postcount=1846

DreadsUK
05-04-2014, 11:06 AM
www.dreadsuk.com

At the moment the thanks appear under neath the users post

https://vborg.vbsupport.ru/external/2014/05/59.png

i want to move the thanks (feelin' it) into the post itself like this

https://vborg.vbsupport.ru/external/2014/05/60.png

How do i do this??

fxdigi-cash
05-04-2014, 07:58 PM
www.dreadsuk.com

At the moment the thanks appear under neath the users post

https://vborg.vbsupport.ru/external/2014/05/59.png

i want to move the thanks (feelin' it) into the post itself like this

https://vborg.vbsupport.ru/external/2014/05/60.png

How do i do this??

it's been discussed in the previous page... page#224-post #3353 (https://vborg.vbsupport.ru/showpost.php?p=2493794&postcount=3353)

you need to change the hook location where you want the Thanks button to show up...

if it didn't work, then you will have to add a custom hook and place the hook code in the template where you like :)

DreadsUK
05-05-2014, 01:02 AM
I added:

{vb:raw template_hook.postbit_thanks}

In-line, after:

{vb:raw template_hook.postbit_messagearea_start}

Right, i'v tried every option i can think of with this and nothing is working. I still can't get the thanks box into the post. Its till after the post.

https://vborg.vbsupport.ru/external/2014/05/57.png

Here is my postbit_legacy code

{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer {vb:raw post.statusicon}" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">,&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']"><a name="post{vb:raw post.postid}"></a>{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<label for="post_imod_checkbox_{vb:raw post.postid}"><input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" /></label>
</vb:if>
</span>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}">
<vb:each from="reputationdisplay" value="row">
<img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}
</vb:each>
</span>
</vb:if>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd><a href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q={vb:raw post.field2}" target="_blank">{vb:raw post.field2}</a></dd></vb:if>

<vb:if condition="$post['field7']"><dt>Gender</dt> <dd>{vb:raw post.field7}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_files}" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attachments_pending_approval}" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{vb:raw template_hook.postbit_signature_start}
<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_sig}
</vb:if>
<vb:if condition="$post['signature']">
<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols floatcontainer">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}" title="{vb:rawphrase edit_delete_message}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<vb:if condition="THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}&amp;noquote=1" rel="nofollow" title="{vb:rawphrase quick_reply_to_this_message}"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow" title="{vb:rawphrase reply_with_quote}"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a>
<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['multiquote_post']">
<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}" title="{vb:rawphrase multi_quote_this_message}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
<vb:if condition="$show['reputationlink'] OR $show['infractionlink'] OR $show['moderated'] OR $show['spam'] OR $show['deletedpost'] OR $show['redcard'] OR $show['yellowcard']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" title="{vb:rawphrase add_reputation}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase add_reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
&nbsp;<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
&nbsp;<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}">&nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_button}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
<vb:if condition="$post['api_platform']">
<vb:if condition="$post['api_platform_link']">
<a class="mobile mobile_{vb:raw post.api_platform}" href="{vb:raw post.api_platform_link}" rel="nofollow" title="{vb:rawphrase {vb:raw post['api_platform_link_title']}}">{vb:rawphrase {vb:raw post['api_platform_link_phrase']}}</a>
<vb:else />
<span class="mobile mobile_{vb:raw post.api_platform}">{vb:rawphrase {vb:raw post['api_platform_link_phrase']}}</span>
</vb:if>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_thanks}
{vb:raw template_hook.postbit_end}

I even tried putting
{vb:raw template_hook.postbit_thanks} right at the end. still nothing

Here are the list off templates for post thank you hack
https://vborg.vbsupport.ru/external/2014/05/58.png

ForceHSS
05-05-2014, 01:14 AM
If this mod is not to your liking, try this one (https://vborg.vbsupport.ru/showthread.php?t=243510)

DreadsUK
05-05-2014, 01:28 AM
Its fine, i like it, i just want to move the box into the post lol

e24h
05-05-2014, 03:10 AM
When I move the Thanks button near the Edit button the Blog This Post button moves with it. Any suggestions?

fxdigi-cash
05-05-2014, 07:41 AM
Right, i'v tried every option i can think of with this and nothing is working. I still can't get the thanks box into the post. Its till after the post.



you need to show me your plugin code postbit_display_complete

also, you need to tell me what version of Thanks hack you used since there are plenty of them here...

you can find postbit_display_complete in your Admin cp --> Plugins & Products / Plugin Manager /

find postbit_display_complete and edit it: copy it and paste here to see if you already made changes or not...

if you know for sure you made the changes correctly, then add that hook you changed to your postbit_legacy either under:

{vb:raw template_hook.postbit_signature_end}

or Above

{vb:raw template_hook.postbit_signature_start}

check it out and let me know!! :)

DreadsUK
05-05-2014, 08:51 AM
you need to show me your plugin code postbit_display_complete

also, you need to tell me what version of Thanks hack you used since there are plenty of them here...

you can find postbit_display_complete in your Admin cp --> Plugins & Products / Plugin Manager /

find postbit_display_complete and edit it: copy it and paste here to see if you already made changes or not...

if you know for sure you made the changes correctly, then add that hook you changed to your postbit_legacy either under:

{vb:raw template_hook.postbit_signature_end}


or Above

{vb:raw template_hook.postbit_signature_start}

check it out and let me know!! :)

Here is my postbit_display_complete
require_once(DIR . '/includes/functions_post_thanks.php');

if (!(defined('LOCATION_BYPASS')) && !(post_thanks_off($this->thread['forumid'], $this->post, $this->thread['firstpostid'], THIS_SCRIPT)))
{
global $ids;

$thanks = fetch_thanks($this->post['postid'], $ids);

if (thanked_already($this->post) && $this->registry->options[post_thanks_delete_own])
{
$this->post['show_thanks_remove_option'] = true;
}

if ($this->post['post_thanks_amount'] > 0 && $this->thread['isdeleted'] == 0)
{
$this->post['post_thanks_bit'] = fetch_thanks_bit($this->thread['forumid'], $thanks);
$this->post['post_thanks_user'] = $post_thanks_user;
$this->post['post_thanks_amount_formatted'] = vb_number_format($this->post['post_thanks_amount']);

$post_thanks_box = fetch_post_thanks_template($this->post);
}

$templater = vB_Template::create('post_thanks_box');
$templater->register('post', $post);
$templater->register('post_thanks_box', $post_thanks_box);
$template_hook['postbit_signature_end'] .= $templater->render();
}

if ($this->registry->userinfo['userid'] != 0 && !(defined('LOCATION_BYPASS')) && !(post_thanks_off($thread['forumid'], $post, $thread['firstpostid'], THIS_SCRIPT)))
{
$display_thanks_image = 'none';

if (can_thank_this_post($post, $thread['isdeleted']) && !thanked_already($post))
{
$display_thanks_image = '';
}

$templater = vB_Template::create('post_thanks_button');
$templater->register('post', $post);
$templater->register('display_thanks_image', $display_thanks_image);
$template_hook['postbit_controls'] .= $templater->render();
}

if ($this->registry->options['post_thanks_show_stats_postbit'])
{
$post['post_thanks_user_amount_formatted'] = vb_number_format($post['post_thanks_user_amount']);
$post['post_thanks_thanked_times_formatted'] = vb_number_format($post['post_thanks_thanked_times']);
$post['post_thanks_thanked_posts_formatted'] = vb_number_format($post['post_thanks_thanked_posts']);

$templater = vB_Template::create('post_thanks_postbit_info');
$templater->register('post', $post);
$template_hook['postbit_userinfo_right_after_post'] .= $templater->render();
}

and here is my postbit_legacy

{vb:raw template_hook.postbit_start}

<li class="postbitlegacy postbitim postcontainer {vb:raw post.statusicon}" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">,&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']"><a name="post{vb:raw post.postid}"></a>{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<label for="post_imod_checkbox_{vb:raw post.postid}"><input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" /></label>
</vb:if>
</span>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}">
<vb:each from="reputationdisplay" value="row">
<img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}
</vb:each>
</span>
</vb:if>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd><a href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q={vb:raw post.field2}" target="_blank">{vb:raw post.field2}</a></dd></vb:if>

<vb:if condition="$post['field7']"><dt>Gender</dt> <dd>{vb:raw post.field7}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_files}" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attachments_pending_approval}" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{vb:raw template_hook.postbit_signature_start}
<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_sig}
</vb:if>
<vb:if condition="$post['signature']">
<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}{vb:raw template_hook.postbit_thanks}
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols floatcontainer">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}" title="{vb:rawphrase edit_delete_message}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<vb:if condition="THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}&amp;noquote=1" rel="nofollow" title="{vb:rawphrase quick_reply_to_this_message}"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow" title="{vb:rawphrase reply_with_quote}"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a>
<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['multiquote_post']">
<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}" title="{vb:rawphrase multi_quote_this_message}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
<vb:if condition="$show['reputationlink'] OR $show['infractionlink'] OR $show['moderated'] OR $show['spam'] OR $show['deletedpost'] OR $show['redcard'] OR $show['yellowcard']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" title="{vb:rawphrase add_reputation}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase add_reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
&nbsp;<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
&nbsp;<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}">&nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_button}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
<vb:if condition="$post['api_platform']">
<vb:if condition="$post['api_platform_link']">
<a class="mobile mobile_{vb:raw post.api_platform}" href="{vb:raw post.api_platform_link}" rel="nofollow" title="{vb:rawphrase {vb:raw post['api_platform_link_title']}}">{vb:rawphrase {vb:raw post['api_platform_link_phrase']}}</a>
<vb:else />
<span class="mobile mobile_{vb:raw post.api_platform}">{vb:rawphrase {vb:raw post['api_platform_link_phrase']}}</span>
</vb:if>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>

{vb:raw template_hook.postbit_end}

But its now left a gap in posts

https://vborg.vbsupport.ru/external/2014/05/56.png

First i edited the postbit_display_complete
$template_hook['postbit_messagearea_end'] .= $templater->render();
to
$template_hook['postbit_signature_end'] .= $templater->render();

The i added to to postbit_legacy
i added {vb:raw template_hook.postbit_thanks} after {vb:raw template_hook.postbit_signature_end} in postbit_legacy

fxdigi-cash
05-05-2014, 09:12 AM
ok, I will make it a lot easier for you so you don't waste your time....

here is the code for postbit_display_complete replace this with the one you have and save it...


require_once(DIR . '/includes/functions_post_thanks.php');

if (!(defined('LOCATION_BYPASS')) && !(post_thanks_off($this->thread['forumid'], $this->post, $this->thread['firstpostid'], THIS_SCRIPT)))
{
global $ids;

$thanks = fetch_thanks($this->post['postid'], $ids);

if (thanked_already($this->post) && $this->registry->options[post_thanks_delete_own])
{
$this->post['show_thanks_remove_option'] = true;
}

if ($this->post['post_thanks_amount'] > 0 && $this->thread['isdeleted'] == 0)
{
$this->post['post_thanks_bit'] = fetch_thanks_bit($this->thread['forumid'], $thanks);
$this->post['post_thanks_user'] = $post_thanks_user;
$this->post['post_thanks_amount_formatted'] = vb_number_format($this->post['post_thanks_amount']);

$post_thanks_box = fetch_post_thanks_template($this->post);
}

$templater = vB_Template::create('post_thanks_box');
$templater->register('post', $post);
$templater->register('post_thanks_box', $post_thanks_box);
$template_hook['postbit_end'] .= $templater->render();
}

if ($this->registry->userinfo['userid'] != 0 && !(defined('LOCATION_BYPASS')) && !(post_thanks_off($thread['forumid'], $post, $thread['firstpostid'], THIS_SCRIPT)))
{
$display_thanks_image = 'none';

if (can_thank_this_post($post, $thread['isdeleted']) && !thanked_already($post))
{
$display_thanks_image = '';
}

$templater = vB_Template::create('post_thanks_button');
$templater->register('post', $post);
$templater->register('display_thanks_image', $display_thanks_image);
$template_hook['postbit_thanks'] .= $templater->render();
}

if ($this->registry->options['post_thanks_show_stats_postbit'])
{
$post['post_thanks_user_amount_formatted'] = vb_number_format($post['post_thanks_user_amount']);
$post['post_thanks_thanked_times_formatted'] = vb_number_format($post['post_thanks_thanked_times']);
$post['post_thanks_thanked_posts_formatted'] = vb_number_format($post['post_thanks_thanked_posts']);

$templater = vB_Template::create('post_thanks_postbit_info');
$templater->register('post', $post);
//$template_hook['postbit_userinfo_right_after_posts'] .= $templater->render();
}


Then use this hook in your postbit_legacy,

{vb:raw template_hook.postbit_thanks}

place it after

{vb:raw template_hook.postbit_signature_end}


check it and see!!

DreadsUK
05-05-2014, 09:18 AM
ok, I will make it a lot easier for you so you don't waste your time....

here is the code for postbit_display_complete replace this with the one you have and save it...


require_once(DIR . '/includes/functions_post_thanks.php');

if (!(defined('LOCATION_BYPASS')) && !(post_thanks_off($this->thread['forumid'], $this->post, $this->thread['firstpostid'], THIS_SCRIPT)))
{
global $ids;

$thanks = fetch_thanks($this->post['postid'], $ids);

if (thanked_already($this->post) && $this->registry->options[post_thanks_delete_own])
{
$this->post['show_thanks_remove_option'] = true;
}

if ($this->post['post_thanks_amount'] > 0 && $this->thread['isdeleted'] == 0)
{
$this->post['post_thanks_bit'] = fetch_thanks_bit($this->thread['forumid'], $thanks);
$this->post['post_thanks_user'] = $post_thanks_user;
$this->post['post_thanks_amount_formatted'] = vb_number_format($this->post['post_thanks_amount']);

$post_thanks_box = fetch_post_thanks_template($this->post);
}

$templater = vB_Template::create('post_thanks_box');
$templater->register('post', $post);
$templater->register('post_thanks_box', $post_thanks_box);
$template_hook['postbit_end'] .= $templater->render();
}

if ($this->registry->userinfo['userid'] != 0 && !(defined('LOCATION_BYPASS')) && !(post_thanks_off($thread['forumid'], $post, $thread['firstpostid'], THIS_SCRIPT)))
{
$display_thanks_image = 'none';

if (can_thank_this_post($post, $thread['isdeleted']) && !thanked_already($post))
{
$display_thanks_image = '';
}

$templater = vB_Template::create('post_thanks_button');
$templater->register('post', $post);
$templater->register('display_thanks_image', $display_thanks_image);
$template_hook['postbit_thanks'] .= $templater->render();
}

if ($this->registry->options['post_thanks_show_stats_postbit'])
{
$post['post_thanks_user_amount_formatted'] = vb_number_format($post['post_thanks_user_amount']);
$post['post_thanks_thanked_times_formatted'] = vb_number_format($post['post_thanks_thanked_times']);
$post['post_thanks_thanked_posts_formatted'] = vb_number_format($post['post_thanks_thanked_posts']);

$templater = vB_Template::create('post_thanks_postbit_info');
$templater->register('post', $post);
//$template_hook['postbit_userinfo_right_after_posts'] .= $templater->render();
}


Then use this hook in your postbit_legacy,

{vb:raw template_hook.postbit_thanks}

place it after

{vb:raw template_hook.postbit_signature_end}


check it and see!!

The like (feelin' it) button has moved and only displaying its this first post and not in all posts

https://vborg.vbsupport.ru/external/2014/05/55.png

fxdigi-cash
05-05-2014, 10:15 AM
Then make sure your setting from Admin cp select not only first post...

and save it, check if things work fine or not!!

DreadsUK
05-05-2014, 10:18 AM
Then make sure your setting from Admin cp select not only first post...

and save it, check if things work fine or not!!

Just checked and its not that. I didnt think it was cause its the positioning thats gone all wonk.

Looks like its not just first post but its dotted at random points around the posts

fxdigi-cash
05-05-2014, 10:38 AM
Just checked and its not that. I didnt think it was cause its the positioning thats gone all wonk.

Looks like its not just first post but its dotted at random points around the posts

That's strange...!! ok, what's the Thanks hack version did you use??

DreadsUK
05-05-2014, 10:41 AM
That's strange...!! ok, what's the Thanks hack version did you use??

No idea, but i downloaded and installed on 9th March 2014 so whichever version it was then. Would it say anywhere?

Black Snow
05-05-2014, 11:31 AM
@fxdigi-cash

Your above post didn't work for me. Is there any other steps to follow?

DreadsUK
05-05-2014, 11:38 AM
Just uninstalled and tried the DBTECH one and it totally crashed my entire site. Everything has just gone down :(

https://vborg.vbsupport.ru/external/2014/05/54.png

Black Snow
05-05-2014, 11:54 AM
@DreadsUK

You are editing the wrong part of your plugin. Look for this line:
$template_hook['postbit_end'] .= $templater->render();
That's the line you want to edit to move the box.

Adding:
{vb:raw template_hook.postbit_thanks}
into your postbit_legacy will only move your amount of thanks/likes received around your template. You need to add your own hook into the template to make it work.

fxdigi-cash
05-05-2014, 12:08 PM
Look everyone, there are the following versions:

7.82
7.83
7.84 and this one has 3 or 4 versions...

You can find them here:

https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941

https://vborg.vbsupport.ru/showthread.php?p=2249550#post2249550

www.vbulletin.org/forum/attachment.php?attachmentid=108940&d=1262531536

in my case, I installed this one I modified...

try them one by one...

I use vb4.2.2 pl1

let me know if things work for you... :)

DreadsUK
05-05-2014, 12:11 PM
Look everyone, there are the following versions:

7.82
7.83
7.84 and this one has 3 or 4 versions...

You can find them here:

https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941

https://vborg.vbsupport.ru/showthread.php?p=2249550#post2249550

www.vbulletin.org/forum/attachment.php?attachmentid=108940&d=1262531536

in my case, I installed this one I modified...

try them one by one...

I use vb4.2.2 pl1

let me know if things work for you... :)

Perfect, soon as im back up and running, this will be my port of call!

zoolander
05-05-2014, 06:48 PM
The other thanks mod doesn't work for me so I'm forced to use this one. Is there any way to make it so users get notifications when their posts are thanked?

DreadsUK
05-05-2014, 07:20 PM
Ok, i just uninstalled it all and started from scratch. I am using version 'post_thanks_7_84_with search fix'

then did this ('https://vborg.vbsupport.ru/showpost.php?p=2496228&postcount=3375') but that didnt work either

DreadsUK
05-05-2014, 07:28 PM
@DreadsUK

You are editing the wrong part of your plugin. Look for this line:
$template_hook['postbit_end'] .= $templater->render();
That's the line you want to edit to move the box.

Adding:
{vb:raw template_hook.postbit_thanks}
into your postbit_legacy will only move your amount of thanks/likes received around your template. You need to add your own hook into the template to make it work.

Could you explain in some step by step way. im so confused

I tried changing

This
$template_hook['postbit_end'] .= $templater->render();

to

$template_hook['postbit_signature_end'] .= $templater->render();

and it went from this

https://vborg.vbsupport.ru/external/2014/05/52.png

to this

http://s27.postimg.org/eooosiy4z/Screen_shot_2014_05_05_at_21_32_42.png

And here is my postbit_legacy for both results

vb:raw template_hook.postbit_start}

<li class="postbitlegacy postbitim postcontainer {vb:raw post.statusicon}" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">,&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']"><a name="post{vb:raw post.postid}"></a>{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<label for="post_imod_checkbox_{vb:raw post.postid}"><input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" /></label>
</vb:if>
</span>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}">
<vb:each from="reputationdisplay" value="row">
<img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}
</vb:each>
</span>
</vb:if>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd><a href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q={vb:raw post.field2}" target="_blank">{vb:raw post.field2}</a></dd></vb:if>

<vb:if condition="$post['field7']"><dt>Gender</dt> <dd>{vb:raw post.field7}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_files}" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attachments_pending_approval}" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{vb:raw template_hook.postbit_signature_start}
<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_sig}
</vb:if>
<vb:if condition="$post['signature']">
<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}{vb:raw template_hook.postbit_thanks}
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols floatcontainer">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}" title="{vb:rawphrase edit_delete_message}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<vb:if condition="THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}&amp;noquote=1" rel="nofollow" title="{vb:rawphrase quick_reply_to_this_message}"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow" title="{vb:rawphrase reply_with_quote}"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a>
<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['multiquote_post']">
<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}" title="{vb:rawphrase multi_quote_this_message}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
<vb:if condition="$show['reputationlink'] OR $show['infractionlink'] OR $show['moderated'] OR $show['spam'] OR $show['deletedpost'] OR $show['redcard'] OR $show['yellowcard']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" title="{vb:rawphrase add_reputation}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase add_reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
&nbsp;<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
&nbsp;<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}">&nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_button}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
<vb:if condition="$post['api_platform']">
<vb:if condition="$post['api_platform_link']">
<a class="mobile mobile_{vb:raw post.api_platform}" href="{vb:raw post.api_platform_link}" rel="nofollow" title="{vb:rawphrase {vb:raw post['api_platform_link_title']}}">{vb:rawphrase {vb:raw post['api_platform_link_phrase']}}</a>
<vb:else />
<span class="mobile mobile_{vb:raw post.api_platform}">{vb:rawphrase {vb:raw post['api_platform_link_phrase']}}</span>
</vb:if>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>

{vb:raw template_hook.postbit_end}

fxdigi-cash
05-06-2014, 12:51 AM
@fxdigi-cash

Your above post didn't work for me. Is there any other steps to follow?

check this out then... https://vborg.vbsupport.ru/showpost.php?p=2496263&postcount=3384

fxdigi-cash
05-06-2014, 12:52 AM
The other thanks mod doesn't work for me so I'm forced to use this one. Is there any way to make it so users get notifications when their posts are thanked?

I believe there is one or more that can do that yet not sure which one...

check out this https://vborg.vbsupport.ru/showpost.php?p=2496263&postcount=3384

fxdigi-cash
05-06-2014, 12:55 AM
Ok, i just uninstalled it all and started from scratch. I am using version 'post_thanks_7_84_with search fix'

then did this ('https://vborg.vbsupport.ru/showpost.php?p=2496228&postcount=3375') but that didnt work either

This version I provided you works with the one I attached on my post here:

https://vborg.vbsupport.ru/showpost.php?p=2496263&postcount=3384

remember that the code I provided was for custom Thanks position only... meaning you are the one who should include the Thanks button in the template, and that what I explained before.

Other hack products don't need any modification because they work automatically without any modifications.

fxdigi-cash
05-06-2014, 01:40 AM
Could you explain in some step by step way. im so confused

I tried changing



I don't get it why it is confusion you!! :confused:

ok, take it in a simple way.

first, these hooks where the button goes on:


$template_hook['postbit_start']
$template_hook['postbit_userinfo_left']
$template_hook['postbit_userinfo_right_after_posts']
$template_hook['postbit_userinfo_right']
$template_hook['postbit_messagearea_start']
$template_hook['postbit_signature_start']
$template_hook['postbit_signature_end']
$template_hook['postbit_controls']

The phrase after postbit_ indicate the location where you want the button to show up so for example, postbit_start means at the beginning of the post.

postbit_userinfo_right_after_posts means in the user info area on the right side, but after the post.

postbit_userinfo_right means in the user info area on the right side.

postbit_controls means in the post nav down where

replay, multi-reply, quote and so on are...

And the same for the rest hooks name...

now if you use any version of this mod except mine then you don't need to modify anything first. make sure the mod works for you first and then you can change the location of the Thanks button from the hook location only without touching postbit or postbit_legacy
through the list of hook locations I provided in my previous posts...

check it out and see if it works or not!!

DreadsUK
05-06-2014, 06:17 AM
I don't get it why it is confusion you!! :confused:

ok, take it in a simple way.

first, these hooks where the button goes on:


$template_hook['postbit_start']
$template_hook['postbit_userinfo_left']
$template_hook['postbit_userinfo_right_after_posts']
$template_hook['postbit_userinfo_right']
$template_hook['postbit_messagearea_start']
$template_hook['postbit_signature_start']
$template_hook['postbit_signature_end']
$template_hook['postbit_controls']

The phrase after postbit_ indicate the location where you want the button to show up so for example, postbit_start means at the beginning of the post.

postbit_userinfo_right_after_posts means in the user info area on the right side, but after the post.

postbit_userinfo_right means in the user info area on the right side.

postbit_controls means in the post nav down where

replay, multi-reply, quote and so on are...

And the same for the rest hooks name...

now if you use any version of this mod except mine then you don't need to modify anything first. make sure the mod works for you first and then you can change the location of the Thanks button from the hook location only without touching postbit or postbit_legacy
through the list of hook locations I provided in my previous posts...

check it out and see if it works or not!!

its not the button i wish to move, its the thanks box to go into the post box

Black Snow
05-06-2014, 06:20 AM
I used to use postbit_messagearea_end hook on version 7.82. Not sure why is doesn't work on version 7.84+.

fxdigi-cash
05-06-2014, 12:47 PM
I used to use postbit_messagearea_end hook on version 7.82. Not sure why is doesn't work on version 7.84+.

if you want to be sure it works or not, go to the default style to see it.

most of the times the hack conflicts with the custom style, and this is why you can't see the button showing up anywhere...

fxdigi-cash
05-06-2014, 12:48 PM
its not the button i wish to move, its the thanks box to go into the post box

in this case, you will need to play with the css for your thanks box... if the box inside the post, then it can be done the way you like with css only...

fxdigi-cash
05-06-2014, 12:50 PM
its not the button i wish to move, its the thanks box to go into the post box

if you like you can activate the Thanks mod and I will check on your site what css is needed to adjust it inside the post box!!

Black Snow
05-06-2014, 02:17 PM
if you want to be sure it works or not, go to the default style to see it.

most of the times the hack conflicts with the custom style, and this is why you can't see the button showing up anywhere...

lol I guess you think everyone is on about moving the thanks button? We are on about moving the thanks "box".

DreadsUK
05-06-2014, 04:12 PM
if you like you can activate the Thanks mod and I will check on your site what css is needed to adjust it inside the post box!!

It is activated

fxdigi-cash
05-06-2014, 09:16 PM
Ok, if this is the case for both of you, then find this line in your plugin and find in this template postbit_display_complete the following code:

$template_hook['postbit_end'] .= $templater->render();all you need is to change the hook location

to:

$template_hook['signature_end'] .= $templater->render();I hope that will fix the issue

DreadsUK
05-07-2014, 07:10 AM
Ok, if this is the case for both of you, then find this line in your plugin and find in this template postbit_display_complete the following code:

$template_hook['postbit_end'] .= $templater->render();all you need is to change the hook location

to:

$template_hook['signature_end'] .= $templater->render();I hope that will fix the issue

The thanks box doesn't display

Black Snow
05-07-2014, 01:16 PM
That MAY only work if a member has a signature. There must have been code changes from 7.82 that has caused the box to not be able to be inserted inside the post.

Black Snow
05-07-2014, 01:21 PM
@dreadsuk, if you install version 7.82 product and upload the files, follow these steps and see if it works for you. This worked for me in the past.

In postbit_legacy, find:
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">

Add this above:
{vb:raw template_hook.postbit_messagearea_end}

Replace your postbit_display_complete plugin with this:
require_once(DIR . '/includes/functions_post_thanks.php');

if (!(defined('LOCATION_BYPASS')) && !(post_thanks_off($this->thread['forumid'], $this->post, $this->thread['firstpostid'], THIS_SCRIPT)))
{
global $ids;

$thanks = fetch_thanks($this->post['postid'], $ids);

if (thanked_already($this->post) && $this->registry->options[post_thanks_delete_own])
{
$this->post['show_thanks_remove_option'] = true;
}

if ($this->post['post_thanks_amount'] > 0 && $this->thread['isdeleted'] == 0)
{
$this->post['post_thanks_bit'] = fetch_thanks_bit($this->thread['forumid'], $thanks);
$this->post['post_thanks_user'] = $post_thanks_user;
$this->post['post_thanks_amount_formatted'] = vb_number_format($this->post['post_thanks_amount']);

$post_thanks_box = fetch_post_thanks_template($this->post);
}

$templater = vB_Template::create('post_thanks_box');
$templater->register('post', $post);
$templater->register('post_thanks_box', $post_thanks_box);
$template_hook['postbit_messagearea_end'] .= $templater->render();
}

if ($this->registry->userinfo['userid'] != 0 && !(defined('LOCATION_BYPASS')) && !(post_thanks_off($thread['forumid'], $post, $thread['firstpostid'], THIS_SCRIPT)))
{
$display_thanks_image = 'none';

if (can_thank_this_post($post, $thread['isdeleted']) && !thanked_already($post))
{
$display_thanks_image = '';
}

$templater = vB_Template::create('post_thanks_button');
$templater->register('post', $post);
$templater->register('display_thanks_image', $display_thanks_image);
$template_hook['postbit_controls'] .= $templater->render();
}

if ($this->registry->options['post_thanks_show_stats_postbit'])
{
$post['post_thanks_user_amount_formatted'] = vb_number_format($post['post_thanks_user_amount']);
$post['post_thanks_thanked_times_formatted'] = vb_number_format($post['post_thanks_thanked_times']);
$post['post_thanks_thanked_posts_formatted'] = vb_number_format($post['post_thanks_thanked_posts']);

$templater = vB_Template::create('post_thanks_postbit_info');
$templater->register('post', $post);
$template_hook['postbit_userinfo_right_after_posts'] .= $templater->render();
}

DreadsUK
05-07-2014, 07:26 PM
@dreadsuk, if you install version 7.82 product and upload the files, follow these steps and see if it works for you. This worked for me in the past.

In postbit_legacy, find:
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">

Add this above:
{vb:raw template_hook.postbit_messagearea_end}

Replace your postbit_display_complete plugin with this:
require_once(DIR . '/includes/functions_post_thanks.php');

if (!(defined('LOCATION_BYPASS')) && !(post_thanks_off($this->thread['forumid'], $this->post, $this->thread['firstpostid'], THIS_SCRIPT)))
{
global $ids;

$thanks = fetch_thanks($this->post['postid'], $ids);

if (thanked_already($this->post) && $this->registry->options[post_thanks_delete_own])
{
$this->post['show_thanks_remove_option'] = true;
}

if ($this->post['post_thanks_amount'] > 0 && $this->thread['isdeleted'] == 0)
{
$this->post['post_thanks_bit'] = fetch_thanks_bit($this->thread['forumid'], $thanks);
$this->post['post_thanks_user'] = $post_thanks_user;
$this->post['post_thanks_amount_formatted'] = vb_number_format($this->post['post_thanks_amount']);

$post_thanks_box = fetch_post_thanks_template($this->post);
}

$templater = vB_Template::create('post_thanks_box');
$templater->register('post', $post);
$templater->register('post_thanks_box', $post_thanks_box);
$template_hook['postbit_messagearea_end'] .= $templater->render();
}

if ($this->registry->userinfo['userid'] != 0 && !(defined('LOCATION_BYPASS')) && !(post_thanks_off($thread['forumid'], $post, $thread['firstpostid'], THIS_SCRIPT)))
{
$display_thanks_image = 'none';

if (can_thank_this_post($post, $thread['isdeleted']) && !thanked_already($post))
{
$display_thanks_image = '';
}

$templater = vB_Template::create('post_thanks_button');
$templater->register('post', $post);
$templater->register('display_thanks_image', $display_thanks_image);
$template_hook['postbit_controls'] .= $templater->render();
}

if ($this->registry->options['post_thanks_show_stats_postbit'])
{
$post['post_thanks_user_amount_formatted'] = vb_number_format($post['post_thanks_user_amount']);
$post['post_thanks_thanked_times_formatted'] = vb_number_format($post['post_thanks_thanked_times']);
$post['post_thanks_thanked_posts_formatted'] = vb_number_format($post['post_thanks_thanked_posts']);

$templater = vB_Template::create('post_thanks_postbit_info');
$templater->register('post', $post);
$template_hook['postbit_userinfo_right_after_posts'] .= $templater->render();
}

Bummer!
https://vborg.vbsupport.ru/external/2014/05/43.png

ForceHSS
05-07-2014, 07:30 PM
Bummer!
https://vborg.vbsupport.ru/external/2014/05/43.png
https://vborg.vbsupport.ru/showpost.php?p=2249550&postcount=1846

DreadsUK
05-07-2014, 08:02 PM
https://vborg.vbsupport.ru/showpost.php?p=2249550&postcount=1846

Thats the one i currenly have installed. The issue i have with this version is i am unable to move the like box into the post itself instead of under it

ForceHSS
05-07-2014, 08:46 PM
if you had that one installed then you would not be having the issue you have with it
Bummer!
https://vborg.vbsupport.ru/external/2014/05/43.png
as mine has this problem removed

DreadsUK
05-07-2014, 09:11 PM
if you had that one installed then you would not be having the issue you have with it

as mine has this problem removed

im not sure i follow.

Im running VB4.2.2

i currently have version 'post_thanks_7_84_with search fix' installed. I am unable to move the like post box into the post itself instead of underneath it.

I tried to install version 7.82 and this was the message i recieved

https://vborg.vbsupport.ru/external/2014/05/43.png

ForceHSS
05-07-2014, 09:26 PM
Edit this line in the xml

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />
Change it to this

<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="" />

do this if you want to try the 7.82 version

redfinite
05-09-2014, 06:11 AM
I love this mod and it has run flawlessly on my forum since installed and is very popular.

Im not very good at coding and was wondering if anyone could help me with a line of code which would give you a quality percentage in your postbit.. For example at the moment it might say...

Thanked 1000 times in 500 posts.

I would like to have...

Thanked 1000 times in 500 posts
Thanks percentage: 50%

Can anyone help me with the code and where I need to edit this?

addamroy
05-16-2014, 04:11 PM
How do I edit the post_thanks_postbit_info template so that the thanked posts and posts thanked link to the thanked posts and posts thanked pages, like the links on the 'about me' page of their profile? Basically I want the numbers in the postbit to link to the same page as the about me thanks info links.

I have a feeling there's a post here about it somewhere, a link would be great I've searched the thread a couple times.

markoroots
05-26-2014, 03:53 PM
Hi guys, i have installed the mod on vb 4.2.2 and it says when i load the xml file:
This product is not compatible with your vb version.
Any Help???

ForceHSS
05-26-2014, 04:20 PM
Hi guys, i have installed the mod on vb 4.2.2 and it says when i load the xml file:
This product is not compatible with your vb version.
Any Help???
try taking the time and reading a few posts up

markoroots
05-26-2014, 04:39 PM
You are a great. :) It work. ;)

M.Rizk
05-27-2014, 06:40 PM
Hello everyone,

I have vBulletin 4.2.2 PL1, and CloudFlare + Railgun. Thanks button exists but it is useless, does nothing when clicked and gives no error messages.

ForceHSS
05-27-2014, 06:41 PM
Hello everyone,

I have vBulletin 4.2.2 PL1, and CloudFlare + Railgun. Thanks button exists, but it is useless, does nothing when clicked and gives no error messages.
check server error logs

Simon Lloyd
05-28-2014, 04:44 AM
Hello everyone,

I have vBulletin 4.2.2 PL1, and CloudFlare + Railgun. Thanks button exists but it is useless, does nothing when clicked and gives no error messages.Have you checked that all Ajax features are turned on in AdminCp>Settings?

M.Rizk
05-28-2014, 01:39 PM
Have you checked that all Ajax features are turned on in AdminCp>Settings?

Yep, they are all enabled. It was working fine till I move to a new host, and enabled Cloud Flare Railgun (used to have Basic Cloud Flare with no Railgun)

Black Snow
06-05-2014, 09:10 AM
Thats the one i currenly have installed. The issue i have with this version is i am unable to move the like box into the post itself instead of under it

What version of vB are you running? I'm not sure when they added it (if it is even the issue) but vB update the files to include to support this mod. I was running vB 4.2.1 and I could put the thanks box inside the post. I updated to vB 4.2.2 PL1 a month or two ago and now I can't get it to work. Even by using the same modification I made on 4.2.1.

So I think there needs to be another modification made before we can get it inside the post on 4.2.2.

Mark.B
06-05-2014, 10:07 AM
It works fine on 4.2.2, I am running it. 4.2.2 was almost entirely php 5.4 compatibility.

Make sure you have the skip_all_errors line in the config.php file.

Black Snow
06-05-2014, 11:45 AM
It works fine on 4.2.2, I am running it. 4.2.2 was almost entirely php 5.4 compatibility.

Make sure you have the skip_all_errors line in the config.php file.

The mod works fine. It just wont go inside the post for me on 4.2.2.

arrarrgee
06-08-2014, 12:53 AM
dunno buddy .. I been updating all the fixes along the way and it works 100% make sure you reverted all templates...

Hippy
Any idea how to not show all the usernames but show the number of thanks received?
I tried setting the below condition to 0

<vb:if condition="$post['post_thanks_amount'] > 10">

then realized it only looks at collapsing the usernames and not hiding them completely...any help is much appreciated
Thx
arr

mangmel
06-19-2014, 05:41 AM
in postbit

Thanks: 8

when the thanked post will update ? every hour or what? i cant see on sckedul task

how to make like : post count it update every seconds

badawidollah
07-21-2014, 05:15 AM
not work here

it said, invalid button

go back

i am using vb 4.0.7

WEBDosser
07-21-2014, 06:24 AM
Works on 4.0.3 Patch level 8 so it should work for you, did you upload all the files.

RedFoxy
07-27-2014, 02:44 PM
sometimes it say that I've no auth to see that page but it goes, it's random, any idea?

jowshany
07-28-2014, 02:15 PM
Hi
My post_thank table has more than 60 milion rows , it's too heavy. When one clicks on findthanks site crashes and we have to kill the php. Is there any way to disable findthanks?

Database error in vBulletin 4.2.0:

Invalid SQL:

REPLACE INTO search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, '2.187.253.17', 1, '^ALIREZA^', '', 'post.dateline', 'DESC', 0.04236, 1, '13812301,13812294,13812293,13812288,13812286,1381 2285,13812272,13812263,13812217,13812209,13812184, 13812174,13812119,13812103,13812085,13812080,13812 059', 1406397854, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:275306;s:9:\"^ALIREZA^\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}', 'f533664f29a1ac3fb7b78de1850e2f5b');

MySQL Error : Table '*********.search' doesn't exist
Error Number : 1146
Request Date : Saturday, July 26th 2014 @ 10:34:14 PM
Error Date : Saturday, July 26th 2014 @ 10:34:17 PM
Script : http://www.forum.*****.com/post_thanks.php?do=findthanks&u=275306
Referrer :
IP Address : 2.187.0.0
Username : *********
Classname : vB_Database
MySQL Version :

ForceHSS
07-28-2014, 03:04 PM
Hi
My post_thank table has more than 60 million rows, it's too heavy. When one clicks on find thanks site crashes and we have to kill the PHP. Is there any way to disable find thanks?
https://vborg.vbsupport.ru/showpost.php?p=2249550&postcount=1846
I made this fix, some time ago, there is also a link in the op post

jowshany
08-02-2014, 11:01 AM
hi
after updating to 4.2.0 and installing thanks hack , the inline mod select all does not work and when trying to use it , only the first post in being sellected .

I realized that it is somehow related to thanks hack , since when i disable tha hack the inline mod select all works and at the moment i install it again , the mod doesn,t work.

ForceHSS
08-02-2014, 12:15 PM
After updating to 4.2.0 and installing thanks hack, the inline mod does not work and when trying to use it, only the first post in being selected. I realized that it is somehow related to thanks hack, when I disabled the hack the inline mod select all work and if I install it again the mod doesn't work.
Try this (https://vborg.vbsupport.ru/showthread.php?t=243510) one, it's better

CouponWCents
08-19-2014, 02:30 AM
How do I get the word Thanks off so the button shows completely?

http://couponwithcents.com/showthread.php?38155

justicechick
08-19-2014, 03:18 AM
Still works perfect in my 4.2.2 with slight modifications to the xml before uploading it in admincp.

Replaced some values... the entire xml should appear as follows to work correctly or at least it did for me .

DBtech is a great mod for thanks also I just was unable to use it from tapatalk or forumrunner to give thanks. So that was my reason for working to use this one.

Attachment includes my fix so that I could use this.

ForceHSS
08-19-2014, 04:43 AM
Still works perfect in my 4.2.2 with slight modifications to the xml before uploading it in admincp.

Replaced some values... the entire xml should appear as follows to work correctly or at least it did for me .

DBtech is a great mod for thanks also I just was unable to use it from tapatalk or forumrunner to give thanks. So that was my reason for working to use this one.

Attachment includes my fix so that I could use this.
Doing like this
<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="" />
Would be the same to what you done in the xml but you will find there are many fixes you have missed in your xml that are in the ones I put here (https://vborg.vbsupport.ru/showpost.php?p=2249550&postcount=1846)

Wolver2
08-22-2014, 08:28 AM
I am getting a regular error everyday... I am unsure why but its from the thanks hack.
Maybe someone knows the reason?


Database error in vBulletin 4.2.1:

Invalid SQL:

REPLACE INTO search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (6705, '98.228.26.187', 1, 'Meeynool', '', 'post.dateline', 'DESC', 0.02239, 1, '98669,97569,95218,92644,91549,90807,81830,80779,8 0406,78982,74911,74907,74898,73441,73099,72460,724 10,71902,70530,40754,35812,35014,16054', 1408584488, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:6160;s:11:\"Meeynool\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}', '35d3d26550a7f96a2a4f60230701b278');

MySQL Error : Table 'c01_dadatable.search' doesn't exist
Error Number : 1146
Request Date : Thursday, August 21st 2014 @ 05:28:08 AM
Error Date : Thursday, August 21st 2014 @ 05:28:08 AM
Script : http://myurl.com/post_thanks.php?do=findthanks_user_gave&u=6160
Referrer : http://myurl.com/member.php?6160-Meeynool
IP Address : 98.222.22.187
Username : krulos
Classname : vB_Database
MySQL Version :

LIVE-EVENTS
09-09-2014, 05:16 PM
Where is the [AJAX] Post Thank You Hack Mod Version: 7.83 That works with vbulletin version 4.2.1 ?

LIVE-EVENTS
09-09-2014, 05:19 PM
This Version Mod Version: 7.82 Doesnt work for vb 4.2.1 Wolver2 you need Mod version 7.83 like i do also

koolfire
10-01-2014, 04:10 AM
Would this work on VB 4.2.2. PL1 ?

Black Snow
10-01-2014, 07:41 AM
Would this work on VB 4.2.2. PL1 ?

Yes, I use it on 4.2.2 PL1 although I use the 7.8.4+ version

https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941

matheus21
10-19-2014, 11:52 PM
does not appear help!

https://vborg.vbsupport.ru/external/2014/10/9.jpg


https://vborg.vbsupport.ru/external/2014/10/10.jpg

https://vborg.vbsupport.ru/external/2014/10/11.jpg

taz112768
11-03-2014, 10:44 PM
Is there anyway to stop vb from taking away thanks count when post deleted??For example i have 20 thanks but when the site is cleaned up and old posts deleted i lose those thanks??

ozzy47
11-03-2014, 10:47 PM
No there is not, as the thanks count is calculated from posts.

thetechgenius
11-04-2014, 01:39 PM
I would like to move the Thanked users box below the signature. Right now its below the post, I think it would look much cleaner inside the posts, below the signature.

Does anyone know how to do this? I am running vB 4.1.4.

TheLastSuperman
11-05-2014, 11:42 AM
I would like to move the Thanked users box below the signature. Right now its below the post, I think it would look much cleaner inside the posts, below the signature.

Does anyone know how to do this? I am running vB 4.1.4.

I noticed your post here as well:
https://vborg.vbsupport.ru/showthread.php?p=2521457

Edit the .xml, scroll to find (around line 206):
$templater = vB_Template::create('post_thanks_box');
$templater->register('post', $post);
$templater->register('post_thanks_box', $post_thanks_box);
$template_hook['postbit_end'] .= $templater->render();
}

Change this line:
$template_hook['postbit_end'] .= $templater->render();

To:
$template_hook['postbit_signature_end'] .= $templater->render();

Basically as you can see we simply added _end but that changes the location of where it inserts the thanks box.

Edit: Also not sure if it makes a difference, perhaps on the line in the .xml file being 206 or not lol but I was referencing a change to the .xml file from this post: https://vborg.vbsupport.ru/showthread.php?p=2249550#post2249550 the one w/ the search fix included.

mokujin
11-05-2014, 12:34 PM
I noticed your post here as well:
https://vborg.vbsupport.ru/showthread.php?p=2521457

Edit the .xml, scroll to find (around line 206):
$templater = vB_Template::create('post_thanks_box');
$templater->register('post', $post);
$templater->register('post_thanks_box', $post_thanks_box);
$template_hook['postbit_end'] .= $templater->render();
}

Change this line:
$template_hook['postbit_end'] .= $templater->render();

To:
$template_hook['postbit_signature_end'] .= $templater->render();

Basically as you can see we simply added _end but that changes the location of where it inserts the thanks box.

Edit: Also not sure if it makes a difference, perhaps on the line in the .xml file being 206 or not lol but I was referencing a change to the .xml file from this post: https://vborg.vbsupport.ru/showthread.php?p=2249550#post2249550 the one w/ the search fix included.
If the user does not have signature (or have turn off the signature) then post thanks won't show up.

Teascu Dorin
11-05-2014, 03:22 PM
Use an if condition. If sig off use $template_hook['postbit_end'] .= $templater->render(); else $template_hook['postbit_signature_end'] .= $templater->render();

ozzy47
11-05-2014, 11:08 PM
No don't use conditionals, the easiest way is to do this.

Edit the .xml, scroll to find (around line 206):
$templater = vB_Template::create('post_thanks_box');
$templater->register('post', $post);
$templater->register('post_thanks_box', $post_thanks_box);
$template_hook['postbit_end'] .= $templater->render();
}

Change this line:
$template_hook['postbit_end'] .= $templater->render();

To this:
$show['post_thanks_box'] = $templater->render();

Then in your postbit_legacy or postit template find:
{vb:raw template_hook.postbit_signature_end}

And after that add this:
{vb:raw show.post_thanks_box}

Now it will show inside the post, below the signature, even if the user has no signature.

hurricane_sh
11-08-2014, 09:03 AM
The thanks hack on vB looks very nice, does anyone know if it's the same hack? Thanks!

ozzy47
11-08-2014, 10:44 AM
No the thanks hack on vB.org is the reputations system, modified to act like a thanks. :)

ForceHSS
11-08-2014, 01:05 PM
No the thanks hack on vB.org is the reputations system, modified to act like a thanks. :)

How you know that

ozzy47
11-08-2014, 01:08 PM
Because every time you click on a like, for someones post, it adds to their reputation. :)

ForceHSS
11-08-2014, 01:15 PM
And where in members profile does it show this info as I don't see it in mine on here unless you see it because of the group you are in

ozzy47
11-08-2014, 01:17 PM
I believe it only shows on the memberlist, https://vborg.vbsupport.ru/memberlist.php?&order=DESC&sort=reputation&pp=25

ForceHSS
11-08-2014, 01:21 PM
I see but even with that info there is no way to know it goes up when members click the like button on here unless an admin told you it does that. What does the rep even do to me it does nothing even on my own site

ozzy47
11-08-2014, 01:22 PM
Well that is just the way it was coded. :)

VHLinks
11-08-2014, 09:53 PM
So I just installed Force HSS's version and it works great on my 4.2.2. I've tried searching the thread and it's just so hard to find the answer to this. I just want to move the Thanks button itself from the far left over next to the Post and Reply buttons on the right and I just can't seem to get it to work. I know it should be easy to do. Any help would be great! Thanks.

ForceHSS
11-08-2014, 11:16 PM
So I just installed Force HSS's version and it works great on my 4.2.2. I've tried searching the thread and it's just so hard to find the answer to this. I just want to move the Thanks button itself from the far left over next to the Post and Reply buttons on the right and I just can't seem to get it to work. I know it should be easy to do. Any help would be great! Thanks.

Install dbtech thanks mod you will find it better

VHLinks
11-09-2014, 12:36 AM
Install dbtech thanks mod you will find it better

I didn't like it, I had the old 3.8 version of this one. I like yours, it works great, I just want the Like Post thing over on the other side. It's perfect other than that. Plus this one works with Tapatalk and a lot of my users (like myself) like that.

VHLinks
11-09-2014, 03:30 AM
Well I actually figured it out somehow. Seems to be right, so I'm happy. :)

ForceHSS
11-09-2014, 05:14 AM
Good you worked it out if you can post what you changed in case others need the info

Firyou
11-10-2014, 08:33 AM
This mod has been working fine for the last year and I love that it works with tapatalk. I looked through the thread and wasn't able to find this. I was wondering how I can go about editing the text that says "Thanked X Times in X Posts" in postbit legacy

I wanted to shorten it to just "Thanked X Times" because it's stretching out the width of the postbit box since my members thank a lot. Tyia for any help.

Black Snow
11-10-2014, 01:52 PM
This mod has been working fine for the last year and I love that it works with tapatalk. I looked through the thread and wasn't able to find this. I was wondering how I can go about editing the text that says "Thanked X Times in X Posts" in postbit legacy

I wanted to shorten it to just "Thanked X Times" because it's stretching out the width of the postbit box since my members thank a lot. Tyia for any help.

It is a phrase. Run a search for "thanked" and edit it.

Pisadam
11-12-2014, 10:58 AM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>

I'm getting an error. Can you help me pls @ForceHSS

ForceHSS
11-12-2014, 11:02 AM
Check error file and post the error

Franck
11-13-2014, 08:04 AM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>

I'm getting an error. Can you help me pls @ForceHSS

I was getting that error too, and, checking the error log, it showed that the permissions were set wrong on the post_thanks.php file, was writable by Group. Changed it to 755 and all working great now.

Thanks @ForceHSS for the fixes.

webfred
11-15-2014, 12:35 PM
thank you very much

dariyos
12-01-2014, 08:51 AM
whats that????

https://vborg.vbsupport.ru/external/2014/12/33.png

WEBDosser
12-01-2014, 09:14 AM
Someone has received a lot of thanks..

dariyos
12-02-2014, 08:16 AM
what can i do now?

how is it possible to get the Value "4.294.967.295 " (UINT 32 Bit) ---> Decimal Value "-1" for a Thanks?

angemon
12-04-2014, 10:44 PM
how to make the users only say thanks based on how much thanks they have !? I mean If a member have 10 thanks then he thank someone's post he lose 1 thank , so he end up with 9 thanks and the other one will have 1 thanks which he can use to thank someone else.

ozzy47
12-04-2014, 10:52 PM
That will not happen with this mod, as the developer has not been on in almost five years.

But if you were to do such a thing, where would someone get a thank to be able to thank someone else?
Where would this thank be removed from, which post?

That is way to complicated of a system to try and integrate into this mod.

angemon
12-04-2014, 10:57 PM
That will not happen with this mod, as the developer has not been on in almost five years.

But if you were to do such a thing, where would someone get a thank to be able to thank someone else?
Where would this thank be removed from, which post?

That is way to complicated of a system to try and integrate into this mod.

I didn't know it was too complicated , here what I want , I've enabled the hide-thanks in threads so people need to thanks the OP to view the thread , but to thanks the thread he need to have thanks first , which require him to write threads to get thanks from other members , so that's why I need the system that when someone thanks a thread he got -1 thank , and the other one get that 1 thank.

ozzy47
12-04-2014, 11:04 PM
Yeah that is way to complicated to do with this mod. I am sure you could pay someone, and they may be able to code something. But I still don't see where the thanks will get taken from, as it is assigned to a post. So you would have to basicaly un thank a post in order to take a thanks away.

angemon
12-04-2014, 11:08 PM
Yeah that is way to complicated to do with this mod. I am sure you could pay someone, and they may be able to code something. But I still don't see where the thanks will get taken from, as it is assigned to a post. So you would have to basicaly un thank a post in order to take a thanks away.
is there any other mod that can do the work !? or a mod where thanks are not attached to posts ? I mean just a button you click to add a point as " like/dislike" but this time if you like someone post you got a dislike or something like that . I'm not sure if you get the idea I'm trying to tell

ozzy47
12-04-2014, 11:09 PM
Not that I ever remember coming across.

angemon
12-04-2014, 11:43 PM
Not that I ever remember coming across.
can you made that mod for me!? I will buy it from you

ozzy47
12-04-2014, 11:48 PM
I don't do paid work. You can post a request here, Requests for Paid Services (https://vborg.vbsupport.ru/forumdisplay.php?f=30) just make sure you read the stickie threads in that forum before hiring someone. :)

RawBoard
12-18-2014, 10:07 AM
The following dependencies were not met:

This product is not compatible with version 4.2.1 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)

why is not working on the 4.2.1 ?

Simon Lloyd
12-18-2014, 12:42 PM
You can remove the version dependencies in the xml, it's probably just been left like that as the real author hasn't been around for ages.

Are you using the correct one? https://vborg.vbsupport.ru/showthread.php?p=2249550#post2249550

joeychgo
12-25-2014, 10:40 AM
Any idea how to make this NOT visible to guests?

Simon Lloyd
12-26-2014, 10:00 AM
just put the button in a conditional something like <vb:if condition="$show['member']"> if you want to do it for specific usergroups then wrap the button in <vb:if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"> where 1,2 and 3 are the usergroups that CAN see it.

analog-x
12-28-2014, 02:58 PM
Will this work with vBulletin 5.x ? If not. Is there a similar mod for vBulletin 5?

ForceHSS
12-28-2014, 03:08 PM
Only for 4.0.x use this one (https://vborg.vbsupport.ru/showthread.php?t=289426) for vb5

analog-x
01-03-2015, 11:42 AM
I just upgraded to vBulletin 4.2.2 and the files in the main page would not install due to Independence errors.

However on Page 124 on this product there is an update that worked for me.

https://vborg.vbsupport.ru/showpost.php?p=2249550&postcount=1846

Maybe that update should be at the top of the product page so others know about it.

ozzy47
01-03-2015, 11:52 AM
It is in the first post, at the very top. :p

STAFF EDIT:
Note - The mod author has been unreachable for some time, but the vbulletin.org community has stepped up to provide a number of individual fixes over the years. ForceHSS and Hippy have both combined many of these fixes into product files.

ALL CREDIT STILL GOES TO ABE1 And this is still 'his' mod. Please still mark the mod as installed if you use any version of it.

That said so you don't need to apply a dozen + small fixes yourself you should consider downloading one of the updated packages below:

Hippy has one: in this post. (https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941)

AND / OR

ForceHSS has one: In this post. (https://vborg.vbsupport.ru/showthread.php?p=2249550#post2249550)

boffin_adi
01-06-2015, 05:58 AM
Hi Team Today i got this message Please check and give me a idea what i do

Database error in vBulletin 4.1.5:

Invalid SQL:

REPLACE INTO vb3search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (1, '122.162.214.235', 1, 'dheeraj.db99', '', 'post.dateline', 'DESC', 0.02775, 1, '2832', 1420530220, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"use rs\";a:1:{i:33821;s:12:\"dheeraj.db99\";}s:6:\"forums\";i:0;s:7:\"options\";a:3: {s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\ ";}}', 'e315927dbcd262523c9bda9990e88942');

MySQL Error : Table 'databasename.vb3search' doesn't exist
Error Number : 1146
Request Date : Tuesday, January 6th 2015 @ 01:13:40 PM
Error Date : Tuesday, January 6th 2015 @ 01:13:40 PM
Script : http://www.faadooengineers.com/post_...r_gave&u=33821
Referrer :
IP Address : 122.162.214.235
Username : FaaDoO-Engineer
Classname : vB_Database
MySQL Version : 5.1.73-cll

ForceHSS
01-06-2015, 06:05 AM
Hi Team Today i got this message Please check and give me a idea what i do

Database error in vBulletin 4.1.5:

Invalid SQL:

REPLACE INTO vb3search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (1, '122.162.214.235', 1, 'dheeraj.db99', '', 'post.dateline', 'DESC', 0.02775, 1, '2832', 1420530220, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"use rs\";a:1:{i:33821;s:12:\"dheeraj.db99\";}s:6:\"forums\";i:0;s:7:\"options\";a:3: {s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\ ";}}', 'e315927dbcd262523c9bda9990e88942');

MySQL Error : Table 'databasename.vb3search' doesn't exist
Error Number : 1146
Request Date : Tuesday, January 6th 2015 @ 01:13:40 PM
Error Date : Tuesday, January 6th 2015 @ 01:13:40 PM
Script : http://www.faadooengineers.com/post_...r_gave&u=33821
Referrer :
IP Address : 122.162.214.235
Username : FaaDoO-Engineer
Classname : vB_Database
MySQL Version : 5.1.73-cll
Read the post above it is also on the ops post as well, but I recommend installing this (https://vborg.vbsupport.ru/showthread.php?t=243510) one

boffin_adi
01-07-2015, 09:15 AM
Read the post above it is also on the ops post as well, but I recommend installing this (https://vborg.vbsupport.ru/showthread.php?t=243510) one

Just want to clarify that to use the add-ons recommended by you should I deleted the previous one or should use it without deleting

ozzy47
01-07-2015, 09:58 AM
No don't delete the previous one, you would loose all your thanks info.

Upload the files Force provided, overwriting the previous files, then import the new XML, allowing overwrite.

boffin_adi
01-08-2015, 10:12 AM
No don't delete the previous one, you would loose all your thanks info.

Upload the files Force provided, overwriting the previous files, then import the new XML, allowing overwrite.

Thank You very much :up: :up: :up:

ozzy47
01-08-2015, 10:13 AM
Not a problem, glad to help, :)

rwurbanwildlife
01-10-2015, 11:01 AM
How can I change this to a "like" button?

ozzy47
01-10-2015, 12:57 PM
Edit the phrase perhaps?

Ahsan Ali
01-14-2015, 03:43 PM
hope you will soon make this mod for v 4.2.2

ozzy47
01-14-2015, 10:44 PM
hope you will soon make this mod for v 4.2.2

It does, use this version, https://vborg.vbsupport.ru/showthread.php?p=2249550#post2249550

tsolomon
01-21-2015, 03:34 AM
2ozzy47
Many thanks it workds fine with a 4.2.2 version

I saw someone uses that mod twice. He has "Thank you" and "Agree" buttons. Is it hard to modify it and use as "Like" button with an original "Thanks" ?

ravenfaust
01-23-2015, 06:58 PM
does this work with vb 4.2?

ozzy47
01-23-2015, 09:14 PM
The version in this post (https://vborg.vbsupport.ru/showthread.php?p=2249550#post2249550) it sure does.

SPH0
01-23-2015, 09:42 PM
Which that could work on vBulletin 4.2.2 or 4.X
Unfortunately, couldn't get it to work for me due to compatibility issues.

ozzy47
01-23-2015, 10:03 PM
What compatibility issues?

Bonsai Coder
01-24-2015, 02:36 AM
Which that could work on vBulletin 4.2.2 or 4.X
Unfortunately, couldn't get it to work for me due to compatibility issues.

Works on my 4.2.2 install....

Radibux
02-05-2015, 09:44 PM
Hi,

I use version 7.84 with vBulletin 4.2.2 patch level 4

I have this error when I want delete post:


Database error in vBulletin 4.2.0:

Invalid SQL:

UPDATE user
SET post_thanks_thanked_times = post_thanks_thanked_times - 2, post_thanks_thanked_posts = post_thanks_thanked_posts - 1, reputation = reputation - 2
WHERE userid = '2004';

MySQL Error : BIGINT UNSIGNED value is out of range in '(`base`.`user`.`post_thanks_thanked_posts` - 1)'
Error Number : 1690
...
Classname : vB_Database
MySQL Version : 5.5.14


Any help please