vb.org Archive

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

Quantnet 03-08-2007 04:11 AM

There seems to be either a bug or my own incorrect template edit

When I look on Who's online, there are lot of Yahoo Slurp Spider that are trying to get to
/forum/post_thanks.php?do=post_thanks_add&p=7490

when I click on that link, it will add a thank from me to that post. I never saw this before in the old version.

Abe1 03-08-2007 04:21 AM

Quote:

Originally Posted by Quantnet.org (Post 1198537)
There seems to be either a bug or my own incorrect template edit

When I look on Who's online, there are lot of Yahoo Slurp Spider that are trying to get to
/forum/post_thanks.php?do=post_thanks_add&p=7490

when I click on that link, it will add a thank from me to that post. I never saw this before in the old version.

I'll look into it.

e@sy 03-08-2007 12:07 PM

Two errors i have found:

  • after i edit a post as admin the button is away !
  • after i edit a post with quickedit the box who has say thanks ist away. With f5 it come back!


Sorry for my terrible english

Abe1 03-08-2007 12:15 PM

Quote:

Originally Posted by e@sy (Post 1198720)
Two errors i have found:

  • after i edit a post as admin the button is away !
  • after i edit a post with quickedit the box who has say thanks ist away. With f5 it come back!


Sorry for my terrible english

I know about the first. Has to do with vb's AJAX on the edit.

Not sure what you mean by the second.

e@sy 03-08-2007 01:10 PM

Quote:

Originally Posted by Abe1 (Post 1198727)
I know about the first. Has to do with vb's AJAX on the edit.

Not sure what you mean by the second.

Look at the picture.


first normally
secand edit
three edit save

I think also Ajax

Hayes 03-08-2007 01:24 PM

When I delete a post in which a user was thanked, their thank count still remains the same. Is there a way to reset their thanks or make it so when the post/thread is deleted for which they were thanked they lose that many thanks? Thanks!

Abe1 03-08-2007 03:20 PM

Quote:

Originally Posted by Hayes (Post 1198772)
When I delete a post in which a user was thanked, their thank count still remains the same. Is there a way to reset their thanks or make it so when the post/thread is deleted for which they were thanked they lose that many thanks? Thanks!

Only if you hard delete a post right now will the thanks get removed.

UbiqPhoton 03-08-2007 04:27 PM

Ok, I installed RC1, and got the PM problem, and then updated to RC3, only by updating the xml and re-uploading the files - I didnt make any more template edits, so I dont know if this is where the mistake I made lies.

Currently every so often I am getting error emails with the following in them:

Code:

Database error in vBulletin 3.6.5:

Invalid SQL:

                UPDATE user
                SET post_thanks_thanked_times = 1 + post_thanks_thanked_times,
post_thanks_thanked_posts = 1 + post_thanks_thanked_posts, reputation =  +
reputation
                WHERE userid = 7804;

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 '+
reputation
                WHERE userid = 7804' at line 2
Error Number : 1064
Date        : Thursday, March 8th 2007 @ 06:08:27 PM
Script      :
http://www.***.com/forum/post_thanks.php?do=post_thanks_add&using_ajax=1&p=244373


Should I have redone the template edits when updating to RC3, or have I found another bug here?

[EDIT] this happens when attempting to thank someone.

Abe1 03-08-2007 05:16 PM

Quote:

Originally Posted by UbiqPhoton (Post 1198889)
Ok, I installed RC1, and got the PM problem, and then updated to RC3, only by updating the xml and re-uploading the files - I didnt make any more template edits, so I dont know if this is where the mistake I made lies.

Currently every so often I am getting error emails with the following in them:

Code:

Database error in vBulletin 3.6.5:

Invalid SQL:

                UPDATE user
                SET post_thanks_thanked_times = 1 + post_thanks_thanked_times,
post_thanks_thanked_posts = 1 + post_thanks_thanked_posts, reputation =  +
reputation
                WHERE userid = 7804;

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 '+
reputation
                WHERE userid = 7804' at line 2
Error Number : 1064
Date        : Thursday, March 8th 2007 @ 06:08:27 PM
Script      :
http://www.***.com/forum/post_thanks.php?do=post_thanks_add&using_ajax=1&p=244373


Should I have redone the template edits when updating to RC3, or have I found another bug here?

[EDIT] this happens when attempting to thank someone.

Do you have reputation set?

UbiqPhoton 03-08-2007 05:32 PM

Yes, + 1


All times are GMT. The time now is 03:40 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.03943 seconds
  • Memory Usage 1,748KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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