Login to forumotion forums from different site?
3 posters
Page 1 of 1
Login to forumotion forums from different site?
Forumotion hosts my forums, but on my main site ( not forumotion )
I want to have a login / register thing. So they could login and register from my website?
Is this possible?
I want to have a login / register thing. So they could login and register from my website?
Is this possible?
mrchasez- Forumember
- Posts : 34
Reputation : 0
Language : United States
Re: Login to forumotion forums from different site?
Yes.
The best way to do it, would be to make a HTML page on your forum, with a log in form in. (the log in form will obviously log people into your forum).
Then on your actual site, have an Iframe displaying that log in form.
Therefore they can log in to your forum.
To make them register, then you'll just have to have a link on your site.
The best way to do it, would be to make a HTML page on your forum, with a log in form in. (the log in form will obviously log people into your forum).
Then on your actual site, have an Iframe displaying that log in form.
Therefore they can log in to your forum.
To make them register, then you'll just have to have a link on your site.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Login to forumotion forums from different site?
uh.
An example?
I was looking more like, they can register / login and stay on my main site.
An example?
I was looking more like, they can register / login and stay on my main site.
mrchasez- Forumember
- Posts : 34
Reputation : 0
Language : United States
Re: Login to forumotion forums from different site?
Yes. This will do just that.
Take my steps slowly.
Create a log in form in a HTML page. This tutorial will provide a log in form for you: https://help.forumotion.com/t262-log-in-form-for-the-faq
After that, go to your main site. And have somewhere:
And that will mean, on your main site, people will see a log in form. That when they enter their details in it. It will log them into your site.
Take my steps slowly.
Create a log in form in a HTML page. This tutorial will provide a log in form for you: https://help.forumotion.com/t262-log-in-form-for-the-faq
After that, go to your main site. And have somewhere:
- Code:
<iframe src="URL OF YOUR FORUM HTML PAGE WITH LOG IN FORM" width="SET THE WIDTH" height="SET THE HEIGHT" frameborder="0" name="fmlogin"></iframe>
And that will mean, on your main site, people will see a log in form. That when they enter their details in it. It will log them into your site.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Login to forumotion forums from different site?
How can i get this but for registering >??????
It lets the user login, but my whole forums becomes a little box on my webstie 0.0
How can i do that but for registering?
It lets the user login, but my whole forums becomes a little box on my webstie 0.0
How can i do that but for registering?
mrchasez- Forumember
- Posts : 34
Reputation : 0
Language : United States
Re: Login to forumotion forums from different site?
Better yet, how about when they login from the login on my website, It auto takes them to my forums?
mrchasez- Forumember
- Posts : 34
Reputation : 0
Language : United States
Re: Login to forumotion forums from different site?
You'll need to use Javascript to change the functions of things inside the Iframe.
Someting like this will (should) work:
So when the form is submitted, it submits and changes the actual page, not the contents in the iframe. Thus taking the user to your forum.
Someting like this will (should) work:
- Code:
$(function() {
var iframe=parent.fmlogin;
$(iframe).find('form').attr('target','_top');
});
So when the form is submitted, it submits and changes the actual page, not the contents in the iframe. Thus taking the user to your forum.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Login to forumotion forums from different site?
LGforum wrote:You'll need to use Javascript to change the functions of things inside the Iframe.
Someting like this will (should) work:
- Code:
$(function() {
var iframe=parent.fmlogin;
$(iframe).find('form').attr('target','_top');
});
So when the form is submitted, it submits and changes the actual page, not the contents in the iframe. Thus taking the user to your forum.
Trying to understand your code using this as a html code for the login form
- Code:
<form action="http://engineering.forumotions.info/login.forum" method="post">
<table cellspacing="1" cellpadding="3" border="0">
<tr>
<td width="25%" align="right"><br />
Username:</td>
<td><input type="text" name="username" id="username" size="11" maxlength=
"40" /></td>
</tr>
<tr>
<td align="right"><br />
Password:</td>
<td><input type="password" name="password" id="password" size="11" maxlength=
"32" /></td>
</tr>
<tr align="center">
<td colspan="2">Remember me: <input type="checkbox" name="autologin" checked=
"true" /></td>
</tr>
<tr align="center">
<td colspan="2"><input type="submit" class="mainoption" name="login" value=
"Log in" /></td>
</tr>
</table>
</form>
I cannot understand this part
- Code:
var iframe=parent.fmlogin;
- Code:
$(iframe).find('form').attr('target','_top');
Re: Login to forumotion forums from different site?
if you look at the Iframe HTML you can see i have given it a name of 'fmlogin'
Now it can be manipulated like other elements. For some examples:
In my original code it was actually wrong.
It was supposed to be var iframe=parent.fmlogin.document;
Therefore the DOM of the contents within the iframe is accessed.
- Code:
<iframe src="URL OF YOUR FORUM HTML PAGE WITH LOG IN FORM" width="SET THE WIDTH" height="SET THE HEIGHT" frameborder="0" name="fmlogin"></iframe>
- Code:
var iframe=parent.fmlogin;
Now it can be manipulated like other elements. For some examples:
- Code:
iframe.style.display="none";
iframe.style.width="100%";
In my original code it was actually wrong.
It was supposed to be var iframe=parent.fmlogin.document;
Therefore the DOM of the contents within the iframe is accessed.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Login to forumotion forums from different site?
So i should add that to my index.html
or make a Js file?
or make a Js file?
mrchasez- Forumember
- Posts : 34
Reputation : 0
Language : United States
Similar topics
» Cant we create a free site without forumotion.com at last like a free site but having features of forums like here and some chan
» HACKING SITE THAT HACKS FORUMOTION FORUMS FOUND !!!!!!!!!!
» How to Delete Forumotion Link to Forumotion next to search box on my site
» Top Urgent, Help, I can login to my site, but can't login to the control panel !!
» linking forum motion login to my site login
» HACKING SITE THAT HACKS FORUMOTION FORUMS FOUND !!!!!!!!!!
» How to Delete Forumotion Link to Forumotion next to search box on my site
» Top Urgent, Help, I can login to my site, but can't login to the control panel !!
» linking forum motion login to my site login
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum