How do I edit the access denied page?

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   How do I edit the access denied page?
Kid_Creation
CZ Newbie
Kid_Creation has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 08, 2004
0.00 posts per day
Posts: 4
Points: 325
   
I want to either edit or remove the "You can register for free by clicking here, then you can
access this section without restrictions. Thanks." from the Access Denied page. I have looked through the index.php in the Your_Account folder allready. Does anyone know where and on what file I can find that to edit it. Or even a mod for security that doesnt have it on there. Thanks ahead of time for any help.



Back to top Reply with quote
#2   re: How do I edit the access denied page?
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Its in the modules/Your_Account/language/lang-english.php




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
Kid_Creation
CZ Newbie
Kid_Creation has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 08, 2004
0.00 posts per day
Posts: 4
Points: 325
   
I would have never thought of lookin there. Although I found some things that I will want to change - I could not find what I was looking for. If you goto my site [ Register or login to view links on this board. ] and you click on downloads it will take you to the access denied page. Which has a link on it to new_user. The "You can register for free by clicking here" link. I am tryin to change that link or completly removing it. Like I said - I did not find it in the Languages php file at all. And a curious ? would be if it is in there? Would'nt I have to find it on all the other language files to change them on those too? If so then thats fine. But I still need help locating where to do the editing. Thanks agian.

I will give all my points to whom ever can help me too.



Back to top Reply with quote
#4   re: How do I edit the access denied page?
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
If there not in the language file then there is something wrong with the version you have. I have this is in a standard nuke install in root/language/lang-english.php in a few places.

define("_ASREGISTERED","Don't have an account yet? You can <a href=\"modules.php?name=Your_Account&amp;op=new_user\">create one</a>. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.");


define("_YOUAREANON","You are Anonymous user. You can register for free by clicking <a href=\"modules.php?name=Your_Account&amp;op=new_user\">here</a>");


define("_MODULEUSERS", "We are Sorry, but this section of our site is for <i>Registered Users Only.</i><br><br>You can register for free by clicking <a href=\"modules.php?name=Your_Account&op=new_user\">here</a>, then you can<br>access this section without restrictions. Thanks.<br><br>");



Also you might want to look in the modules/language/lang-english.php

I only say lang-english.php because I dont use the other languages if you do then yes you will need to edit every language.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   re: How do I edit the access denied page?
Kid_Creation
CZ Newbie
Kid_Creation has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 08, 2004
0.00 posts per day
Posts: 4
Points: 325
   
Thank you so much - I looked at every single lang file on my site except that one. LoL - ofcourse i started in the mods your_account and went from there . totally missed the root lang folder. LoL . Anyway I will be deleting this post so noone knows I did it with this method. And if you ever want a free membership or would like to be an admin on my site just let me know.
Thanks again
Owner of YahooBoots.com



Back to top Reply with quote
#6   re: How do I edit the access denied page?
Kid_Creation
CZ Newbie
Kid_Creation has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 08, 2004
0.00 posts per day
Posts: 4
Points: 325
   
Acually can you delete this post being that you are an admin. I didnt realize that I did not have that option of doin so. I will send you more points as I collect them. If so thanks and thanks again for all your help.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum