vb.org Archive

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

pretty.witch 10-12-2013 02:15 PM

Thanks, but that code editions didnt' work for this plugin.

Worked good for the others I installed.

Hippy 10-12-2013 02:35 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941" target="_blank">https://vborg.vbsupport.ru/showp...postcount=1941</a>
The edit isn't what I was taking about its the updated

pretty.witch 10-12-2013 02:46 PM

Thanks, finally I've installed post_thanks_7_84
I was trying to install 7_82

stevieb 10-15-2013 06:27 PM

Can you search for all thanks received/left on the user profile / postbit_legacy with this hack yet? You used to be able to but now I am getting a DB error as 3.8 allowed it, 4.2 doesn't.

Thanks :)

Pocket Aces 10-15-2013 06:50 PM

Do we need to go all through file and template edits to use this mod for vbulletin 4.2.2 or is there an updated zip file we can download to install this mod?

We currently have the vbulletin 3.8.x version of this mod disabled in our vbulletin 4.2.2 board.

stevieb 10-15-2013 07:00 PM

Quote:

Originally Posted by Wolver2 (Post 2447710)
I am using this Thank You hack for a long time now but I am always getting an email database error which might be an Exploit?

Code:

Invalid SQL:

                        REPLACE INTO search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
                        VALUES (2, '111.103.181.221', 1, 'Yan', '', 'post.dateline', 'DESC', 0.00166, 1, '66206,20173,12678,7985', 1379916430, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:2916;s:10:\"Yan\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}', 'd4cc56b84b87e2eaf6534535312553ae');

MySQL Error  : Table 'c01_forumname.search' doesn't exist
Error Number  : 1146
Request Date  : Monday, September 23rd 2013 @ 10:07:10 AM
Error Date    : Monday, September 23rd 2013 @ 10:07:10 AM
Script        : http://theurl.com/post_thanks.php?do=findthanks&u=2916
Referrer      :
IP Address    : 112.101.181.221
Username      : MYUSERNAMEWASHERE
Classname    : vB_Database
MySQL Version : 5.1.66-0+squeeze1


I get this when trying to search for thanks - mine reads as:

Code:

Database error in vBulletin 4.2.0:

Invalid SQL:

                        REPLACE INTO search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
                        VALUES (3, 'xx.xx.xxx.xx', 1, 'Admin', '', 'post.dateline', 'DESC', 0.01147, 1, '348764,348752,348746,348745,348744,348739,348728,348708,348706,348701,348700,348679,348678,348608,348607,348589,348588,348585,348583,348582,348581,348568,348553,348551,348550,348546,348538,348519,348522,348514,348511,348502,348470,348469,348468,348457,348447,348419,348418,348416,348398,348397,348389,348387,348384,348383,348381,348380,348377,348371,348369,348368,348367,348359,348358,348356,348354,348353,348352,348346,348339,348338,348333,348331,348328,348314,348313,348304,348303,348300,348299,348298,348297,348295,348217,348214,348213,348112,348016,348008,347994,347993,347968,347957,347954,347953,347922,347921,347896,347894,347886,347878,347874,347873,347871,347858,347848,347839,347837,347834,347833,347832,347826,347824,347813,347810,347808,347803,347802,347772,347759,347754,347739,347738,347727,347686,347685,347677,347670,347625,347623,347622,347618,347615,347613,347606,347593,347587,347565,347564,347561,347557,347556,347542,347525,347509,347506,347383,347363,347357,347343,347338,347336,347335,347334,347316,347315,347313,347312,347311,347310,347309,347292,347282,347270,347264,347239,347213,347201,347200,347199,347198,347197,347195,347176,347175,347173,347171,347170,347169,347166,347164,347162,347158,347156,347155,347113,347106,347101,347099,347161,347097,347057,347021,347020,347019,347015,347006,346970,346969,346967,346966,346965,346964,346963,346962,346900,346892,346890,346887,346886,346885,346884,346882,346881,346878,346875,346874,346873,346871,346756,346740,346732,346730,346726,346717,346705,346682,346673,346664,346610,346594,346574,346573,346570,346550,346545,346544,346535,346533,346531,346493,346455,346453,346449,346446,346442,346441,346436,346435,346433,346404,346401,346400,346399,346397,346395,346283,346255,346200,345951,345944,345941,345940,345921,345920,345919,345918,345917,345916,345911,345914,345907,345898,345875,345869,345868,345856,345855,345854,345853,345834,345794,345792,345781,345774,345770,345745,345742,345741,345738,345736,345735,345734,345729,345728,345727,345722,345721,345720,345679,345677,345674,345673,345668,345665,345662,345655,345654,345652,345651,345650,345649,345648,345646,345644,345641,345639,345637,345635,345632,345630,345629,345627,345626,345625,345624,345620,345614,345605,345603,345602,345598,345596,345595,345591,345589,345587,345584,345539,345526,345525,345521,345513,345508,345505,345504,345502,345466,345462,345459,345458,345455,345453,345451,345450,345449,345447,345445,345436,345434,345432,345431,345429,345427,345420,345418,345414,345412,345411,345410,345409,345408,345407,345405,345402,345384,345378,345377,345376,345362,345356,345355,345345,345339,345324,345318,345315,345314,345313,345311,345286,345283,345281,345279,345276,345229,345201,345200,345196,345153,345108,345100,345094,345092,345091,345089,345075,345074,345063,345061,345048,345047,345032,345029,345015,344999,344997,344989,344987,344954,344951,344949,344948,344942,344941,344939,344937,344936,344904,344887,344879,344870,344852,344827,344826,344825,344824,344809,344807,344806,344805,344803,344802,344801,344800,344791,344748,344708,344706,344705,344686,344682,344679,344677,344669,344668,344645,344643,344639,344621,344599,344598,344597,344596,344595,344593,344592,344591,344588,344399,344398,344387,344382,344380,344377,344376,344375,344357,344355,344206,344153,344152,344149,344126,344125,344123,344121,344120,344117,344116,344115,344114,344111,344110,344109,344107,344105,344103,344102,344101,344097,344093,344091,344089,344088,344086,344083,344080,344047,344019,344018,343952,343945,343898,343896,343894,343893,343887,343883,343881,343880,343878,343876,343874,343869,343860,343858,343836,343835,343831,343824,343822,343821,343820,343811,343810,343809,343795,343789,343784,343781,343779,343775,343773,343770,343758,343757,343755,343753,343748,343741,343740,343728,343717,343716,343691,343676,343658,343657,343656,343655,343652,343648,343646,343645,343644,343642,343637,343632,343630,343629,343628,343623,343619,343617,343575,343565,343560,343559,343549,343548,343477,343463,343461,343460,343445,343435,343434,343422,343421,343418,343405,343403,343399,343394,343393,343375,343374,343373,343315,343291,343289,343277,343276,343275,343274,343261,343260,343250,343249,343247,343243,343242,343241,343232,343231,343226,343223,343222,343221,343203,343197,343196,343193,343192,343190,343039,343037,343026,343025,342866,342861,342865,342836,342826,342825,342818,342815,342814,342812,342810,342808,342804,342792,342790,342786,342783,342738,342735,342733,342727,342726,342717,342548,342547,342519,342517,342515,342474,342460,342446,342441,342425,342407,342385,342378,342330,342329,342327,342326,342324,342306,342305,342304,342300,342294,342261,342241,342231,342230,342210,342206,342203,342181,342171,342169,342168,342167,342165,342162,342133,342119,342118,342117,342114,342112,342107,342105,342078,342076,342064,342045,342044,342037,341996,341987,341968,341963,341908,341888,341887,341886,341885,341884,341883,341882,341881,341858,341836,341837,341835,341834,341831,341817,341816,341813,341812,341811,341788,341781,341779,341778,341777,341776,341775,341769,341765,341749,341746,341744,341741,341739,341736,341734,341733,341731,341723,341720,341707,341706,341699,341605,341589,341588,341587,341561,341559,341505,341388,341385,341383,341380,341376,341324,341307,341302,341298,341295,341292,341266,341262,341257,341253,341252,341251,341245,341243,341222,341221,341219,341217,341211,341210,341209,341206,341148,341126,341124,341121,341120,341118,341115,341113,341103,341101,341089,341085,341074,341073,341062,341053,341046,341045,341043,341039,341037,341033,341030,341025,341024,341022,340996,340995,340990,340989,340975,340973,340971,340966,340958,340941,340939,340938,340936,340932,340931,340920,340816,340813,340812,340810,340757,340746,340744,340724,340723,340721,340550,340034,339206,339163,339063,338946,338945,338935,338932,338928,338908,338856,338853,338822,338782,338780,338731,338727,338726,338680,338674,338670,338666,338665,338556,338532,338470,338450,338441,338426,338417,338416,338035,338004,337998,337978,337976,337974,337973,337821,337819,337818,337817,337814,337812,337806,337758,337738,337735,337732,337731,337715,337699,337633,337469,337379,337370,337368,337292,337291,337289,337287,337243,337228,337159,337157,337156,337089,337068,337067,337056,337054,337003,336994,336990,336981,336975,336973,336922,336917,336916,336913,336912,336908,336904,336900,336899,336807,336791,336790,336769,336697,336691,336690,336688,336653,336652,336648,336644,336643,336642,336630,336629,336567,336525,336522,336386,336382,336380,336379,336378,336337,336336,336329,336326,336325,336323,336322,336321,336317,336315,336313,336281,336279,335953,335947,335937,335936,335933,335885,335868,335858,335856,335848,335845,335832,335696,335694,335668,335638,335633,335631,335630,335619,335616,335614,335609,335570,335564,335561,335560,335556,335555,335554,335553,335550,335545,335540,335539,335519,335518,335517,335508,335506,335505,335489,335486,335485,335484,335483,335422,335420', 1381866990, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:3;s:14:\"Admin\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}', '33e90639bfc462589be1b0cdd46a2dcd');

MySQL Error  : Table 'forum_db-name.search' doesn't exist
Error Number  : 1146
Request Date  : Tuesday, October 15th 2013 @ 07:56:30 PM
Error Date    : Tuesday, October 15th 2013 @ 07:56:30 PM
Script        : http://MY-DOMAIN-NAME/post_thanks.php?do=findthanks&u=3
Referrer      :
IP Address    : XX.XX.XXX.XX
Username      : Admin
Classname    : vB_Database
MySQL Version : 5.1.70-cll

It used to work on vB 3.8 but since the upgrade if people try and search for recent thanks using the thread as /post_thanks.php?do=findthanks&u=x the error appears....

stevieb 10-15-2013 07:03 PM

Quote:

Originally Posted by Pocket Aces (Post 2453658)
Do we need to go all through file and template edits to use this mod for vbulletin 4.2.2 or is there an updated zip file we can download to install this mod?

We currently have the vbulletin 3.8.x version of this mod disabled in our vbulletin 4.2.2 board.

Ive done it and works fine, just trying to now get the search feature working. :)

Good luck. Just remember not to uninstall the old version or your existing thanks will vanish :)

