View Full Version : Show Thread Enhancements - [AJAX] Post Thank You Hack
Pages :
1
2
3
4
[
5]
6
7
8
9
TrIn@dOr
05-16-2007, 10:35 AM
I just uploaded a fix in the first post for someone who does not want to do the file edit and still fix the vb3.6.7 bug.
Working like a charm! THANKS! :up:
tehPARADOX
05-16-2007, 10:49 AM
I just uploaded a fix in the first post for someone who does not want to do the file edit and still fix the vb3.6.7 bug.
Thanks, great support!
RS_Jelle
05-16-2007, 11:42 AM
When you delete a user, all his thanks should get deleted also.
Indeed, but getting a database error is not that clean :D
A normal "Go back" message would be better imho :p
AMG021
05-16-2007, 12:09 PM
Hey Abe1, I deleted $template_hook In class_postbit.php and uploaded the product for that and still nothing shows up in postbit no thanks button nothing :(
Hey Abe1, I deleted $template_hook In class_postbit.php and uploaded the product for that and still nothing shows up in postbit no thanks button nothing :(
This was a fix for duplicating info.
Try looking at a default vb 3.6.6/7 style and see if it works.
lolo?
05-16-2007, 12:39 PM
Installed 3.6.7
6.0 gold works perfectly..
6.1 doesnt work. No button...
Reinstalled 6.0 and again fine now!
3.6.7. issue?
I think you use the post bit legacy
in template legacy find
<!-- controls -->
after place this
$template_hook[postbit_controls]
In my template that missing i don't know if its in the upgrade i forget or if it's missing
I think you use the post bit legacy
in template legacy find
after place this
In my template that missing i don't know if its in the upgrade i forget or if it's missing
This is a vb variable. You did not revert your templates when updating.
Neal-UK
05-16-2007, 12:49 PM
I've developed a rather funny, but worrying problem (See Attachment). I'm running now 3.6.7 and it was fine on 3.6.6:
Lahoria
05-16-2007, 12:51 PM
thanks nice job
I've developed a rather funny, but worrying problem (See Attachment). I'm running now 3.6.7 and it was fine on 3.6.6:
Did you not read the recent posts?????
Neal-UK
05-16-2007, 01:26 PM
Sorry I didn't, but have done now. It's all working again.
momo2
05-16-2007, 02:23 PM
right after upload and installed product, my thanks is no longer showing in my forum, version 3.6.7
shamda
05-16-2007, 02:30 PM
Is anyone else having problems running this hack with 3.6.6? Will 6.0 gold run on 3.6.6? I have lost all the thanks buttons and stats that were there with 3.6.5. Reverted all templates after upgrade and still cannot get it to work. Am I the only one?
right after upload and installed product, my thanks is no longer showing in my forum, version 3.6.7
Please read the last few pages for a few tips.
Is anyone else having problems running this hack with 3.6.6? Will 6.0 gold run on 3.6.6? I have lost all the thanks buttons and stats that were there with 3.6.5. Reverted all templates after upgrade and still cannot get it to work. Am I the only one?
Seems like it. Everyone else finds it their problem. Try testing on a vb default style.
Skavenger
05-16-2007, 02:44 PM
Is better with the template edits for me...
For example, I don't use the postbit feature (under join date)
I'll stay with 6.0
shamda
05-16-2007, 03:00 PM
Seems like it. Everyone else finds it their problem. Try testing on a vb default style.
That seems to be the problem. We do not use the default vb board and when I look at the default board I see the thanks buttons there. I uploaded the images to the working template that we use but still do not see the buttons. How do I install the hack to work with the template we created rather than the vb default?
KEKforce
05-16-2007, 03:14 PM
I think you use the post bit legacy
in template legacy find
after place this
In my template that missing i don't know if its in the upgrade i forget or if it's missing
That's it.
Works now!! Thanks!
hotmasala4u
05-16-2007, 03:49 PM
Ok I Installed The New Version Now I Dont Even See The Thanks Button
Zagis
05-16-2007, 03:52 PM
I did everything so far and seems to be working except "Thanks", "Thanked 1 Time in 1 Post", etc... in postbit.
I use default style and there is " $template_hook[postbit_controls]" in postbit and postbit_legacy templates.
Did I miss something?
That seems to be the problem. We do not use the default vb board and when I look at the default board I see the thanks buttons there. I uploaded the images to the working template that we use but still do not see the buttons. How do I install the hack to work with the template we created rather than the vb default?
Click to edit the template. There is then a button to hit 'history'. Use it.
Seiyaboy
05-16-2007, 05:23 PM
The Thank button won't show up when I upgraded it from 6.0 Gold to 6.1. What do you think could be wrong here?
Zagis
05-16-2007, 05:38 PM
The Thank button won't show up when I upgraded it from 6.0 Gold to 6.1. What do you think could be wrong here?
Read a few pages back ;)
Seiyaboy
05-16-2007, 05:47 PM
Read a few pages back ;)
Sorry. That's too much of a hassle. Running a few extra scripts ain't gonna kill me. I'll stick with the template-editing-6.0 for now.
adhari_com
05-16-2007, 06:21 PM
Thanks for the patch, but instead shouldn't the last line of the plugin triggered in 'postbit_display_complete' be like this?
eval('$template_hook[postbit_userinfo_right] = " ' . fetch_template('post_thanks_postbit_info') . '";');
Just removing the concatinating period would solve the multiple posubit info being repeated.
Thanks for the patch, but instead shouldn't the last line of the plugin triggered in 'postbit_display_complete' be like this?
eval('$template_hook[postbit_userinfo_right] = " ' . fetch_template('post_thanks_postbit_info') . '";');
Just removing the concatinating period would solve the multiple posubit info being repeated.
If I do this, then it means I'm hogging this hook and any coder that added info to this before I did would get lost. Would you really like that?
The Thank button won't show up when I upgraded it from 6.0 Gold to 6.1. What do you think could be wrong here?
Basically, you have to make sure your templates are up to date. Do a history compare and see what you are missing.
mamashid
05-16-2007, 06:45 PM
i just upgraded and once i did...any post that has a thanks posted in it has this:
Warning: Illegal offset type in /includes/functions_post_thanks.php on line 110
Warning: Illegal offset type in /includes/functions_post_thanks.php on line 110
Warning: Illegal offset type in /includes/functions_post_thanks.php on line 110
Warning: Illegal offset type in /includes/functions_post_thanks.php on line 110
what do i need to do????
i just upgraded and once i did...any post that has a thanks posted in it has this:
what do i need to do????
No clue. Never saw such an error before. Do you have any other hacks that could be affecting this one?
mamashid
05-16-2007, 07:13 PM
I dont think....nothing has changed just upgraded!
I am slight new to all the updates etc....what is line 110???
here is the php
<?php
/*=====================================*\
|| ################################### ||
|| # Post Thank You Hack version 6.1 # ||
|| ################################### ||
\*=====================================*/
function post_thanks_off($forumid = 0, $postinfo = array(), $threadfirstpostid = 0, $this_script = '')
{
global $vbulletin;
($hook = vBulletinHook::fetch_hook('post_thanks_function_po st_thanks_off_start')) ? eval($hook) : false;
if (!($vbulletin->options['post_thanks_on_off']) || $forumid == 0 || post_thanks_in_array($forumid, $vbulletin->options['post_thanks_forum_off']))
{
return true;
}
if (($vbulletin->options['post_thanks_forum_first_all'] && !($postinfo['postid'] == $threadfirstpostid)) || (post_thanks_in_array($forumid, $vbulletin->options['post_thanks_forum_first']) && !($postinfo['postid'] == $threadfirstpostid)))
{
return true;
}
if (!($this_script == 'showthread' || $this_script == 'showpost' || $this_script == ''))
{
return true;
}
if ($vbulletin->options['post_thanks_usergroup_getting'])
{
if (is_member_of($postinfo, explode("|", $vbulletin->options['post_thanks_usergroup_getting'])))
{
return true;
}
}
($hook = vBulletinHook::fetch_hook('post_thanks_function_po st_thanks_off_end')) ? eval($hook) : false;
return false;
}
function can_thank_this_post($postinfo = array(), $threadisdeleted = 0)
{
global $vbulletin;
($hook = vBulletinHook::fetch_hook('post_thanks_function_ca n_thank_this_post_start')) ? eval($hook) : false;
if ($postinfo['postid'] == 0 || $vbulletin->userinfo['userid'] == 0 || $postinfo['isdeleted'] || $threadisdeleted || (!($vbulletin->options['post_thanks_poster_button']) && $postinfo['userid'] == $vbulletin->userinfo['userid']))
{
return false;
}
if (post_thanks_in_array($vbulletin->userinfo['usergroupid'], $vbulletin->options['post_thanks_usergroup_using']) || post_thanks_in_array($vbulletin->userinfo['userid'], $vbulletin->options['post_thanks_user_useing']))
{
return false;
}
if ($vbulletin->userinfo['posts'] < $vbulletin->options['post_thanks_post_count_needed'])
{
return false;
}
if ($vbulletin->options['post_thanks_days_old'])
{
if (TIMENOW > (($vbulletin->options['post_thanks_days_old'] * 60 * 60 * 24) + $postinfo['dateline']))
{
return false;
}
}
if ($vbulletin->options['post_groan_integrate'])
{
require_once(DIR . '/includes/functions_post_groan.php');
if (groaned_already($postinfo))
{
return false;
}
}
($hook = vBulletinHook::fetch_hook('post_thanks_function_ca n_thank_this_post_end')) ? eval($hook) : false;
return true;
}
function can_delete_all_thanks()
{
global $vbulletin;
($hook = vBulletinHook::fetch_hook('post_thanks_function_ca n_delete_all_thanks_start')) ? eval($hook) : false;
if ($vbulletin->userinfo['usergroupid'] == '6')
{
return true;
}
($hook = vBulletinHook::fetch_hook('post_thanks_function_ca n_delete_all_thanks_end')) ? eval($hook) : false;
return false;
}
function thanked_already($postinfo, $userid = 0)
{
global $vbulletin;
$thanks = fetch_thanks($postinfo['postid']);
($hook = vBulletinHook::fetch_hook('post_thanks_function_th anked_already_start')) ? eval($hook) : false;
$userid != 0 ? $userid = $userid : $userid = $vbulletin->userinfo['userid'];
if ($postinfo['post_thanks_amount'] && $thanks[$userid])
{
return true;
}
($hook = vBulletinHook::fetch_hook('post_thanks_function_th anked_already_end')) ? eval($hook) : false;
return false;
}
function show_thanks_date($forumid = 0)
{
global $vbulletin;
($hook = vBulletinHook::fetch_hook('post_thanks_function_sh ow_thanks_date_start')) ? eval($hook) : false;
if ($vbulletin->options['post_thanks_date_all'] && !post_thanks_in_array($forumid, $vbulletin->options['post_thanks_date_forum']))
{
return true;
}
($hook = vBulletinHook::fetch_hook('post_thanks_function_sh ow_thanks_date_end')) ? eval($hook) : false;
return false;
}
function fetch_thanks($postid = 0, $postids = '', $fetch_again = false)
{
global $vbulletin;
static $cache, $act;
($hook = vBulletinHook::fetch_hook('post_thanks_function_fe tch_thanks_start')) ? eval($hook) : false;
if ((!($cache) && !($act)) || ($fetch_again))
{
$cache = array();
if ($postids)
{
$post_ids = "0$postids";
}
else
{
$post_ids = $postid;
}
$thanks = $vbulletin->db->query_read("SELECT * FROM " .TABLE_PREFIX. "post_thanks WHERE postid IN (" . $post_ids . ") ORDER BY username ASC");
while ($thank = $vbulletin->db->fetch_array($thanks))
{
$cache[$thank['postid']][$thank['userid']]['userid'] = $thank['userid'];
$cache[$thank['postid']][$thank['userid']]['username'] = $thank['username'];
$cache[$thank['postid']][$thank['userid']]['date'] = $thank['date'];
$cache[$thank['postid']][$thank['userid']]['postid'] = $thank['postid'];
}
}
($hook = vBulletinHook::fetch_hook('post_thanks_function_fe tch_thanks_end')) ? eval($hook) : false;
$act = true;
return $cache[$postid];
}
function fetch_thanks_bit($forumid = 0, $thanks)
{
global $vbulletin;
($hook = vBulletinHook::fetch_hook('post_thanks_function_fe tch_thanks_bit_start')) ? eval($hook) : false;
$number_rows = count($thanks);
$cmpt=1;
foreach ($thanks AS $thank)
{
if ($cmpt<$number_rows)
{
$virg=",";
}
else
{
$virg="";
}
if (show_thanks_date($forumid))
{
$date_thank = vbdate($vbulletin->options['dateformat'], $thank['date'], true);
}
eval('$liste_user .= " ' . fetch_template('post_thanks_box_bit') . '";');
$cmpt++;
}
($hook = vBulletinHook::fetch_hook('post_thanks_function_fe tch_thanks_bit_end')) ? eval($hook) : false;
return $liste_user;
}
function fetch_post_thanks_template($post)
{
global $vbulletin, $vbphrase, $stylevar;
($hook = vBulletinHook::fetch_hook('post_thanks_function_fe tch_post_thanks_template_start')) ? eval($hook) : false;
if ($vbulletin->options['legacypostbit'])
{
eval('$template = "' . fetch_template('post_thanks_postbit_legacy') . '";');
}
else
{
eval('$template = "' . fetch_template('post_thanks_postbit') . '";');
}
($hook = vBulletinHook::fetch_hook('post_thanks_function_fe tch_post_thanks_template_end')) ? eval($hook) : false;
return $template;
}
function add_thanks($postinfo)
{
global $vbulletin, $vbphrase;
($hook = vBulletinHook::fetch_hook('post_thanks_function_ad d_thanks_start')) ? eval($hook) : false;
$vbulletin->db->query_write("
INSERT INTO ". TABLE_PREFIX ."post_thanks
(userid, username, date, postid)
VALUES
('" . $vbulletin->userinfo['userid'] . "', '" . $vbulletin->db->escape_string($vbulletin->userinfo['username']) . "', " . TIMENOW . ", " . $postinfo['postid'] .")
");
$set_user_gave = 'post_thanks_user_amount = 1 + post_thanks_user_amount';
$set_user_got = 'post_thanks_thanked_times = 1 + post_thanks_thanked_times';
$set_post = 'post_thanks_amount = 1 + post_thanks_amount';
if ($postinfo['post_thanks_amount'] == 0)
{
$set_user_got .= ', post_thanks_thanked_posts = 1 + post_thanks_thanked_posts';
}
if ($vbulletin->options['post_thanks_reputation'])
{
$vbulletin->db->query_write("
INSERT IGNORE INTO ". TABLE_PREFIX ."reputation
(postid, userid, reputation, whoadded, reason, dateline)
VALUES
('".$postinfo['postid']."', '".$postinfo['userid']."', '" . $vbulletin->options['post_thanks_reputation'] . "', '" . $vbulletin->userinfo['userid'] . "', '$vbphrase[post_thanks_thanked_post]', " . TIMENOW . ")
");
if ($vbulletin->db->affected_rows() != 0)
{
$set_user_got .= ", reputation = " . $vbulletin->options['post_thanks_reputation'] . " + reputation";
}
}
if ($vbulletin->options['post_thanks_post_count'])
{
$set_user_gave .= ', posts = 1 + posts';
}
$vbulletin->db->query_write("
UPDATE " . TABLE_PREFIX . "user
SET $set_user_gave
WHERE userid = '" . $vbulletin->userinfo['userid'] . "'
");
$vbulletin->db->query_write("
UPDATE " . TABLE_PREFIX . "user
SET $set_user_got
WHERE userid = '$postinfo[userid]'
");
$vbulletin->db->query_write("
UPDATE " . TABLE_PREFIX . "post
SET $set_post
WHERE postid = '$postinfo[postid]'
");
($hook = vBulletinHook::fetch_hook('post_thanks_function_ad d_thanks_end')) ? eval($hook) : false;
}
function delete_all_thanks($postinfo)
{
global $vbulletin, $vbphrase;
($hook = vBulletinHook::fetch_hook('post_thanks_function_de lete_all_thanks_start')) ? eval($hook) : false;
$thanks=$vbulletin->db->query_read("SELECT * FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$postinfo[postid]' ORDER BY username");
$nb=$vbulletin->db->num_rows($thanks);
if ($nb != 0)
{
while ($thank = $vbulletin->db->fetch_array($thanks))
{
$thank_userids[] = $thank['userid'];
}
$vbulletin->db->query_write("DELETE FROM ". TABLE_PREFIX ."post_thanks WHERE postid='$postinfo[postid]'");
$set_user_gave = 'post_thanks_user_amount = post_thanks_user_amount - 1';
$set_user_got = "post_thanks_thanked_times = post_thanks_thanked_times - $nb, post_thanks_thanked_posts = post_thanks_thanked_posts - 1";
$set_post = 'post_thanks_amount = 0';
$postinfo['post_thanks_amount'] = 0;
if ($vbulletin->options['post_thanks_reputation'])
{
$vbulletin->db->query_write("DELETE FROM ". TABLE_PREFIX ."reputation WHERE postid = '$postinfo[postid]' AND reason = '$vbphrase[post_thanks_thanked_post]'");
if ($vbulletin->db->affected_rows() != 0)
{
$total_rep_got = $vbulletin->options['post_thanks_reputation'] * $nb;
$set_user_got .= ", reputation = reputation - $total_rep_got";
}
}
if ($vbulletin->options['post_thanks_post_count'])
{
$set_user_gave .= ', posts = posts - 1';
}
$vbulletin->db->query_write("
UPDATE " . TABLE_PREFIX . "user
SET $set_user_gave
WHERE userid IN (".implode(",",$thank_userids).")
");
$vbulletin->db->query_write("
UPDATE " . TABLE_PREFIX . "user
SET $set_user_got
WHERE userid = '$postinfo[userid]'
");
$vbulletin->db->query_write("
UPDATE " . TABLE_PREFIX . "post
SET $set_post
WHERE postid = '$postinfo[postid]'
");
}
($hook = vBulletinHook::fetch_hook('post_thanks_function_de lete_all_thanks_end')) ? eval($hook) : false;
}
function delete_thanks($postinfo, $userid)
{
global $vbulletin, $vbphrase;
($hook = vBulletinHook::fetch_hook('post_thanks_function_de lete_thanks_start')) ? eval($hook) : false;
if (!(thanked_already($postinfo, $userid)))
{
return false;
}
$vbulletin->db->query_write("DELETE FROM ". TABLE_PREFIX ."post_thanks WHERE postid = '$postinfo[postid]' AND userid = '$userid'");
$set_user_gave = 'post_thanks_user_amount = post_thanks_user_amount - 1';
$set_user_got = "post_thanks_thanked_times = post_thanks_thanked_times - 1";
$set_post = 'post_thanks_amount = post_thanks_amount - 1';
if ($postinfo[post_thanks_amount] == 1)
{
$set_user_got .= ', post_thanks_thanked_posts = post_thanks_thanked_posts - 1';
}
if ($vbulletin->options['post_thanks_reputation'])
{
$vbulletin->db->query_write("DELETE FROM ". TABLE_PREFIX ."reputation WHERE postid = '$postinfo[postid]' AND whoadded = '$userid' AND reason = '$vbphrase[post_thanks_thanked_post]'");
if ($vbulletin->db->affected_rows() != 0)
{
$set_user_got .= ", reputation = reputation - ". $vbulletin->options[post_thanks_reputation] ."";
}
}
if ($vbulletin->options['post_thanks_post_count'])
{
$set_user_gave .= ', posts = posts - 1';
}
$vbulletin->db->query_write("
UPDATE " . TABLE_PREFIX . "user
SET $set_user_gave
WHERE userid = '$userid'
");
$vbulletin->db->query_write("
UPDATE " . TABLE_PREFIX . "user
SET $set_user_got
WHERE userid = '$postinfo[userid]'
");
$vbulletin->db->query_write("
UPDATE " . TABLE_PREFIX . "post
SET $set_post
WHERE postid = '$postinfo[postid]'
");
($hook = vBulletinHook::fetch_hook('post_thanks_function_de lete_thanks_end')) ? eval($hook) : false;
return true;
}
function post_thanks_in_array($number = 0, $array = 0)
{
$array_split = explode("|", $array);
foreach ($array_split AS $array_number)
{
if ($number == $array_number)
{
return true;
}
}
return false;
}
?>
No clue. Never saw such an error before. Do you have any other hacks that could be affecting this one?
i just upgraded and once i did...any post that has a thanks posted in it has this:
what do i need to do????
What version of PHP do you have?
mamashid
05-16-2007, 07:19 PM
what verison i have no idea....LOL
VB: 3.6.7
post thanks this one
What version of PHP do you have?
There is a xsrf bug in this hack, and i can set thanks or groans by <script src="post_thanks_add.php...blablabla..."></script> on my domain if user cookies was set for another site/domain. And we can use cookies from another site with this hack.
It's enough to give link to this page to use this bug.
May be the best solution is to use additional http X-header for ajax-requests.
adhari_com
05-16-2007, 07:36 PM
But the current situation is the info is piling up for each user who posted in the thread, so by the last post the info is displayed mulitple times.
The patch would also nullify these "template hooks" replacment somewhere while executing the plugin!
I haven't installed the patch yet, but I'm also facing that the thanks box is being displayed on every post of the thread !! isn't being solved by the patch?
Best Regards :)
But the current situation is the info is piling up for each user who posted in the thread, so by the last post the info is displayed mulitple times.
The patch would also nullify these "template hooks" replacment somewhere while executing the plugin!
I haven't installed the patch yet, but I'm also facing that the thanks box is being displayed on every post of the thread !! isn't being solved by the patch?
Best Regards :)
I dont think I understand why you did not install the patch.
There is a xsrf bug in this hack, and i can set thanks or groans by <script src="post_thanks_add.php...blablabla..."></script> on my domain if user cookies was set for another site/domain. And we can use cookies from another site with this hack.
It's enough to give link to this page to use this bug.
May be the best solution is to use additional http X-header for ajax-requests.
Can you please explain more? Or send me a PM. I'm not sure what you are able to you.
rjmjr69
05-16-2007, 08:19 PM
So what is the fix for my problem and everyone elses? Look a the default style? What in the world does that fix? I dont even use the default style so if its working there I could care less I need it to work on my skin I'm using for my members. I inserted that hook into the legacy I have the thank you button back but it doesnt do anything other than disapear once clicked. Still nothing in the member info UGGHHHHH what the heck is going on and dont tell me look at the default
I got it to work had to redo the whole template yet again. Anyhow now the thank you button is on the right of the post I want it on the left how do I do that?
So what is the fix for my problem and everyone elses? Look a the default style? What in the world does that fix? I dont even use the default style so if its working there I could care less I need it to work on my skin I'm using for my members. I inserted that hook into the legacy I have the thank you button back but it doesnt do anything other than disapear once clicked. Still nothing in the member info UGGHHHHH what the heck is going on and dont tell me look at the default
The problem is that you are using a custom style - that is not up-to-date with vb's latest changes.
They added a bunch of Template Hooks in some templates. This hack uses them. You need to compare what your changes look like and what vb's default template looks like and compare them. Add to your template the missing parts.
rjmjr69
05-16-2007, 09:00 PM
The problem is that you are using a custom style - that is not up-to-date with vb's latest changes.
They added a bunch of Template Hooks in some templates. This hack uses them. You need to compare what your changes look like and what vb's default template looks like and compare them. Add to your template the missing parts.
Thats such a pain but thank you I got it.
Roxie
05-16-2007, 09:32 PM
Question, is there any way to install the new version w/o losing the edits I made to how the hack displays?
Question, is there any way to install the new version w/o losing the edits I made to how the hack displays?
What you can do is copy the edits you made into the templates that represent them now.
Black Tiger
05-16-2007, 10:26 PM
Strange. I just upgraded to 3.6.7 reverted the templates so standard templates because I reverted all templates used by version 6.0 of Post Thank You.
After that, I upgraded like it says in the instructions.
Now I see this in postbit:
Thanks: 12
Thanked 12 Times in 6 Posts
Thanks: 0
Thanked 70 Times in 25 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 32
Thanked 10 Times in 5 Posts
Thanks: 15
Thanked 33 Times in 15 Posts
Whats going wrong with the display here?
And how can I fix this?
Strange. I just upgraded to 3.6.7 reverted the templates so standard templates because I reverted all templates used by version 6.0 of Post Thank You.
After that, I upgraded like it says in the instructions.
Now I see this in postbit:
Thanks: 12
Thanked 12 Times in 6 Posts
Thanks: 0
Thanked 70 Times in 25 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 32
Thanked 10 Times in 5 Posts
Thanks: 15
Thanked 33 Times in 15 Posts
Whats going wrong with the display here?
And how can I fix this?
Use the fix in the first post.
Black Tiger
05-16-2007, 11:02 PM
Thanks! Worked great!
Suggestion for next release. Give the admin the choice where to put the thanks button, I would like mine on the left side of the "edit" button.:)
Thanks! Worked great!
Suggestion for next release. Give the admin the choice where to put the thanks button, I would like mine on the left side of the "edit" button.:)
It has to do with the vb template hook. You can move the hook and all hack will place buttons there.
AMG021
05-16-2007, 11:55 PM
This was a fix for duplicating info.
Try looking at a default vb 3.6.6/7 style and see if it works.
Nope doesn't work. :(
Nope doesn't work. :(
I would have to look at your ACP then.
Hornstar
05-17-2007, 05:45 AM
^^ thanks, will need to upgrade to to the latest vb now.
suraev
05-17-2007, 12:28 PM
Abe1, very nice Mod.
I think it can replace the reputation button, since most reputation comments are useless and there is no a real need to keep them.
Could you please add the setting, so that reputation points that a user receives being thanked/groaned will be determined by reputation power of thanker/groaner. Now it is determining by fixed constant in admin control panel, but it will be nice if it will act just like the original reputation button works ("thanks" add an amount equal to reputation power of thanker, "groan" subtracts amount equal to 1/2 of reputation power of groaner).
Thus we can get rid of reputation button and stay with "thanks/groan".
Thanks for hack. I am runnig 367. Thanks button is next to quick answer on the right. How can i move this button next to quote (to the left) ?
Thanks for hack. I am runnig 367. Thanks button is next to quick answer on the right. How can i move this button next to quote (to the left) ?
Move over the control template hook.
360themes
05-17-2007, 11:36 PM
But the current situation is the info is piling up for each user who posted in the thread, so by the last post the info is displayed mulitple times.
The patch would also nullify these "template hooks" replacment somewhere while executing the plugin!
I haven't installed the patch yet, but I'm also facing that the thanks box is being displayed on every post of the thread !! isn't being solved by the patch?
Best Regards :)
After installing new patch, the thank box shows after every single post. please help me, I don't know why it happens.
I am using VBB 3.8.7 PL1, even with default template, problem still there
https://vborg.vbsupport.ru/
Black Tiger
05-17-2007, 11:53 PM
It has to do with the vb template hook. You can move the hook and all hack will place buttons there.
I presume this means I have to edit a template? In that case I rather leave it where it is because I want to do as less template edits as possible.
Thanks for the quick answer!
I presume this means I have to edit a template? In that case I rather leave it where it is because I want to do as less template edits as possible.
Thanks for the quick answer!
You may want to move it since it is one edit and it will move all controls that any coder added to your forum.
After installing new patch, the thank box shows after every single post. please help me, I don't know why it happens.
I am using VBB 3.8.7 PL1, even with default template, problem still there
http://img182.imageshack.us/img182/4307/picture8yo6.png
You installed the patch???
ableemperor
05-18-2007, 11:03 AM
thanks ama bu 3.6.5'te ?alışmıyor 3.6.6 ve daha y?kseği i?in demiş :)
Lahoria
05-18-2007, 01:32 PM
hi
I need help :
1) I cant get the images instead of the textnotices eg.
Hidden Block (you must be registered):
You do not have sufficient rights to see the hidden data contained here.
How do I get the images instead.
2)
How/where do I translate :
Thanked 3 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
to my own langauge. ??
Thanks .. nice hack
FiRe_MaStER
05-18-2007, 02:34 PM
Thanks a lot!!
hi
I need help :
1) I cant get the images instead of the textnotices eg.
Hidden Block (you must be registered):
You do not have sufficient rights to see the hidden data contained here.
How do I get the images instead.
2)
How/where do I translate :
Thanked 3 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
to my own langauge. ??
Thanks .. nice hack
Not sure what your fist question is but search phrases for 'post_thanks' and it will come up with all the post thanks phrases.
SoftDux
05-18-2007, 04:48 PM
Where do I disable the use of a button image? I just want to display the text, "Thank you"
Lahoria
05-18-2007, 04:51 PM
1) I cant get the images instead of the textnotices eg.
Hidden Block (you must be registered):
You do not have sufficient rights to see the hidden data contained here.
How do I get the images instead.
------------------------->
I have a textture notics , but I would like the included images instead how do I do that ..
Where do I disable the use of a button image? I just want to display the text, "Thank you"
Check out the post thanks templates.
1) I cant get the images instead of the textnotices eg.
Hidden Block (you must be registered):
You do not have sufficient rights to see the hidden data contained here.
How do I get the images instead.
------------------------->
I have a textture notics , but I would like the included images instead how do I do that ..
Still dont understand. Do you have a screenshot?
Move over the control template hook.
How can I do ? Can you explane ?
How can I do ? Can you explane ?
I posted the info a few pages back.
Black Tiger
05-18-2007, 10:52 PM
@Comp:
It's in post #963 (in my options that post is on page 65, but could be another page depending on your settings).
SoftDux
05-19-2007, 01:18 AM
Where do I disable the use of a button image? I just want to display the text, "Thank you"
Check out the post thanks templates.
Sorry, I'm not sure I understand what you mean?
Mupetz
05-19-2007, 04:48 PM
move the '$template_hook[postbit_controls]' to right under '<!-- controls -->' if you'd like.
Where this edit has to be done ? on the product-post_thanks.xml before install ? Because i don't see any <!-- controls --> line.
I have searched the postbit & postbit_legacy for thank you line so I can move it to the left, didn't fine one.
This is weird, how can i see the button if the $post_thanks_button line isn't there ? ( postbit or postbit_legacy )
Petchay
05-19-2007, 05:47 PM
Wow, installed without a problem! Great !!!!!
Where this edit has to be done ? on the product-post_thanks.xml before install ? Because i don't see any <!-- controls --> line.
I have searched the postbit & postbit_legacy for thank you line so I can move it to the left, didn't fine one.
This is weird, how can i see the button if the $post_thanks_button line isn't there ? ( postbit or postbit_legacy )
Edit in the postbit template
Sorry, I'm not sure I understand what you mean?
Post Thanks has templates. Look in your templates and styles to edit them.
Tearstone
05-20-2007, 02:03 AM
Thank you for staying on top of the fixes on this!
pandaram
05-20-2007, 06:14 AM
Hi,thanks for the hack..i have a small issue..i run vB 3.6.4..please have a look at the image below
https://vborg.vbsupport.ru/external/2010/06/67.jpg
the thanks numbers are being displayed correctly in the usercp...but the numbers are not being displayed in "postbit" and "memberinfo"
and for some members its getting stuck at 1,even though they have received hundreds of "thanks" in more than a single thread.
https://vborg.vbsupport.ru/external/2010/06/68.jpg
Can someone please help me out...?
firstrebel
05-20-2007, 08:28 AM
I just uploaded a fix in the first post for someone who does not want to do the file edit and still fix the vb3.6.7 bug.
For those like me just catching up, is the fix for 3.6.7PL1 (using 367_patch.zip) as well as 3.6.7
Thanks
Bob
For those like me just catching up, is the fix for 3.6.7PL1 (using 367_patch.zip) as well as 3.6.7
Thanks
Bob
Yes. Works for both.
Hi,thanks for the hack..i have a small issue..i run vB 3.6.4..please have a look at the image below
https://vborg.vbsupport.ru/external/2010/06/67.jpg
the thanks numbers are being displayed correctly in the usercp...but the numbers are not being displayed in "postbit" and "memberinfo"
and for some members its getting stuck at 1,even though they have received hundreds of "thanks" in more than a single thread.
https://vborg.vbsupport.ru/external/2010/06/68.jpg
Can someone please help me out...?
Make sure you re-did the template edits when up upgraded to 6.0 Gold.
ForYou
05-20-2007, 11:38 AM
Hello ,
I was install the new version but it dosen't work on custom style , but it work in defualt style without editany templete ,
what can i do to make it work on custom style ,
Regards
Zagis
05-20-2007, 12:55 PM
Hi,
A few days ago, I had to uninstall "Post Thank you Hack" and drop the table "for_post_thanks". When I installed the product again, I restored the backed up table and everything went fine except the stats. I mean all Thanks are there, below of each post except those (see attachment), even if the use has hundreds "Thanks"
Any help please. :)
P.S. Thanks are given after the re installation are counting normally.
Mattikana
05-20-2007, 01:12 PM
When reading a PM, it needs to execute an additional query for an uncached template of your hack.
Also, you can abuse it by posting a link somewhere ( www.yoursite.com/forum/post_thanks.php?do=post_thanks_add&p=[PostID] ). That way someone can gain more Thanks without people knowing that they thanked his post...
pandaram
05-20-2007, 03:01 PM
Make sure you re-did the template edits when up upgraded to 6.0 Gold.
hello abe,i had downloaded the zip file for the 6.0 gold and followed instructions.
Is it okay if i post the contents of my 'postbit " and "memberinfo" template here.....?
vampireus
05-20-2007, 03:39 PM
Abe1, please teach me how to bump the topic by clicking Thanks. I know abt the bad side of this function currently, but it does not really matter much on my site.
Hello ,
I was install the new version but it dosen't work on custom style , but it work in defualt style without editany templete ,
what can i do to make it work on custom style ,
Regards
Do a history compair and add all the $template_hooks you are missing.
Hi,
A few days ago, I had to uninstall "Post Thank you Hack" and drop the table "for_post_thanks". When I installed the product again, I restored the backed up table and everything went fine except the stats. I mean all Thanks are there, below of each post except those (see attachment), even if the use has hundreds "Thanks"
Any help please. :)
P.S. Thanks are given after the re installation are counting normally.
Use the recounters found in the ACP.
When reading a PM, it needs to execute an additional query for an uncached template of your hack.
I know about this. It should be fixed in next version.
hello abe,i had downloaded the zip file for the 6.0 gold and followed instructions.
Is it okay if i post the contents of my 'postbit " and "memberinfo" template here.....?
No need to. Just look over the template edits and make sure they are 100% the same as you have in your templates.
Abe1, please teach me how to bump the topic by clicking Thanks. I know abt the bad side of this function currently, but it does not really matter much on my site.
No way to do it. I tried but threads were not being marked read unless they had a poll in it.
Zagis
05-20-2007, 06:33 PM
Use the recounters found in the ACP.I just did it but nothing happened. I also did Maintenance -> Repair / Optimize Tables but still nothing.
Is it something else I can do?
Tnx
I just did it but nothing happened. I also did Maintenance -> Repair / Optimize Tables but still nothing.
Is it something else I can do?
Tnx
You tried the Post Thanks re-counters?
Zagis
05-20-2007, 06:52 PM
You tried the Post Thanks re-counters?Where exactly in the ACP can be found?
vampireus
05-20-2007, 06:54 PM
It's all right if threads are not being marked as read, really. Please please
Zagis
05-20-2007, 07:11 PM
Where exactly in the ACP can be found?Sorry Abe, found :o and works great.
Thank you!
dope15gd
05-20-2007, 11:04 PM
I'm running 6.0 gold because my templates aren't updated. I am getting this error in the memberinfo area.
For every member it says "Thanked %1$s Times in %2$s Posts" rather than the actual thanks info.
I think it is because I installed 6.1, but upon realizing my templates weren't updated I replaced the files and installed 6.0 on top of it. Should I just wipe everything and reinstall freshly or is there something else I should do to fix it?
thanks
ferocity302
05-20-2007, 11:27 PM
So far so good. I just need to edit the image to match my skin.
:)
It's all right if threads are not being marked as read, really. Please please
I dont have the code I tested it with but if I have time I'll see if I can reproduce it.
I'm running 6.0 gold because my templates aren't updated. I am getting this error in the memberinfo area.
For every member it says "Thanked %1$s Times in %2$s Posts" rather than the actual thanks info.
I think it is because I installed 6.1, but upon realizing my templates weren't updated I replaced the files and installed 6.0 on top of it. Should I just wipe everything and reinstall freshly or is there something else I should do to fix it?
thanks
I dont really know what could be producing this. Try to make sure everything is edited right. Also, if you want to uninstall and re-install, make a backup of the post_thanks table and import it after you re-install. Run the recounters after.
AuroraStorm
05-21-2007, 01:57 AM
I love this hack. Can I make a suggestion?
You could do a Post Hug hack...I got a lot of members who love to give hugs to support people who are having a bad day...it could have a hug smilie in the button instead of the thanks thumb...
I love this hack. Can I make a suggestion?
You could do a Post Hug hack...I got a lot of members who love to give hugs to support people who are having a bad day...it could have a hug smilie in the button instead of the thanks thumb...
You can change the image and edit the templates and phases as you wish.
athlon64bit
05-21-2007, 09:00 AM
Can someone tell me why after installing the new Thank You Hack version, it has gone haywire.
This is what is an example of what is displayed in peoples posts,
Join Date: May 2006
Location: Chicago suburbs
Posts: 2,932
Thanks: 294
Thanked 139 Times in 112 Posts
Thanks: 37
Thanked 65 Times in 47 Posts
Thanks: 124
Thanked 114 Times in 106 Posts
Thanks: 26
Thanked 42 Times in 36 Posts
Thanks: 37
Thanked 65 Times in 47 Posts
Thanks: 124
Thanked 114 Times in 106 Posts
Thanks: 37
Thanked 65 Times in 47 Posts
Thanks: 124
Thanked 114 Times in 106 Posts
Thanks: 294
Thanked 139 Times in 112 Posts
Why are so many Thanks listed all crazy like that in everyones posts?
Also another problem is it will show several Thank You icons under one post to click, like 3, 4, 5 or even 11 thank you icons that you can click. There is something seriously wrong. Can anyone help?
I am running Vbulletin 3.6.7 PL1
I have had to disable my Thank You Hack on my forum and it was my favourite plugin :(
ForYou
05-21-2007, 10:49 AM
Do a history compair and add all the $template_hooks you are missing
Hello ,
From where can i do history compair , please let me know ,
Regards
Hello ,
From where can i do history compair , please let me know ,
Regards
Go to the edit template screen and you will see it on the left.
Can someone tell me why after installing the new Thank You Hack version, it has gone haywire.
This is what is an example of what is displayed in peoples posts,
Why are so many Thanks listed all crazy like that in everyones posts?
Also another problem is it will show several Thank You icons under one post to click, like 3, 4, 5 or even 11 thank you icons that you can click. There is something seriously wrong. Can anyone help?
I am running Vbulletin 3.6.7 PL1
I have had to disable my Thank You Hack on my forum and it was my favourite plugin :(
Read the last line of the first post.
IhaQuer
05-21-2007, 03:26 PM
Thanks for this hack. Great
Works on vb 3.6.7 (in non default skin) I must add $template_hook to postbit and memberinfo but works great :)
Best :)
m6747
05-21-2007, 06:07 PM
this hack works great... one quick question.
How can I get the template edits on a skin I installed after I installed this hack?
Thanks
arena
05-21-2007, 06:52 PM
Post Thank You Hack 6.1 problem postbit_first template not working.
1337_macro
05-21-2007, 06:52 PM
The button does not show up at all. Any help with this would be much appriciated. I am running 3.6.7 pl and I ran the template hook fix and it is still missing. Any help would be much appriciated
ferocity302
05-21-2007, 07:03 PM
Can someone tell me why after installing the new Thank You Hack version, it has gone haywire.
This is what is an example of what is displayed in peoples posts,
Why are so many Thanks listed all crazy like that in everyones posts?
Also another problem is it will show several Thank You icons under one post to click, like 3, 4, 5 or even 11 thank you icons that you can click. There is something seriously wrong. Can anyone help?
I am running Vbulletin 3.6.7 PL1
I have had to disable my Thank You Hack on my forum and it was my favourite plugin :(
I just came here for the same reason!
I'm uninstalling, I can't wait around to see if it can be fixed. The list just gets longer and longer with every post.
Ok slap me now. I see the fix and uploaded it. Yup works good now. Sorry about all that.
Version 6.2 (05/21/07):
Fixed a template caching bug.
No file edits. Just upload the product XML.
tanyeri24
05-21-2007, 11:20 PM
hey abe1 great work.. Possible that we see in future updates Thank You rankings? Like most thanked this month / all time etc..
Skedoozy
05-22-2007, 06:21 AM
Thanks for the great hack. I modified it to use as a Laugh Tracking System. People on my board love it. :)
ForYou
05-22-2007, 09:24 AM
Hello Abe1 ,
I was try to install and update the hack but it dosent work in postBit , I cant see it in custom style , Please let me know how can i solve this problem ,
Regards
ForYou
05-22-2007, 09:26 AM
Hello Abe1 ,
It work in memberinfo but it not work in postBit and serach ,
Regards
beishe8
05-22-2007, 09:57 AM
I cant see it in custom style...
Same problem here.
Using 3.6.7
product template hook vb367 fix.zip
post thanks 6 2.zip
Can't click on it because it does not exist...:(
Disabled ATM.
Regards, beishe8
IhaQuer
05-22-2007, 12:09 PM
Ok ... here u go.
What you need:
1. WinMerge (to compare two different templates (your template and default [you may use other program])
2. two files (*.txt) (default.txt and custom.txt you may wish called other name it's your decision)
Now I go to admincp (./admincp/index.php) and search the templates called (postbit(_legacy), memberinfo)
Now I copy and paste all the template (postbit(_legacy) to my custom.txt
There is small button "show Default" or somthing like that (click it)
Copy and paste default template to my default.txt
Now I run WinMerge and add this two file to winmerge becouse we must compare two different files
You must search this phrase "$template_hook*" from default.txt and add in the same place in custom.txt
If u do that u may copy and paste your custom.txt to your template called postbit(_legacy)
Do it the same with memberinfo template.
When you do this it should work correctly
Best Regards
Sorry for my english
david05
05-22-2007, 01:50 PM
Hello Abe1 ,
It work in memberinfo but it not work in postBit and serach ,
Regards
I have the same problem with this. It works fine on default style, but not custome style. It only appear in memberinfo. It didn't appear in postbit.
Would you please show us how to solve this problem. We don't mind if we have to edit template to make it work. :D . I really love this hack.
Mrdby
05-22-2007, 02:24 PM
so what ones to upload? 6.0? or 6.2?
marotichat
05-22-2007, 04:44 PM
Sorry posted in wrong thread Mods pls delete this post
TrIn@dOr
05-22-2007, 05:16 PM
Thanks!
Sayrex
05-22-2007, 06:27 PM
Hi
Then Import Product :
http://img.majidonline.com/thumb/90171/untitled.JPG (http://img.majidonline.com/pic/90171/untitled.JPG)
why ?
rknight111
05-23-2007, 02:21 AM
Im currently running your version 5.3 to upgrade to the new version what do I need to do?
As the new version says no template edits does that mean I have to delete what I edited in?
Will I loose the old stuff when I reinstall this hack?
Thanks,
RON
Hornstar
05-24-2007, 05:55 AM
Im currently running your version 5.3 to upgrade to the new version what do I need to do?
As the new version says no template edits does that mean I have to delete what I edited in?
Will I loose the old stuff when I reinstall this hack?
Thanks,
RON
upgrade to the new version, you will not loose any of your thanks on your board. then just open up the few templates that were edited last time, and remove the tempalte code that was added. very easy, will only take a few min.
use 6.2 it is working really good. im running 3.6.7 btw
dannylin3000
05-24-2007, 07:47 AM
this hack is cool - I'm planning to add a feature on my site like this:
- Post an activity (actually photographer offline gathering events) in a post
- Any users can RSVP or just cancel the participation of the event
Looks like it's very similar to this Thank You hack?
RSVP = Click on the Thank button
Cancel = Remove Your Thank
Anyone interested in porting this hack to a RSVP mod?:D
cjwinternet
05-24-2007, 10:46 AM
Hi, can this be amended to say something other than 'thanks', more like 'wxxxxr' or something?
Sidewindr
05-24-2007, 11:23 PM
Does not seem to work properly with 3.6.7 PL1
Infact is is quite poor for large forums .. it does a repair by sorting on the post table!!! When uninstalling...
Does not seem to work properly with 3.6.7 PL1
Infact is is quite poor for large forums .. it does a repair by sorting on the post table!!! When uninstalling...
Not sure what you mean.
Hi, can this be amended to say something other than 'thanks', more like 'wxxxxr' or something?
Sure. Everything is easily editable. You can edit the phrases and images as you wish. You can also edit the templates if you need.
subnet_rx
05-25-2007, 01:13 PM
What if you want the template edits to be custom and don't want the automatic edits? I've had the buttons before the quote button since this hack came out, now it's behind.
diim_nowa
05-25-2007, 08:29 PM
Abe1,
Some threads on forum have the mistake like this on the top on the page:
(Im running 3.6.7PL1)
Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 183
Bounce
05-25-2007, 11:44 PM
not working in 3.6.7 pl1 ... not showing the image , its in right directory , was getting above error also a while ago
Hornstar
05-26-2007, 05:42 AM
Abe1,
Some threads on forum have the mistake like this on the top on the page:
(Im running 3.6.7PL1)
Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 183
so it wasnt just me. hope this can be fixed soon then, as its occuring on my forums still, and i pointed it out over a month ago as well. thanks.
Doglet
05-26-2007, 08:34 AM
3.6.7-PL1 - Post Thanks 6.2. I am getting the list of who gave thanks after every post, even though it is set to the first post only for those forums. Also, the Thaks button is visible on every post as well, not just the first. Any ideas?
It is also doubling and tripling up on all the information in the postbit?
Omega409
05-26-2007, 01:25 PM
I have the same problem! Also after deinstalling some SQL error?s like:
Datenbankfehler in vBulletin 3.6.7:
Invalid SQL:
SELECT postid
FROM post AS post
INNER JOIN thread AS thread ON(thread.threadid = post.threadid)
WHERE post.userid = 101
AND post.post_thanks_amount != 0
AND thread.forumid IN(6,7,34,8,18,29,31,30,61,52,65,69,68,77,51,9,19, 20,21,26,28,62,10,11,12,49,13,14,15,63,54,16,17,40 )
ORDER BY post.dateline DESC
LIMIT 1000;
MySQL-Fehler : Unknown column 'post.post_thanks_amount' in 'where clause'
Fehler-Nr. : 1054
Datum : Saturday, May 26th 2007 @ 04:13:40 PM
Skript : http://msvportal.de/forum/post_thanks.php?do=findthanks&u=101
Referrer :
IP-Adresse : 66.249.67.217
Benutzername : Unregistriert
Klassenname : vB_Database
ElForro
05-26-2007, 02:25 PM
I'm having a little problem... In the first post, there's one "thanks" button... In the second, there are two, in the third, three and so on.... So, the last post in one page looks like this:
http://img183.imageshack.us/img183/2424/imagen1zb7.png
Each button appears to be for each previous posts [ post_thanks.php?do=post_thanks_add&p=1227165 | post_thanks.php?do=post_thanks_add&p=1227177 | etc ]
If I set "Only First Post" option to YES, the buttons apear just right, but ALL of them are linked to thanks the FIRST post, of course [ e.x: post_thanks.php?do=post_thanks_add&p=1227177 ]
What could be wrong?
--
Another question, would it be possible to "search" all the thanked posts of ONE particular thread?
Something like: "Search this thread -> Show all thanked posts"
Abe...
I have my first post set up with the vbulletin.org layout so it shows on every page of the thread.
If I wanted to have a count displaying in my postbit of:
"Thanks received in this thread:"
How would I go about doing that..
So that it would only display the thanks that was given to you in that thread for each individual thread you have.
So if Thread 1 had 5 Thanks in it, then in the postbit it would show "Thanks Recieved in this Thread: 5"
And if Thread 2 had 8 Thanks in it, then it would show "Thanks Recieved in this Thread: 8"
Thanks.
Doglet
05-26-2007, 11:33 PM
3.6.7-PL1 - Post Thanks 6.2. I am getting the list of who gave thanks after every post, even though it is set to the first post only for those forums. Also, the Thaks button is visible on every post as well, not just the first. Any ideas?
It is also doubling and tripling up on all the information in the postbit?OK, I fixed this problem by installing the extra patch that is supplied with Post Thanks 6.2 - I realise now this is because of a bug in vBulletin 3.6.7. So for those having the problem of multiple entry stuff, use the xml patch file also available here.
Doglet
05-26-2007, 11:35 PM
I want to get rid of the Thanks: X
Recieved X Thanks in Y Threads stuff from the postbit. I find I cannot alter the postbit to do this as it is not in the postbit.
Where do I need to look for where this comes from and how do I stop it being added.
I love the program, but my users don't want it in the postbit and neither do I.
eNforce
05-27-2007, 12:00 AM
Automatic template edit isn't working on my custom templates. Any instructions on manual install would be great :)
samsons
05-27-2007, 12:04 AM
I want to get rid of the Thanks: X
Recieved X Thanks in Y Threads stuff from the postbit. I find I cannot alter the postbit to do this as it is not in the postbit.
Where do I need to look for where this comes from and how do I stop it being added.
I love the program, but my users don't want it in the postbit and neither do I.
Try post_thanks_postbit_info
i`ve tested it by deleting all in post_thanks_postbit_info and there was no errormessage, maybe that`s it what you`re looking for
everydayforums
05-27-2007, 01:42 AM
Installed and working great Thanks :)
andrewr
05-27-2007, 10:55 AM
Thanks, installed and working great :)
One question though - How do I get the Thanks part to look like this (https://vborg.vbsupport.ru/attachment.php?attachmentid=64315&d=1179188414) but with the username etc. on the left like here (https://vborg.vbsupport.ru/attachment.php?attachmentid=64317&d=1179188414)
Thanks :)
AndyA
05-28-2007, 12:09 AM
I've just installed this addon and it doesn't seem to work correctly, in any thread each shown post has an extra 'thanked field shown, see image below.
http://img.photobucket.com/albums/v185/andyaveyard/thanks.gif
Post 6 will show 6 lines of 'Thanked in # posts'
Post 7 will show 7 lines of 'Thanked in # posts'
Also it doesn't show at all in one of my purchased skins ?
www.throttlejockey.co.uk
AndyA
05-28-2007, 01:08 AM
Fixed the multiple Thanks but no good with my purchased style, the Thanks addon doesn't show at all, any ideas ?
Cheers
Automatic template edit isn't working on my custom templates. Any instructions on manual install would be great :)
You have to update your templates so they included the latest $template_hook variables.
Thanks, installed and working great :)
One question though - How do I get the Thanks part to look like this (https://vborg.vbsupport.ru/attachment.php?attachmentid=64315&d=1179188414) but with the username etc. on the left like here (https://vborg.vbsupport.ru/attachment.php?attachmentid=64317&d=1179188414)
Thanks :)
Not sure your question. One is the legacy version and one is the standard.
Fixed the multiple Thanks but no good with my purchased style, the Thanks addon doesn't show at all, any ideas ?
Cheers
You have to update your templates so they included the latest $template_hook variables.
I want to get rid of the Thanks: X
Recieved X Thanks in Y Threads stuff from the postbit. I find I cannot alter the postbit to do this as it is not in the postbit.
Where do I need to look for where this comes from and how do I stop it being added.
I love the program, but my users don't want it in the postbit and neither do I.
Try post_thanks_postbit_info
i`ve tested it by deleting all in post_thanks_postbit_info and there was no errormessage, maybe that`s it what you`re looking for
Yes, Doglet, remove all code from the post_thanks_postbit_info template and save it.
andrewr
05-28-2007, 12:16 PM
Not sure your question. One is the legacy version and one is the standard.
Hi, thanks for your reply.
What I mean is, is it possible to have the bit where it says "The following users say thank you to x for this post:" going across the bottom of the whole post rather than sqaushed up on the left?
Hi, thanks for your reply.
What I mean is, is it possible to have the bit where it says "The following users say thank you to x for this post:" going across the bottom of the whole post rather than sqaushed up on the left?
You can edit the post_thanks_postbit_legacy template as you see fit.
Robi_Kenobi
05-28-2007, 01:24 PM
Hello,
i have a question about the reputation function. If you say "Thanks" and get reputation points for that. Does that also relay on the "rules of reputation".
So i mean, does it prevent two users allways thanking each other for every post, to boost their reputation.
Do you have to "thank you" x other persons, until the reputations adds on to your score?
Hello,
i have a question about the reputation function. If you say "Thanks" and get reputation points for that. Does that also relay on the "rules of reputation".
So i mean, does it prevent two users allways thanking each other for every post, to boost their reputation.
Do you have to "thank you" x other persons, until the reputations adds on to your score?
Dont think so.
Abe...
I have my first post set up with the vbulletin.org layout so it shows on every page of the thread.
If I wanted to have a count displaying in my postbit of:
"Thanks received in this thread:"
How would I go about doing that..
So that it would only display the thanks that was given to you in that thread for each individual thread you have.
So if Thread 1 had 5 Thanks in it, then in the postbit it would show "Thanks Recieved in this Thread: 5"
And if Thread 2 had 8 Thanks in it, then it would show "Thanks Recieved in this Thread: 8"
Thanks.
........
This shouldn't be too difficult, just a conditional?
eNforce
05-28-2007, 03:21 PM
You have to update your templates so they included the latest $template_hook variables.
Thank you, I manually added these in my templates and your mod works wonderfully. I prefer to use the postbit thank you template in the postbit_legacy, it looks better.
Are you looking at your posts only? Do you have more then one style?
was going nuts looking for the button on a new forum - finally figured out I kept looking at places with only my posts showing... :-)
Hornstar
05-29-2007, 05:28 AM
I have a member on my site who says he cant thank users. when he clicks on the thanks button it takes him to a page that says " you do not have permission to access this page........"
He is in only one usergroup, so I have gone through the thanks settings, there are no banned usergroups, i have gone through permissions, and usergroup manager, and there are no settings for thanks in those.
I have never had a problem before upgrading to version 6.x
It seems like this could be a serious problem, and hopefully you will be able to fix it.
Thanks.
after update to 6.2 from 6.0GOLD i can't see the thanks button
any help?
Franky45
05-29-2007, 02:02 PM
After that Thanks
I get the following message:
Invalid argument supplied for foreach() in /includes/functions_post_thanks.php (Zeile 183)
How can i fix it?
Thanks
snake-boy
05-29-2007, 03:08 PM
I think I'm having the same problem, I upgraded from 5.3 and thanks button has vanished!
I hoped installing the fix attached to this thread would possibly solve it, but nope. The options are available in my admincp to configure, but no sign of a thank you button anywhere on the forums.. :(
Help!?
Edit: Just FYI, I'm running 3.6.7
WAHMama
05-29-2007, 04:42 PM
Is there a way to change the text for the Thanks? What I mean is not all posts are being thanked for being "helpful" sometimes you just want to say Thanks because someone said soemthing nice about a photo you posted or a comment you made. I looked in the admin options and didn't see that, so I was hoping there was a place I could change that
Stromba
05-29-2007, 06:56 PM
Have upload everything and dont see the Thanks button on the forum..???
Use the latest version VB 3.6.7 PL1
Aimee1969
05-29-2007, 08:04 PM
Thanks it is working. I figured out my problem was I can't thank myself (duh) so when I looked at other members post I figured out it was installed right. lol
snake-boy
05-29-2007, 10:01 PM
Well, you CAN thank yourself. You just need to enable it in the options...
I have checked and re-checked all steps of the installation and am certain everything is correct, yet there's still no sign of the thanks button after upgrading from 5.3 to 6.2.
If this isn't fixed really soon I guess I will have to roll back to 5.3 and do all those damn template edits manually (again) :(
Abe1 - please help us figure out what's wrong?
-snake
yaoren
05-30-2007, 01:51 AM
Hey Abe, was wondering if you could help me out with an issue I'm having with thanks button. I know another member asked this as well and didn't see a reply as to how to fix it. I'm basically ending up with multiple thanks buttons with each reply on the thread. Was wondering how I could fix that issue. Thank you in advance! ^^
snake-boy
05-30-2007, 01:11 PM
I've had to uninstall 6.2 and revert to 6.0 Gold. :(
Although the thanks button had reappeared now and appears to be working fine, but all my user's thank counts are GONE and previously thanked threads now have no record of these thanks.
I figured I'd solve this by simply copying the post_thanks table from my backup in it's entirety, but although the table now exists and contains all the data it did when I was running V5.3, the thank you counts are still not being recognized. ?
Did the format change between V5.3 and V6.0 Gold? Don't tell me I have to roll back ANOTHER version to V5.3... I'll be right back where I started :(
And I thought upgrading was a good idea.... <sigh>
-snake
my_aly
05-30-2007, 01:39 PM
thanks.. install (:
AndyA
05-30-2007, 01:52 PM
Is it possible to remove the "The following user has thanked" box as shown in the image ? I'd just like to use the Thanked X in X posts.
https://vborg.vbsupport.ru/external/2007/05/2.jpg
AndyA
05-30-2007, 02:46 PM
IGNORE THIS POST - FIXED
Also I have a problem, the mods and admin can see the button but 'members' cannot see it. I don't have anything in the banned fields etc..... help !
foulplay
05-30-2007, 05:40 PM
Hey Abe, was wondering if you could help me out with an issue I'm having with thanks button. I know another member asked this as well and didn't see a reply as to how to fix it. I'm basically ending up with multiple thanks buttons with each reply on the thread. Was wondering how I could fix that issue. Thank you in advance! ^^
I thought I did something wrong...but I'm glad i'm not the only one experiencing this.
tamilterminal
05-31-2007, 02:45 AM
I thought I did something wrong...but I'm glad i'm not the only one experiencing this.
Yes i am getting the same problem...:confused:
I am running 3.6.7 version vbulletin.. and the thank you hacked i installed is 6.2.
even if i say Yes to pnly first post still i am getting thank you result over and over :mad:
http://img297.imageshack.us/img297/7397/bugthankbo1.jpg (http://imageshack.us)
http://img297.imageshack.us/img297/7397/bugthankbo1.jpg
Pls let me know how to fix it... :)
AndyA
05-31-2007, 12:21 PM
Did you also install the hook fix file ? That fixed it for me.
whealey
05-31-2007, 01:22 PM
I feel like such a n00b asking this...but could someone please tell me where the postbit and postbit_legacy files are... I have found what I think is them...but they are called postbit.php and postbit_alt.php...I dont think that is them.
utahraves
05-31-2007, 03:36 PM
Um.... I imported the 6.2 and it's really messed up... it posts like a lot of (THANKS) boxes on the post.... can someone help me?
http://www.utahraves.com/showthread.php?t=242
That's the thread that i'm trying to work on....
got everything working now on 3.6.7, though I had a few bumps along the way... all seems to be ok except than when checking for all thanked posts from the user profile page, I get a blank page as a result
i searched this thread for similar, but didn't see a clear answer to the problem
Ciber Digit@l
05-31-2007, 07:32 PM
Please help me. I've this error:
Warning: Illegal offset type in /includes/functions_post_thanks.php on line 110
Thank you a lot
Jelmertjee
05-31-2007, 08:11 PM
I've installed the 3.6.7 hook fix, but still the mod isn't working properly.. Any ideas what's causing this (the post thanks are being repeated, same error posted earlier in this thread).
ForYou
06-01-2007, 10:56 PM
Hello ,
I'm use costum style and the post thanks hack not work on it , but in the defaullt style it is work without any problem , is there any any help for fix this problem ,
regards
buileminh
06-02-2007, 02:52 PM
This hack does not work with my customized style either. NO thanks button is displayed!
fpattberg
06-03-2007, 07:55 AM
I have the same problem. No thanks button is displayed. I use 6.2 and have got the 3.6.7 fix.
Any suggestions?
Thanks.
Fabian
I think I'm having the same problem, I upgraded from 5.3 and thanks button has vanished!
I hoped installing the fix attached to this thread would possibly solve it, but nope. The options are available in my admincp to configure, but no sign of a thank you button anywhere on the forums.. :(
Help!?
Edit: Just FYI, I'm running 3.6.7
Have upload everything and dont see the Thanks button on the forum..???
Use the latest version VB 3.6.7 PL1
Well, you CAN thank yourself. You just need to enable it in the options...
I have checked and re-checked all steps of the installation and am certain everything is correct, yet there's still no sign of the thanks button after upgrading from 5.3 to 6.2.
If this isn't fixed really soon I guess I will have to roll back to 5.3 and do all those damn template edits manually (again) :(
Abe1 - please help us figure out what's wrong?
-snake
Hello ,
I'm use costum style and the post thanks hack not work on it , but in the defaullt style it is work without any problem , is there any any help for fix this problem ,
regards
This hack does not work with my customized style either. NO thanks button is displayed!
I have the same problem. No thanks button is displayed. I use 6.2 and have got the 3.6.7 fix.
Any suggestions?
Thanks.
Fabian
Do all you guys not know how to look a page back or 2 or do a search to find the answer?????? vBulletin added some '$template_hook' variables to templates. You should have to update your custom styles to include these variables to get this hack working right. If you dont do this now, then when vb comes out with their plug-ins, you will have the same problem.
Whenever someone opens a thanked thread/post I get this error
Warning: Illegal offset type in /includes/functions_post_thanks.php on line 110
I have also switched back to 6.0, and had to manually do the template edits, because 6.2 is not showing the button.
Any ideas..
Please help me. I've this error:
Thank you a lot
No clue. I would have to check your forum out. Try using the Post Thanks Recounters.
I've installed the 3.6.7 hook fix, but still the mod isn't working properly.. Any ideas what's causing this (the post thanks are being repeated, same error posted earlier in this thread).
Not sure. I would have to check you ACP
Is there a way to change the text for the Thanks? What I mean is not all posts are being thanked for being "helpful" sometimes you just want to say Thanks because someone said soemthing nice about a photo you posted or a comment you made. I looked in the admin options and didn't see that, so I was hoping there was a place I could change that
This hack is fully customizable. Check the phrases.
got everything working now on 3.6.7, though I had a few bumps along the way... all seems to be ok except than when checking for all thanked posts from the user profile page, I get a blank page as a result
i searched this thread for similar, but didn't see a clear answer to the problemMake sure you are not using the old template edit link.
Abe...
I have my first post set up with the vbulletin.org layout so it shows on every page of the thread.
If I wanted to have a count displaying in my postbit of:
"Thanks received in this thread:"
How would I go about doing that..
So that it would only display the thanks that was given to you in that thread for each individual thread you have.
So if Thread 1 had 5 Thanks in it, then in the postbit it would show "Thanks Recieved in this Thread: 5"
And if Thread 2 had 8 Thanks in it, then it would show "Thanks Recieved in this Thread: 8"
Thanks.
......................................
vitrag24
06-03-2007, 07:09 PM
i have installed 5.3 earlier
can u guide me step by step nowe from beginning wht to do to upgrade to 6.2
my vb version is 3.6.4..will it be compatible without any prbs or not?
i have installed 5.3 earlier
can u guide me step by step nowe from beginning wht to do to upgrade to 6.2
my vb version is 3.6.4..will it be compatible without any prbs or not?
6.2 wont work by you. Install 6.0. just over write the install and re-do all the template edits.
pspcrazy
06-03-2007, 11:07 PM
I have v3.6.0 and i install hacks all the time, i had installed this in the past, but later upgraded vb versions and removed the hack. Oddly when i go to install the 6.0 version and install the product xml file, it simply crashes the server. Any idea what's up with that? Thanks abe love this hack :)
ppmfic
06-04-2007, 12:56 AM
Thank you ^^
csavern
06-04-2007, 01:08 AM
i am running 3.6.7 PL1 and do not see the thank you in the post i just installed 6.2 and did the patch.
i have been through these post looking how to fix but have not found maybe i overlooked sorry if i have
but i am using the same templates that came with vbulletin
just used my own images
could someone tell me what i have done wrong
seems to be enabled
i can click on a profile and see
ThanksTotal Thanks: 0
Thanked 0 Times in 0 Posts
Find all thanked posts by David
but no thank you button in the forums
Lonely Heart
06-04-2007, 02:47 AM
i'm having a Problem with Version 6.2
My forum Version 3.6.7 PL1
when i clicked on Thank You button i got this message :
=========
Lonely Heart, you do not have permission to access this page. This could be due to one of several reasons:
Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
======
when i disable AJAX it's working fine. so what to do since i need AJAX to be Active?
Thanks
Ramsesx
06-04-2007, 04:07 AM
Thanks for this hack, but I have one stupid question,
You have to update your templates so they included the latest $template_hook variables.
I don't get it what this means exactly, thanks.
Franky45
06-04-2007, 05:18 AM
Hello Abe1.
Have you one tip for this problem?
Invalid argument supplied for foreach() in /includes/functions_post_thanks.php (Zeile 183)
regards
mrahul
06-04-2007, 06:25 AM
does this actually count up as a post count or only as a thank count, i.e will it reflect on total posts also, then it would surely boost community stats.
Franky45
06-04-2007, 06:37 AM
After i click the Thank Button. It will display under the Post.
Hornstar
06-04-2007, 07:17 AM
i'm having a Problem with Version 6.2
My forum Version 3.6.7 PL1
when i clicked on Thank You button i got this message :
=========
Lonely Heart, you do not have permission to access this page. This could be due to one of several reasons:
Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
======
when i disable AJAX it's working fine. so what to do since i need AJAX to be Active?
Thanks
That bug is happening to some of my members as well, not sure why tho.
muksforu
06-04-2007, 09:41 AM
same problem with my fourm
My forum Version 3.6.7 PL1
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
but no thank you button in the forums
how to solve this..
thnx
csavern
06-04-2007, 11:17 AM
i got mine fixed by updating templates
Lonely Heart
06-04-2007, 08:57 PM
That bug is happening to some of my members as well, not sure why tho.
yeah it was one of my members problem when my hack V6.0 Gold so i check this thread to ask about it then i notice the new Version 6.2 so i said to my self i should upgrade first.
After upgrade from 6.0 gold to 6.2 BoOoOm the problem in my membership Now so i disabled the AJAX and it's working Fine but i have to Enable the Ajax within the next 24 H.
:(
Desi-Home
06-04-2007, 09:28 PM
It's not working on 3.6.7
Just trying over and over again.. but the thanks button doesn't appear in posts..
it shows the thanks in profiles and everywhere else
but the thanks button is not being displayed in posts.. thats what i want.. any help please?? send a PM
Thanks waiting :(
libabom
06-05-2007, 07:14 AM
"I attempt to load 6.0 version for 3.6.4 but while loading xml files the screen freezes and its unable to load files. What should i do now? "
vuiveclub_net
06-05-2007, 09:58 AM
Option to add to post count when someone clicks 'thanks'
Please help me to change: when someone clicks 'thanks', the poster will be add to post count! Thank!
Cagonni
06-06-2007, 12:10 AM
Please help me to change: when someone clicks 'thanks', the poster will be add to post count! Thank!
Vbulletin Options / Post Thank You Hack / Post Count / No
Cagonni
06-06-2007, 12:20 AM
hi Abe1 can we show thanks in "forumlist" template?
vuiveclub_net
06-06-2007, 01:07 AM
Vbulletin Options / Post Thank You Hack / Post Count / No
To Cagonni: No!
Set this to YES if you want the post count of the user who gave thanks to go up.
I want this: "Set this to YES if you want the post count of the POSTER whom was given thanks to go up."
How about this? Please help me! Thank you very much!
TR?PST?R
06-06-2007, 04:05 AM
ABE I have rebuilt my custom temp after installing ur fix but the hack does still not work.
ne suggestions?
snake-boy
06-06-2007, 06:05 AM
Same here. Still not thanks button appearing... (after template rebuild).
Back to 6.0 gold again, which works just fine...
Cagonni
06-06-2007, 08:31 AM
To Cagonni: No!
I want this: "Set this to YES if you want the post count of the POSTER whom was given thanks to go up."
How about this? Please help me! Thank you very much!
i dont know php very much but the logical way is editing includes/functions_post_thanks.php
if ($vbulletin->db->affected_rows() != 0)
{
$set_user_got .= ", reputation = " . $vbulletin->options['post_thanks_reputation'] . " + reputation";
}
}
if ($vbulletin->options['post_thanks_post_count'])
{
$set_user_gave .= ', posts = 1 + posts';
}
may be you should add to $set_user_got variable ', posts = 1 + posts' :confused:
vuiveclub_net
06-06-2007, 11:28 AM
Thank you very much! Cagonni!
I'll try now!
DS MrSinister
06-07-2007, 01:35 AM
*HHU
Try to edit post_thanks_times_posts Phrase.
echocpt
06-07-2007, 01:48 PM
Ok so i just installed the post thankyou hack 6.2 and i was like score this is great. Then this jst randomly happerned, every reply post after 1st one gets a double button for thanks and so on till its like 17th post with 17 thanks buttons.
https://vborg.vbsupport.ru/
Can any1 think why this is happerning ?? Help Please
Thanks.
Also i don't want to turn thank first post only on. Also ud still get written in header so any surgestions?? Also im running on version 3.6.7 PL1
Tearstone
06-07-2007, 10:59 PM
The "Thanks" button stopped working on my forum as well. Is this because of the forum software upgrade, it was working great before.
VViper
06-08-2007, 08:04 AM
I was looking for the thankyou button, but thought i would post to say, Thankyou.
Installed and well liked on the forum.
Ok so i just installed the post thankyou hack 6.2 and i was like score this is great. Then this jst randomly happerned, every reply post after 1st one gets a double button for thanks and so on till its like 17th post with 17 thanks buttons.
https://vborg.vbsupport.ru/
Can any1 think why this is happerning ?? Help Please
Thanks.
Also i don't want to turn thank first post only on. Also ud still get written in header so any surgestions?? Also im running on version 3.6.7 PL1
same problem, same version.
can any1 help?
tobias_t
06-08-2007, 09:49 AM
Apologies if this has been asked and answered before, but - how can I deactivate thanks given and received being displayed in the user profile bar? I am eager to enable this hack in our forums.
Thanks, Tobias
cash7c3
06-09-2007, 02:35 AM
"You have to update your templates so they included the latest $template_hook variables."
Thanks for this hack, but I have one stupid question,
I don't get it what this means exactly, thanks.
Yes, please, if anyone could give a little more info other than "they added some stuff, you have to update some stuff and then it will work", that'd be great.
I have this hack working fine on my site modmymoto.com, and working slightly on my site modmyiphone.com. After two or three days of working on it off and on at modmyiphone.com, I STILL can't get it functioning completely (doesn't show the box under each post with who has thanked).
I know what I'm doing, if I could PLEASE get a little more detailed info on the fix, that'd be great. Thanks.
Lets see 6.2 requires your templates to be up to date meaning 3.6.6 (3.6.7 didn't have any changes) This update adds template hooks on the postbit and postbit_legacy templates.
When abe1 updated his hack, he removed the template changes and used the hooks instead making the installation as simple as possible. IF you don't have this template hooks, then this modification won't be able to show the button or how many groans are there.
"You have to update your templates so they included the latest $template_hook variables." means to have the postbit and postbit_legacy up to date.
The quickest way to achieve this is reverting the template, but if you have it modify use the vBulletin tools to compare the changes and update your templates.
---------
Once done this, vBulletin 3.6.7 (not sure if 3.6.6 too) has a small bug which causes to to show more than one botton etc... as shown on the image.
To fix it, download product template hook vb367 fix.zip. You can find it on the first post :) Once installed, it will be fixed ;)
----------------
Apologies if this has been asked and answered before, but - how can I deactivate thanks given and received being displayed in the user profile bar? I am eager to enable this hack in our forums.
Thanks, Tobias
If you don't want to show "Thanks: x" "Thanked 1 time in 1 post"
Go to the template called "post_thanks_postbit_info" and either delete all its contents or (I would do this second one) put a conditional at the beginning for example
(So only users with this usergroups can see it)
<if condition="is_member_of($bbuserinfo, 5,6,7)">
or so only peeople with those userids can see it
<if condition="in_array($bbuserinfo[userid], array(1,8,200))">
Don't forget to put the </if>
I'm sure there are other ways, but these are the ones I know :)
FleXy
06-09-2007, 06:43 AM
auto template editor DIN'T work for me. it was edit all styles, but my SUB-style not.
I think that is because template already edeted with VBPlaza.
where can I find instruction how to edit it manualy... or what can I do ?
thank you
Ramsesx
06-09-2007, 09:44 AM
Thanks for your kind help NolF, it was as you said, after upgrading the templates it is fine now. I even found out how to get this running on GARS :)
soulweaver
06-09-2007, 11:23 AM
how do you hide what their thanking you for until they press thanks.
Monyet
06-09-2007, 02:13 PM
I love this mod, this is cool. and "THANX!" :)
Monyet
06-09-2007, 02:26 PM
hey, there's this error:
Fatal error: Could not open /homepages/46/d207133605/htdocs/includes/xml/bitfield_vbulletin.xml in /includes/class_bitfield_builder.php on line 126
how to fix that?
cash7c3
06-09-2007, 04:42 PM
@NoIF-thanks you, that was exactly what I needed.
FleXy
06-09-2007, 06:08 PM
what can i do? on one of my style (and sub-style) THANKS button and other template modefications did not show :-(
in to the other styles all correct.
deezelpope
06-09-2007, 06:14 PM
What exactly do you mean by "other template modefications"???
With some styles, you need to make a button.
Arda MENDES
06-09-2007, 08:07 PM
"I attempt to load 6.0 version for 3.6.4 but while loading xml files the screen freezes and its unable to load files. What should i do now? "
Problem's still goin' on. What must we do?
FleXy
06-09-2007, 09:02 PM
What exactly do you mean by "other template modefications"???
With some styles, you need to make a button.
i mean that thanks button didn't show on the template used by default, but into other installeted templates all work fine and I seen thanks button.
There are 2 reasons the button wouldn't show.
A) Templates are not up to date (template hooks)
B) You haven't uploaded the images in all the styles you are using. Different styles use different directories for their images. THe button uses the variable $stylevar[imgdir_button] used by each theme, so just upload it to your buttons directory of each theme and should work.
"I attempt to load 6.0 version for 3.6.4 but while loading xml files the screen freezes and its unable to load files. What should i do now? "Problem's still goin' on. What must we do?
You mean the screen freezes when you are installing the product?
According to the instructions first upload all the files to the ftp of the site, and then when installing the product select YES on the Allow Overwrite option.
Fatal error: Could not open /homepages/46/d207133605/htdocs/includes/xml/bitfield_vbulletin.xml in /includes/class_bitfield_builder.php on line 126
how to fix that?
It would be helpful to know what you were doing when that error came up. For example removing or giving a thanks... who knows.
FleXy
06-10-2007, 07:08 AM
There are 2 reasons the button wouldn't show.
A) Templates are not up to date (template hooks)
B) You haven't uploaded the images in all the styles you are using. Different styles use different directories for their images. THe button uses the variable $stylevar[imgdir_button] used by each theme, so just upload it to your buttons directory of each theme and should work.
Thank for your answer.
About first one A) where can I check this and correct? I think problem on this...
B) no, because I didn't see thanks counter into the postbit for every user, also like I didn't see thanks button.
ps. sorry for my english
A) where can I check this and correct? I think problem on this...
You fisrt need to have your forums updated to 3.6.7 (3.6.6 minimum) Then when you login to your admincp there will be a message on the top saying something like
There are currently XX customized template(s) that need to be updated or reverted. Some sections of vBulletin may not function if you do not do this!
Click here to view these templates! Click on the link and it will take you to a menu with all the outdated templates.
For this hack you are interested on updating
postbit, postbit_legacy, navbar, and memberinfo
so click on "[View History]" on those templates, and you will be able to compare the changes between the templates.
You will have more yellow lines depending on how modified your template is, but you are looking for green and reds. and specially the ones called $template_hook_[var] or something like that. If you don't want to revert your template, you will have to add these hooks to your current template manually.
Once added the template hooks, this modification should work no problem ^^. In addition if you want to update all your templates, it is very useful to use the modification post of vbulletin here (http://www.vbulletin.com/forum/showthread.php?t=229448#2) to determine the importance and the nature of the updates :)
Lionel
06-10-2007, 06:14 PM
Thanks for your kind help NolF, it was as you said, after upgrading the templates it is fine now. I even found out how to get this running on GARS :)
can you tell us how?
Mommyland
06-10-2007, 07:31 PM
Ok so i just installed the post thankyou hack 6.2 and i was like score this is great. Then this jst randomly happerned, every reply post after 1st one gets a double button for thanks and so on till its like 17th post with 17 thanks buttons.
http://www.xblgamingzone.com/images/forum prob.JPG
Can any1 think why this is happerning ?? Help Please
Thanks.
Also i don't want to turn thank first post only on. Also ud still get written in header so any surgestions?? Also im running on version 3.6.7 PL1
I am having the same problem i searched and read the thread did the suggested things but its still happening
You need to have product template hook vb367 fix.zip (https://vborg.vbsupport.ru/attachment.php?attachmentid=64402&d=1179314145) installed. It is provided on the first post.
If you have it installed and still happens might be because you are not using 3.6.7. The patch is designed to work with 3.6.7 and stop working on 3.6.8
FleXy
06-11-2007, 05:33 AM
You fisrt need to have your forums updated to 3.6.7 (3.6.6 minimum) Then when you login to your admincp there will be a message on the top saying something like
Realy thank You! It's was helpful! I use 3.6.5 template. Where here THANKS button :-)
I remake template from new one, install manuany all old hacks and template editing.
It's takes long time, but now work fine
mrahul
06-11-2007, 07:18 AM
if suppose I dis-able the hack after installation for a few months, then will the post count will be decreased for users or only the thanks count fetaure will be dis-abled ?
Mommyland
06-11-2007, 07:42 AM
You need to have product template hook vb367 fix.zip (https://vborg.vbsupport.ru/attachment.php?attachmentid=64402&d=1179314145) installed. It is provided on the first post.
If you have it installed and still happens might be because you are not using 3.6.7. The patch is designed to work with 3.6.7 and stop working on 3.6.8
Thanks I installed that before and it didnt help, So Ijust unstalled everything reuploaded and its working great thanks again :)
I have v3.6.0 and i install hacks all the time, i had installed this in the past, but later upgraded vb versions and removed the hack. Oddly when i go to install the 6.0 version and install the product xml file, it simply crashes the server. Any idea what's up with that? Thanks abe love this hack :)
What happened if you use the upload from server option to install the hack?
i'm having a Problem with Version 6.2
My forum Version 3.6.7 PL1
when i clicked on Thank You button i got this message :
=========
Lonely Heart, you do not have permission to access this page. This could be due to one of several reasons:
Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
======
when i disable AJAX it's working fine. so what to do since i need AJAX to be Active?
Thanks
I would have to look at your forums.
Hello Abe1.
Have you one tip for this problem?
regards
Use the recounters.
does this actually count up as a post count or only as a thank count, i.e will it reflect on total posts also, then it would surely boost community stats.
You have an option to add to post count.
Problem's still goin' on. What must we do?
I dont know where the problem is, all i know is that it is no problem with the latest version.
Everything works, except the thanks button does not show up or the times thanked on the user info on the post bit template. I can see the options in the Admin panel and the thanks reference in the user profile but thats it :confused:
http://www.bamauniverse.com/forums/showthread.php?t=1114
Using VB 3.6.7 and I have installed the hook update fix.
Using VB 3.6.7 and I have installed the hook update fix.
the hook update fix and vB 3.6.7 are no good if the template it self doesn't have the hooks in the first place. Make sure your postbit or postbit_legacy, memberinfo and navbar are up to date (3.6.6 3.6.7 didn't have any template changes)
the hook update fix and vB 3.6.7 are no good if the template it self doesn't have the hooks in the first place. Make sure your postbit or postbit_legacy, memberinfo and navbar are up to date (3.6.6 3.6.7 didn't have any template changes)
Ok, I will check all of those and look for the Hooks. If they are not there (IE up to date
) where do I find them so I can update.
inteller2k7
06-11-2007, 04:43 PM
i cant seem to install this could someone explain to me
Is this the hook you are talking about? This and only this line of code?
$template_hook[postbit_start]
This needs to be installed in the following:
postbit or postbit_legacy, memberinfo and navbar.
Is that what you are saying? The only place I see this is in my custom style in the PostBit.
Make sure above are up to date (3.6.6 3.6.7 didn't have any template changes)
What do you mean up to date? I am running 3.6.7....you mean up to date as in this hook ( as shown above) installed?
Make sure above are up to date (3.6.6 3.6.7 didn't have any template changes)
What do you mean up to date? I am running 3.6.7....you mean up to date as in this hook ( as shown above) installed?
No. When you upgraded from any version to 3.6.6 or 3.6.7 your nonmodified templates updated. However, modified templates were left untouched and working as if it still was your old version.
In order to update your modified templates correctly, follow the instructions posted here (https://vborg.vbsupport.ru/showpost.php?p=1265485&postcount=1218).
Postbit postbit_legacy navbar and memberinfo all have different hooks (different names) the one you mentioned is just one of the postbits. I think there are nine different hooks in each postbit, and navbar and memberinfo have their own hooks, so follow instructions and if done correctly it will work beautifully ^^
PS heavily modified templates will take a while to update so be patient, and make a backup of it ^^
i cant seem to install this could someone explain to me
Makes sure your forum version is 3.6.7 and templates are up to date
Upload all th files to the their corresponding directories.
Makes sure the images go to your templates images directory
Install the product (admincp -> plugins and products -> product admin) [in the bottom part of the page]
Set up your hack configuration
and you are done ^^
inteller2k7
06-12-2007, 12:24 AM
i installed it but under every forum it shows what user said thanks so it shows it to every single member as u can c here
http://www.aioforums.com/forum/showthread.php?t=108
it also shows like this
Join Date: Jun 2007
Posts: 53
Thanks: 0
Thanked 2 Times in 2 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 2
Thanked 0 Times in 0 Posts
i need help asap
i installed it but under every forum it shows what user said thanks so it shows it to every single member as u can c here
http://www.aioforums.com/forum/showthread.php?t=108
it also shows like this
Join Date: Jun 2007
Posts: 53
Thanks: 0
Thanked 2 Times in 2 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 2
Thanked 0 Times in 0 Posts
i need help asap
Try this (https://vborg.vbsupport.ru/showpost.php?p=1265794&postcount=1221)
inteller2k7
06-12-2007, 01:01 AM
thanks man your real Help but i uploaded the Hide hack and it not working witch is pissing me of
dbirosel
06-12-2007, 06:01 AM
Suggestion: When you receive a thanks, you get an automated private message.
topshams
06-12-2007, 12:14 PM
I am sorry if this has already been asked. Is it possibe to completely disable this for guests so they won't even see the members who have thanked.
I am just thinking from an SEO point of view this would be a beneficial feature.
I think a simple conditional on post_thanks_postbit_info template at the very begining stating
<if condition="$bbuserinfo[usergroupid] != 1"> and </if> at the very end should do the trick. basically it means if the usergrouipd is NOT 1 (unregistered not logged in) show the content of the template else don't show anything ^^ (ps tested and fixed works to me unresgistered/not logged in people can't see it)
Suggestion: When you receive a thanks, you get an automated private message.
No offence, I think it would be a nice option, but not essential. You see In a medium/large forum where even if a restricted number of people are eligible to used the feature many people (in my forums) got well over 200 thanks in less than a month, imagine the amount of PMs that would involve.
Maybe a feature that alerts you next to the PM number the amount of thanks obtained since last connected but receiving an actual PM I think would be a bit problematic in some cases [I have considered a disable button but then...]
thanks man your real Help but i uploaded the Hide hack and it not working witch is pissing me of
I'm going to assume so far you made the post thank you hack work...
I haven't used or tested hide hack, but I've noticed it hasn't been updated since December, while this hack has suffered important changes in the latest updates so the problem might be with the version incompatibility since maybe now post thank you hack does things differently than what hide hack was originally designed to use.
I know this is probably useless mumble jumble, so let's wait till someone who know these two systems better clarifies the issue. Just in advance I would suggest you to indicate with more detail how they are not working with each other as it would help the expert(s).
Ramsesx
06-12-2007, 03:14 PM
can you tell us how?
Sure I can, in GARS_pb you need to add below
<div align="$stylevar[right]" style="float:bottom-right;">
<!-- controls -->
$template_hook[postbit_controls]
<!-- / controls -->
</div>
</td>
</tr>
</table>
below add:
$template_hook[postbit_end]
<if condition="$show['garsspacer']">
</div>
$spacer_close
</if>
below that add:
$template_hook[postbit_user_popup]
I'm not sure if all three hooks are necessary, but it's working, the thanks button is on the left side, not right as in normal posts, maybe you can try around a bit to fit your needs.
For the comments I use the vb default postbit_legacy but it should be possible to get this done also in the gars comment template same way as described above.
Only one thing, sometimes there's an error: Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 183 and the thanks are not shown below the posts, seems to be only occur if a thread has more pages.
inteller2k7
06-12-2007, 04:50 PM
I think a simple conditional on post_thanks_postbit_info template at the very begining stating
<if condition="$bbuserinfo[usergroupid] != 1"> and </if> at the very end should do the trick. basically it means if the usergrouipd is NOT 1 (unregistered not logged in) show the content of the template else don't show anything ^^ (ps tested and fixed works to me unresgistered/not logged in people can't see it)
No offence, I think it would be a nice option, but not essential. You see In a medium/large forum where even if a restricted number of people are eligible to used the feature many people (in my forums) got well over 200 thanks in less than a month, imagine the amount of PMs that would involve.
Maybe a feature that alerts you next to the PM number the amount of thanks obtained since last connected but receiving an actual PM I think would be a bit problematic in some cases [I have considered a disable button but then...]
I'm going to assume so far you made the post thank you hack work...
I haven't used or tested hide hack, but I've noticed it hasn't been updated since December, while this hack has suffered important changes in the latest updates so the problem might be with the version incompatibility since maybe now post thank you hack does things differently than what hide hack was originally designed to use.
I know this is probably useless mumble jumble, so let's wait till someone who know these two systems better clarifies the issue. Just in advance I would suggest you to indicate with more detail how they are not working with each other as it would help the expert(s).
yes i got the thanks hack to work perfectly thanks so you saying the hide hack is not good at all i goot a question where could i get the rep botton or something am sorry for all this help it is that am new to this and dont really now much :)
topshams
06-12-2007, 06:56 PM
[QUOTE=NolF;1266947]I think a simple conditional on post_thanks_postbit_info template at the very begining stating
<if condition="$bbuserinfo[usergroupid] != 1"> and </if> at the very end should do the trick. basically it means if the usergrouipd is NOT 1 (unregistered not logged in) show the content of the template else don't show anything ^^ (ps tested and fixed works to me unresgistered/not logged in people can't see it)
QUOTE]
Thanks very much for your help, I really appreciate it:) I'll make those changes now.
YukonMaster
06-12-2007, 08:55 PM
There are alot of posts so I did not have a chance to read them all so I am soory if this has been asked before.
This is the link to what I am seeing, (Double and triple thank yous) http://i151.photobucket.com/albums/s123/YukonMaster/untitled-2.jpg
How can I fix this?
Mommyland
06-13-2007, 04:31 AM
There are alot of posts so I did not have a chance to read them all so I am soory if this has been asked before.
This is the link to what I am seeing, (Double and triple thank yous) http://i151.photobucket.com/albums/s123/YukonMaster/untitled-2.jpg
How can I fix this?
This is the answer that is about 7 posts above yours. I had the same problem The first time I did it it didnt work then I removed it and deleted the files then reinstalled everything and its perfect
Try this (https://vborg.vbsupport.ru/showpost.php?p=1265794&postcount=1221)
tanand79
06-13-2007, 05:29 AM
Iam using VB 3.6.3
Its refreshing the whole page once thanks buttons is clicked....
Is there a fix for it ?
YukonMaster
06-13-2007, 03:11 PM
This is the answer that is about 7 posts above yours. I had the same problem The first time I did it it didnt work then I removed it and deleted the files then reinstalled everything and its perfect
Thank you very much! Sorry I didn't see that post :o
Great MOD!
DaveINM
06-14-2007, 09:42 PM
I'm running 3.6.7 PL1. I installed the mod and it seems to work fine on my default template, but nothing shows up in the posts on my custom template. The only out of date custom templates found are with my PDA skin. I also installed the additional hook update. Any ideas on how to fix this?
Edit: Tried adding the hooks to my custom template manually. Got the info to display under the rep and got the thanks button to show up. However, if you click the thanks button, it disappears.
pedrambayat
06-14-2007, 10:36 PM
canot view button!!!!!!
deezelpope
06-14-2007, 11:03 PM
<i>Did you upload it to all of your styles?</i>
Edit: Tried adding the hooks to my custom template manually. Got the info to display under the rep and got the thanks button to show up. However, if you click the thanks button, it disappears.
you must be missing $template_hook[postbit_end] (here is were the thanks table is showed. the hook goes (PS this is my postbit_legacy template so it might be different in just postbit use the comments to guide you)
<!-- / controls -->
</td>
</tr>
</table>
$template_hook[postbit_end]
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
I would suggest you to propely update your templates, since it feels as if they were not completely updated
have a look at this post (https://vborg.vbsupport.ru/showpost.php?p=1265485&postcount=1217). Should be at least slightly helpful
canot view button!!!!!!
https://vborg.vbsupport.ru/showpost.php?p=1265169&postcount=1215
DaveINM
06-15-2007, 02:46 AM
Thanks NolF...that worked for me! :D
radarhunter
06-15-2007, 03:09 AM
hey its not workin` on my forum
even applied the template hack also
www.stepheniansonline.com/forum/home.php
radarhunter
06-15-2007, 03:23 AM
I also cannot view the thank u button - did everything by the book
Did you upload it to all of your styles?
how are we supposed to do that ??
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.