vb.org Archive

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

SKREETS.NET 07-31-2013 07:07 PM

how do i move where the thanks count is located in the postbit?

Simon Lloyd 08-01-2013 05:21 AM

you'd have to change the hook location in the mod's plugin, it will be set to show after $posts.

sweptwingnut 08-07-2013 03:34 AM

Quote:

Originally Posted by mdawg (Post 1804124)
My mistake - and for all those with issues - I had not uploaded the post_thanks.php file into the forums folder.

This instruction:
post_thanks.php -> \
must not have made sense to me at the time. I didn't understand what \ meant now I do!

Works! Thanks. I'd thank you for this post - if I could!

I learned something new today. Thank YOU!!

majidmozaffari 09-09-2013 10:52 AM

error post thanks :
PHP Code:

DeprecatedAssigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 55

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 107

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 111

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 119

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 130

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 134

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 142

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 211

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 389

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/class_core.php on line 2552 

help me...

shakirulqadree 09-10-2013 05:53 PM

Quote:

Originally Posted by majidmozaffari (Post 2444373)
error post thanks :
PHP Code:

DeprecatedAssigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 55

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 107

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 111

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 119

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 130

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 134

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 142

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 211

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/init.php on line 389

Deprecated
Assigning the return value of new by reference is deprecated in /home/***/public_html/includes/class_core.php on line 2552 

help me...

I have also same problem pleas help us
http://www.urduhiurdu.com/forum/showthread.php?p=12500

arashebaabaa 09-19-2013 03:44 AM

Is there any way to recount the thanks after merging two users?

shakirulqadree 09-29-2013 12:24 AM

PHP Code:

DeprecatedAssigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 53

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 105

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 109

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 117

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 128

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 132

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 140

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 209

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 387

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/class_core.php on line 2553 



pliz hellp for mi

ozzy47 09-29-2013 12:32 AM

Quote:

Originally Posted by shakirulqadree (Post 2448697)
PHP Code:

DeprecatedAssigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 53

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 105

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 109

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 117

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 128

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 132

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 140

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 209

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/init.php on line 387

Deprecated
Assigning the return value of new by reference is deprecated in /home/urduhi/public_html/forum/includes/class_core.php on line 2553 

pliz hellp for mi

This has been addressed before, this may help you.

Quote:

Originally Posted by R*NightOwl (Post 1988580)
I was able to fix the depreciated errors, open "post_thanks.php",
replace

PHP Code:

error_reporting(E_ALL & ~E_NOTICE); 

with

PHP Code:

error_reporting(E_ALL E_DEPRECATED); 

doesn't really replace or fix the depreciated code, but, at least it works.


testerv 10-08-2013 05:19 PM

Quote:

Originally Posted by Simon Lloyd (Post 2409645)
You need to turn off the errors in your php, you're using a version of php that has deprocated coding conventions, they're just warnings, turn the errors off and you'll be fine.

Is that something I would need my host to do for me or how do I do it? Thanks.

testerv 10-08-2013 05:56 PM

I just installed this hack and this appears at the top of my forum home page:

Code:

hanks_post_count'] && ($remove_users_thanks_count == true || $vbulletin->options['post_thanks_delete_remove_thanks_count'])) { $set_user_gave .= ', posts = posts - 1'; } $vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "user SET $set_user_gave WHERE userid = '$userid' "); $vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "user SET $set_user_got WHERE userid = '$postinfo[userid]' "); $vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "post SET $set_post WHERE postid = '$postinfo[postid]' "); ($hook = vBulletinHook::fetch_hook('post_thanks_function_delete_thanks_end')) ? eval($hook) : false; return true; } function post_thanks_in_array($number = 0, $array = 0) { $array_split = explode("|", $array); foreach ($array_split AS $array_number) { if ($number == $array_number) { return true; } } return false; } function post_thanks_check_security($securitytoken = '') { global $vbulletin; if ($securitytoken !== $vbulletin->userinfo['securitytoken']) { } } ?>
Any idea what I did wrong?


All times are GMT. The time now is 09:59 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.03609 seconds
  • Memory Usage 1,824KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_php_printable
  • (5)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