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)

Nevets2329 07-20-2008 07:19 AM

The update to 3.7.2 seemed to cure all my 'Thanks Button' problems

prince1111 07-21-2008 02:08 PM

i install this hack...but they not show under the first post..i can see thanks button.but when i click that is not show...
can u tell me what can i do?

first i click thanks button that is not show..if i take again that thread then i can see thanks button again

never mind...
i upload agian..now working............

G-man 07-21-2008 02:44 PM

I figured it out myself. Thanks Abe1

pooffck1 07-21-2008 02:52 PM

i have a custom postbit_legacy i made and i cant get a thanks button on, can i have the code for the postbit?

ForgotenDynasty 07-21-2008 07:48 PM

i think i need to make some template edits because on my skin it doesn't drop down after thanking someone

Switch02 07-21-2008 07:56 PM

Quote:

Originally Posted by pooffck1 (Post 1580636)
i have a custom postbit_legacy i made and i cant get a thanks button on, can i have the code for the postbit?

I think this is the code:

Code:

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

muhteva 07-22-2008 05:19 AM

Quote:

Originally Posted by muhteva (Post 1577488)
How can I cancel the refreshing the page when a user click thank. Users dont want to replacing page..?

Please help.

yahoooh 07-22-2008 06:13 AM

any news about vblog addon thank u?

pooffck1 07-22-2008 09:00 AM

thanks alot mate! can someone tell me the code to display how many thanks given in postbit_legacy.

THE X FILES 07-22-2008 09:29 AM

First off, thanks abe1 for you great efforts on this one and previous versions, but I would like to ask about upgrading issues.
I'm running vB 3.6.4, and planning to upgrade to 3.7.x very soon, how can I upgrade to the new plugin version aswell without losing all the previous data? I've read that ppl had issues losing their previous data, how can I avoid this?

sateurope 07-22-2008 04:21 PM

something went wrong on my website,we lost all the thank counts,is there any way to get all the thank you counts back?

theOZer 07-22-2008 04:31 PM

In AdminCP > Post Thanks > running the Recounters options might correct this. Might not.

sateurope 07-22-2008 05:15 PM

did not help, i need to change the thanks amount for a group of members that have disappeared with the upgrade of the older version

G-man 07-22-2008 05:50 PM

Quote:

Originally Posted by theOZer (Post 1581534)
In AdminCP > Post Thanks > running the Recounters options might correct this. Might not.

When I upgraded for some reason it wiped the post_thanks table clean. I was able to recoup the data and upload it to the live database. I jsut wish I would have seen the recount feature. Now I really feel like an idiot after all the work I put in to manually set all the counts via assorted conversions, uploads and updates.

theOZer 07-22-2008 07:32 PM

sateurope,
How did a group of members disappear? And, how can you change the group's thanks count if they're gone?

G-man 07-22-2008 08:11 PM

Quote:

Originally Posted by theOZer (Post 1581684)
sateurope,
How did a group of members disappear? And, how can you change the group's thanks count if they're gone?

Haven't a clue. When I upgraded vB and then installed the new mod version all of the date in the post_thanks table was cleaned out. Strange. Since I did a full backup of the sql database right before the vB upgrade I was able to pull the old post_thanks data from that locally here and after much pain of converting things back and forth between MS Access, a database program I kind of know quite well to sql. I was able to restore the data to the post_thanks table, post table and user table.

Now I beleive if I had known about the recount feature I would ahve only had to restore the post_thanks table and ran the recount.

THE X FILES 07-22-2008 08:58 PM

Quote:

Originally Posted by G-man (Post 1581726)
Haven't a clue. When I upgraded vB and then installed the new mod version all of the date in the post_thanks table was cleaned out. Strange. Since I did a full backup of the sql database right before the vB upgrade I was able to pull the old post_thanks data from that locally here and after much pain of converting things back and forth between MS Access, a database program I kind of know quite well to sql. I was able to restore the data to the post_thanks table, post table and user table.

Now I beleive if I had known about the recount feature I would ahve only had to restore the post_thanks table and ran the recount.

So you are saying, to make this right, after upgrading to vB 3.7 and installing the new plugin version, the post_thanks table on the backup should be copied to the new database then use the Recount feature ? That's all ??

