vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=92410)

funinthesun 02-10-2006 12:24 PM

Thanks again Abe for fixing it for me. To everyone else it was my fault it wasn't working, I had put the code in the wrong place and forgotten to put another piece of code in. Note to self: Never install mods when you're half asleep ;)

Abe1 02-10-2006 02:57 PM

Version 3.0 (2/10/06):
  • [FIXED] Fixed one more thing in regard to "remove all thanks".
  • [FIXED] Re-wrote the thanks actions so it they useless queried when you give or remove thanks.

firstrebel 02-10-2006 03:37 PM

Thanks for the continued support with this great hack. I take it there are no template changes from v2.7?

Bob

D.Ilyin 02-10-2006 03:37 PM

Abe1 it's very bad that i can't click "install" in second time :) Thank's!

Abe1 02-10-2006 03:39 PM

Quote:

Originally Posted by firstrebel
I take it there are no template changes from v2.7?

Correct.

Stubager 02-10-2006 06:45 PM

This is the most importan plugin ever! Keeps away one-liners!

IrPr 02-10-2006 08:06 PM

Quote:

Originally Posted by Abe1
Version 3.0 (2/10/06):
  • [FIXED] Fixed one more thing in regard to "remove all thanks".
  • [FIXED] Re-wrote the thanks actions so it they useless queried when you give or remove thanks.

WOW ! How to upgrade Abe?

Abe1 02-10-2006 08:08 PM

Quote:

Originally Posted by IrPr
WOW ! How to upgrade Abe?

Just upload the xml.

D.Ilyin 02-11-2006 09:03 AM

Ops.... :( I catch a small bug, but it's not your's....
Whan i translate phrases in plugin i get the SQL error when i try to delete own thank's with old translation. Because:
Code:

DELETE FROM ". TABLE_PREFIX ."reputation WHERE postid = $postid AND reason='$vbphrase[post_thanks_thanked_post]
I must run that query:
Code:

UPDATE ". TABLE_PREFTIX ."reputation SET reason = "translated phrase" WHERE reason = "Thanked Post"
Am i rigth?

NeutralizeR 02-11-2006 12:01 PM

There is a problem after the 3.0 upgrade.

Quote:

Database error in vBulletin 3.5.3:

Invalid SQL:

UPDATE msx_user
SET post_thanks_thanked_times = 1 + post_thanks_thanked_times, post_thanks_thanked_posts = 1 + post_thanks_thanked_posts, reputation = $vboptions[post_thanks_reputation] + reputation
WHERE userid = 110261;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[post_thanks_reputation] + reputation
WHERE userid = 110261' at line 2
Error Number : 1064
Reputation is disabled under the hack settings. Waiting for a fix...


All times are GMT. The time now is 10:50 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.02130 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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