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)

TheInsaneManiac 10-01-2009 08:38 PM

So what is Use Markup Usersnames?

Also: Ban User, does this make it so the user can not see the add on at all or does it just make sure this user can not receive thanks? Cause I just want a specific user not able to get thanks, but that can still see others thanks.

decca87 10-02-2009 11:20 AM

hi im interesting in installing this but i wish to use it slightly different if that is ok i would preffer the mod to say something else how would edit this lets say for example i wanted it to say cheers instead of thanks looks a good mod i would just want to know how i could personalise it for my needs thankyou

princeedward 10-03-2009 11:27 AM

is there anyone can help me on this error please..everytime i click to give thanks this error will appear below and to the header of my webpage....

Code:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mysite/domains/mysite/public_html/includes/functions_post_thanks.php(266) : eval()'d code on line 19
thanks and best regards

:(

uprentiss 10-04-2009 07:29 PM

how do i make this centered in postbit legacy

Cmangum 10-05-2009 02:43 AM

Never could get this to install correctly, kept giving me errors. I must be doing something wrong

Blackhat 10-05-2009 05:33 PM

I never gets past the installation. When I upload the xml file it just loads and loads forever

dilbert 10-05-2009 08:29 PM

Quote:

Originally Posted by dilbert (Post 1873737)
I have made no changes to my site. This morning it was working fine, now I get the same error.
Were able to resolve this issue?

Thanks

Quote:

Originally Posted by Makc666 (Post 1873992)
http://dev.mysql.com/doc/refman/5.1/...s_denied_error

This just means that user 'iwsgamin_iwsvb'@'localhost' can't use SELECT command.
Ask you hoster why.

Thanks, I asked my host and the default user does have SELECT.
If I run this query, it works fine.
Code:

SELECT *
FROM post_thanks AS post_thanks

If I add a little more back to the query and run this, it still works fine:
Code:

SELECT *
FROM post_thanks AS post_thanks
INNER JOIN vB36_user

When I try to run the full query, that's when I get the error.
Code:

SELECT *
FROM post_thanks AS post_thanks
INNER JOIN user AS user USING (userid)
WHERE post_thanks.postid IN (0,17834)
ORDER BY post_thanks.username ASC;

In particular, when I add this back, it gives me the permission error:
Code:

USING (userid)
I don't understand MySQL very well.
What is USING (userid) doing, and why is it now causing a permission error?

Thanks

Ruler68jg 10-06-2009 06:23 AM

I am experiencing problems with Post Thank you Hack Mod; the first thing is that I can see the thank you button! And when I try to thank sometimes i can and sometimes I can’t and I get this message”

Ruler68jg , 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. "

Even when I try to remove my thanks also!
what can be the cause of this ?

regards
JG

bryanb 10-07-2009 08:41 AM

Quote:

Originally Posted by bryanb (Post 1557699)
Something weird going on on my board.

I've been using this mod for quite some time now, and I've never seen this before. A couple of times, someone has thanked another member and this appears:

The Following 4,294,967,295 Users Say Thank You to (user's name) For This Useful Post

(I've replaced the "user's name" here.)

Now I don't have +4 billion users, and after removing the user's thanks - the statement remains under the "thanked" post. :confused:

I can't seem to replicate this anywhere. It's only happened a couple of times.

I'm using Thanks 7.6 on vBull 3.71 PL2

Please help. Thanks!

Quote:

Originally Posted by bryanb (Post 1816678)
It's been nearly a year since I've posted this - and it's still happening every once in a while. Does anyone have a clue why this happens?

What gives? :confused:

BTW, I'm using vBull 3.8.2 now

Quote:

Originally Posted by alexchairman (Post 1878313)
still there is no solution ????????

Quote:

Originally Posted by HastleGames (Post 1868864)
i have the same error

Quote:

Originally Posted by bryanb (Post 1831723)
I've had this problem for sometime now - and it's just getting worse. I've reset the counters numerous times to no avail.

Could anyone give me some specific guidance on fixing this? I don't want to turn this hack off since my users are accustomed to using this on a daily basis. Thanks!

Is there anyway that someone - anyone - can fix this bug? I'm begging! It's maddening, and I'm not the only person who has this problem.

Hell, I'll even pay someone to fix this!

I've been using this hack for years, my users are accustomed to it, so I don't want to shut it off. PLEASE HELP!!

Thanks!

(vB 3.8.4)

squishi 10-07-2009 06:37 PM

This must be one of the most popular hacks on vbulletin.
Congrats!

I will consider installing it.

From a SEO standpoint, I might have to modify this a little.
All those links to user profiles are not very good for the search engine spiders.
It's best to hide that box from guests.

dilbert 10-08-2009 02:53 PM

Quote:

Originally Posted by dilbert (Post 1873737)
I have made no changes to my site. This morning it was working fine, now I get the same error.
Were able to resolve this issue?

Thanks

For those of you that are getting a permission error, there appears to be a known bug in MySQL that may be causing this.
http://bugs.mysql.com/bug.php?id=36811

haylazcom 10-09-2009 08:56 PM

Quote:

Originally Posted by bryanb (Post 1896038)
Is there anyway that someone - anyone - can fix this bug? I'm begging! It's maddening, and I'm not the only person who has this problem.

Hell, I'll even pay someone to fix this!

I've been using this hack for years, my users are accustomed to it, so I don't want to shut it off. PLEASE HELP!!

Thanks!

(vB 3.8.4)

for 4.294.967.295 problem, go to admin control panel,
postthanks
-recounters

if you have spare time upgrade all of them, if you just want to solve this 4.294.967.295 problem, only upgrade 3rd of them, thats all. no need to pay ok :)

Robert Waanders 10-10-2009 04:54 PM

I Miss this hack here... If I could, I should haved clicked "thanks..." ;-)

Robert

RedHacker 10-11-2009 09:20 PM

Abe1 i had one problem... In one style not show stats with thanks......

FRANKTHETANK 2 10-11-2009 09:31 PM

1 Attachment(s)
Ok, I had to custom add all the codes to my site and I'm having a problem getting the thank you button to go were i want it. Can anyone help?

RedHacker 10-12-2009 04:38 AM

Quote:

Originally Posted by RedHacker (Post 1898295)
Abe1 i had one problem... In one style not show stats with thanks......

Do you know anyone... Missing stats in postbit

pvalderh 10-12-2009 06:16 PM

Is it possible to recount the Post thanks after moving to new servers?
We've overwritten the empty post thanks table in phpmyadmin with the backup values, but the post thanks system stil operates as it is a new install.

nexty 10-13-2009 09:24 AM

Can you tell me the name of the "thanks" image cause on my theme I dont have thanks.jpg or somethink like that, so the point is that I dont see any image just a thanks text

RedHacker 10-13-2009 09:42 AM

Quote:

Originally Posted by nexty (Post 1899012)
Can you tell me the name of the "thanks" image cause on my theme I dont have thanks.jpg or somethink like that, so the point is that I dont see any image just a thanks text

Yes you must be created....

nexty 10-13-2009 09:51 AM

Okay and what should the name of this image ?

thanks.jpg ?

and where should I'll put them ?

many thanks

RedHacker 10-13-2009 10:00 AM

post_thanks.gif

Who Style create button?

nexty 10-13-2009 10:26 AM

alright its working now :) thanks you for helping

