View Full Version : add/remove text in messages
danixz
08-08-2005, 08:15 AM
Where do I edit the message page where it say:
"Sorry, your account does not have access to this section."
etc etc....
I want to add additional links and text and remove the "welcome back" text.
Stelly
08-08-2005, 08:39 AM
Its in admin/languages folder in the language that your using... if you need any more help please let me know
Stelly
danixz
08-08-2005, 09:13 AM
You can change the text in SD admin aswell, under languages... but thats not what I want to do.
I want to add additional links and text, also remove text. If I mess with the language file it will also change everywhere else it is displayed.
I dont know why "welcome back" is displayed in the "Sorry, your account does not have access to this section." thats not right :blink:
Stelly
08-08-2005, 09:26 AM
open up the file entitled loginpanel.php
find the following code
*$myaccount = '<a href="' . $cppath . '">' . $language['my_account'] . '</a>';
*if($usersystem)
*{
* *if($userinfo['loggedin'])
* *{
* * *echo '<table border="0" cellspacing="0" cellpadding="0">
* * * * * *<tr>
* * * * * * *<td>' . $language['welcome_back'] . ' ' . $userinfo['username'] . '</td>
* * * * * *</tr>';
* * *
Edit this how you like to get rid of the welcome back bit please delete...
. $language['welcome_back'] .
Is that ok?
Stelly
danixz
08-08-2005, 01:18 PM
Well... thats one step closer.
But If I remove that string it will not display in the loginpanel where I would like to keep it. I wish to remove the welcome back text and the username from the message registered users get when trying to view a module they have no rights to see. I also want to have additional text and links there.
thx.
Stelly
08-09-2005, 09:11 AM
If you pm me the links I will edit the code for you and mail you the finish article :)
Stelly
danixz
08-10-2005, 02:49 PM
Sounds good. thx.
IŽll send you a mail in a couple of days or something. What files do you need?
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.