How to change the "register" link on the site

  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 to change the "register" link on the site
sabastina
CZ Active Member
Occupation: College Student
Website:
Status: Offline
Joined: Nov 03, 2003
0.03 posts per day
Posts: 212
Points: 120,520
AIM Address Yahoo Messenger MSN Messenger ICQ Number
eusa_pray.gif Please tell me this can be done....
Due to the nature of my site, I don't want people to be able to simply register and have instant access to the site. So what I did was I found me a nice little contact us module and changed a few things and made a request membership module out of it. Now I need to fix the pesky link that appears in my cz user info block and the one that appears when non registered users go somewhere they can't go to! I would like to replace this link with the url to the new form I made if this is possible as it would look much neater and well organized.
So can this be done?

Thanks,

Sabastina



Back to top Reply with quote
#2   
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
   
Well theres quite a few places to look one is the language/lang-english.php look for all the :

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.");

Change those to what you want theres also a few other places but all of them can be ofund in the language files.

Telli



_________________
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   I tried...
sabastina
CZ Active Member
Occupation: College Student
Website:
Status: Offline
Joined: Nov 03, 2003
0.03 posts per day
Posts: 212
Points: 120,520
AIM Address Yahoo Messenger MSN Messenger ICQ Number
I went in and I did this to the file here the following message appears above my page

Parse error: parse error in /home/virtual/site84/fst/var/www/html/language/lang-english.php on line 60

this is how this line looks in the file:

define("_MODULEUSERS", "Sorry, but this section of our site is for Members Only.<br><br>You can request membership 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>")

ok, I changed the href back to the original but did not change the text back ( I don't remember what it said and accidentally deleted the back up file icon_sad.gif )

also, I get the same error for line 45 which seems to be the same problem.

can you tell what I did wrong?

I am taking a course on html and stuff next semester, so hopefully I will be better at this stuff then!

Thanks,
Sabastina

By the way, I am from SW detroit and the dearborn/Inkster area. Nice to see someone local online!



Back to top Reply with quote
#4   
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
   
You just forgot to close it with the ; like so

define("_MODULEUSERS", "Sorry, but this section of our site is for Members Only.<br><br>You can request membership 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>");


Telli



_________________
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   
sabastina
CZ Active Member
Occupation: College Student
Website:
Status: Offline
Joined: Nov 03, 2003
0.03 posts per day
Posts: 212
Points: 120,520
AIM Address Yahoo Messenger MSN Messenger ICQ Number
It didn't work...

and also, what ever I did, totall messed up my cz users info block!

can you look at it?
[ Register or login to view links on this board. ]



Back to top Reply with quote
#6   
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
   
Add this into the language file

// Begin CZUser Info block
define("_CZ_MEM","Membership");
define("_CZ_UMBREG", " Register Here ");
define("_CZ_UMBLOST", " Lost Password ");
define("_CZ_WELCOME", " Welcome, ");
define("_CZ_GUEST", " Welcome, Guest");
define("_CZ_PRIVMSG", "Private Message(s)");
define("_CZ_UNREAD", " Unread: ");
define("_CZ_READ", " Read: ");
define("_CZ_MEMBERS", " Member Info:");
define("_CZ_ON", " Online Info:");
define("_CZ_LATEST", " Latest User: ");
define("_CZ_TODAY", " New Today: ");
define("_CZ_YESTERDAY", " New Yesterday: ");
define("_CZ_OVERALL", " Total Members: ");
define("_CZ_VISITORS1", " Total Online: ");
define("_CZ_VISITORS2", " Guest(s) Online: ");
define("_CZ_VMEMBERS", " User(s) Online: ");
define("_CZ_TOTAL", " Total Online: ");
define("_CZ_ONLINE", " Online List: ");
define("_CZ_SECURITYCODE","Security Code: ");
define("_CZ_TYPESECCODE","Type Security Code Here: ");
define("_CZ_PASSWORD","Password: ");
define("_CZ_NICKNAME","Nickname: ");
// End CZUser Info block


And then post the whole file in here for me to see.

Telli



_________________
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
#7   
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
   
Wai t thats not my block i dont have any language definitions like that. You might want to see who the block belongs to and ask if they have language definitions for it.

Telli




_________________
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
#8   
sabastina
CZ Active Member
Occupation: College Student
Website:
Status: Offline
Joined: Nov 03, 2003
0.03 posts per day
Posts: 212
Points: 120,520
AIM Address Yahoo Messenger MSN Messenger ICQ Number
sorry about that, I forgot that I wanted it to show staff online and so I changed the block. However, I just noticed that yours has some sort of blue type next to your name, Does this signify you are staff? I have had several problems with the one I have and am now thinking of changing back to the cz user info...

thanks alot.

sabastina



Back to top Reply with quote
#9   
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
   
Yes it says admin next to my name and my moderators get the staff sign its all in the block just read the read me carefully and you should be able to set up just like mine.

Telli




_________________
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
#10   
sabastina
CZ Active Member
Occupation: College Student
Website:
Status: Offline
Joined: Nov 03, 2003
0.03 posts per day
Posts: 212
Points: 120,520
AIM Address Yahoo Messenger MSN Messenger ICQ Number
Thanks telli.

I couldn't get it to work. Just kept getting the error! I don't know. It's really starting to get to me now
probably need a break, but I need to get the sit up by christmas icon_evil.gif icon_rolleyes.gif

Changing the users info block-I tried but failed as I don't know what to remove from the other, figure I will change it when I learn more about nuke. got the other fixed though.

Sabastina icon_mrgreen.gif



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