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)
-   -   Mini Mods - Recent Thanks for [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=280109)

soccerman2015 02-08-2016 09:28 AM

Quote:

Originally Posted by wildheart (Post 2533881)
I wonder if someone can help me please? The notifications just stopped working, I have been using it for years already with no problems. I re-installed it and it did not fix the problem. I have this installed: post_thanks_7_84.zip Thanks.

Hello.


Our forum likenotice stopped, how we can get fixed that?

we want like notice back.

kylek 09-06-2016 02:52 AM

Is there or has anyone done something like this for the groan hack? Would be nice to get notified of groans via pm.

Cem01 12-25-2016 01:21 PM

Finally I found what i looking for :D

Thanks for addon, it works great on vb 4.2.3 but gives an php error in User Control Panel > General Settings :(

Silvio 01-08-2017 12:38 PM

humm ...


...vB 4.2.4b3 running on php5.6.29 and mysqlnd 5.0.11-dev - 20120503;

...updated Abe1-hack from 7.82 to 7.88
...fresh Installed Recent Thanks hack Ver. 2.6.2.


The product is correctly enabled in admincp but i am not able to "save" the flag on preferences panel page.
eg. I add the flag, save, but if i re-open the preferences panel page the flag is again in Off state.
And No I can't receive any notification. :(


Thank you so much for any help.


***solved*** Hack uninstalled and re-installed now it works.... mysteries of faith lol!

sub_ubi 01-22-2017 03:42 PM

This plugin is broken in PHP7+ (vbulletin 4.2.5 and higher)

profile.php?do=editoptions

Returns with:

Code:

Call to undefined function mysql_num_rows() on line 2 in /var/www/forums/profile.php(2086) : eval()'d code
#0 /var/www/forums/profile.php(2086): eval()
#1 {main}

To fix, change the mysql_ call to mysqli_. This can be found in Plugin Manager -> Recent Thanks - UserCP Field Part2

Change
Code:

$isthere = mysql_num_rows($db->query_read("SELECT recent_thankact FROM " . TABLE_PREFIX . "user WHERE userid = ".$vbulletin->userinfo['userid']." AND recent_thankact=1"));
To
Code:

$isthere = mysqli_num_rows($db->query_read("SELECT recent_thankact FROM " . TABLE_PREFIX . "user WHERE userid = ".$vbulletin->userinfo['userid']." AND recent_thankact=1"));

uysal027 02-03-2017 05:14 PM

PHP Warning: mysql_num_rows() expects parameter 1 to be resource, object given in ..../profile.php(2083) : eval()'d code on line 2

Flipfloptrader 04-11-2017 10:37 AM

Working on 4.2.4

Flipfloptrader 05-25-2017 10:59 AM

Quote:

Originally Posted by sub_ubi (Post 2581203)
This plugin is broken in PHP7+ (vbulletin 4.2.5 and higher)

profile.php?do=editoptions

Returns with:

Code:

Call to undefined function mysql_num_rows() on line 2 in /var/www/forums/profile.php(2086) : eval()'d code
#0 /var/www/forums/profile.php(2086): eval()
#1 {main}

To fix, change the mysql_ call to mysqli_. This can be found in Plugin Manager -> Recent Thanks - UserCP Field Part2

Change
Code:

$isthere = mysql_num_rows($db->query_read("SELECT recent_thankact FROM " . TABLE_PREFIX . "user WHERE userid = ".$vbulletin->userinfo['userid']." AND recent_thankact=1"));
To
Code:

$isthere = mysqli_num_rows($db->query_read("SELECT recent_thankact FROM " . TABLE_PREFIX . "user WHERE userid = ".$vbulletin->userinfo['userid']." AND recent_thankact=1"));

I was just about to post this, thanks very much.

Working correctly on 4.2.5.

Delfi_r 07-03-2017 07:28 PM

On PHP 5,6 MySQL 5,6 the plugin was broken too and the proposed modification has solved it

Working on 4.24 php 5.6

DannyV 11-08-2017 07:16 PM

Got 4.2.5 here, PHP 5.6.
Did abovve mentioned edit ti change from mysql to mysqli, but I don't get any notifications for new thanks.

Any idea?


All times are GMT. The time now is 08:07 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.01228 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
  • (6)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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