2008-02-02, 09:55 PM
Rohan Shenoy Wrote:Hockey Foo Wrote:Still didn't work.What didn't work out? logging out or setting the cookies?
I can't log in from another website without it taking me to the forum.
Login From Another Site?
|
2008-02-02, 09:55 PM
Rohan Shenoy Wrote:Hockey Foo Wrote:Still didn't work.What didn't work out? logging out or setting the cookies? I can't log in from another website without it taking me to the forum.
2008-02-02, 10:00 PM
Hockey Foo Wrote:Rohan Shenoy Wrote:Hockey Foo Wrote:Still didn't work.What didn't work out? logging out or setting the cookies? You can't do that. The user will HAVE to be taken once to the forum to set the cookies.
2008-02-02, 10:03 PM
Rohan Shenoy Wrote:OK, so now is there a way so that once they've logged in when they return to the page the logged in from is says something like "Hello, {USERNAME}!" and then has a log out button.Hockey Foo Wrote:Rohan Shenoy Wrote:Hockey Foo Wrote:Still didn't work.What didn't work out? logging out or setting the cookies?
2008-02-02, 10:26 PM
I have done something similar for my website. Check the sidebar at http://www.biologyformhtcet.com. Here is the small part of script which I wrote for it:
Remember to change the following values in it: 1. The action attribute of the form to point it to your login script(login.php: Eg: http://domain/mybbforums/login.php). 2. The URL for registration. Point it to register.php( Eg: http://domain/mybbforums/member.php?action=register) 3. The URL in the last red line you see in the above code. It should point to private.php(Eg:http://domain/mybbforums/private.php ) I have not included a 'logout button here. Kindly note that.'
2008-02-03, 12:34 AM
Can you show me where you have installed this script and what errors are you getting?
2008-02-03, 12:38 AM
(This post was last modified: 2008-02-03, 12:44 AM by Hockey Foo.)
Rohan Shenoy Wrote:Can you show me where you have installed this script and what errors are you getting? I'll get that in a second. Does it have to be a .php file? When I tried it as a .php I got more errors. Here are the errors, view this website and it is in the blue box. http://thehockeyarena.ismywebsite.com
2008-02-03, 02:19 AM
(This post was last modified: 2008-02-03, 02:20 AM by Rohan Shenoy.)
1. Yes it has to end in .php extension
2. Since you are using free/shared hosting are you sure about your database name, username and password? It better to get them confirmed from their support team. 3. Please post the errors you are getting when using a .php extension.
2008-02-03, 04:56 PM
Rohan Shenoy Wrote:1. Yes it has to end in .php extension I created my own database and name and stuff, but I think I might have the MySQL wrong. It has to be MySQL correct?
2008-02-03, 05:00 PM
Yes you need to use a MySQL database with MyBB.
|
« Next Oldest | Next Newest »
|