PHILLYFAN 07-22-2008 09:01 PM

I've uploaded everything but
Quote:

post_thanks.php -> \
says to upload it, but does not say a path to place it. Where do I upload this to please?

theOZer 07-22-2008 09:03 PM

It goes in your primary folder, e.g., forums.

PHILLYFAN 07-22-2008 09:22 PM

Quote:

Originally Posted by theOZer (Post 1581782)
It goes in your primary folder, e.g., forums.

Thanks!

Everything works! Only problem I see is there is no icon for where you click thanks. All there is the word thanks. No thumbs up! Anyone know why and yes i uploaded the image!

G-man 07-22-2008 09:37 PM

Quote:

Originally Posted by THE X FILES (Post 1581777)
So you are saying, to make this right, after upgrading to vB 3.7 and installing the new plugin version, the post_thanks table on the backup should be copied to the new database then use the Recount feature ? That's all ??

Please unless you really know what you are doing in regards to mysql do not do this. I would hate to be the cause of you blowing something up. I know what worked for me and me alone. I am NOT an expert!

beckyvan 07-22-2008 11:51 PM

1 Attachment(s)
I have a question. I have this hack installed, and all is fine. Except, for some reason in the user CP it's listing under their statistics twice.
See image.

Thanks in advance!

pooffck1 07-23-2008 08:12 AM

can someone tell me the code to display how many thanks given in postbit_legacy.

theOZer 07-23-2008 06:07 PM

Quote:

Originally Posted by PHILLYFAN (Post 1581798)
Thanks!

Everything works! Only problem I see is there is no icon for where you click thanks. All there is the word thanks. No thumbs up! Anyone know why and yes i uploaded the image!

You need to copy the post_thanks.gif into your specialized style's folder /images/buttons.
~OZ

GaiLoan 07-23-2008 07:15 PM

Hi every one, i have this question, incase a post with a 1000 or more users Thanks, then that post page showing very long down, that be slowing down, any thing to fix that problem ? such as Collapse its or some ? Thanks

beckyvan 07-26-2008 01:21 PM

Quote:

Originally Posted by beckyvan (Post 1581896)
I have a question. I have this hack installed, and all is fine. Except, for some reason in the user CP it's listing under their statistics twice.
See image.

Thanks in advance!

Anybody have ideas?

thank you!

Abe1 07-27-2008 06:08 AM

Quote:

Originally Posted by muhteva (Post 1577488)
How can I cancel the refreshing the page when a user click thank. Users dont want to replacing page..?

It shouldn't refresh now.

Abe1 07-27-2008 06:16 AM

Quote:

Originally Posted by G-man (Post 1578165)
Upgraded to the latest vB and removed the old 6.4 Thank You hack thinking it would preserve all the data for when I installed this new version and it did not. Spend the last 5 hours putting the data back into the post_thanks table by hand, all 65,000+ entries through mysqladmin.

Now how do I reconnect this data with the users and with the posts so it shows up in the forums?

There has to be a couple of sql commands that will do this, but my brain is dead. Please help!

Make sure you put the post_thanks table back with all the data then run the recounters from the post thanks options.

Abe1 07-27-2008 06:20 AM

Quote:

Originally Posted by RedGTiVR6 (Post 1578469)
Does anyone know where I would change the execution order of this plug-in?

Basically, the search link shows up after my google search box, I'd like it to show before that box. Since this uses a hook it's not as straightforward as just editing the navbar template.

If you click to edit the plug-in, it gives you an option on what order to do it in.

Abe1 07-27-2008 06:24 AM

Quote:

Originally Posted by gnavpott (Post 1578975)
I have a problem
when 1 members are delete and other uses are in favour of his argument and uses thank button so they this error
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]\post_thanks.php on line 57

some can help with that

It should have been fixed in the latest version.

Abe1 07-27-2008 06:28 AM

Quote:

Originally Posted by pooffck1 (Post 1580636)
i have a custom postbit_legacy i made and i cant get a thanks button on, can i have the code for the postbit?

Make sure you have the $template_hook variables are in the template.

Abe1 07-27-2008 06:29 AM

Quote:

Originally Posted by yahoooh (Post 1581175)
any news about vblog addon thank u?

Not yet.

Abe1 07-27-2008 06:31 AM

Quote:

