You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 385 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Editing the Sign up page [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Adrian
Nuke Soldier
Nuke Soldier


Joined: Jan 12, 2004
Posts: 12


PostPosted: Mon Jan 19, 2004 8:10 pm Reply with quoteBack to top

I could not find any articles that relate to this so I guess I'll post my own Very Happy

I have a couple of questions that I hope someone with skill in Nuke wil be able to answer.

1. Is there any way to edit the Create an account page, I want to make it so when you sign up you can see the terms and conditions that I wrote for my site!

2. On my site I made an announcement that says "sign up now and u get this and this blah blah".. Is there any way I could make it so that when someone has registered and logged in they wont see that?
Find all posts by AdrianView user's profileSend private messageVisit poster's website
kingpin03
Corporal
Corporal


Joined: Nov 14, 2003
Posts: 61


PostPosted: Tue Jan 20, 2004 5:38 am Reply with quoteBack to top

1. Go to modules/Your_Account/index.php and look for
Code:

    case "new_user":

There you'll find something along the lines of:
Code:

                echo "<b>"._REGNEWUSER."</b> ("._ALLREQUIRED.")<br><br>\n"
                    ."<table cellpadding=\"0\" cellspacing=\"10\" border=\"0\">\n<form action=\"modules.php?name=$module_name\" method=\"post\">\n"

That is where the design and content of the sign-up page are handled. Make sure when editing that you don't use double or single quotes without escaping them first. I.e.:
Code:

" is wrong but \" is right. ' is wrong but \' is right

Even though single quotes are not used in that bit, but it's good programming practice to always escape quotes when inside a string or echo/print command.

2.
If it's a module you made, then you just change the permission to "Anonymous Users Only" or "Unregistered Users Only" or whatever it's called. Same goes if it's a block, you edit the block and make sure it's set so that only anonymous visitors can see it.

_________________
My PHPNukeMods:
pvPhortunes 1.0

Sites:
PV-D
HTK
Find all posts by kingpin03View user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.055 Seconds - 155 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::