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

gajinoz
06-27-2012, 06:52 AM
Installed, seems to be working OK. Thanks.

sticheno
06-29-2012, 02:39 PM
Nicely done. My users seem to really like it.

One minor issue I'm noticing that I've been unable to correct. Since installing it, there's now a huge white space between the Blog Entries and the number of blogs. Before installation that wasn't the case and I'll illustrate it below with two screen shots combined. The top, installed with the space. Below that, uninstalled and no space as shown on my test forum for the same user. Any ideas what's causing that? Appears to be CSS related since the code is similar but that's a guess.

sticheno
06-29-2012, 02:47 PM
Ahem... <slaps_head>

Actually, I now see you can turn that off in the admin panel. Wasn't real crazy about that stat so it's now gone and of course that resolved the issue.

Great hack. Many thanks.

leftwich86
07-08-2012, 01:53 PM
Does this not work with 4.2?

ForceHSS
07-08-2012, 04:18 PM
Does this not work with 4.2?

Read staff edit on first post

leftwich86
07-08-2012, 05:28 PM
thanks

kamrandahir
07-08-2012, 09:50 PM
The following dependencies were not met:

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

Crotan
07-09-2012, 02:12 AM
The following dependencies were not met:

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

Someone didn't read the mod description :p

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).


If Abe1 returns he can request these packages be removed.

agentaeon
07-09-2012, 11:43 AM
Hi,

I had to reinstall the thanks system but before I did I used phpmyadmin to make a backup of the vbpost_thanks table. Unfortunately on restoring this the thanks aren't reflected on the site.

Have I missed something?

Thanks.

ForceHSS
07-09-2012, 01:41 PM
Hi,

I had to reinstall the thanks system but before I did I used phpmyadmin to make a backup of the vbpost_thanks table. Unfortunately on restoring this the thanks aren't reflected on the site.

Have I missed something?

Thanks.

You did not have to remove all you needed to do was to over right the older files best to start from new this way you will have no more problems

agentaeon
07-11-2012, 06:30 PM
139670

I am using ForceHSS' version of the hack and I have been unable to find any information regarding how to make the box where it says people have thanked for this useful post look like the attached image.

I am using a theme that takes advantage of postbit legacy.

Can someone help?

Thanks.

Hippy
07-11-2012, 06:44 PM
That's because it's a article that BOP5 write look at the post of mine in the first post or my Sig. The link to it is there

Sarteck
07-17-2012, 05:16 PM
I'm wracking my brains trying to figure out how to make this work after moving parts of my vB4 suite to sub-domains (the forums and the blogs).

When we click on Thanks, nothing happens except for the "Thanks" bit disappearing. When the thread is re-loaded, nothing has changed, either.

When we middle-click or otherwise open the "Thanks" in a new Tab/Window, it works fine.

I tried making a post_thanks.php file in my forums sub-directory that has the same stuff most everything else in that directory has:<?php
require_once(dirname(__FILE__) . "/vb_dir.php");
chdir($vb_dir);
require_once($vb_dir . '/' . basename(__FILE__));
?>But it didn't change a thing. (And here I thought I was being clever. :< )



It worked great before the change to the new sub-domain. It still does not work on a clean Style. I (obviously) haven't tried disabling all my plugins, since this one would be included. XP


Am I missing something?

ForceHSS
07-18-2012, 12:33 AM
I'm wracking my brains trying to figure out how to make this work after moving parts of my vB4 suite to sub-domains (the forums and the blogs).

When we click on Thanks, nothing happens except for the "Thanks" bit disappearing. When the thread is re-loaded, nothing has changed, either.

When we middle-click or otherwise open the "Thanks" in a new Tab/Window, it works fine.

I tried making a post_thanks.php file in my forums sub-directory that has the same stuff most everything else in that directory has:<?php
require_once(dirname(__FILE__) . "/vb_dir.php");
chdir($vb_dir);
require_once($vb_dir . '/' . basename(__FILE__));
?>But it didn't change a thing. (And here I thought I was being clever. :< )



It worked great before the change to the new sub-domain. It still does not work on a clean Style. I (obviously) haven't tried disabling all my plugins, since this one would be included. XP


Am I missing something?

Have you tried removing and reinstalling

Sarteck
07-18-2012, 03:27 AM
Have you tried removing and reinstalling

No, but I did re-download, and re-installed (allowing uploaded files to overwrite the old files) with "Allow Overwrite" set when I imported the XML.

If I remove it, won't that remove the database of Thanks I already have? :(

Note that Thanking is still possible; one can still "Thank" by opening the thank link itself in a new tab/window. It's just the AJAX that seems to crap out.

ForceHSS
07-18-2012, 04:23 AM
Version you are using and vb version?

ForceHSS
07-18-2012, 04:26 AM
No, but I did re-download, and re-installed (allowing uploaded files to overwrite the old files) with "Allow Overwrite" set when I imported the XML.

If I remove it, won't that remove the database of Thanks I already have? :(

Note that Thanking is still possible; one can still "Thank" by opening the thank link itself in a new tab/window. It's just the AJAX that seems to crap out.

You said you moved parts to your sub as I said above to reinstall after removing might fix the problem as some error might of happened after the move. But it is very hard to see without site links and screenshots so can only go by what you say

Sarteck
07-18-2012, 04:34 AM
I'm using 7.84. I -think- I was using 7.83 before I re-installed it, but it might have been 7.84.

vB version is 4.1.11. (Was on 4.1.10, but when we moved stuff to subdomains, there was a bug for going to the first unread post of a thread, and that was fixed in 4.1.11, so we just upgraded last night.)



I have the site on three subdomains, basically. Normal content (including CMS) is on the plain old www.domain, forums are on forums.domain, and blogs (not that it matters) are on blogs.domain.

What I "moved," well, it wasn't really a move. I left everything installed as normal. I then created a new file in my forums sub-directory on the server called post_thanks.php (originally, there was just the one on the main part of the site). I put into it the content you see above (which is the content in most files in stub directories like mine).



I will install this onto my clean testing forum tonight (I split it into sub-domains as well not too long ago), and see if the problem persists.

ForceHSS
07-18-2012, 04:43 AM
I'm using 7.84. I -think- I was using 7.83 before I re-installed it, but it might have been 7.84.

vB version is 4.1.11. (Was on 4.1.10, but when we moved stuff to subdomains, there was a bug for going to the first unread post of a thread, and that was fixed in 4.1.11, so we just upgraded last night.)



I have the site on three subdomains, basically. Normal content (including CMS) is on the plain old www.domain, forums are on forums.domain, and blogs (not that it matters) are on blogs.domain.

What I "moved," well, it wasn't really a move. I left everything installed as normal. I then created a new file in my forums sub-directory on the server called post_thanks.php (originally, there was just the one on the main part of the site). I put into it the content you see above (which is the content in most files in stub directories like mine).



I will install this onto my clean testing forum tonight (I split it into sub-domains as well not too long ago), and see if the problem persists.

Why not have it on the one domain like all other forums. Well the problem could be because of ur setup. I am sure with a bit of recoding you can fix

Sarteck
07-18-2012, 07:32 AM
Why not have it on the one domain like all other forums. Well the problem could be because of ur setup. I am sure with a bit of recoding you can fix

...because it's how I have my forum set up...? O.o

You do realize that vBulletin 4.1+ allows for subdomains to separate blogs, forums, and CMS, yeah?





ANYways, back to the issue.

I altered the post_thanks.js to have the following function changed:
var post_thanks_handleFailure = function(o)
{
if(o.responseText !== undefined)
{
alert(o.responseText);
}
else {console.debug("Here is the request object (failed): %o", o);}
}

When debugging, the response I get is:

Here is the request object (failed): Object { tId=1, status=0, statusText="communication failure"}







Ah, fixed it.





That new post_thanks.php that I put up in my forums stub directory, I put that back in, and THEN I prefixed the "sUrl" in each of the three functions with PATHS.forum+'/'. (Full code will follow at the end of this post.)

Thanks is now working just fine.










/*======================================*\
|| #################################### ||
|| # Post Thank You Hack version 7.84 # ||
|| # Original version by Abe1 # ||
|| # Updated by Forcehss # ||
|| #################################### ||
\*======================================*/
var post_thanks_base_url = PATHS.forum+'/';
var post_thanks_handleSuccess = function(o)
{
if(o.responseText !== undefined)
{
if (post_thanks_callback.object_name[o.tId] !== undefined)
{
fetch_object(post_thanks_callback.object_name[o.tId]).innerHTML = o.responseText;
}
}
}
var post_thanks_handleFailure = function(o)
{
if(o.responseText !== undefined)
{
alert(o.responseText);
}
else {console.debug("Here is the request object (failed): %o", o);}
}
var post_thanks_callback =
{
success: post_thanks_handleSuccess,
failure: post_thanks_handleFailure,
timeout: vB_Default_Timeout,
cache: false,
object_name: new Array()
};
function post_thanks_give(postid, integrate)
{
fetch_object('post_thanks_button_' + postid).style.display = 'none';
fetch_object('post_thanks_separator_' + postid).style.display = 'none';

if (integrate == true)
{
fetch_object('post_groans_button_' + postid).style.display = 'none';
}

var sUrl = post_thanks_base_url + 'post_thanks.php';
var postData = 'do=post_thanks_add&using_ajax=1&p=' + postid + '&securitytoken=' + SECURITYTOKEN;

var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, post_thanks_callback, postData);

post_thanks_callback.object_name[request.tId] = 'post_thanks_box_' + postid;

fetch_object('post_thanks_box_' + postid).style.display = '';

return false;
}
function post_thanks_remove_all(postid, integrate)
{
var sUrl = post_thanks_base_url + 'post_thanks.php';
var postData = 'do=post_thanks_remove_all&using_ajax=1&p=' + postid + '&securitytoken=' + SECURITYTOKEN;

var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, post_thanks_callback, postData);

post_thanks_callback.object_name[request.tId] = 'post_thanks_box_' + postid;

