Previous Thread
Next Thread
Print Thread
Rate Thread
#283795 02/27/2005 7:44 PM
Joined: May 2004
Posts: 43
User
User
Offline
Joined: May 2004
Posts: 43
I just viewed a member's profile, and tried editing them, as I was sure that they were banned in the past. As soon as I clicked 'become this user', I get the following:

Parse error: parse error, unexpected T_STRING in /home/winnie/public_html/ubbthreads/languages/english/admin/sendpassword.php on line 5

Sponsored Links
#283796 02/27/2005 8:37 PM
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
version?

234234 #283797 02/27/2005 8:50 PM
Joined: May 2004
Posts: 43
User
User
Offline
Joined: May 2004
Posts: 43
Sorry, 6.5.1

#283798 02/27/2005 11:59 PM
Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
What is in /languages/english/admin/sendpassword.php on line 5 ?

It might be one of those bugs introduced by the updater.

domain123 #283799 02/28/2005 11:32 AM
Joined: May 2004
Posts: 43
User
User
Offline
Joined: May 2004
Posts: 43
Um... looking at that directory, there isn't a sendpassword.php file...

Sponsored Links
#283800 02/28/2005 12:05 PM
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
You should upload it from the original archive file from Infopop Memberdirectory. Its included.

landyphil #283801 03/02/2005 12:12 PM
Joined: May 2004
Posts: 43
User
User
Offline
Joined: May 2004
Posts: 43
Line 5 states:

[]$ubbt_lang['PASS_SENT'] = "A temporary password has been sent to this user.";[/]

Could someone please advise what it should say?

Thanks

#283802 03/02/2005 1:54 PM
Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
The text looks ok. Does the error still occur?

Paste the whole file here.

domain123 #283803 03/02/2005 3:16 PM
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
I wouldn't paste it.. I think thats against board policy

[]Also, DO NOT ASK FOR THE LICENSED FILES OF THREADS! This is not what this site is for! In no way do we condone or support software piracy, the distribution of "warez" or those sites who either distribute or use pirated software, including UBB.ThreadsĂș. If it is found you are involved in the distribution or use of illegal software, we reserve the right to remove you as a member without notice and report you to the piracy and abuse departments of SPA, Infopop, your webhost and your ISP.[/]

I would just get together if I was the two of you...

234234 #283804 03/02/2005 5:57 PM
Joined: May 2004
Posts: 43
User
User
Offline
Joined: May 2004
Posts: 43
I'm not sure where the problem is here. It is obviously a bug with ubbthreads, and I have asked for help. If anyone looks at my profile, they will see that I do, indeed, run ubbthreads v6.5.1

Yes, the error still occurs, and yes I do need to fix this.

Sponsored Links
234234 #283805 03/02/2005 6:00 PM
Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
Hehe, you are right, partially.

The thing is though, that this is a language file, and the language files can be downloaded freely at the infopop site, albeit not the english ones.

domain123 #283806 03/02/2005 6:24 PM
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
the file if its the same I have looks like

$ubbt_lang['PASS_SUBJ'] = "Password for ";
$ubbt_lang['PASS_BODY'] = "Below you will find the login information for the website '%s' at %s.\nLogin Name: %s\nNew Password: %s";

Login Name: %s
New Password: %s";
$ubbt_lang['F_LOC'] = "this member's profile.";
$ubbt_lang['PASS_SENT'] = "A temporary password has been sent to this user.";


I think the real problem is in

$ubbt_lang['PASS_BODY'] = "Below you will find the login information for the website '%s' at %s.\nLogin Name: %s\nNew Password: %s";

Login Name: %s
New Password: %s";


makes no sense.. its not a properly formated $ubbt_lang['PASS_BODY'] string

234234 #283807 03/03/2005 6:01 AM
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
I think the file should read


$ubbt_lang['PASS_SUBJ'] = "Password for ";
$ubbt_lang['PASS_BODY'] = "Below you will find the login information for the website '%s' at %s.\nLogin Name: %s\nNew Password: %s";
$ubbt_lang['F_LOC'] = "this member's profile.";
$ubbt_lang['PASS_SENT'] = "A temporary password has been sent to this user.";


If you want to tinker with the email sent then in \admin\sendpassword.php alter the line...


$body = sprintf($ubbt_lang['PASS_BODY'],$config['title'],"{$config['phpurl']}/ubbthreads.php",$login_name,$pass);

Although I haven't altered this one, I tend to add in an into into the email, and signature with a strap line beneath the info sent. Looks more profesional.


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Gorlum #283808 03/05/2005 12:21 AM
Joined: May 2004
Posts: 43
User
User
Offline
Joined: May 2004
Posts: 43
Thanks for the help, everyone. It works now, and as suspected, it is the same person.. now banned


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
Posts: 70
Joined: January 2007
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 20240506)