Originally Posted by THE X FILES (Post 1581263)
First off, thanks abe1 for you great efforts on this one and previous versions, but I would like to ask about upgrading issues.
I'm running vB 3.6.4, and planning to upgrade to 3.7.x very soon, how can I upgrade to the new plugin version aswell without losing all the previous data? I've read that ppl had issues losing their previous data, how can I avoid this?

Just make sure you dont uninstall the old version. Just install the new version right over the last version.

Abe1 07-27-2008 06:32 AM

Quote:

Originally Posted by sateurope (Post 1581522)
something went wrong on my website,we lost all the thank counts,is there any way to get all the thank you counts back?

Just the counts or the thanks also?

TimberFloorAu 07-27-2008 09:21 PM

Hi Abe.

Contacted you a while back.

We use your Thank you hack.

A few questions plz.

Can we :

1. find out who has clicked thanks most per week.
2. find out who has been thanked most per week.
3. run a side by side similar thanks hack, for positive thanks. But slightly renamed. I asked you about this, we wanted to call it a Spank-you ... not a negative thanks, but more tongue in cheek version of Thanks, for cheeky members.

If there are no issues, and its dooable, ( item 3 ) Is it something we can do ourselves, by going thru your code, and simply renaming thanks with spanks, and creating separate db entries, havent looked in too deep on the coding side, as it is your hack.

Regards Ste

DssMaster 07-27-2008 11:33 PM

Quote:

Originally Posted by TimberFloorAu (Post 1585496)
Hi Abe.

Contacted you a while back.

We use your Thank you hack.

A few questions plz.

Can we :

1. find out who has clicked thanks most per week.
2. find out who has been thanked most per week.
3. run a side by side similar thanks hack, for positive thanks. But slightly renamed. I asked you about this, we wanted to call it a Spank-you ... not a negative thanks, but more tongue in cheek version of Thanks, for cheeky members.

If there are no issues, and its dooable, ( item 3 ) Is it something we can do ourselves, by going thru your code, and simply renaming thanks with spanks, and creating separate db entries, havent looked in too deep on the coding side, as it is your hack.

Regards Ste

I have a question also, i have to load to server or can i do on cpanel.

and how i am new to this, i was paying some one but want to do in my owne.

Abe1 07-28-2008 01:57 AM

Quote:

Originally Posted by TimberFloorAu (Post 1585496)
Hi Abe.

Contacted you a while back.

We use your Thank you hack.

A few questions plz.

Can we :

1. find out who has clicked thanks most per week.
2. find out who has been thanked most per week.
3. run a side by side similar thanks hack, for positive thanks. But slightly renamed. I asked you about this, we wanted to call it a Spank-you ... not a negative thanks, but more tongue in cheek version of Thanks, for cheeky members.

If there are no issues, and its dooable, ( item 3 ) Is it something we can do ourselves, by going thru your code, and simply renaming thanks with spanks, and creating separate db entries, havent looked in too deep on the coding side, as it is your hack.

Regards Ste

All are doable if that is just your question.

beckyvan 07-28-2008 02:29 AM

Quote:

Originally Posted by beckyvan (Post 1581896)
I have a question. I have this hack installed, and all is fine. Except, for some reason in the user CP it's listing under their statistics twice.
See image.

Thanks in advance!

I really appreciate your hard work on this hack, and love it. However, if I can get an answer to my question? Anybody out there?

Thanks so much!

Abe1 07-28-2008 02:31 AM

Quote:

Originally Posted by beckyvan (Post 1585634)
I really appreciate your hard work on this hack, and love it. However, if I can get an answer to my question? Anybody out there?

Thanks so much!

Search the member_info template for "post thank" and delete anything from start to end you see there.

Abe1 07-28-2008 03:13 AM

Version 7.7 (07/28/08):
  • FIX: Fixed problem with giving thanks using Blazer (palmOS browser).
  • Updated file: post_thanks.js
  • Updated templates: post_thanks_button, post_thanks_postbit, post_thanks_postbit_legacy
  • New option: Show Stats in Postbit?
  • New option: Show Stats in Profile?


All times are GMT. The time now is 02:08 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.05610 seconds
  • Memory Usage 1,840KB
  • 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
  • (1)bbcode_code_printable
  • (22)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