fetch_object('post_thanks_button_' + postid).style.display = ''
fetch_object('post_thanks_separator_' + postid).style.display = '';

if (integrate == true)
{
fetch_object('post_groans_button_' + postid).style.display = '';
}

fetch_object('post_thanks_box_' + postid).style.display = 'none';

return false;
}
function post_thanks_remove_user(postid, integrate)
{
var sUrl = post_thanks_base_url + 'post_thanks.php';
var postData = 'do=post_thanks_remove_user&using_ajax=1&p=' + postid + '&securitytoken=' + SECURITYTOKEN;

var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, post_thanks_callback, postData);

post_thanks_callback.object_name[request.tId] = 'post_thanks_box_' + postid;

fetch_object('post_thanks_button_' + postid).style.display = ''
fetch_object('post_thanks_separator_' + postid).style.display = '';

if (integrate == true)
{
fetch_object('post_groans_button_' + postid).style.display = '';
}

fetch_object('post_thanks_box_' + postid).style.display = 'none';

return false;
}

ForceHSS
07-18-2012, 02:30 PM
Glad you got it fixed and I also have one of my forums with the sub like yours

thienhi228
07-22-2012, 11:33 AM
Thank you! Please upgrade for vbb 4.2.x

gedsta
07-22-2012, 11:45 AM
Thank you! Please upgrade for vbb 4.2.x

It works fine on vB 4.2.0

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

L2Insomnia
07-22-2012, 04:29 PM
Odd I uploaded and enabled the one provided by ForceHSS and it has no effect at all..nothing shows up. This is on a clean install using the default template and no other mods installed. No errors or anything.

ForceHSS
07-22-2012, 06:03 PM
Vb version and make sure you installed all files to correct folders

L2Insomnia
07-22-2012, 10:36 PM
Oops sorry forgot the version. I am running 4.2.0 Patch level 2.

I just checked all files and they are all there in the correct locations.

ForceHSS
07-23-2012, 12:52 AM
Do you have the setting option for the mod. Does any part of it show in the admincp also check error logs see if they show anything

cbiweb
07-24-2012, 12:55 PM
This error showed up while trying to thank a post:
If this error occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.]]>
It seems to have fixed itself, but what caused it, and is there a way to prevent it from happening again? I'm running vB4.2 PL2.

ForceHSS
07-24-2012, 10:50 PM
describe the action you performed before you received this error

revmitchell
07-25-2012, 04:57 AM
Will not install here is the error:

The following dependencies were not met:

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

New Joe
07-25-2012, 05:42 AM
Odd I uploaded and enabled the one provided by ForceHSS and it has no effect at all..nothing shows up. This is on a clean install using the default template and no other mods installed. No errors or anything.
Same here, I installed it on 4.2.0 and the Thanks button doesn't show, on 4.1.3shows fine

Disco_Dave
07-25-2012, 08:18 AM
I'm running this add on, on 4.2 pl2 and it works a treat :)

New Joe
07-25-2012, 08:41 AM
I'm running this add on, on 4.2 pl2 and it works a treat :)

Did you use Hippy's fix or ForceHSS's fix?

Disco_Dave
07-25-2012, 08:56 AM
Did you use Hippy's fix or ForceHSS's fix?

I'm using Hippy's fix, I wouldn't be sure what the difference's are though :)

cbiweb
07-25-2012, 09:43 AM
This error showed up while trying to thank a post:

It seems to have fixed itself, but what caused it, and is there a way to prevent it from happening again? I'm running vB4.2 PL2.

describe the action you performed before you received this error
I woke up that morning, had coffee, went into my office to get on my computer, checked email and stuff, then logged onto my forums, checked for new posts, read a few, and on one of them I simply clicked the 'Thanks' icon. That's when the error occurred.

Videx
07-25-2012, 01:08 PM
I woke up that morning, had coffee, went into my office to get on my computer, checked email and stuff, then logged onto my forums, checked for new posts, read a few, and on one of them I simply clicked the 'Thanks' icon. That's when the error occurred.That's not much of a bug report. Now tell us how many different browsers you've tried, how many of your members are reporting the same error, and what you've already done to try to solve the problem. And, assuming it happens every time in 3-4 browsers, give us a test login so we can see it for ourselves. At some point be prepared to assure us that you have disabled all your other mods, and that it didn't stop working after installing another mod.

cbiweb
07-25-2012, 01:20 PM
Please re-read my original post, slowly so as to fully comprehend all the aspects and limitations of reporting the issue (hint: happened once, fixed itself), and you'll see why there's really nothing more I can say about it than I already did.

All I want to know is if this is something that has a known cause, and how to prevent it. If not, so be it.

ForceHSS
07-25-2012, 01:47 PM
Please re-read my original post, slowly so as to fully comprehend all the aspects and limitations of reporting the issue (hint: happened once, fixed itself), and you'll see why there's really nothing more I can say about it than I already did.

All I want to know is if this is something that has a known cause, and how to prevent it. If not, so be it.

Are you using Hippy's or my version

cbiweb
07-25-2012, 01:55 PM
Yours.

ForceHSS
07-25-2012, 02:03 PM
Did it ever tell you what the error was or was this the only message you ever got


If this error occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.]]>

cbiweb
07-25-2012, 02:14 PM
Yep, that was the entire message. It was on the screen right where the thanks normally appears. I do wonder if it was an early symptom of a db crash we experienced about an hour later (whole tables went missing), and we had to restore a backup.

Disco_Dave
07-25-2012, 02:54 PM
Did you use Hippy's fix or ForceHSS's fix?

I've also installed ForceHSS version and it works 100% also.

HTH
Dave

mfractal
07-25-2012, 05:13 PM
tried to search this thread without much success.
I'd like to modify the code, so that when a thanks is given to a user, it's reputation would increase for the amount of rep power of the one who thanked him.

Currently, i can only set a fixed value for reputation increase.

ForceHSS
07-25-2012, 09:24 PM
tried to search this thread without much success.
I'd like to modify the code, so that when a thanks is given to a user, it's reputation would increase for the amount of rep power of the one who thanked him.

Currently, i can only set a fixed value for reputation increase.

Post in paid section if you need custom coding done

ForceHSS
07-25-2012, 09:26 PM
Yep, that was the entire message. It was on the screen right where the thanks normally appears. I do wonder if it was an early symptom of a db crash we experienced about an hour later (whole tables went missing), and we had to restore a backup.

I would say yes db crash would not help and I would say was the reason for the message hope you don't have any more problems

L2Insomnia
07-27-2012, 11:56 AM
I am not sure what changed but it is now showing and working fine. I didn't change a thing it just appeared. I think it was a problem with my browser. Thanks for the help :)

tareqbd
07-27-2012, 12:18 PM
Post in paid section if you need custom coding done

ForceHSS bro
the SID hide integrates the Thanks feature, no one updated it for vb 4.2.0. meta description and rss showing the hidden content. can you work on it please.
@hippy bro too.

TNERatedEdge
07-27-2012, 02:40 PM
I upgraded to 4.2 how do I make this show ?

tareqbd
07-27-2012, 03:47 PM
I upgraded to 4.2 how do I make this show ?

Works fine on vb 4.2.0.

TNERatedEdge
07-27-2012, 06:31 PM
how do you make it show under the posts?

ForceHSS
07-27-2012, 08:45 PM
how do you make it show under the posts?

Check ur settings

TNERatedEdge
07-28-2012, 12:45 PM
I did...nothing there?

TNERatedEdge
07-28-2012, 12:49 PM
its eneabled, but not one of the options says show on forum?

I want it to be shown under my posts.

"____ and ____ liked this post

oldz442
07-29-2012, 01:16 AM
....

ForceHSS
07-29-2012, 11:04 AM
its eneabled, but not one of the options says show on forum?

I want it to be shown under my posts.

"____ and ____ liked this post

As I don't have forums any more and not sure where you would like it bit hard to help u

jancarlo
07-29-2012, 11:14 AM
vBulletin Message

The following dependencies were not met:
This product is not compatible with version 4.2.0 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)

ForceHSS
07-29-2012, 02:01 PM
vBulletin Message

The following dependencies were not met:
This product is not compatible with version 4.2.0 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)

As English is not your first language I will help you as you might not understand what the first says so click the link in my sig so get the updated one it also tells you this in the first post or as some call it the op

Delfi_r
07-29-2012, 08:24 PM
I have the last hack installed, and from last week I have a problem, when I push the icon I have one window open with this text:

<div class="postbody">

<div class="postrow">



<div class="smallfont" style="float:right">







<a href="post_thanks.php?do=post_thanks_remove_user&amp;p=9204" onclick="return post_thanks_remove_user(9204, false);" rel="nofollow">Borrar tus 'Gracias'</a>



</div>



<h2 class="posttitle">



El siguiente Usuario da las gracias a Charly1000D por este interesante Post:



</h2>

<div class="content">

<div id="post_thanks_bit_9204">

<blockquote class="postcontent restore">

<a href="member.php?u=2" rel="nofollow">Delfi_r</a>

</blockquote>

</div>

</div>

</div>

</div>

<hr />

And the thanks count it's not updated inmedaitelly.

ForceHSS
07-30-2012, 11:37 AM
I have the last hack installed, and from last week I have a problem, when I push the icon I have one window open with this text:

<div class="postbody">

<div class="postrow">



<div class="smallfont" style="float:right">







<a href="post_thanks.php?do=post_thanks_remove_user&amp;p=9204" onclick="return post_thanks_remove_user(9204, false);" rel="nofollow">Borrar tus 'Gracias'</a>



</div>



<h2 class="posttitle">



El siguiente Usuario da las gracias a Charly1000D por este interesante Post:



</h2>

<div class="content">

<div id="post_thanks_bit_9204">

<blockquote class="postcontent restore">

<a href="member.php?u=2" rel="nofollow">Delfi_r</a>

</blockquote>

</div>

</div>

</div>

</div>

<hr />

And the thanks count it's not updated inmedaitelly.

