The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Status Update 003
#11
It looks like in doing this you removed the private setting Wink

Add that paste above the re_auth update :p
  Reply
#12
Oops. Yeah. I'll have to go back and look!
  Reply
#13
Here's a new
Code:
adminverify.php
:
http://pasted.co/index.php?act=submit

Changes:
-Removed actual_link ref in form as not required
-Moved submit button to input-group
  Reply
#14
Updates to messaging system.

-Fixed check/uncheck all bug. Bug was could not use check all for archived threads when there was unarchived threads - these are separate events now
-Added email notification
-Corrected issue with JS calls (changed dir from scripts to js)

Add msg_notification int 1 default 1 to users table
Add msg_notification int 1 default 0 to settings table

You will need a setting for msg_notification in admin panel

Code:
messages.php
http://pasted.co/4ee832bf

Code:
message.php
http://pasted.co/ab614575

Code:
views/_email_msg_template.php
http://pasted.co/6f54280c
  Reply
#15
Here is your new admin settings:
HTML:
http://pasted.co/d776721a

PHP:
http://pasted.co/99ddffed
  Reply
#16
And you'll need a new messageUser function:
http://pasted.co/8b9bc31c
  Reply
#17
Your adminverify link is bad. Looks like you grabbed the link too early. Been there.
  Reply
#18
By the way, I appreciate the bigger pastes. It's definitely easier to replace entire functions or files. I can look at the diffs to see what's changed, but it's easy to lose something in translation when I only have a line or two.
  Reply
#19
I might have missed something. What file do you have these pasted ion?

Here is your new admin settings:
HTML:
http://pasted.co/d776721a

PHP:
http://pasted.co/99ddffed
  Reply
#20
I'm thinking it's part of admin.php. Just want to make sure we're (literally) on the same page.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)