vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=165673)

Namaless 01-29-2008 08:28 AM

Quote:

Originally Posted by Datenpapst (Post 1431472)
*push* :(

I am using vbb 3.6.6. and it also happens on the default style :(

This thread is for vbulletin 3.7 and not for vbulletin 3.6.x ;)

teenhut 01-29-2008 05:30 PM

Quote:

Originally Posted by teenhut (Post 1429299)
I want to know that.

Is it possible to edit the post bit myself rather than automatic edit?

I only want to know as How many times user has been thanked in post bit rather this and also the one "How many he thanked in how many posts"

Plus it shows up under the Mood feature. I want to show where I want to. I could not any way to turn off the automatic editing of postbit template. Any help please.

why have I been ignored? :confused:

DEADLY S0LDIER 01-29-2008 08:18 PM

Hey guys, I installed this hack on my forum and it's great and all but about a month or 2 after I installed it, I have been getting the following PHP error on the top of my thread pages:

Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 183

Can anyone help me fix this? I checked line 183 and there is nothing wrong with the foreach but here is the entire line 183 code anyways:

foreach ($thanks AS $thank)

Thanks.

CLF 01-31-2008 12:30 AM

3.6.7 I installed it but it wasn't working for me. I followed all the steps from that readme file. :(

Abe1 01-31-2008 01:41 AM

Quote:

Originally Posted by Dabbi (Post 1430727)
This is great! I highly prefer this idea to the stars rating and this looks like it's darn close to what I've been looking for. :cool:

Is there an easy way (I'm still pretty new to this) for just the number of thanks to go up but not show: the amount of thanks given or the member names of those who have said thank you? Also does the amount of "thanks" for a thread show up in the forum titles like the rating stars do? If it's not possible at this time perhaps in the future? :)

It does not show up on the forumdisplay page. This is per post hack, not based on a thread.

Quote:

Originally Posted by Dabbi (Post 1430727)
One last question.. will this slow the board down at all? We have quite a few poky dial up user (myself included) who get really frustrated if something makes the site hang or load slow.

Thank you! :)

It only runs one query extra for each showthread page. It should not slow your forum down at all. I have done tests on huge forums and they are running great with this hack installed.

Abe1 01-31-2008 01:43 AM

Quote:

Originally Posted by saman (Post 1430796)
I removed the edits (in posbits) but the thanks (button/option) is still not appearing LINK

You link wont help me since i have to register to view the thanx button. I would have to tak e a look at your ACP if you want me to help you.

Abe1 01-31-2008 01:45 AM

Quote:

Originally Posted by teenhut (Post 1431887)
why have I been ignored? :confused:

I did answer you. Please check back a few pages.

Abe1 01-31-2008 01:45 AM

Quote:

Originally Posted by CLF (Post 1432823)
3.6.7 I installed it but it wasn't working for me. I followed all the steps from that readme file. :(

I would have to look at your ACP

Abe1 01-31-2008 01:47 AM

Quote:

Originally Posted by DEADLY S0LDIER (Post 1432000)
Hey guys, I installed this hack on my forum and it's great and all but about a month or 2 after I installed it, I have been getting the following PHP error on the top of my thread pages:

Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 183

Can anyone help me fix this? I checked line 183 and there is nothing wrong with the foreach but here is the entire line 183 code anyways:

foreach ($thanks AS $thank)

Thanks.

Do you have GARS installed? Can I take a look at your ACP? Others have been reporting it but I would like to get down to how it happens exactly.

Abe1 01-31-2008 01:48 AM

Quote:

Originally Posted by Datenpapst (Post 1431472)
*push* :(

I am using vbb 3.6.6. and it also happens on the default style :(

I am not sure why. I would have to take a look at your ACP.

Abe1 01-31-2008 01:49 AM

Quote:

Originally Posted by Namaless (Post 1431499)
This thread is for vbulletin 3.7 and not for vbulletin 3.6.x ;)

As i posted by the vb 3.6 thread, I would rather the posts here. It is the same version running for both and want to support it in one thread.

Abe1 01-31-2008 01:51 AM

Quote:

Originally Posted by Namaless (Post 1430769)
if you want I give you GARS for testing the problem (I'm interest to solution this problem).

For query read only "musername, usergroupid, displaygroupid" for use less memory! :)

I downloaded it but I dont have the time to start figuring out how to use the thing. I'd rather play right off an already existing one for a few reasons.

starww 01-31-2008 09:02 AM

hey i installed it and when i try to click thanks it says

Quote:

xxxxx, 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.
i am the admin ! please help

Jynxx 01-31-2008 03:36 PM

I really like this mod


So thanks (sorry couldnt resist)



Is there any way to total up the thanks received by a member?



If so I would rather use this in place of rep

CLF 01-31-2008 08:04 PM

Quote:

Originally Posted by Abe1 (Post 1432851)
I would have to look at your ACP

Do you want me to pm you the details?
Thank you! Btw, I have custom style and all I did different is I just added my own image (same name as the one originally in the zip).

Thanks again! :)