That has nothing to do with this plugin you must have another plugin that is along the same lines as this one as none of then words or php coding is in any of these files like that

avrpatsfan
07-30-2012, 02:56 PM
I installed everything correctly and I get the following error message when I try to like a post.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>500 Internal Server Error</TITLE>
</HEAD><BODY>
<H1>Internal Server Error</H1>
The server encountered an internal error or
misconfiguration and was unable to complete
your request.<P>

What went wrong?

ForceHSS
07-30-2012, 06:01 PM
I installed everything correctly and I get the following error message when I try to like a post.


What went wrong?

It is up to the operators of your Web server site to locate and analyze the logs which should give further information about the error.

DannyV
07-31-2012, 01:37 PM
If I start using reputation just now on my forums, is there a way to "import" the already given thanks (1 point) for the receiving users ?

Justinphx
08-02-2012, 12:52 PM
I noticed that google records the thanks, thanked, times and posts text because it reads this data on every post and counts them towards key word totals.

Example: Thanks 9 Thanked 345 Times in 178 Posts

Google now has my top key words as these from this mod because every post contains them. Is there a way to hide the text output from Google spiders added by this mod in the postbit?

LgsOfChampions
08-02-2012, 01:05 PM
works w/ 4.2 p2

thanks!

ForceHSS
08-02-2012, 05:51 PM
I noticed that google records the thanks, thanked, times and posts text because it reads this data on every post and counts them towards key word totals.

Example: Thanks 9 Thanked 345 Times in 178 Posts

Google now has my top key words as these from this mod because every post contains them. Is there a way to hide the text output from Google spiders added by this mod in the postbit?

The only way I can think off hand would be to put a disallow in your robots.txt file

Alibass
08-04-2012, 09:56 PM
Thanks Abe, 7.84 working good on 4.2.0 PL2 :):up:

tareqbd
08-05-2012, 10:36 AM
Thanks Abe, 7.84 working good on 4.2.0 PL2 :):up:

7.84 update courtesy ForceHSS.

Alibass
08-05-2012, 02:28 PM
@ForceHSS

I sent you a PM about 7.84

Thanks...

ForceHSS
08-05-2012, 02:36 PM
@ForceHSS

I sent you a PM about 7.84

Thanks...

You need to use the one with search fix as this is the problem you have

Alibass
08-05-2012, 03:20 PM
You need to use the one with search fix as this is the problem you have
DANG... I looked right past that file. :o

Sorry and thanks for the quick reply. :)

oldz442
08-06-2012, 09:43 AM
I am trying to simply the like display with a simple post counter beside the Like button. You press the Like button, the counter increments, the Like button is no longer clickable, and hopefully no text/imgs shift at all or too much. Is that possible w/o having to refresh the page?

I did manage to set it up (using vb 4.2.0) like this site with the horizontal blue bar. Works fine, except that relative and absolute settings are being a pain in postbit_legacy template and postbody section... mainly that is pushes the sig and last edited line up too much once there is a Like - I can set margin-bottom:60px or so on postbody, but does not look right with no sig or last edited line.

jancarlo
08-08-2012, 08:13 PM
As English is not your first language I will help you as you might not understand what the first says so click the link in my sig so get the updated one it also tells you this in the first post or as some call it the op :D Thanks ForceHSS... very nice... :D

Disco_Dave
08-09-2012, 07:03 AM
@ForceHSS

A few members have now reported when they click on Find all thanked posts by: We end up with a database error, see below.

Dave


Database error in vBulletin 4.2.0:

Invalid SQL:

