|
Integrating MyBB into your website. (Login Form)
|
|
01-20-2006, 02:56 PM
(This post was last modified: 08-21-2008 06:42 AM by Dennis Tsang.)
Post: #1
|
|||
|
|||
|
Integrating MyBB into your website. (Login Form)
Hmmm... Let me guess.
You need to integrate your forum within your website? Well, you came to the right place. What you need 1. Basic Knowledge In HTML. 2. Basic Knowledge In PHP. 3. MyBB (Duh). 4. A website to integrate it with. How To First, Before ANYTHING, even the "<HTML>" or "<?" Tag, place this. PHP Code: <?phpPHP Code: <?phpWhere 'index.php' from line 17 (or close): PHP Code: <input type='hidden' name='url' value='index.php' /> And Where 'forums/member.php' from line 12 (or close): PHP Code: <form action='forums/member.php' method='post'> If you need to add anything under on line 7 (or close): PHP Code: echo "Hey, $mybbuser[username].<br>Make it like: PHP Code: echo "Hey, $mybbuser[username].<br>To Add a link, do not use. Code: <a title="link Description" href="http://link/link.php">Link</a>Code: <a title='link Description' href='http://link/link.php'>Link</a>In other words, Do NOT use double quotes inside PHP Code: echo "" Use 's instead of "s. Also, save the file (Which has the login form) as "something.php" and not "something.html" or "something.htm". *link removed because it was broken - DennisTT* Regards, Marc |
|||
|
01-20-2006, 03:21 PM
Post: #2
|
|||
|
|||
|
RE: Integrating MyBB into your website. (Login Form)
Nice tutorial Good job
|
|||
|
01-20-2006, 03:39 PM
Post: #3
|
|||
|
|||
|
RE: Integrating MyBB into your website. (Login Form)
Thanks.
|
|||
|
01-20-2006, 03:47 PM
Post: #4
|
|||
|
|||
RE: Integrating MyBB into your website. (Login Form)
Marc O' Connor Wrote:To Add a link, do not use.If you wanna use double quotes(") you can do \" tho. |
|||
|
01-20-2006, 04:05 PM
(This post was last modified: 01-20-2006 04:07 PM by Marc O' Connor.)
Post: #5
|
|||
|
|||
|
RE: Integrating MyBB into your website. (Login Form)
I find it that members who are not very experienced with PHP would find a single quote easier.
PHP Code: echo "<form action=\"forums/member.php\" method=\"post\"> |
|||
|
01-20-2006, 05:28 PM
Post: #6
|
|||
|
|||
|
RE: Integrating MyBB into your website. (Login Form)
I'm just saying for those who like double quotes
|
|||
|
01-20-2006, 05:41 PM
Post: #7
|
|||
|
|||
|
RE: Integrating MyBB into your website. (Login Form)
Ok.
Lol. |
|||
|
01-21-2006, 02:34 AM
Post: #8
|
|||
|
|||
|
RE: Integrating MyBB into your website. (Login Form)
it better to use:
PHP Code: echo'<a title="link Description" href="http://link/link.php">Link</a>'; [MyBB Templates] [ProgrammingTalk] [Need Smilies? Get Me Smileys!] [My Blog] ForumUniversity's GlobalWarming Awareness2007 project. |
|||
|
01-21-2006, 07:12 AM
(This post was last modified: 01-21-2006 07:12 AM by Marc O' Connor.)
Post: #9
|
|||
|
|||
|
RE: Integrating MyBB into your website. (Login Form)
No.
It isn't. It is the exact same with just 's replaced with "s and vice versa. |
|||
|
01-21-2006, 04:47 PM
Post: #10
|
|||
|
|||
|
RE: Integrating MyBB into your website. (Login Form)
or you could just use
PHP Code: ?>and not have to deal with any \'s ![]() My Blog - My Mods |
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help






![[Image: ryangordon.png]](http://files.bellomandesign.com/signatures/mybb/ryangordon.png)