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)

Abe1 11-12-2008 01:11 AM

Quote:

Originally Posted by richTV (Post 1659049)
a collapseable option would be nice :)

wouldn't work correctly.

Abe1 11-12-2008 01:13 AM

Quote:

Originally Posted by DiMoNd21 (Post 1660859)
Hi!

I have recently moved to another server I did a clean install of vbulletin 3.7.4 . So now there are two databases, one from the old forum and one from the new one. I used ImPEx and got all data from the old to the new one, but after installing this mod all posta-thanks counters of all members have gone away. I mean everyone has 0 thanks.. Is there any way to import the post_thanks data table from the old database to the new one so that everybody will have their number of thanks?

Thank you!

make sure you move the post_thanks table and then use the post thanks recounters.

Abe1 11-12-2008 01:14 AM

Quote:

Originally Posted by Loki12 (Post 1661514)
Hi, this is a great hack, thanks.

I have just one question:

How can I make the font smaller in the postbit, where it says: "The Following User Says Thank You to Hutten For This Useful Post" ??

I think this is too large, and too obtrusive.

you can edit the template or phrase. Wrap the text with <small>...</small>

Abe1 11-12-2008 01:16 AM

Quote:

Originally Posted by ShiZoPhreN (Post 1661675)
Hello Abe1, nice Hack and Thanks

Feature Request: Bump threads when any1 click "thanks" and this with exclude forumids or an option to disable/enable in forumids .. thats where nice.. :)

Thanks in Advance

Tried to do once but it wont work. The thread then didn't get marked as read.

Abe1 11-12-2008 01:18 AM

Quote:

Originally Posted by mmurtha (Post 1662250)
Hi Abe and all,

I just installed this Mod in VB 3.7.4 and came up with this database error:



The actual thanks show up under the users posts just fine, but I haven't been able to tell is they are accumulating yet.

I think I was the only one that used it before I shut the Mod off.

How can I fix this problem?

Thanks ...

Mary

Did you edit any of the post thanks templates?

calgarypuck 11-12-2008 01:19 AM

Nice mod! I think this will meet our desires with a small tweak.

I'm not overly familar with vB mods programming yet and I've been poking around the files, but I'm not sure if I can even get this info..

Basically I would like to remove the box below each post (postbit_end I guess is where it hooks) that has been thanked and instead have something in the user info (postbit_userinfo_right_after_posts hook maybe), and not a list of users but a count of thanks instead.

Easy to do maybe with a simple template modification and a phrase (not sure how phrases work yet)? Or would I have to modify the code of the add-on itself?

Thanks in advance.

EDIT: In the icon and title area would be better I think (for postbit legacy), there's no hook there though. Does that mean I couldn't do it, or just mean that I would have to modify my template?

Abe1 11-12-2008 01:20 AM

Quote:

Originally Posted by tnedator (Post 1662318)
I have been getting a MySQL error for a few days, on an off. Always related to Post_thanks. I am on 3.73, and yesterday updated from version 7.6 to 7.7 of post thanks to see if it would make a difference. It didn't.

This doesn't happen every time a thanks is given. Also, for comletely unrelated reasons my VPS was moved last night to a new hardware node, so this has happened on two different underlying hardware nodes.

I also optimized the MySQL tables to see if there was any issue there:

Database error in vBulletin 3.7.3:

Code:

Invalid SQL:

SELECT text, languageid, special
FROM phrase AS phrase
LEFT JOIN phrasetype USING (fieldname)
WHERE phrase.fieldname = 'frontredirect'
AND varname = 'reportthanks' AND languageid IN (-1, 0, 1);

MySQL Error  : MySQL server has gone away
Error Number  : 2006
Request Date  : Sunday, November 9th 2008 @ 08:39:06 AM
Error Date    : Sunday, November 9th 2008 @ 08:40:41 AM
Script        : http://www.broncosforums.com/forums/report.php?do=sendemail
Referrer      : http://www.broncosforums.com/forums/report.php?p=449534
IP Address    : removed
Username      : removed
Classname    : vB_Database
MySQL Version :


I'm sorry, but i dont see how that mysql has nothing to do with the post thanks hack.

Abe1 11-12-2008 01:31 AM

Quote:

Originally Posted by stuarttunstall (Post 1663607)
I get the same results, this does not show up for me either, in addition I cannot get it to dosplay under the username... the bit that states "thanked x times"

I am using vB 3.7.1 at the moment.. see here www.vwaudiforum.co.uk

Any ideas why? I need an alternative to the rep system..

No clue. I would have to check your acp.

Loki12 11-12-2008 08:53 AM

Quote:

Originally Posted by Abe1 (Post 1663933)
you can edit the template or phrase. Wrap the text with <small>...</small>

Can you be anymore specific please? I wrapped the postbit_legacy template with the code, nothing changes.

mmurtha 11-12-2008 09:58 AM

Quote:

Originally Posted by mmurtha
Hi Abe and all,

I just installed this Mod in VB 3.7.4 and came up with this database error:



The actual thanks show up under the users posts just fine, but I haven't been able to tell is they are accumulating yet.

I think I was the only one that used it before I shut the Mod off.

How can I fix this problem?

Thanks ...

Mary


Quote:

Originally Posted by Abe1 (Post 1663935)
Did you edit any of the post thanks templates?


Hi Abe,

No, the instructions didn't come with any template changes. I only did what the instructions said to do.

I do have a custom theme, and am using VB 3.7.4 fi that tells you anything.

Thanks ...

Mary


All times are GMT. The time now is 12:41 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.03050 seconds
  • Memory Usage 1,756KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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