Advertisement:

Author Topic: adding text to login.english.php  (Read 1491 times)

Offline DrDarkMatter

  • Semi-Newbie
  • *
  • Posts: 39
adding text to login.english.php
« on: February 20, 2012, 02:07:21 PM »
hi guys, ok first I am completely useless at coding, I have tried mucking around with this file but when I save it I get an error when trying to register a new user (when running a test)so I mucked it up somehow and I put back the original and its all fine.

I want to add some additional text to the activation email that gets sent to the users when they register. I want to add some text that reminds them to go to a specific place on the forum and fill out an application for full membership.

so I am using this for my activation method;

$txt['register_activate_message'] = 'You are now registered with an account at ' . $context['forum_name'] . ', %1$s!' . "\n\n" . 'Your account\'s username is %2$s and its password is %3$s (which can be changed later.)' . "\n\n" . 'Before you can login, you first need to activate your account. To do so, please follow this link:' . "\n\n" . '%5$s' . "\n\n" . 'Should you have any problems with activation, please use the code "%4$s".' . "\n\n" . $txt[130];


how do I add text please so that the template still works

thank you all in advance  ;D

Offline CapadY

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,126
  • Gender: Male
Re: adding text to login.english.php
« Reply #1 on: February 21, 2012, 04:01:28 AM »
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Offline DrDarkMatter

  • Semi-Newbie
  • *
  • Posts: 39
Re: adding text to login.english.php
« Reply #2 on: February 21, 2012, 06:11:54 PM »
thanks man, I dont have the version of SMF this needs and dont feel like reverse engineering it lol,  but good thought  ;D

Offline emanuele

  • Language Moderator
  • SMF Super Hero
  • *
  • Posts: 14,043
  • Gender: Male
  • THERE'S JUST ME
Re: adding text to login.english.php
« Reply #3 on: February 21, 2012, 07:18:23 PM »
What kind of text would you add?
Share the code you have used so far and that gives you the error.

Also, please when you post code, use the [code][/code] tags. ;)
Do you want to discover what I'm doing? Here it is!



Hai bisogno di supporto in Italiano?

* emanuele dislikes "like" and alike

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non รจ una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

It has been reported to me that I'm being snarky, feel free to be offended by my comments, I'm probably doing it on purpose...or not.

Offline CapadY

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,126
  • Gender: Male
Re: adding text to login.english.php
« Reply #4 on: February 22, 2012, 07:45:20 AM »
thanks man, I dont have the version of SMF this needs and dont feel like reverse engineering it lol,  but good thought  ;D

I am prety sure I have a modified package that will instal in SMF2 withouth problems :)
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.