View previous topic :: View next topic |
Author |
Message |
ghoti
Joined: 27 Jul 2004 Posts: 4
|
Posted: Tue Aug 10, 2004 4:04 pm Post subject: Need help editing b2edit.php and b2login.php |
|
|
I want to create a blog for my family. Here's what I'd like to do:
1) upon opening the page, the user will get a log in screen.
2) upon loggin in, the user will get the blog page with posts from various other users.
3) on the blog page, there will be a link to post a message
4) upon opening that link, the user will get a very simple posting page, which includes nothing more than a table in which the user can enter a subject/title and the text of the post and then click on a submit button.
I'm pretty familiar with how to customize the actual blog page itself, but I have two questions:
1) can I have a login page as my index, and if so, how do I enable it to go straight to the blog, rather than to the b2edit page? and how do I enable it to remember the user when he/she goes to the edit post page?
2) I'm pretty unfamiliar with php. What is necessary on the b2edit.php page? If I only want a posting form with an enter-title box and an enter-text box, what code do I need to include? |
|
Back to top |
|
 |
ghoti
Joined: 27 Jul 2004 Posts: 4
|
Posted: Thu Aug 12, 2004 3:03 pm Post subject: |
|
|
Ok, so a lot of this was pretty easy. I just redirected some things. For instance, in b2login.php, I changed all instances of "b2edit.php" to myblogpage.php.
I'm still stuck on deciphering the b2edit.php page. |
|
Back to top |
|
 |
sh0ck
Joined: 02 May 2004 Posts: 14 Location: Norway
|
|
Back to top |
|
 |
Phil Jayhan
Joined: 29 Jul 2004 Posts: 3
|
Posted: Wed Aug 18, 2004 1:21 am Post subject: How can I disable Registration? |
|
|
I want to create a blog where only those whom I choose can add to it, and also wish there to be uniformly, no comments allowed throughout the blog;
How can I achieve this?
Thanks,
phil jayhan  _________________ hrrp://www.letsroll911.org |
|
Back to top |
|
 |
sh0ck
Joined: 02 May 2004 Posts: 14 Location: Norway
|
Posted: Wed Aug 18, 2004 9:54 am Post subject: |
|
|
You can either disable registration and open it when friends sign in, or you can just not link to b2login.php from any page. If somebody finds it anyway, I don't see the big deal, you can just delete them.
If you do not wish comments; delete the b2comments.php page and do not link to it. Meaning that there should be no .."&c=1" prefix anywhere.
It should work. |
|
Back to top |
|
 |
|