MyBB Community Forums

Full Version: Embed forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is it possible to embed or install mybb forum on a specific page of website?
currently i have install it in Data base but i want it to open in my website page.
is there any alternative to iframes?
Ya, using the forum itself, like it's meant to be used.
(2013-03-02, 06:15 AM)effone Wrote: [ -> ]Use iframe.

http://www.w3schools.com/tags/tag_iframe.asp

what should i wrote between this iframe tag?
<iframe src="http://www.w3schools.com"></iframe>
HuhHuh
Nothing to write in between. Use this way:

<iframe name="forum" src="http://mysite.com/index.php" frameborder="0" scrolling="yes" align="top" width="100%" height="100%" marginwidth="5" marginheight="5" ></iframe>


Syntax:

<iframe>...</iframe>

Attribute Specifications to Adjust Appearance and Behavior:

src="(URL of initial iframe content)"
name="(name of frame, required for targeting)"
longdesc="(link to long description)"
width=(frame width, % or pixels)
height=(frame height, % or pixels)
align=[ top | middle | bottom | left | right | center ] (frame alignment, pick two, use comma)
frameborder=[ 1 | 0 ] (frame border, default is 1)
marginwidth=(margin width, in pixels)
marginheight=(margin height, in pixels)
scrolling=[ yes | no | auto ] (ability to scroll)
For HTML5 compatibility, I suggest you use CSS to format iframes.

http://webdesign.about.com/od/iframes/a/...nd-css.htm
(2013-03-10, 07:41 AM)effone Wrote: [ -> ]Nothing to write in between. Use this way:

<iframe name="forum" src="http://mysite.com/index.php" frameborder="0" scrolling="yes" align="top" width="100%" height="100%" marginwidth="5" marginheight="5" ></iframe>


Syntax:

<iframe>...</iframe>

Attribute Specifications to Adjust Appearance and Behavior:

src="(URL of initial iframe content)"
name="(name of frame, required for targeting)"
longdesc="(link to long description)"
width=(frame width, % or pixels)
height=(frame height, % or pixels)
align=[ top | middle | bottom | left | right | center ] (frame alignment, pick two, use comma)
frameborder=[ 1 | 0 ] (frame border, default is 1)
marginwidth=(margin width, in pixels)
marginheight=(margin height, in pixels)
scrolling=[ yes | no | auto ] (ability to scroll)

Thanks i have aded the forum in my site page but now i have a problem that the url of thread/topics in forums is not showing in url bar just shows the forum url. can you please help me? you can watch it in the pic i have attached or go at http://tekkenpassion.com/community/frm/
I also have a question, I have succesfully embeded my forum into wordpress from a long time now problems there but, if you refresh the page it refreshes the entire page and you lose whatever is in the iframe.

Is there a solution to make it so when you press refresh on the page or F5, or CTRL+R to only refresh the iframe? There must be a javascript or something to do this please enlighten me would appreciate the help.