Jump to the post that solved this thread.
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 7 Years, 5 Months, 2 Weeks ago embeding "login area" into another CMS?
#1
Solved: 7 Years, 5 Months, 2 Weeks ago
1.
[Image: 1379a31e4924c68fb689c8af80120c19.png]
Is it possible to embed Contents of red oval in the picture into another CMS as in WordPress?

2. Is it possible to change whitin search field codes of WordPress to search our forum instead of its WordPress?
#2
Solved: 7 Years, 5 Months, 2 Weeks ago
1a) Use an iFrame = Pretty easy
1b) Actual integration = Deal w/ sessions, code conflicts, cookies, SSO == Not easy, but a worthwhile challenge if you have the time.

2. Yes...
...the hardest part, for me, would be finding the time to do it, since I've never spent much time modifying Wpress.
#
MyBB is the best forum software! Exclamation

#3
Solved: 7 Years, 5 Months, 2 Weeks ago
(02-12-2012, 10:28 PM)seeker Wrote: 1a) Use an iFrame = Pretty easy
which address should I write in front of "src"?
<iframe src="which address?" name="User Area" align="left" scrolling="no" frameborder="no" height="50px" width="800px"></iframe>

Quote:1b) Actual integration = Deal w/ sessions, code conflicts, cookies, SSO == Not easy, but a worthwhile challenge if you have the time.
=> http://community.mybb.com/thread-110273.html

Quote:2. Yes...
...the hardest part, for me, would be finding the time to do it
Clue? plz

Quote:since I've never spent much time modifying Wpress.
I said Wpress as an example. How about Joomla?
#4
Solved: 7 Years, 5 Months, 2 Weeks ago
Sad
UP

<iframe src="which address?" name="User Area" align="left" scrolling="no" frameborder="no" height="50px" width="800px"></iframe>
#5
Solved: 7 Years, 5 Months, 2 Weeks ago
basic code can be like this (this is just a quick code)
<?php
define("IN_MYBB", 1);
require_once "./global.php";
echo $headerinclude;
echo ' <div id="container">';
echo '<div id="panel">';
echo $welcomeblock;
echo '</div>';
echo '</div>';
?>

make a php file in forum root with code similar to above and run it ...

search form for MyBB forum can be easily added on any external page ... add search file path in the form
<form method="post" action="YOURforumURL/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="text" class="textbox" name="keywords" size="13" maxlength="250" />
<input type="submit" class="button" name="submit" value="Search" />
</form>
#6
Solved: 7 Years, 5 Months, 2 Weeks ago
(02-20-2012, 08:53 PM)ranjani Wrote: make a php file in forum root with code similar to above and run it ...
after creating that php file, I should use IFRAME, Yes?

(02-20-2012, 08:53 PM)ranjani Wrote: basic code can be like this (this is just a quick code)
...
make a php file in forum root with code similar to above and run it ...
+1
Fabulous; Thanks Mr/Miss "ranjani".
And how about full header part(attached pic)? If I want to use header area into another CMS, What's the right code?


ranjani Wrote:
<form method="post" action="YOURforumURL/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="text" class="textbox" name="keywords" size="13" maxlength="250" />
<input type="submit" class="button" name="submit" value="Search" />
</form>
GREAT!


Attached Files Thumbnail(s)
   
#7
Solved: 7 Years, 5 Months, 2 Weeks ago
^ you can use iframe OR php include - depends on how you implement it .. for html code its easy to add iframe & for php code include file ..

if you use $header ( that is, echo $header; ) then that includes the all elements from header ; see this for example

however , efficient method would be to use MyBB's template system and get required display (eg.1 & eg.2)


#8
Solved: 7 Years, 5 Months, 2 Weeks ago
Hi Ranjani,,

I use your code
<?php
define("IN_MYBB", 1);
require_once "./global.php";
echo $headerinclude;
echo ' <div id="container">';
echo '<div id="panel">';
echo $welcomeblock;
echo '</div>';
echo '</div>';
?>
and got error like this , i renamed to int.php :
Fatal error: Call to undefined function phpdefine() in /home/myfolder/public_html/forum/int.php on line 1

whats wrong?
#9
Solved: 7 Years, 5 Months, 2 Weeks ago
^Me too im having this problem with wordpress anyone know how to go about resolving this??...

In my wordpress php page file i get path not found.. i tried to set it.. but then even the cms.php it says cant find global.php... the forum is under /Forum/ and wordpress stuff under /wp-content/...
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)