linuxututs 10-13-2009 02:10 PM

Worked like a charm on new 3.8.4 board with 3 skins. ( Only one isn't showing Thanks Count, but I know whats up with that )

Thanks,

HaqForum 10-13-2009 10:47 PM

thanks

RedHacker 10-14-2009 04:27 AM

Quote:

Originally Posted by linuxututs (Post 1899099)
( Only one isn't showing Thanks Count, but I know whats up with that )

What problem...? I had same problem...

Fenriz 10-14-2009 09:39 PM

Is there any chance to rebuild 'user thanked' statistic??

MagicThemeParks 10-16-2009 02:15 AM

Quote:

Originally Posted by MentaL (Post 1857517)
To remove the amount of times you have thanked someone and to keep the amount of thanks recieved, edit the following template and replace with;

post_thanks_postbit_info

Code:

<if condition="$post[userid]">
    <div>
        <if condition="$post[post_thanks_thanked_times] == 1">
            $vbphrase[post_thanks_time_post]
        <else />
            <if condition="$post[post_thanks_thanked_posts] == 1">
                <phrase 1="$post[post_thanks_thanked_times_formatted]">$vbphrase[post_thanks_times_post]</phrase>
            <else />
                <phrase 1="$post[post_thanks_thanked_times_formatted]" 2="$post[post_thanks_thanked_posts_formatted]">$vbphrase[post_thanks_times_posts]</phrase>
            </if>
        </if>
    </div>
</if>


Thanks for this! :up:

Was looking to see where to remove that little piece. :D

Filgga 10-16-2009 04:17 PM

Guys,

This plugin is causing SQL errors, especially when editing user (admincp/user.php?do=modify) & am using vBulletin 3.8.4 Patch Level 1 ...seems things are no longer the same.

I uninstalled the product and re-installed, it works but all counts (thanks counts) are starting from ZERO!

lowlight 10-21-2009 07:12 AM

Hi, I have a mobile template installed, and I want to use a simplified version of this hack on it. Would it be possible to just insert a text link into postbits.php? If so, what would I do?

ghostpt 10-21-2009 12:08 PM

It is possible to add a column on FORUMDISPLAY to show how many thank's by post?

Sample:

thread ........................ thanked replies visits
xpto1 ........................... 3 ......... 2 ........ 90
xpto2 ........................... 7 ......... 4 ........ 50
xpto3 ........................... 8 ......... 5 ........ 70

My idea is to completely replace to star voting system with just thanked hack since people use this a lot more than voting.

Thanks in advance.

ghostpt 10-21-2009 01:34 PM

Quote:

Originally Posted by ghostpt (Post 1903151)
It is possible to add a column on FORUMDISPLAY to show how many thank's by post?

Sample:

thread ........................ thanked replies visits
xpto1 ........................... 3 ......... 2 ........ 90
xpto2 ........................... 7 ......... 4 ........ 50
xpto3 ........................... 8 ......... 5 ........ 70

My idea is to completely replace to star voting system with just thanked hack since people use this a lot more than voting.

Thanks in advance.

I found it.
For anyone interested brahn have an great working solution:
https://vborg.vbsupport.ru/showthrea...ay#post1802256

lowlight 10-23-2009 08:41 AM

Is there a way to manually insert text versions of this hack? I'd like to offer basic functionality in a mobile version of my site.

demonfatal 10-23-2009 11:04 PM

Thank you for this great hack!!!

My forum has some posts with 250 or more Thanks, which takes up a lot of space.
PLEASE, How can I add a button to Hide/ Show the Thanks and at the same time, keep the total number of Thanks displayed?
I have tried to add a button in the "thanks_postbit" template, but I have not been successful.
Thanks.

persian.be 10-24-2009 05:58 AM

hi
i have 3 style i can see thanks count in one of them in postbit_legacy but in 2 other style i can't see thanks counti use vb 3.8.4 LP 1

ghostpt 10-24-2009 10:26 PM

Quote:

Originally Posted by brahn (Post 1802273)
Well, I guess all that needed was a little more time to figure it out -- apologies for jumping the gun. In case it's useful for others, here's what worked for me...


Step 1: create a plugin with hook location forumdisplay_query and the code
PHP Code:

$hook_query_fields .= ", thread.firstpostid AS firstpostid"

This makes the thread's firstpostid available in threadbit.


Step 2: create a plugin with hook location threadbit_display and the code
PHP Code:

$firstpostinfo fetch_postinfo($thread[firstpostid]);
$thread_thanks_amount $firstpostinfo[post_thanks_amount]; 

This makes the number of thank-yous applied to the thread's first post available to the threadbit template.

Step 3: use $thread_thanks_amount in the threadbit template to your heart's content.

I'v managed to do this with search results, using the same ideia with the hooks search_results_query_threads and search_results_threadbit.

Any ideia to do the same with tag search results?
Thanks.

medicalforums 10-27-2009 01:06 PM

Thanks for such a great hack

I have one request
How can disable thanks stat in postbit
I mean I want to still show how many times the user has been thanked but not how many times the user gave thanks

How to remove the bold red from showing in postbit

Thanks: 5
Thanked 9 times in 9 posts

Thanks!

MagicThemeParks 10-27-2009 10:17 PM

Quote:

Originally Posted by medicalforums (Post 1906867)
Thanks for such a great hack

How to remove the bold red from showing in postbit

Thanks: 5
Thanked 9 times in 9 posts

Thanks!

Check up a few posts (#1789) for the answer

medicalforums 10-27-2009 11:11 PM

Quote:

Originally Posted by MagicThemeParks (Post 1907173)
Check up a few posts (#1789) for the answer

oops,
Thank you very much

lowlight 10-27-2009 11:25 PM

Quote:

Originally Posted by lowlight (Post 1904194)
Is there a way to manually insert text versions of this hack? I'd like to offer basic functionality in a mobile version of my site.

Anyone?

mtlcore 10-29-2009 06:26 AM

Is there a way to add "thank yous" manually thru AdminCP to users?


All times are GMT. The time now is 12:32 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03411 seconds
  • Memory Usage 1,846KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_php_printable
  • (18)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