MyBB Community Forums

Full Version: Cutomize registration page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

I'm sorry if this is a FAQ: I'd like to customize the registration, resp. agreement page. My registration page is bi-langual. That's why I want to add little flags, like this:

..from the "member.lang.php":
Quote:$l['agreement_1'] = "<img src=/images/my_custom/flagge_d.gif>....."
But the IMG wont show up.

Q1: How do I add an image? or: Where is the .php file that uses "$l['agreement_1']"?
Q2: How do I add quotationmarks to the string? This does not work of course:
Quote:$l['agreement_1'] = "<img src="/images/my_custom/flagge_d.gif">....."

P.S.: I am still learning PHP (as you might see) ;-)
You need to escape the quotation marks by adding backslash before the quotation mark like this:

$l['agreement_1'] = "<img src=\"/images/my_custom/flagge_d.gif\">.....";