Previous Thread
Next Thread
Print Thread
Rating: 5
Joined: Mar 2003
Posts: 215
Junior Member
Junior Member
Offline
Joined: Mar 2003
Posts: 215
Mod Name / Version: UBB6.2 Verify Users 1.0

Description: This lists users not approved in the database and allows you to verify them (instead of using a manual SQL statement to set U_Approved to 'yes').

Helps in cases when users don't get verification e-mails and can't register.

Working Under: UBB.Threads 6.2 & 6.3

Mod Status: Beta

Any pre-requisites: None

Author(s): RandyJG

Date: 12/03/03

Credits: None

Files Altered: None

New Files: verifyuser.php
doverifyusers.php

Database Altered: none

Info/Instructions: UBBThreads 6.2 verifyusers

Use this to verify users who do not recieve verification e-mails and are having troubles registering their accounts.

SETUP:

1) Add the file verifyuser.php and doverifyusers.php to your ubbthreads/admin directory.

2) Insert this into your admin/menu.php file above Approve Users

<br>
<a href="{$config['phpurl']}/admin/verifyuser.php?Cat=$Cat" target="mainFrame">
Verify new users
</a>

This script is a modified version of approveuser.php for approving user registrations.

It acts how Approve Users acts, and send an E-mail if a denial reason is given.

It lists users with U_Approved not equal to 'yes' and sets U_Approved to 'yes' on users checked to be approved, does nothing if no action is set.

I've been using this for awhile to verify users with problems registering on 6.2 only.

NOTE: Language files for approveuser.php are still used in this script.

6.4 Instructions (Smilesforu):
In doverifyusers.php:
1) Change line 67 to this
include ("$thispath/languages/${$config['cookieprefix']."w3t_language"}/admin/doapproveusers.php");
2) and line 95/96 to
$mailer -> send_mail("","","$to","$subject","$msg");

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Attachments
100996-verifyusers1.zip (0 Bytes, 34 downloads)

Last edited by RandyJG; 01/20/2004 9:30 AM.
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Good work - much needed as a convenience.

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
This ones works flawlessly in 6.3.2 for those who are wondering.

Great mod btw

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thanks - I tagged it to include 6.3.

Daine #263810 12/07/2003 12:36 AM
Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
In 6.4 I get this when I click to add the members.

Warning: Failed opening '/home/www/steelheader/ubbthreads/languages/english/doapproveusers.php' for inclusion (include_path='') in /home2/www/steelheader/ubbthreads/admin/doverifyusers.php on line 67

Fatal error: Call to undefined function: headers() in /home2/www/steelheader/ubbthreads/admin/doverifyusers.php on line 96



This is line 67
include ("$thispath/languages/${$config['cookieprefix']."w3t_language"}/doapproveusers.php");


and this is line 96
$header = $mailer -> headers();

Sponsored Links
Kelly #263811 12/07/2003 12:50 AM
Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
change line 67 to this

include ("$thispath/languages/${$config['cookieprefix']."w3t_language"}/admin/doapproveusers.php");


and line 95/96 to
$mailer -> send_mail("","","$to","$subject","$msg");


its working for me with 6.4 now

Joined: Dec 2003
Posts: 18
Newbie
Newbie
Offline
Joined: Dec 2003
Posts: 18
[]RandyJG said:
6.4 Instructions (Smilesforu):
In verifyuser.php:
1) Change line 67 to this
include ("$thispath/languages/${$config['cookieprefix']."w3t_language"}/admin/doapproveusers.php");
2) and line 95/96 to
$mailer -> send_mail("","","$to","$subject","$msg");
[/]

You should make changes to the "doverifyusers.php"...not the "verifyuser.php" as stated if you use 6.4.

This confused me at first.

Great Mod! Thanks!

Joined: Mar 2003
Posts: 215
Junior Member
Junior Member
Offline
Joined: Mar 2003
Posts: 215
Changed it to doverifyusers.php


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)