Error after Approving Mail

17 years 4 months ago #26890 by Flipsider
Error after Approving Mail was created by Flipsider
[code:1]Parse error: syntax error, unexpected T_STRING in /home/.beardsley/morningflames/xboxuserspace.com/components/com_comprofiler/plugin/user/plug_cbautowelcome/cb.autowelcome.php(171) : eval()'d code on line 22
Your account is now active. You may now login![/code:1]

is what a user gets after approving his email after registration. He also doesnt get the Welcome email

De-Karma me... if you dare...
CB Xbox Gamercard Plugin (Gone] - CB Xbox Gamercard Module (Gone)

Please Log in to join the conversation.

17 years 4 months ago #26909 by nant
Replied by nant on topic Re:Error after Approving Mail
what exactly have you put in the parameters area as the message text?

Please Log in to join the conversation.

17 years 4 months ago #26920 by Flipsider
Replied by Flipsider on topic Re:Error after Approving Mail
Email Welcome Subject:

Welcome to XUS, [NAME]!

Email Welcome Body:

Hi [NAME],

Welcome to Xbox User Space!

Thanks for joining XboxUserSpace.com.

Below you can read the most important features, but before you proceed, please remember:

XUS Moderators do exist... and they really do exist for a reason.
Questions and Answers will be posted in the XUS Forum here:
www.xboxuserspace.com/index.php?option=com_smf&Itemid=3&board=2.0 .
If it's private, please go to Contact.



Your own XUS Profile

Every XUS Member has his own XUS Profile. You can attach your Profile Picture, enter many detailed fields relating to your personal, gaming, xbox and even media stuff. There's also a Creative Area where you can put anything you want on. Below you can also see many other big features within your XUS Profile.

Your own XUS Friends List

This site is an Xbox Live Community... so why not have friends? You can go to other XUS Profiles/Users and send them a friend request. When going to your XUS Profile, at the top of the page you see a link called "Friends List". That is your very own XUS Friends List. From there you can manage your XUS Friends List by checking who your friends are, you can add or remove friends, accept or decline a friend request and more. Note: This is not your Xbox live Friends List.

Your own Picture Gallery

In your XUS Profile there's also a Picture Gallery Area. There you can upload, delete and display your pictures to your Profile Visitors. You can also add a title and description to each picture and when clicking a picture you even get a nice effect.

Your own XUS Clan

With the XUS Clan feature you can create and join multiple XUS Clans. If you create an XUS Clan, you can set the Clan Access (Open, Invite only, Closed) and you can invite as many XUS Users as you want. You and your Clan Members can also write messages into your very own Clan Blog.
If you join an XUS Clan, you can still invite your friends from Xbox User Space and also write messages into the Clan Blog.

The XUS Forum

Of course we also have a Forum. If you look at the Forum, you see many different Boards. Every Board has it's own Community Subject where you can communicate and discuss anything with all the other XUS Users.

That's it for now, perhaps there are a few other Features I did not list yet but I think I wrote enough for now.

Now... enjoy the community and invite your friends!

Flipsider - Founder and Administrator of XUS

P.S. Please do not reply to this message as it is automatically sent at registration.

De-Karma me... if you dare...
CB Xbox Gamercard Plugin (Gone] - CB Xbox Gamercard Module (Gone)

Please Log in to join the conversation.

17 years 4 months ago #26923 by nant
Replied by nant on topic Re:Error after Approving Mail
OK - the double " are causing a problem with the code.

solution:

either don't use double quotes in messages

or

change line 171 of cb.autowelcome.php

from:

eval ("\$msg = \"$msg\";");

to:
[code:1]
$msg = str_replace( array( '\n' ), array( "\n" ), $msg );
[/code:1]

Post edited by: nant, at: 2006/12/28 09:25

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.167 seconds

Facebook Twitter LinkedIn