REPLACE INTO vbsearch (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (2, '192.109.140.134', 1, 'Disco_Dave', '', 'post.dateline', 'DESC', 0.01743, 1, '54231,54219,54172,54098,54084,54083,53994,53915,5 3767,53718,53597,53548,53339,53319,53193,53169,528 96,52503,52497,52485,52459,52453,52385,52144,51968 ,51939,51630,51620,51612,51610,51569,51542,51304,5 1160,51159,37103,37053,37000,36962,36912,36902,368 61,35942,35817,35526,35515,35368,34461,34162,33611 ,33608,33501,33313,33133,33105,32888,32425,31765,3 1721,31348,31096,31092,30836,30830,30816,30743,307 24,30162,30160,30126,30125,30095,30085,29910,29668 ,29626,29465,29403,29364,29319,29221,29218,29217,2 9025,29003,28998,28959,28821,28730,28591,27530,268 00,25993,25858,25769,23399,23330,22925,22737,22380 ,21937,21729,21413,21388,21320,21300,20813,20542,2 0512,20220,20169,20055,20019,19994,19763,19367,192 32,19176,19151,19112,19104,18168,17921,17650,17551 ,17425,17424,16637,16409,16370,16136,15310,15140,1 4339,14330,13424,13408,13107,13081,11795,11749,117 43,11421,10670,10200,10094,9768,9128,9119,9118,911 1,9057,8994,8598,8565,8483,8173,7792,7138,6985,692 5,6445,6440,5876,5808,5315,5312,5290,5158,4699,452 9,4134,4075,3923,3891,3853,3431,3120,2829,2749,227 3,2241,1548,1426,356,353,351,350', 1344499191, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:2;s:10:\"Disco_Dave\";}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\";}}', '28ee937b1b4bc2f17f88e466108be8ec');

MySQL Error : Table 'nirc_xxxxxx.vbsearch' doesn't exist
Error Number : 1146
Request Date : Thursday, August 9th 2012 @ 02:59:51 AM
Error Date : Thursday, August 9th 2012 @ 02:59:51 AM
Script : http://www.nirc.co.uk/forums/post_thanks.php?do=findthanks_user_gave&u=2
Referrer : http://www.nirc.co.uk/forums/member.php?2-Disco_Dave
IP Address : xxxxxxxxxxxxx
Username : Disco_Dave

ForceHSS
08-09-2012, 01:21 PM
@ForceHSS

A few members have now reported when they click on Find all thanked posts by: We end up with a database error, see below.

Dave


Database error in vBulletin 4.2.0:

Invalid SQL:

REPLACE INTO vbsearch (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (2, '192.109.140.134', 1, 'Disco_Dave', '', 'post.dateline', 'DESC', 0.01743, 1, '54231,54219,54172,54098,54084,54083,53994,53915,5 3767,53718,53597,53548,53339,53319,53193,53169,528 96,52503,52497,52485,52459,52453,52385,52144,51968 ,51939,51630,51620,51612,51610,51569,51542,51304,5 1160,51159,37103,37053,37000,36962,36912,36902,368 61,35942,35817,35526,35515,35368,34461,34162,33611 ,33608,33501,33313,33133,33105,32888,32425,31765,3 1721,31348,31096,31092,30836,30830,30816,30743,307 24,30162,30160,30126,30125,30095,30085,29910,29668 ,29626,29465,29403,29364,29319,29221,29218,29217,2 9025,29003,28998,28959,28821,28730,28591,27530,268 00,25993,25858,25769,23399,23330,22925,22737,22380 ,21937,21729,21413,21388,21320,21300,20813,20542,2 0512,20220,20169,20055,20019,19994,19763,19367,192 32,19176,19151,19112,19104,18168,17921,17650,17551 ,17425,17424,16637,16409,16370,16136,15310,15140,1 4339,14330,13424,13408,13107,13081,11795,11749,117 43,11421,10670,10200,10094,9768,9128,9119,9118,911 1,9057,8994,8598,8565,8483,8173,7792,7138,6985,692 5,6445,6440,5876,5808,5315,5312,5290,5158,4699,452 9,4134,4075,3923,3891,3853,3431,3120,2829,2749,227 3,2241,1548,1426,356,353,351,350', 1344499191, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:2;s:10:\"Disco_Dave\";}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\";}}', '28ee937b1b4bc2f17f88e466108be8ec');

MySQL Error : Table 'nirc_xxxxxx.vbsearch' doesn't exist
Error Number : 1146
Request Date : Thursday, August 9th 2012 @ 02:59:51 AM
Error Date : Thursday, August 9th 2012 @ 02:59:51 AM
Script : http://www.nirc.co.uk/forums/post_thanks.php?do=findthanks_user_gave&u=2
Referrer : http://www.nirc.co.uk/forums/member.php?2-Disco_Dave
IP Address : xxxxxxxxxxxxx
Username : Disco_Dave

Use the one in my sig with search fix

Disco_Dave
08-09-2012, 01:40 PM
Thanks ForceHSS :)

ForceHSS
08-09-2012, 01:57 PM
Your welcome if you need any more help pm me or check Skype

Videx
08-09-2012, 04:18 PM
Use the one in my sig with search fixActually, of the 3 choices in your sig, none mentions a search fix. I think what you mean is "Use the one in my sig because it contains the search fix.".

treefrog
08-10-2012, 11:03 AM
Is there a way to modify this to be a 'Like' hack instead of a 'thank you'
hack?

There's probably a description of how to do that somewhere in the 2800 posts on this thread...but I didn't have time to read them all :)

Adam H
08-10-2012, 11:15 AM
Is there a way to modify this to be a 'Like' hack instead of a 'thank you'
hack?

There's probably a description of how to do that somewhere in the 2800 posts on this thread...but I didn't have time to read them all :)

See this post, although if you only want the terms to be changed to like instead of Thanks just change the phrases as described at the top of the post. If you want the whole style to be changed so it looks like the screen shot then follow all the instructions :

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

Hippy
08-10-2012, 11:27 AM
BirdOPrey5 made one.
You'll find a short cut here and anything else you may need





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

Bob_R
08-10-2012, 06:36 PM
If I only need to upgrade from 7.83 to 7.84 (using the zip from ForceHSS's sig) do I upload all the files again or just the XML with overwrite equal to YES?

Hippy
08-10-2012, 08:14 PM
Import the XML file allow over write.. upload all files. Over writing them.

ForceHSS
08-10-2012, 11:57 PM
If I only need to upgrade from 7.83 to 7.84 (using the zip from ForceHSS's sig) do I upload all the files again or just the XML with overwrite equal to YES?

Both, over writing all files

Gookhan
08-13-2012, 08:00 AM
Database error in vBulletin 4.2.0:

Invalid SQL:

REPLACE INTO tr_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (2, '78.169.25.163', 1, 'YYY', '', 'post.dateline', 'DESC', 0.00170, 1, '56918,56439,55524,55370,54068,54029,54020,53894,5 3429,53392,53368,53360,53052,51952,51908,51906,517 60,50787,50767,50763,50421,50381', 1344848359, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:1758;s:8:\"YYY\";}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\";}}', '0fbb34cfec231b7a67c829ef63971a7d');

MySQL Error : Table 'XXX_vb.tr_search' doesn't exist
Error Number : 1146
Request Date : Monday, August 13th 2012 @ 11:59:19 AM
Error Date : Monday, August 13th 2012 @ 11:59:20 AM
Script : http://www.XXX.com/forum/post_thanks.php?do=findthanks_user_gave&u=1758
Referrer :
IP Address : ZZZ
Username : XXX
Classname : vB_Database
MySQL Version : 5.5.24-cll

ForceHSS
08-13-2012, 03:11 PM
Database error in vBulletin 4.2.0:

Invalid SQL:

REPLACE INTO tr_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (2, '78.169.25.163', 1, 'YYY', '', 'post.dateline', 'DESC', 0.00170, 1, '56918,56439,55524,55370,54068,54029,54020,53894,5 3429,53392,53368,53360,53052,51952,51908,51906,517 60,50787,50767,50763,50421,50381', 1344848359, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:1758;s:8:\"YYY\";}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\";}}', '0fbb34cfec231b7a67c829ef63971a7d');

MySQL Error : Table 'XXX_vb.tr_search' doesn't exist
Error Number : 1146
Request Date : Monday, August 13th 2012 @ 11:59:19 AM
Error Date : Monday, August 13th 2012 @ 11:59:20 AM
Script : http://www.XXX.com/forum/post_thanks.php?do=findthanks_user_gave&u=1758
Referrer :
IP Address : ZZZ
Username : XXX
Classname : vB_Database
MySQL Version : 5.5.24-cll
As you are new to these forums I will over look at you missing what is right in front of you so check my sig and you will see a version that you can use that fixes that problem

Videx
08-13-2012, 04:47 PM
As you are new to these forums I will over look at you missing what is right in front of you so check my sig and you will see a version that you can use that fixes that problemI did try to warn you. Try posting it in his home language. :)

BirdOPrey5
08-18-2012, 09:36 AM
I did try to warn you. Try posting it in his home language. :)

All posts on vBulletin.org are supposed to be in English. I'm not really sure what you are talking about but please do not advise for people to post in languages other than English.

Hippy
08-18-2012, 01:02 PM
I still don't understand y there is even a new version and files without the some fixes? why would someone want the version with out everything working?
all the fixes have been add from when this was posted on
https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941

version number if erelavent,, it's about what's in the file. And that it works how it was intended..
One file with all the working fixes, so no one gets confused

Videx
08-18-2012, 01:11 PM
All posts on vBulletin.org are supposed to be in English. I'm not really sure what you are talking about but please do not advise for people to post in languages other than English.You would have to read his snippy reply to me to understand this response. He has since deleted it. My original suggestion (https://vborg.vbsupport.ru/showpost.php?p=2355821&postcount=2828) was that he clarify his responses, I never suggested posting in other languages.

At least not in this thread. I have however seen questions that were so badly mangled in English that I have suggested the author post it in their native language. I thought vb has been available in many languages for quite a while now? Is there really still a rule somewhere here about only posting in English?

ForceHSS
08-18-2012, 01:39 PM
<a href="https://vborg.vbsupport.ru/info.php?do=rules" target="_blank">Review Or Site Rules</a>

BirdOPrey5
08-18-2012, 03:05 PM
I am aware the "English only" has not yet been added to the official rules at the bottom, nevertheless is has been a rule for a long time.

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

The fact vBulletin has official translations available in other languages is not relevant to vBulletin.org. You can post in those languages on vBulletin.com if you must.

MrPitBull
08-21-2012, 08:40 PM
I am attempting a fresh install on v4.2.0. patch 2

I downloaded the version in ForceHSS signature. Sorry, the installation instructions are unclear to me. I uploaded the upload folder to my forum root folder. No problem

Step 2 says to Import product-post_thanks.xml into PRODUCTS. I have no folder entitled "PRODUCTS". Do I simply add a "PRODUCTS" folder to my root?

Step 3 says Edit settings in the Admin CP. (Integration settings are in the Groan Hack). I don't have a "Groan Hack" so what settings in the Admin CP do I need to be concerned with?

Thanks.

Hippy
08-21-2012, 08:56 PM
content in the upload folder go into your root dir
the xml file is a product.. you import it through your admincp
don't need the groan hack..
so after you install make sure it's not looking for the groan mod
so mothing to do there

MrPitBull
08-21-2012, 09:52 PM
content in the upload folder go into your root dir
the xml file is a product.. you import it through your admincp
don't need the groan hack..
so after you install make sure it's not looking for the groan mod
so mothing to do there

Being a newbie to vBulletin it took me a minute to figure out, but with your help, I'm now stepping in high cotton! Thanks!

Thanks to ForceHSS too!

Hippy
08-21-2012, 10:00 PM
then ! welcome to vb.org
glad to hear
youll find alot of people here willing to help ;) gald you got it sorted..

oh and there is not other live VB ;)

MrPitBull
08-21-2012, 10:16 PM
Now, how do I mark the thread "Installed"?

Hippy
08-21-2012, 10:22 PM
Mine says make as un-install because I marked it installed LOL
if you get what I mean
top mod post

MrPitBull
08-21-2012, 10:36 PM
3035 Now!

wildheart
08-22-2012, 09:21 AM
My thanks moved to the left and I followed one of your post on how to move it to the right.
https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941

However it is now squashing the reply button:
https://vborg.vbsupport.ru/external/2012/08/13.jpg


I am not sure which one I should use to fix this problem? Thanks for the help.

ForceHSS
08-22-2012, 02:22 PM
My thanks moved to the left and I followed one of your post on how to move it to the right.
https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941

However it is now squashing the reply button:
https://vborg.vbsupport.ru/external/2012/08/13.jpg


I am not sure which one I should use to fix this problem? Thanks for the help.

Put it back the way it was and try again making sure it also works for your vb version

Hippy
08-22-2012, 02:42 PM
<a href="https://vborg.vbsupport.ru/showpost.php?p=2306955&postcount=2357" target="_blank">https://vborg.vbsupport.ru/showp...postcount=2357</a>

For postbit legacy new hook

wildheart
08-23-2012, 05:08 AM
Yes that is the one I used originally Hippy and it squashed my reply: https://vborg.vbsupport.ru/showpost.php?p=2306955&postcount=2357

I will do it in reverse and just leave it on the left. Thanks

Hippy
08-23-2012, 10:57 AM
Yes that is the one I used originally Hippy and it squashed my reply: https://vborg.vbsupport.ru/showpost.php?p=2306955&postcount=2357

I will do it in reverse and just leave it on the left. Thanks
In that template this code
<div class="textcontrols floatcontainer">
<span class="postcontrols"> might be in the template twice. move that hook to the other one. I'll peek at the template when I get home tonight

Hippy
08-23-2012, 08:36 PM
I was incorrect about that , there is only one spot

here is more of the code and where it's added


<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols floatcontainer">
<span class="postcontrols">
{vb:raw template_hook.postbit_thanks}
<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>

hope this helps

Bob_R
08-25-2012, 07:54 PM
Import the XML file allow over write.. upload all files. Over writing them.

Both, over writing all files

OK, did it. But, check out the screen shot I provided. If you look closely you'll see the "5" at the end of the Thanked line. The "5" belongs to the line underneath (Blog Entries).

Thanks.

Hippy
08-25-2012, 08:42 PM
did this happen after you updated to the so called 7.8.4 ?


try this..
your using postbit_legacy right

replace your post_thanks_postbit_info
with

<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd>{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd>{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>

Bob_R
08-25-2012, 09:07 PM
did this happen after you updated to the so called 7.8.4 ?


try this..
your using postbit_legacy right

replace your post_thanks_postbit_info
with

<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd>{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd>{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>

Thank you!

keteflips
08-26-2012, 09:25 PM
I dont understand why "Thanks" its not integrated in VB.

BirdOPrey5
08-26-2012, 10:30 PM
I dont understand why "Thanks" its not integrated in VB.

From the screenshots shown on VB5 there looks to be some sort of system built into it.

wildheart
08-27-2012, 01:22 PM
I was incorrect about that , there is only one spot

here is more of the code and where it's added


<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols floatcontainer">
<span class="postcontrols">
{vb:raw template_hook.postbit_thanks}
<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>

hope this helps

Thank you, it worked 100%. :up:

LgsOfChampions
08-29-2012, 09:31 PM
I get this error
The following dependencies were not met:

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

I keep scrolling thru all the post and the edits and I'm not going to lie I'm lost lol

anyone help me?
greatly appreciated thanks

Hippy
08-29-2012, 10:39 PM
I get this error


I keep scrolling thru all the post and the edits and I'm not going to lie I'm lost lol

anyone help me?
greatly appreciated thanks

please read in the first post

Dave234
09-03-2012, 05:15 AM
did this happen after you updated to the so called 7.8.4 ?


try this..
your using postbit_legacy right

replace your post_thanks_postbit_info
with

<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd>{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd>{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>

Hippy,
I used the code you have above, and that moved the blog entry number one space beneath the "Thanked 1 Time in 1 Post" and it is now next to "Groan: 1".

Do you know how I can get it to move to its proper location next to "Blog Entries:"?

Hippy
09-03-2012, 05:57 PM
seems your issue is with the groan template...now
I will have to look over the code" if I can find it here still"..
I may have to come by and fix it there .

Hippy
09-03-2012, 06:06 PM
post_groans_postbit_info template
change to this
(over write your old code with this code below) (save)
If you have more than one style you will have to do it to all of them


<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_groans_groans}</dt> <dd>{vb:raw post.post_groans_user_amount_formatted}</dd>
<vb:if condition="$post['post_groans_groaned_times'] == 1">
<dd>{vb:rawphrase post_groans_time_post}</dd>
<vb:elseif condition="$post['post_groans_groaned_posts'] == 1" />
<dd>{vb:rawphrase post_groans_times_post, {vb:raw post.post_groans_groaned_times_formatted}}</dd>
<vb:else />
<dd>{vb:rawphrase post_groans_times_posts, {vb:raw post.post_groans_groaned_times_formatted}, {vb:raw post.post_groans_groaned_posts_formatted}}</dd>
</vb:if>
</vb:if>

Mellnik
09-04-2012, 12:11 PM
Dont work for 4.2.0

Hippy
09-04-2012, 12:23 PM
Sure it does not peek at the first post again

Bob_R
09-08-2012, 01:35 PM
I wish to put a box around Thanks and Thanked

** screen shot provided

How can I do this!

Thanks (pardon the pun :))

Hippy
09-08-2012, 01:41 PM
what template mod are you using ?

Bob_R
09-08-2012, 01:56 PM
postbit legacy

using latest 7.8.4 of this hack

Hippy
09-08-2012, 02:13 PM
no are you using
https://vborg.vbsupport.ru/showthread.php?t=274568&highlight=userinfo_extra
or a different one..
if the above is the one your using then
peek here
https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1943

other wise pm me your postbit legacy template
so I can see whats adding the fieldset around the rest of the info there

Dave234
09-08-2012, 02:14 PM
Hippy,
I just want to tell you thank you very much!! It worked!

Bob_R
09-08-2012, 02:26 PM
no are you using
https://vborg.vbsupport.ru/showthread.php?t=274568&highlight=userinfo_extra
or a different one..
if the above is the one your using then
peek here
https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1943

other wise pm me your postbit legacy template
so I can see whats adding the fieldset around the rest of the info there

OK, I just PM'ed it to you. :up:

Hippy
09-08-2012, 02:54 PM
try this Bob_R
replace your
post_thanks_postbit_info template with the following


<vb:if condition="$post['userid']">
<div class="bppostbit">
{vb:rawphrase post_thanks_thanks} <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
{vb:rawphrase post_thanks_time_post}
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<div class="bppostbit">
{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</div>
<vb:else />
<div class="bppostbit">
{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</div>
</vb:if>
</vb:if>

Hippy
09-08-2012, 02:58 PM
better yet try this
this should cover 0 thanks 1 thanks and so one


<vb:if condition="$post['userid']">
<div class="bppostbit"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<div class="bppostbit">{vb:rawphrase post_thanks_time_post}</div>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<div class="bppostbit">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</div>
<vb:else />
<div class="bppostbit">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</div>
</vb:if>
</vb:if>

Bob_R
09-08-2012, 03:10 PM
Thanks Hippy! I appreciate it very, very much!!

Zylantex
09-10-2012, 05:59 AM
Is there any way to split up Thanks and Thanked into two separate elements so that I can display them in two boxes in my legacy postbit. There's too much text and the wrapping looks messy. I can do the boxes, I don't know how to get the elements.

Something like this

Thanks: 258

Thanked: 66 in 42 posts

Hippy
09-10-2012, 09:29 AM
Replace your post_thanks_postbit_info template with
https://vborg.vbsupport.ru/showpost.php?p=2359981&postcount=2857

Zylantex
09-10-2012, 09:51 AM
That doesn't seem to make much difference? It's giving me something like this.


Thanks 4,645
Thanked 7,898 Times in 3,690
Posts

Hippy
09-10-2012, 10:03 AM
I could be a problem with a different mod. What other mods display under the avatar that's not default to vb

Hippy
09-10-2012, 10:10 AM
I just looked at your forum I would have to come by to fix it
or maybe I can get a better idea on how to explain it better when I am in for of my rig.
I'm at work atm on my cell

Hippy
09-10-2012, 07:46 PM
That doesn't seem to make much difference? It's giving me something like this.


Thanks 4,645
Thanked 7,898 Times in 3,690
Posts

first
to make room so the info stays in the field

the stylevars with in your style your working on
search for
postbitlegacy_userinfo_width

it's 200
make it 220
it should be good
but you may need to tweak that # a little to 230 etc


your post_thanks_postbit_info template should be like so.
so the
thanked
and
thanked in x post are not in the same box..



<vb:if condition="$post['userid']">
<div class="post_field"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<div class="post_field">{vb:rawphrase post_thanks_time_post}</div>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<div class="post_field">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</div>
<vb:else />
<div class="post_field">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</div>
</vb:if>
</vb:if>

hope this helps

Deimos
09-15-2012, 06:53 PM
Is there anyway to shrink, or move the "Users who have thanked XX" box? It seems to take up an awful amount of space under each post

I couldn't find anything while searching.

Hippy
09-15-2012, 07:48 PM
Not sure about shrinking, but the version i posted has a collapsible box

Djonn
09-15-2012, 10:52 PM
I try to use this on vB 4.2 with a custom design.
But since i activated this plugin, the page is a mix of my custom design and the default vB 4 Design. For example the header and the userprofile (classic postbit) are from my design, and most of the rest (like the background) from the default template.
I try this with both updates for vb 4.2 but it isn't working.

And the plugin also replace my language - he set it to the default value (english).
Whats wrong here?

vinayagam
09-18-2012, 01:02 PM
Doesn't work for version 4.2

Hippy
09-18-2012, 01:13 PM
Doesn't work for version 4.2

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

vinayagam
09-18-2012, 01:30 PM
This one works https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941

Thnx Very Much Am Trying It

vinayagam
09-18-2012, 01:45 PM
<vb:if condition="$post['userid']">
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
{vb:rawphrase post_thanks_thanks} <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
{vb:rawphrase post_thanks_time_post}
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</div>
<vb:else />
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</div>
</vb:if>
</vb:if>

Where should i put this ???

vinayagam
09-18-2012, 01:54 PM
i get this error when i install it

Videx
09-18-2012, 02:03 PM
i get this error when i install itDon't take this the wrong way please, but you really shouldn't be installing anything but the simplest mods until you understand vb more. And the first rule of any mod install is that first you must read the entire thread to familiarize yourself with it. While that may not be practical, at the very least you should read the last couple pages.

The first thing you should have noticed about this mod is that the author hasn't been around in ages (a BIG warning sign!) and that the first post already answered your earlier question. I don't even know about your second question, I think you're just installing it wrong.
https://vborg.vbsupport.ru/showthread.php?t=201864

Hippy
09-18-2012, 09:45 PM
what Videx said ..:up:
get the mod working them customize it



Where should i put this ???
that template is for eTiKeT? 2011 Posbit_legacy - Postbit Details
if your using that modification then

your post_thanks_postbit_info is replaced with that code

i get this error when i install it

Don't take this the wrong way please, but you really shouldn't be installing anything but the simplest mods until you understand vb more. And the first rule of any mod install is that first you must read the entire thread to familiarize yourself with it. While that may not be practical, at the very least you should read the last couple pages.

The first thing you should have noticed about this mod is that the author hasn't been around in ages (a BIG warning sign!) and that the first post already answered your earlier question. I don't even know about your second question, I think you're just installing it wrong.
https://vborg.vbsupport.ru/showthread.php?t=201864

RedTurtle
09-19-2012, 11:23 PM
Hi guys,

I'm having an issue where after a user thanks a certain post and refreshes the page, the Thank you button still persists on that same post even though the thanks has been recorded.

Which file would I have to track this down to?

Could it be because I'm using a CSS class to make the thank you button rather than just a direct img src tag?

Thank you!

Here is my post_thanks_button template:


<a href="post_thanks.php?{vb:raw session.sessionurl}do=post_thanks_add&amp;p={vb:raw post.postid}&amp;securitytoken={vb:raw bbuserinfo.securitytoken}" id="post_thanks_button_{vb:raw post.postid}"<vb:if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_give({vb:raw post.postid}, <vb:if condition="$vboptions[post_groans_integrate]">true<vb:else />false</vb:if>);"</vb:if> <vb:if condition="$display_thanks_image == 'none'">style="display:none"</vb:if> rel="nofollow" class="post_thanks_button" style="width: 0px; margin: 0px; padding: 0px;" ></a>

<span id="post_thanks_separator_{vb:raw post.postid}" <vb:if condition="$display_thanks_image == 'none'">style="display:none"</vb:if> style="border: 0px; padding: 0px; margin: 0px;"></span>

Hippy
09-19-2012, 11:50 PM
Most likely its your edit. You should not have to refresh the page. Put it back to default and make sure it works as it should, so you can track the issue down.

RedTurtle
09-20-2012, 12:03 AM
Most likely its your edit. You should not have to refresh the page. Put it back to default and make sure it works as it should, so you can track the issue down.

Thank you Hippy. Would it be the edit in the post_thanks_button template itself? I am a little lost but it looks like maybe the ID of the specific thank you button that needs to be removed is not being added properly?

I have tried putting the default post_thanks_button template back in and the issue still seems to persist. Is there any way I could have you take a look at the site or send you some templates? I would be willing to compensate you for your time.

Thank you for responding.

EDIT: In response to your reply -- I don't have to refresh the page to see the thank you register but when I do refresh the page, the thank you button shows up again on the same post even though it is showing that I already thanked that post.

Hippy
09-20-2012, 12:11 AM
Pm me details. I'll take a look

DFORMS
09-21-2012, 04:02 PM
Hi guys!

First I would like to thank everyone who is keeping this mod alive. For me this is one of the best mods! I am currently running a phpbb forum http://fragnet.ca but now I want to switch to VB 4.2 http://quebec-gamer.ca (my test/dev board).

I've followed the instructions and successfully installed this mod but I am having a display issue with my custom profile fields :

http://quebec-gamer.ca/images/thank_1.jpg

Secondly I would like to use two different images for the thumbs up icon. The height of the two new images are 18px so it?s being cut off at the top and the bottom :

http://quebec-gamer.ca/images/thank_2.jpg

Any help with this would be greatly appreciated, thank you!

Hippy
09-21-2012, 06:40 PM
send me links to the new images your using and I will resize them..
replace your post_thanks_postbit_info
with for the alignment issue

<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd>{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd>{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>

DFORMS
09-21-2012, 09:22 PM
Thank you Hippy, that did the trick!

I have Photoshop and modifying the images is not a problem. I just hoping to could keep the same height and not reduce the quality.

Nirjonadda
09-22-2012, 06:08 PM
Bug on thread Show block in Username ? How to fix this ?

141386

marcus123
09-22-2012, 10:40 PM
so i installed this app BUT its clashing with this one https://vborg.vbsupport.ru/showthread.php?t=238691 when i installed it the money/credit or whatever you would like to call it displayed like this

https://vborg.vbsupport.ru/external/2012/10/44.jpg

i have 100 points but it isnt showing in the correct position but it was in the correct postion before installing this app

any idea how to fix this?

Hippy
09-22-2012, 10:52 PM
Use the template I have posted just above

RedTurtle
09-23-2012, 01:24 AM
Bug on thread Show block in Username ? How to fix this ?

141386

Have the same issue. Hippy I think you had suggested a fix for me the other day but I just don't recall it. Could you post the solution here please?

Thank you!

marcus123
09-23-2012, 01:48 AM
send me links to the new images your using and I will resize them..
replace your post_thanks_postbit_info
with for the alignment issue

<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd>{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd>{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>

Use the template I have posted just above

i cant find the file post above in red

Hippy
09-23-2012, 12:31 PM
the day I was at your place , after the new style allwas good ..
I'm confused now

Have the same issue. Hippy I think you had suggested a fix for me the other day but I just don't recall it. Could you post the solution here please?

Thank you!
its a template
i cant find the file post above in red

Ravallojr
09-23-2012, 02:56 PM
Anyone know how to fix database error?

ForceHSS
09-23-2012, 03:30 PM
Anyone know how to fix database error?

post it

Nirjonadda
09-23-2012, 03:48 PM
Bug on thread Show block in Username ? How to fix this ?

141386

Any Update About On This ?

ForceHSS
09-23-2012, 03:58 PM
cant work with a screenshot need link to problem and what is the problem you are pointing to all i see are some user names maybe if you say what you think is wrong

Nirjonadda
09-23-2012, 04:09 PM
Its is username show does not correctly ! when username is Nirjonadda , Its show on Nirjon
adda

https://vborg.vbsupport.ru/external/2012/09/17.png (http://postimage.org/image/62336cil5/full/)

ForceHSS
09-23-2012, 04:19 PM
its just bring it to a new line going by that screenshot u have

Hippy
09-23-2012, 04:29 PM
Its is username show does not correctly ! when username is Nirjonadda , Its show on Nirjon
adda

https://vborg.vbsupport.ru/external/2012/09/17.png (http://postimage.org/image/62336cil5/full/)

post your post_thanks_postbit template ..

Hippy
09-23-2012, 04:31 PM
Anyone know how to fix database error?

send me temp log dsetails and your site url

Nirjonadda
09-23-2012, 04:42 PM
My v7.83 on your fixed updated !
post_thanks_postbit template is

<div class="postbody"<vb:if condition="$vboptions['legacypostbit']"> style="margin-{vb:stylevar left}: 0"</vb:if>>
<div class="postrow">
<vb:if condition="$bbuserinfo['usergroupid'] == 5 || $post['show_thanks_remove_option']">
<div class="smallfont" style="float:{vb:stylevar right}">
<vb:if condition="$bbuserinfo['usergroupid'] == 5">
<a href="post_thanks.php?do=post_thanks_remove_all&amp;p={vb:ra w post.postid}"<vb:if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_all({vb:raw post.postid}, <vb:if condition="$vboptions['post_groans_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove}</a>
</vb:if>
<vb:if condition="$bbuserinfo['usergroupid'] == 5 && $post['show_thanks_remove_option']">
|
</vb:if>
<vb:if condition="$post['show_thanks_remove_option']">
<a href="post_thanks.php?do=post_thanks_remove_user&amp;p={vb:r aw post.postid}"<vb:if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user({vb:raw post.postid}, <vb:if condition="$vboptions['post_groans_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove_user}</a>
</vb:if>
</div>
</vb:if>
<h2 class="<vb:if condition="!$vboptions['legacypostbit']">post</vb:if>title">
<vb:if condition="$post['post_thanks_amount'] == 1">
{vb:rawphrase post_thanks_user_says, {vb:raw post.username}}
<vb:else />
{vb:rawphrase post_thanks_users_say, {vb:raw post.post_thanks_amount_formatted}, {vb:raw post.username}}
</vb:if>
</h2>
<div class="content">
<div id="post_thanks_bit_{vb:raw post.postid}">
<blockquote class="postcontent restore">
{vb:raw post.post_thanks_bit}
</blockquote>
</div>
</div>
</div>
</div>
<hr />

Hippy
09-23-2012, 04:51 PM
then the template was never converted back..
should look like this


<div class="postbody"<vb:if condition="$vboptions['legacypostbit']"> style="margin-{vb:stylevar left}: 0"</vb:if>>
<div class="postrow">
<vb:if condition="$bbuserinfo['usergroupid'] == 6 || $post['show_thanks_remove_option']">
<div class="smallfont" style="float:{vb:stylevar right}">
<vb:if condition="$bbuserinfo['usergroupid'] == 6">
<a href="post_thanks.php?do=post_thanks_remove_all&amp;p={vb:ra w post.postid}"<vb:if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_all({vb:raw post.postid}, <vb:if condition="$vboptions['post_groan_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove}</a>
</vb:if>
<vb:if condition="$bbuserinfo['usergroupid'] == 6 && $post['show_thanks_remove_option']">
|
</vb:if>
<vb:if condition="$post['show_thanks_remove_option']">
<a href="post_thanks.php?do=post_thanks_remove_user&amp;p={vb:r aw post.postid}"<vb:if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user({vb:raw post.postid}, <vb:if condition="$vboptions['post_groan_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove_user}</a>
</vb:if>
</div>
</vb:if>
<h2 class="<vb:if condition="!$vboptions['legacypostbit']">post</vb:if>title">
<vb:if condition="$post['post_thanks_amount'] == 1">
{vb:rawphrase post_thanks_user_says, {vb:raw post.username}}
<vb:else />
{vb:rawphrase post_thanks_users_say, {vb:raw post.post_thanks_amount_formatted}, {vb:raw post.username}}
</vb:if>
</h2>

<vb:if condition="$post['post_thanks_amount'] > 10">
<style type="text/css">

.togList
{
font-family: verdana;
}

.togList dt
{
cursor: pointer; cursor: hand;
}

html.isJS .togList dd
{
display: none;
}

</style>
<script type="text/javascript">

/* Only set closed if JS-enabled */
document.getElementsByTagName('html')[0].className = 'isJS';

function tog(dt)
{
var display, dd=dt;
/* get dd */
do{ dd = dd.nextSibling } while(dd.tagName!='DD');
toOpen =!dd.style.display;
dd.style.display = toOpen? 'block':''
dt.getElementsByTagName('span')[0].innerHTML
= toOpen? '-':'+' ;
}
</script>

<dl class="togList">
<dt onclick="tog(this)"><center><font style="font-size:12px"><span>+</span> Show/Hide list of the thanked</font></center></dt>
<dd>
<br />
<span id="thanks">
<div class="content">
<div id="post_thanks_bit_{vb:raw post.postid}">
<blockquote class="postcontent restore">
{vb:raw post.post_thanks_bit}
</blockquote>
</div>
</div>
</span>
</dd>
</dl>
<vb:else />
<span id="thanks">
<div class="content">
<div id="post_thanks_bit_{vb:raw post.postid}">
<blockquote class="postcontent restore">
{vb:raw post.post_thanks_bit}
</blockquote>
</div>
</div>
</span>
</vb:if>

</div>
</div>
<hr />

But I dont think thats going to fix the issue with the wrapping ..
it's do to the users with spaces in there name ..
working on something with someone else at the moment .. If I figure it out I will post the fix

marcus123
09-23-2012, 06:59 PM
its a template

thanks fixed it

deltahawk5
09-24-2012, 06:11 AM
Is there a away to change the wording from "Thanks" to "Like"? Sorting through 195 of post might be too much for me.

I'm using Hippy's version.

Hippy
09-24-2012, 09:14 AM
Is there a away to change the wording from "Thanks" to "Like"? Sorting through 195 of post might be too much for me.

I'm using Hippy's version.

How to turn the "Post Thank You" hack into a "Likes" system similar to vBulletin.org (https://vborg.vbsupport.ru/showthread.php?t=266358)

Nirjonadda
09-24-2012, 02:48 PM
thanks fixed it

How to fixed , can you give me info ?

achoo254
09-24-2012, 03:11 PM
[AJAX] Post Thank You Hack version 7.84 Edit by achoo254 - thanks add money (credits) (http://hsvforum.vn/threads/8027-ajax-post-thank-you-hack-edit-by-achoo254-nhan-thank-duoc-tien)

Enjoy :)

ForceHSS
09-24-2012, 03:43 PM
[AJAX] Post Thank You Hack version 7.84 Edit by achoo254 - thanks add money (credits) (http://hsvforum.vn/threads/8027-ajax-post-thank-you-hack-edit-by-achoo254-nhan-thank-duoc-tien)

Enjoy :)

why give you credits when this is the one I did

daddyhayes10
09-25-2012, 06:34 AM
The bit that shows who has thanked the post, most of the time is usually blank but sometimes shows correctly. Is this known/is there a fix?

deltahawk5
09-26-2012, 11:44 PM
Is there a way to give members "thanks" manually through either editing the database or through the control panel? We switched from PHPbb to vBulletin...so things work completely different.

marcus123
09-30-2012, 05:18 AM
in post it show text "thanks" but it doesnt show the thumbs up image and yes i have uploaded both images to correct path how do i fix it?

hallianonline
09-30-2012, 05:22 AM
Thanks is works fine for me

Bob_R
09-30-2012, 12:37 PM
in post it show text "thanks" but it doesnt show the thumbs up image and yes i have uploaded both images to correct path how do i fix it?

Same here!

I was just glad it works for me and didn't notice.

Hippy
09-30-2012, 01:33 PM
if you have more than the stock style you need to add the images to each style..

marcus123
10-01-2012, 12:10 AM
if you have more than the stock style you need to add the images to each style..

lol thanks it fixed it

Bob_R
10-01-2012, 01:31 PM
if you have more than the stock style you need to add the images to each style..

Thanks!

DFORMS
10-04-2012, 11:54 PM
I was playing around with postbit_legacy (profile fields and rep/thanks) and I seemed to have removed the thank you button in the postfoot container : s Can someone help me fix this?

http://quebec-gamer.ca/images/thanks_exemple.jpg

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>

<span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>

<vb:if condition="$post['userid']">
<hr />

<dl class="userinfo_extra">
<!-- reputation // -->
<div id="field_img_box">
<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:rawphrase 'replevel'}:
<vb:if condition="$post['reputation'] >= 0"><span style="color: #5f9837;"><b>{vb:raw post.reputation}</b></span></vb:if>
<vb:if condition="$post['reputation'] < 0"><span style="color: #ff0000;"><b>{vb:raw post.reputation}</b></span></vb:if>
<br/>

<vb:if condition="$show['infraction'] OR $show['reppower']">
<vb:if condition="$show['infraction']">
{vb:rawphrase infractions}
{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})
</vb:if>

<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
{vb:rawphrase reppower}
{vb:raw post.reppower}
</vb:if>
</vb:if>
</vb:if>
<br/>
<!-- thanks // -->
{vb:raw template_hook.postbit_userinfo_right_after_posts}
<!-- thanks // -->
</div>
<!-- reputation // -->
<div style="padding-top: 3px;"></div>
<div id="field_img_box">
<vb:if condition="$post['joindate']">{vb:rawphrase join_date}: {vb:raw post.joindate}<br/></vb:if>
<vb:if condition="$post['field2']">{vb:rawphrase location_perm}: {vb:raw post.field2}<br/></vb:if>
<vb:if condition="$post['age']">{vb:rawphrase age}: {vb:raw post.age}<br/></vb:if>
{vb:rawphrase posts}: {vb:raw post.posts}<br/>
</div>
<div style="padding-top: 3px;"></div>
<vb:if condition="$post['field5'] OR $post['field8'] OR $post['field9']">
<div id="field_img_box">
<vb:if condition="$post['field5']">PSN: {vb:raw post.field5}<br/></vb:if>
<vb:if condition="$post['field8']">XBL: {vb:raw post.field8}<br/></vb:if>
<vb:if condition="$post['field9']">Steam: {vb:raw post.field9}<br/></vb:if>
</div>
</vb:if>
<div style="padding-top: 3px;"></div>
<vb:if condition="$post['field5'] OR $post['field8'] OR $post['field9']">
<div id="field_img_box">
<vb:if condition="$post['field5']"><img src="http://quebec-gamer.ca/forum/images/icons/ps3_icon.png" /></vb:if>
<vb:if condition="$post['field8']"><img src="http://quebec-gamer.ca/forum/images/icons/xbox_icon.png" /></vb:if>
<vb:if condition="$post['field9']"><img src="http://quebec-gamer.ca/forum/images/icons/steam_icon.png" /></vb:if>
</div>
</vb:if>


</dl>

{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_end}

Thank you!

DFORMS
10-05-2012, 02:07 PM
OK, I was able to fix it oufff ; )

What do you think of this?
<vb:if condition="$post['reputation'] >= 0"><span style="color: #5f9837;"><b>{vb:raw post.reputation}</b></span></vb:if>
<vb:if condition="$post['reputation'] < 0"><span style="color: #ff0000;"><b>{vb:raw post.reputation}</b></span></vb:if>

I wanted to add green and red colors to the reputation numbers. Any better way to do this?

thenetbox
10-06-2012, 02:49 PM
Thanks a lot! I was able to use https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941 on 4.2 successfully.

Do you think it's good to stick with this mod? Or would it be wiser to switch to the other thank you mod?

Hippy
10-07-2012, 02:14 PM
Thanks a lot! I was able to use https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941 on 4.2 successfully.

Do you think it's good to stick with this mod? Or would it be wiser to switch to the other thank you mod?

to each its own
test them and you will need to decide

Sherrie
10-09-2012, 11:53 PM
Hello

I have just upgraded my 3.8 forum with 7.7 post thank you hack to the 4.2 suite. I disabled the hack before upgrading to 4.2 which I understand is what I am meant to do. But now I'm unsure of what I am actually meant to install to upgrade the hack to be compatible with 4.2 and with this thread being 200 posts long I am finding it all hard to follow...

Do I upgrade with the original v7.82 or do I use one of the ones by Hippy or ForceHSS linked in the staff edit above? or are none of these compatible for 4.2?

Thanks!

ForceHSS
10-10-2012, 12:36 AM
Either in the staff edit will work for 4.2.0. It depends what one you want as you see if you click on both links you will see we have different versions with different options in each so it depends what you want

Sherrie
10-10-2012, 12:58 AM
Thanks Force, I'm not really sure what the differences are. Basically, I just want to have my thanks button working again.

ForceHSS
10-10-2012, 01:20 AM
well pick one try it out if not happy try another one
I find this one (http://www.dragonbyte-tech.com/vbecommerce.php?do=demo&productid=22) works very well

Sherrie
10-10-2012, 02:25 AM
Thanks for your help Force :)

Will trying out different post thanks upgrades effect the thanks I already have. e.g. if I upgrade to one and then remove it to try out another, will it wipe out past thanks?

ForceHSS
10-10-2012, 02:29 AM
Don't remove it just overwrite the files with a different version as long as it is the same thanks program same goes with the php files

Sherrie
10-10-2012, 11:15 AM
Ironically, I would like to hit thanks and save spamming the thread but I can't do that so thanks, your suggestion works great and it was very easy to import past thanks. I have disabled the dislike button as I don't see anything good coming out of that one but everything else is great, and it fits into my style really well. Thanks Force :)

Tjap
10-10-2012, 06:36 PM
Sometimes, when either me or my users press the Thanks button, a permission error pops up:

https://vborg.vbsupport.ru/external/2012/10/25.png

Is there a way to fix this?

Rickpwns
10-14-2012, 01:56 PM
Not compatible with 4.2.0, it says I can not install it.

Shadow
10-14-2012, 02:08 PM
Open up the XML and remove this line near the top:
<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />

x_55
10-15-2012, 12:23 PM
Thanks u

gersforum@gmail
10-26-2012, 06:48 AM
Works fine with 4.2.0

Just need to align it next to the edit post though if anyone has a quick fix please.

tareqbd
10-26-2012, 07:28 AM
Not compatible with 4.2.0, it says I can not install it.

Open up the XML and remove this line near the top:
<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />

It works with higher versions without any changes.

Hippy
10-26-2012, 10:55 AM
Works fine with 4.2.0

Just need to align it next to the edit post though if anyone has a quick fix please.

https://vborg.vbsupport.ru/showpost.php?p=2367411&postcount=2899

andrew67
10-27-2012, 10:38 PM
Sometimes, when either me or my users press the Thanks button, a permission error pops up:

https://vborg.vbsupport.ru/external/2012/10/25.png

Is there a way to fix this?

Also have this issue, running 4.2.0

Anyone have any ideas ?

abbyxelizabeth
11-05-2012, 02:33 AM
It works with higher versions without any changes.

Actually it doesn't. The suggestion given worked for me.

burtelon
11-05-2012, 05:41 PM
Hey, do not stop these mails reach me, as I can fix the error?
Thank you very much

Database error in vBulletin 4.2.0:

Invalid SQL:

REPLACE INTO vb_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, '157.55.32.164', 1, '7rayos', '', 'post.dateline', 'DESC', 0.00083, 1, '62708', 1352140299, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:365;s:6:\"7rayos\";}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\";}}', '8c196a278a5525d78f73022254aa6e60');

MySQL Error : Table 'Sql158590_4.vb_search' doesn't exist
Error Number : 1146
Request Date : Monday, November 5th 2012 @ 07:31:39 PM
Error Date : Monday, November 5th 2012 @ 07:31:39 PM
Script : http://www.cannabiscultura.com/f1/post_thanks.php?do=findthanks&u=365
Referrer :
IP Address : 157.55.32.164
Username : No registrado
Classname : vB_Database
MySQL Version :

mohammad6006
11-09-2012, 08:29 AM
how can i import thanks from dbtech advanced like / thank to this?

tareqbd
11-09-2012, 05:37 PM
Hey, do not stop these mails reach me, as I can fix the error?
Thank you very much

Database error in vBulletin 4.2.0:

Invalid SQL:

REPLACE INTO vb_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, '157.55.32.164', 1, '7rayos', '', 'post.dateline', 'DESC', 0.00083, 1, '62708', 1352140299, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:365;s:6:\"7rayos\";}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\";}}', '8c196a278a5525d78f73022254aa6e60');

MySQL Error : Table 'Sql158590_4.vb_search' doesn't exist
Error Number : 1146
Request Date : Monday, November 5th 2012 @ 07:31:39 PM
Error Date : Monday, November 5th 2012 @ 07:31:39 PM
Script : http://www.cannabiscultura.com/f1/post_thanks.php?do=findthanks&u=365
Referrer :
IP Address : 157.55.32.164
Username : No registrado
Classname : vB_Database
MySQL Version :

Did you try uninstall and reinstalling it.

Evoklub
11-09-2012, 08:08 PM
Great hack, thank you.

Is it possible to remove links from usernames who thanked a post?

Fivestones
11-10-2012, 01:56 AM
thanks very good hack ..

justicechick
11-11-2012, 11:58 PM
Question? I was trying to use the dbtech post thanks lite. I never could get it installed correctly then when Tech support attempted to install it I started to get a database error and currently the mod has had to been disabled to get my forum back up.

I am using the legacy postbit
4.2 suite.

Would the above postbit edit work for the post bit lite edit as well?

saini1987
11-12-2012, 03:10 AM
can you please update it to vbulletin version 4.2.0 please

djbaxter
11-12-2012, 03:29 AM
can you please update it to vbulletin version 4.2.0 please

It works fine in 4.2.0

squall leonhart
11-13-2012, 04:11 PM
My post_thanks_bit now is -Lily- (31-10-2012),-Racoon- (16-10-2012),2Richtains (15-10-2012),abbynguyen...

I want to add a space after the semi-colon to be -Lily- (31-10-2012), -Racoon- (16-10-2012), 2Richtains (15-10-2012), abbynguyen... where could I do this.

Thanks,

Fongool
11-13-2012, 08:18 PM
It won't let me install it on VB 4.2....someone said it would work for 4.2, but it won't....any help would be appreciated...

F

mokujin
11-13-2012, 08:36 PM
It won't let me install it on VB 4.2....someone said it would work for 4.2, but it won't....any help would be appreciated...

F
Open the file product-post_thanks.xml and remove this line:
<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />

Fongool
11-13-2012, 08:38 PM
I edited that line to show 4.2....I'll remove it and try that,,,

Thanks

F

Fongool
11-13-2012, 10:03 PM
Works perfectly...Thank you....I also used the code to move the "Thanks" next to the edit button....Hope the members like it...

F

kenPNF
11-14-2012, 09:41 PM
Also have this issue, running 4.2.0

Anyone have any ideas ?

news??

spillage
11-17-2012, 01:46 PM
I upgraded from 4.1.2 to 4.2.0 PL3, and haven't had any issues.

doileloi
12-09-2012, 01:38 PM
could you upgrade for V bulletin 4.2 I can't install with this version thank you

noppid
12-09-2012, 02:01 PM
could you upgrade for V bulletin 4.2 I can't install with this version thank you

Open the file product-post_thanks.xml with an editor.
Then delete this entire line.

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


Save the product file and import it. We installed on 4.2 and all seems ok.

doileloi
12-09-2012, 02:07 PM
I got it thank you so much

andrew67
12-09-2012, 09:27 PM
news??

Still issues with this permission error and thanks missing from original post.

Hippy
12-09-2012, 10:39 PM
Still issues with this permission error and thanks missing from original post.

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

andrew67
12-10-2012, 10:59 PM
https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941

Thanks for the reply hippy, but I cant find anything on that page that relates to the issues I am having. Perhaps I am missing something, can you be more specific?

Members seem to randomly receive permission errors and thanks is available on the first post but when clicked on thanks isnt given.

Running version 7.8.3 on VBulletin 4.2.0

Hippy
12-11-2012, 12:08 AM
the file I pointed you to has all the fixes with out the version so called update..
Install it allow over write of the files and the xml..

andrew67
12-11-2012, 03:28 AM
Thanks hippy. I didnt see the file link at the bottom :) Its actually the one I already have installed.

I have tracked the issue down to being an issue with Digital Point ad system addon that I downloaded from here. If you select the option to show ad after last post, no thanks can be displayed on screen which is why I had the issue with no thanks for original/first post..

I am hoping that the permission issue is also somehow related.

oldz442
12-11-2012, 04:55 AM
Any way to send users an alert/notification (same as when given reputation feature is used)? This shows up in usercp.php. I have the setting Set how many reputation a user should get if he gets thanked. Set to '0' to disable. set to '1' as well if that matters.

I am using 4.2.0 and everything else seems fine otherwise.

EDIT: I have the mod Display Unread Posts (and Reputation Comments in 4.1) installed, Enable New Reputation Comments Notification in 'User Reputation Options' set to 'yes' as well.

avec une femme
12-24-2012, 05:11 PM
Can someone explain to me where I upload the 'upload ftp folder' please?

Videx
12-24-2012, 06:32 PM
Can someone explain to me where I upload the 'upload ftp folder' please?Here's a good starter tutorial: https://vborg.vbsupport.ru/showthread.php?t=201864

But be careful with this mod, as it is not one of the easier ones to get up and running. Especially note the part in post #1 that points out the attached files don't work and tells you where to get ones that do.

dothanhtrung
12-27-2012, 01:12 PM
why i can't used for vbulletin version 4.2.0 patch level 3. It's notice "This product is not compatible with version 4.2.0 of vBulletin"

BirdOPrey5
12-27-2012, 03:29 PM
Read the first post...

avec une femme
12-27-2012, 10:28 PM
Read the first post...

I have read it...but what am I meant to be looking at? I am new to this forum and new to site build stuff so at the moment everything feels like a foreign language.

So this mod can not be used for 4.2? Is there another thank you hack available on here?

Nirjonadda
12-28-2012, 08:32 AM
I have read it...but what am I meant to be looking at? I am new to this forum and new to site build stuff so at the moment everything feels like a foreign language.

So this mod can not be used for 4.2? Is there another thank you hack available on here?

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

OR

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

avec une femme
12-28-2012, 10:00 AM
Try this one: https://vborg.vbsupport.ru/showpost.php?p=2249550&postcount=1846

OR

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


Thank you I will give it a go.

Phaedrus
12-30-2012, 04:19 AM
Are there changes to the hack that need to be made if I am using it, and it is working, on 4.1.x and upgrade to 4.2.x?

kyle1745
01-02-2013, 11:41 PM
After recent migration to a new server my users are getting the following errors when using this mod. Any ideas? I am running version 7.7 of the mod on a 3.8.7 vBulletin site.

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/class_core.php on line 2552

djbaxter
01-03-2013, 12:00 AM
After recent migration to a new server my users are getting the following errors when using this mod. Any ideas? I am running version 7.7 of the mod on a 3.8.7 vBulletin site.

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/init.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in /home/dendrob/public_html/forum/includes/class_core.php on line 2552

Yes. You're using an updated version of PHP. Ask your host how to suppress deprecated error messages. If you're hosting is using PHP 5.4.x though you'll need to fix some vBulletin files.

This is not a problem with this add-on. It's a vBulletin issue.

Peafor
01-12-2013, 02:14 PM
Thanks for this, just what I wanted. I am a complete novice where updates/hacks are concerned but it was really simple and easy to do.

:up:

yjeanrenaud
01-17-2013, 08:10 PM
we love this mod and I already changed it.
e.g. http://www.pocketpc.ch/members/19502_yjeanrenaud.html
we have a star ranking for the amount of thanks you got, both on profile page and posbits. if there's a demand, I'd code an addon for that requiring this mod of course and giving credits. oh, and it's linked to a user spcific "recent thanks received for" page which is also taking into account which posts a user viewing the page could see.

but there is one thing really annoying me: when I thank somebody, it counts as a post! please change that

obglobal.net
01-24-2013, 04:40 AM
This is an excellent idea, I really like it. I could definitely use some help installing it on my 4.2 site if anyone is willing. I tried, but I got lost. I'm an expert at losing myself.

yjeanrenaud
01-24-2013, 05:33 AM
installing what? post thank you hack?

Easy5s.net
01-25-2013, 12:18 PM
I want to give total thanks to somewhere you like, for example like under avata, how to issue a variable and put it into the position i want.

420
01-25-2013, 06:36 PM
Is this mod stable and if so, are there any risks of security holes due to the developer going MIA?

Thank you.

yjeanrenaud
01-25-2013, 10:26 PM
don't think so.

Videx
01-25-2013, 11:38 PM
don't think so.You don't think it's stable or you don't think there are security holes? :)

One is obligated to read a mod's entire thread before installing it, and after you've done that you should know as much about it as we do. Or at least the last several pages anyway. That's especially important for this mod because the original version doesn't work at all.

yjeanrenaud
01-25-2013, 11:47 PM
i don't think there are security holes. it's more or less stable I'd say.

420
01-26-2013, 01:01 AM
Unfortunately it could be a breeding ground for spambots and hackers at this point, think i'll pass.

Thanks for your feedback Videx, I agree 420%.

Hippy
01-26-2013, 01:34 AM
the mod auther may be mia but the mods posted with in the first linking to a post by myself
is all up to date
read the thread by poking the link
and forcehss also has his version
Never tested it but I am sure it's close because alot use it as well..

I install it on most sites I work on and there is nothing that (spambots or hackers) can use or have used as a breeding ground .. Other wise it would be posted and pulled

I worked hard keeping this mod alive along with everyone I mentioned in my post

to each it's own

Easy5s.net
01-26-2013, 04:29 AM
How to move thank drag down credit and bank?
https://vborg.vbsupport.ru/
:confused:

yjeanrenaud
01-26-2013, 06:42 AM
I'd also like to know: how come you say it may be a breeding point for spambots and hackers? any clues on that or just wild guess?

Hippy
01-27-2013, 02:30 AM
replace your post_thanks_postbit_info template

with this code

<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd>{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd>{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>

Hippy
01-27-2013, 02:33 AM
How to move thank drag down credit and bank?
http://a.imageshack.us/img713/2013/26012013122320pm.png
:confused:

I miss under stud you
youll have to make a new hook and add it to the postbit template your using and change the hook with in the post thanks plugin manager

smirkley
01-27-2013, 02:41 AM
Unfortunately it could be a breeding ground for spambots and hackers at this point, think i'll pass.

Thanks for your feedback Videx, I agree 420%.

Hey 420,.. its well past 8 here.

Time to clear the smoke.

There aint no holes here, or on planet earth.

;)

Easy5s.net
01-27-2013, 02:54 AM
I miss under stud you
youll have to make a new hook and add it to the postbit template your using and change the hook with in the post thanks plugin manager

OK, thanks