Re: Forum showing on local system but not on live site
Posted by
GregChapman on
Jun 20, 2024; 7:41am
URL: https://support.nabble.com/Forum-showing-on-local-system-but-not-on-live-site-tp7613758p7613763.html
That code is missing things too! You've munged together two separate pieces of code.
First you need the embedding code:
<a>id="nabblelink" href="http://talk-it-forum.549.s1.nabble.com/">talk-IT forum</a>
<script src="http://talk-it-forum.549.s1.nabble.com/embed/f1"></script>
Then immediately before it in the page where the forum is to appear you need the customisation code:
<script type="text/javascript">
nabble_width = "1470px";
nabble_scroll_top = true;
nabble_ignore_title = true;
</script>
However, I am surprised by the first item you have there. By default your Nabble forum will fill the width available, typically the width of the window or screen, and that depends on the size of screen and width of window your visitor is using when visiting your site.
In a text heavy site many will reduce the size of any window to around 900px to keep lines to text to around 10-12 words to make it easy to read. Forcing a forum width of 1470px will cause the forum to overflow in a most irregular way, particularly on phones and tablets.
Normally, the width setting would only be used in non-embedded forums and is much less useful these days when browsing on phones is more common.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.