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)

xfaethorx 03-27-2006 10:14 AM

found the fault. I'd installed the 3.0X version and my site is now an upgraded to 3.5.4 it was a "dead phrase" from the previous version just had to replace it :D.

Abe1 03-28-2006 02:53 AM

Can't Thank and Groan the Same Post released :)

bashy 03-28-2006 06:40 AM

Hi Abe

I have been getting these errors...

Code:

Database error in vBulletin 3.5.3:

Invalid SQL:

            UPDATE user
            SET post_thanks_user_amount = post_thanks_user_amount - 1posts = posts - 1
            WHERE userid = 382;

MySQL Error  : Unknown column '1posts' in 'field list'
Error Number : 1054
Date        : Tuesday, March 28th 2006 @ 12:45:11 AM
Script      : http://www.bashys-place.com/forums/showthread.php?do=post_thanks_remove_user&p=7412
Referrer    : http://www.bashys-place.com/forums/showthread.php?p=7412

Any advice please?

Abe1 03-28-2006 11:48 AM

Quote:

Originally Posted by bashy
Hi Abe

I have been getting these errors...

Code:

Database error in vBulletin 3.5.3:

Invalid SQL:

            UPDATE user
            SET post_thanks_user_amount = post_thanks_user_amount - 1posts = posts - 1
            WHERE userid = 382;

MySQL Error  : Unknown column '1posts' in 'field list'
Error Number : 1054
Date        : Tuesday, March 28th 2006 @ 12:45:11 AM
Script      : http://www.bashys-place.com/forums/showthread.php?do=post_thanks_remove_user&p=7412
Referrer    : http://www.bashys-place.com/forums/showthread.php?p=7412

Any advice please?

I believe this was fixed. Do you have the latest version?

Darat 03-31-2006 08:04 AM

Just wondering if you could give me some pointers about how I would do this.

On my forum we can "nominate" posts, and this generates a post into a preset thread that quotes the nominated post.

I'd like to use your hack alongside this as it would be great to be able to search for all the "nominated" posts, see a list of who has "nominated" each post and so on. I can very quickly and very easily just alter all the "thanks" to say "nominated" thanks ;) to you using phrases everywhere. But what I would like to do is also keep the functionality of our current nomination system. Now our nomination code is hard coded into "newreply.php" and when someone clicks on the nominate button it calls it with something like the following: http://forums.x.x/newreply.php?do=ne...ostnum=1540527 . What I was wondering is is there a quick way of "appending that" to the end of the all the stuff your hack does so in effect when clicking on the "Thanks" button it first runs the hack code and then would run the newreply stuff?

furst 04-02-2006 07:35 AM

I scanned through many pages and could not find a concrete answer. Does this work if you use it with the [hide] hack? That is, if pressing the thank you button increases the thankers post count, does it also reveal the hidden portion of the post?

bashy 04-02-2006 08:02 AM

Hi Abe...

Yeah, i have the latest version :)

Quote:

Originally Posted by Abe1
I believe this was fixed. Do you have the latest version?


dai-kun 04-02-2006 10:12 PM

is it possible to show the Number of Thanks and if you thank them or not instead of all the usernames? i have over 50k thanks total on my board and it crashes my mysql .

RMS-Chef 04-03-2006 12:52 AM

Quote:

Originally Posted by dai-kun
is it possible to show the Number of Thanks and if you thank them or not instead of all the usernames? i have over 50k thanks total on my board and it crashes my mysql .

Just my top 10 thanked posters alone have more than 50k thanks and I don't have crash issues. What kind of number of users do you have on at once and what do you have for hardware?

What I would love to see if it was not too resource intensive is a new column on FORUMDISPLAY that shows the thread's number of thanks.

dai-kun 04-03-2006 01:07 AM

* CPU: Pentium 4 2.8GHz (with HyperThreading)
* RAM: 2 GB DDR 2700
* Storage: 30 GB IDE, 73 GB IDE backup
* Debian Linux version: 2.4.29
* Apache version: 1.3.31
* PHP version: 4.3.10

about 200 users at once.

When I have the hack enabled, my load is about 10, sometimes 20 and even 30.


All times are GMT. The time now is 11:34 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.01772 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)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