Namaless 02-01-2008 08:50 AM

Abe1 I have view the "fetch_musername" function and this is new coding:
PHP Code:

$thanks $vbulletin->db->query_read("SELECT * FROM " .TABLE_PREFIX"post_thanks AS ps INNER JOIN " .TABLE_PREFIX"user AS u ON (u.userid = ps.userid) WHERE ps.postid IN (" $post_ids ") ORDER BY ps.username ASC"); 

For query.

For get musername use this method:
PHP Code:

//$cache[$thank['postid']][$thank['userid']]['username'] = $thank['username'];
// Get vBulletin User Group ID
$cache[$thank['postid']][$thank['userid']]['username'] = fetch_musername($thank); 

Now the problem in vb 3.7 beta3 is solutioned by vbulletin team into vbulletin 3.7 beta4 :cool: .

Thanks.

da_judge 02-01-2008 07:46 PM

Im getting in postbit :

Thanks: 226
Thanked 372 Times in 179 Posts
Thanks: 226
Thanked 372 Times in 179 Posts

It shows twice... what template can i edit this... looked in postbit and postbit legacy

No good

Any ideas

Cheers

unforsaken 02-02-2008 01:12 AM

abe you do great work...any news of when we can see an update to groan hack?

rinkrat 02-02-2008 04:30 AM

Works great for me now. I had to remove it before because of compounding buttons.

Glad to have it back!

Citizen 02-02-2008 08:11 PM

Is there a way to display the top 10 thanked users?

CLF 02-03-2008 12:08 AM

Quote:

Originally Posted by CLF (Post 1432823)
3.6.7 I installed it but it wasn't working for me. I followed all the steps from that readme file. :(

Quote:

Originally Posted by CLF (Post 1433393)
Do you want me to pm you the details?
Thank you! Btw, I have custom style and all I did different is I just added my own image (same name as the one originally in the zip).

Thanks again! :)

Actually everything showed up except the button. I made the custom one for my custom style but the name of that image remained the same. I never changed it.
Hope you can help me with this.

Thanks :)

petacat 02-03-2008 08:33 AM

Updated. thanks.

Can I make a request for future release.

Set a limit (quota) per usergroup for giving thanks per day. There are some who abuse a good thing and organise to get bucketloads of thanks for trivial things.

CLF 02-04-2008 08:29 PM

1 Attachment(s)
This is what happens now. The button finally showed up but it multiplies. The very first post in the thread has no button, the next post has one, the next one two, the next one three buttons, and all the rest have four buttons?!? Why?!? I never changed anything. I just followed your instructions. Look, I attached the image. Please, I hope you could help me with this.
THANK YOU!

Jase2 02-04-2008 08:31 PM

You've obviously gone wrong somewhere.

Follow the instructions once again, overwriting all existing files.

If you need any help doing this ect. just drop me a PM.

Regards Jason :)

CLF 02-04-2008 10:56 PM

Quote:

Originally Posted by Jase2 (Post 1436363)
You've obviously gone wrong somewhere.

Follow the instructions once again, overwriting all existing files.

If you need any help doing this ect. just drop me a PM.

Regards Jason :)

Thank you, sir!
I did it again. Same thing. I get "Post thank you" in my admin CP, but when I enable it it does the same thing (1 button, 2 buttons, 3 buttons, 4 buttons). I'm clueless now. But thank you for your response. Really kind of you.

Any ideas of what it might be?

Meghwar 02-05-2008 03:23 PM

After upgrades:

Quote:

Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 183
problem every where, even o show thread, thread want shown it show this MSG in the middle of the Page !!!!

any Idea

Regards

Abe

IrIsmaili 02-05-2008 03:35 PM

Hi

thank you

RoughOcean 02-05-2008 08:18 PM

1 Attachment(s)
In the postbit legacy area, I am seeing multiple instances of the text:
Thanks: 0
Thanked: 0 Times in 0 Posts


Each subsequent poster in a thread has an added instance of that text.

See the attached screen shot from the postbit legacy of the 19th poster in a thread.

I'm running vB 3.6.7 PL1 and followed the 3.6.7 instructions including the template edits.

Did I miss something?

CLF 02-06-2008 07:13 AM

It works now!
THANK YOU!

INSTALLED!!! :D

paulvev 02-06-2008 04:28 PM

Is there a way to exclude MYSELF from receiving thanks? My reputation is SOARING due to the thanks i get on my forum...but i want exclude myself from receiving. I'd still like to be able to issue thanks though.