stevieb 10-15-2013 07:08 PM

Quote:

Originally Posted by stevieb (Post 2453645)
Can you search for all thanks received/left on the user profile / postbit_legacy with this hack yet? You used to be able to but now I am getting a DB error as 3.8 allowed it, 4.2 doesn't.

Thanks :)

I have the hack installed that allows /recent_thanks.php but want the numbers to be links in the about me page where it tells the number of thanks given/received.

Also any idea how to align the values properly? See image below - the red thanks received needs to move right (a lot)...

https://vborg.vbsupport.ru/external/2013/10/43.png

pretty.witch 10-15-2013 07:14 PM

This is what worked for me, with 4.2.2:

Quote:

2. For those who feel comfortable with editing files.

In class_core.php locate lines 5683-5685 (class_core.php is in the 'includes' folder)
Code:

case E_NOTICE:
// Just ignore these completely //
break;

Add lines for Deprecated and/or Strict errors as required ;

Code:

case E_NOTICE:
case E_STRICT:
case E_DEPRECATED:
// Just ignore these completely //
break;

This will bypass the additional error reporting.
And installed post thanks 7_84. I 've downloaded from this post, can?t find what page.

Pocket Aces 10-15-2013 07:16 PM

Installed Hippy's version. Uploaded all files overwriting the old ones then installed the xml file. Works flawlessly. Thanks everyone. Hopefully we could use this on our live site with 16 million posts when we upgrade our vbulletin 3 board to vbulletin 4. :)


All times are GMT. The time now is 04:00 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.03790 seconds
  • Memory Usage 1,789KB
  • 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
  • (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