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)

Smitty 01-17-2012 03:05 AM

If any thoughts, don't let the button show to unregistered visitors.

I've had this running for a few years now. Am on vB 3.8.7 and no problems.

j-bo 01-19-2012 08:09 PM

Does anyone know if you can make the "thank box" not show any users or anonymous users instead of each username that makes the thanks?

Meaning... some want to thank some folks, but they don't want others to know that they thanked someone. If that makes any sense.

The Following 4 Users Say Thank You to j-bo For This Useful Post:
Remove All
coltontomlin33 (Today), deuxlatch (Today), jixxxer (Today), KP959 (Today)<<<<<<<<TRYING TO MAKE THESE IN RED INVISIBLE OR ANONYMOUS

BirdOPrey5 01-21-2012 08:53 PM

Quote:

Originally Posted by j-bo (Post 2289965)
Does anyone know if you can make the "thank box" not show any users or anonymous users instead of each username that makes the thanks?

Meaning... some want to thank some folks, but they don't want others to know that they thanked someone. If that makes any sense.

The Following 4 Users Say Thank You to j-bo For This Useful Post:
Remove All
coltontomlin33 (Today), deuxlatch (Today), jixxxer (Today), KP959 (Today)<<<<<<<<TRYING TO MAKE THESE IN RED INVISIBLE OR ANONYMOUS

Edit the template: post_thanks_box_bit

The code that shows the username is:
Code:

<a href="member.php?$session[sessionurl]u=$thank[userid]" rel="nofollow">$thank[username]</a>
Edit or remove it.

j-bo 01-24-2012 04:35 PM

Thank you BirdOPrey5

Chance4Today 01-24-2012 08:50 PM

Hi all~!

I have never had a issue with this hack since it was I became a member. I recently transferred to a new host and I am now receiving a error when you click on the Thank You button

Code:

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/class_core.php on line 2552

It happens when you click the button or remove the thank you. However it does the operation and shows this error message, once you refresh the page the error message goes away. I have uninstalled it and reinstalled it however that didn't fix anything. I don't know how to fix this init.php or where to begin. Any suggestions?

Thanks

Victor

djbaxter 01-24-2012 10:48 PM

Quote:

Originally Posted by Chance4Today (Post 2291927)
Hi all~!

I have never had a issue with this hack since it was I became a member. I recently transferred to a new host and I am now receiving a error when you click on the Thank You button

Code:

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/init.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in /home/soberoda/public_html/justfortodaymeditations.com/forums/includes/class_core.php on line 2552

It happens when you click the button or remove the thank you. However it does the operation and shows this error message, once you refresh the page the error message goes away. I have uninstalled it and reinstalled it however that didn't fix anything. I don't know how to fix this init.php or where to begin. Any suggestions?

Thanks

Victor

Your new host has a later version of PHP installed. Ask the host to turn off PHP deprecated warnings and everything will run normally.

You can also do this by adding

PHP Code:

error_reporting(E_ALL & ~E_DEPRECATED); 

to the top of your global.php file in the root directory.

Sarah EI 01-25-2012 03:01 AM

Quote:

Originally Posted by ForceHSS (Post 2284000)
if you are running vb4 then use the one in my sig for the updated one

All I get it is error when I want to import the files from my computer I previous download. I dont know what I am doing wrong.

Chance4Today 01-25-2012 10:24 AM

1 Attachment(s)
Quote:

Originally Posted by djbaxter (Post 2291967)
Your new host has a later version of PHP installed. Ask the host to turn off PHP deprecated warnings and everything will run normally.

You can also do this by adding

PHP Code:

error_reporting(E_ALL & ~E_DEPRECATED); 

to the top of your global.php file in the root directory.

Sorry but that does nothing but screw up my whole forums

Simon Lloyd 01-25-2012 01:53 PM

A permanent fix is to edit the files; includes/init.php, includes/class_core.php, etc. and on the line the problem is (i.e. on line 101) there should be something like:

$variable =& new Class();

Just remove the &.

Sarah EI 01-26-2012 02:50 AM

I ve downloaded the files to my PC,import product,upload the XML file from my computer, choose file, import and I get this:

"XML Error: Invalid character at Line 92"

Or line 92,43,56..


All times are GMT. The time now is 08:52 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.02976 seconds
  • Memory Usage 1,760KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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