boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need help editing b2edit.php and b2login.php

 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
ghoti



Joined: 27 Jul 2004
Posts: 4

PostPosted: Tue Aug 10, 2004 4:04 pm    Post subject: Need help editing b2edit.php and b2login.php Reply with quote

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
View user's profile Send private message
ghoti



Joined: 27 Jul 2004
Posts: 4

PostPosted: Thu Aug 12, 2004 3:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
sh0ck



Joined: 02 May 2004
Posts: 14
Location: Norway

PostPosted: Thu Aug 12, 2004 3:56 pm    Post subject: Reply with quote

You can rename b2login.php to another name, say example.php. Although you must remember to edit b2edit.php, b2register.php, and example.php.

Change all redirection links in those pages that goto b2login.php to example.php.

look:
http://www.licklinux.com's login is:
http://www.licklinux.com/x/login.php. and register here:
http://www.licklinux.com/x/register.php
Back to top
View user's profile Send private message Visit poster's website
Phil Jayhan



Joined: 29 Jul 2004
Posts: 3

PostPosted: Wed Aug 18, 2004 1:21 am    Post subject: How can I disable Registration? Reply with quote

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 Smile
_________________
hrrp://www.letsroll911.org
Back to top
View user's profile Send private message Visit poster's website
sh0ck



Joined: 02 May 2004
Posts: 14
Location: Norway

PostPosted: Wed Aug 18, 2004 9:54 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? All times are GMT + 1 Hour
Page 1 of 1

 
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


Powered by phpBB 2 © 2001, 2002 phpBB Group