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)

irantk 02-26-2014 06:44 AM

How do I correct the time Recent Thanks? Recent Thanks, now all recorded on Greenwich and do not consider the local time.

findingpeace 09-19-2014 04:03 PM

If you have a big board, I highly recommend indexing the date column, otherwise the lookups for this become extremely slow, sorting by millions of dates.

liorzaguri 09-29-2014 04:59 PM

Hello,
I am using Recent Thanks 2.6.2, and I want to split my inbox, notifications and likes to have different buttons for them.

I already made the buttons: http://prntscr.com/4ri9kn

I just need to know how to split the Likes to be in different box

ramx 11-05-2014 08:49 PM

is it available for 3.8.8

ForceHSS 11-05-2014 09:15 PM

1 Attachment(s)
Quote:

Originally Posted by ramx (Post 2521509)
is it available for 3.8.8

https://vborg.vbsupport.ru/showthread.php?t=279907
checking under first post you will see Similar Mod

liorzaguri 12-19-2014 06:40 PM

Hello,
I want to ask how can I "splet" the thanks notifications from the vb nofifications,
I want to make new popup menu that called "Thanks"(Or any other name)
And the thanks notifications will be there.
I try to search in the xml file and the php file but no idea...

wildheart 01-22-2015 05:16 AM

Quote:

Originally Posted by Barcham (Post 2482172)
This is just to notify you if you have received new thanks to a post you made. You must already have the Thank You Hack installed for this to do anything. On it's own, this hack will do nothing at all.

If you have the Thank You Hack installed and you install this addition, every time you receive a new Thanks on one of your posts, you will see a notification in the same way as if you received a new PM, as indicated here...

https://vborg.vbsupport.ru/attachmen...1&d=1331836283

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.

Marcin1 01-22-2015 04:21 PM

Quote:

Originally Posted by liorzaguri (Post 2528061)
Hello,
I want to ask how can I "splet" the thanks notifications from the vb nofifications,
I want to make new popup menu that called "Thanks"(Or any other name)
And the thanks notifications will be there.
I try to search in the xml file and the php file but no idea...

It's not exactly what you're asking but I created a new tab with target URL http://yourdomain/recent_thanks.php

The addon works good with 4.2.2 PL4.

irantk 06-01-2015 02:31 PM

How can display the number of new thank of the user in the header ?
please help

ia7 01-01-2016 07:49 PM

Got this working in vB 4.2.2 PL4 with ForceHSS's 7.86 but I have noticed a minor problem. The user profile option to enable/disable notifications will not stay checked even though the option is updating correctly in the database and displaying the alerts in the Notifications menu.

As I said a small thing but I have had a number of people asking why it will not "stay on".

Found the Fix: This post by Scandal sorts it.

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?

iliarien 04-02-2018 07:10 PM

Same thing in here, worked like charm but now nothing !

tbellik 02-17-2019 03:40 AM

Wrong mod I wrote sorry.

irantk 02-18-2019 07:41 AM

A few days ago, the recent_thankcnt in database is always zero for some users. I thanked for test and checked database, recent_thankcnt is again zero.
how to debug and find error??
please help me

---------------------
solved my problem. in user control panel must ticked notification recent thanks option box

watchsteve 05-06-2019 06:40 PM

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"));

Thank you! This worked for me,

oldfan 04-21-2023 06:49 PM

works 4.2.6. php 7.2


All times are GMT. The time now is 11:33 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.01441 seconds
  • Memory Usage 1,778KB
  • 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
  • (9)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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