hilfe-forum 02-08-2008 02:19 PM

Quote:

Originally Posted by johnr (Post 1406082)
Is there a mod or submod of this that would allow guests to say Thank You and this be shown in a seperate part i.e. 'x Guests said Thank You for this post'?. Also on the groan hack too :)

Need this to PLZ

YLP1 02-09-2008 09:54 PM

I installed this on a clean vb3.6.8pl2 version and have it on another vb (same version) installation. On the clean installation when clicking the thank you, the page refreshes --- on my other installtion (which had an older version of thank you which I overwrote with the current version) thanking doesn't cause the page to refresh.

What could cause the refreshing? Or maybe I should ask which version of this add on should I be using for 3.6.8pl2?

Thanks in advance.

Edited to add: Each of my vb installations are on two different servers if this helps to figure this out.

Abe1 02-11-2008 01:09 AM

Quote:

Originally Posted by Namaless (Post 1433818)
Abe1 I have view the "fetch_musername" function and this is new coding:
PHP Code:

$thanks $vbulletin->db->query_read("SELECT * FROM " .TABLE_PREFIX"post_thanks AS ps INNER JOIN " .TABLE_PREFIX"user AS u ON (u.userid = ps.userid) WHERE ps.postid IN (" $post_ids ") ORDER BY ps.username ASC"); 

For query.

For get musername use this method:
PHP Code:

//$cache[$thank['postid']][$thank['userid']]['username'] = $thank['username'];
// Get vBulletin User Group ID
$cache[$thank['postid']][$thank['userid']]['username'] = fetch_musername($thank); 

Now the problem in vb 3.7 beta3 is solutioned by vbulletin team into vbulletin 3.7 beta4 :cool: .

Thanks.

It's all ready to go, i'm just waiting for someone to test the GARS error on.

Abe1 02-11-2008 01:10 AM

Quote:

Originally Posted by da_judge (Post 1434171)
Im getting in postbit :

Thanks: 226
Thanked 372 Times in 179 Posts
Thanks: 226
Thanked 372 Times in 179 Posts

It shows twice... what template can i edit this... looked in postbit and postbit legacy

No good

Any ideas

Cheers

search 'post thank' in all templates. Remove any edits that you had made with them.

Abe1 02-11-2008 01:11 AM

Quote:

Originally Posted by unforsaken (Post 1434316)
abe you do great work...any news of when we can see an update to groan hack?

Could be 1 day, could be 1 month. It depends on my mood. I would like Post Thanks all fixed before I work on Post Groan.

Abe1 02-11-2008 01:12 AM

Quote:

Originally Posted by Citizen (Post 1434817)
Is there a way to display the top 10 thanked users?

There are some 3rd party mods that do that.

Abe1 02-11-2008 01:15 AM

Quote:

Originally Posted by Meghwar (Post 1436788)
After upgrades:



problem every where, even o show thread, thread want shown it show this MSG in the middle of the Page !!!!

any Idea

Regards

Abe

Can I look at your ACP?

Abe1 02-11-2008 01:16 AM

Quote:

Originally Posted by RoughOcean (Post 1436984)
In the postbit legacy area, I am seeing multiple instances of the text:
Thanks: 0
Thanked: 0 Times in 0 Posts


Each subsequent poster in a thread has an added instance of that text.

See the attached screen shot from the postbit legacy of the 19th poster in a thread.

I'm running vB 3.6.7 PL1 and followed the 3.6.7 instructions including the template edits.

Did I miss something?

Can I look at your ACP? There is something built into the hack that fixes the vb bug for version 3.6.7 but it seems not to be active. It would be a big help if I can take a look. You can PM me.

Abe1 02-11-2008 01:24 AM

Quote:

Originally Posted by paulvev (Post 1437499)
Is there a way to exclude MYSELF from receiving thanks? My reputation is SOARING due to the thanks i get on my forum...but i want exclude myself from receiving. I'd still like to be able to issue thanks though.

Will be in next version.

Abe1 02-11-2008 01:25 AM

Quote:

Originally Posted by YLP1 (Post 1439654)
I installed this on a clean vb3.6.8pl2 version and have it on another vb (same version) installation. On the clean installation when clicking the thank you, the page refreshes --- on my other installtion (which had an older version of thank you which I overwrote with the current version) thanking doesn't cause the page to refresh.

What could cause the refreshing? Or maybe I should ask which version of this add on should I be using for 3.6.8pl2?

Thanks in advance.

Edited to add: Each of my vb installations are on two different servers if this helps to figure this out.

Please make sure all the files are uploaded. Also, make sure custom styles have the new template hooks.


All times are GMT. The time now is 05:11 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02173 seconds
  • Memory Usage 1,858KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete