SimplePortal

Customization => Custom Coding => Topic started by: imamzw on February 04, 2014, 10:16:12 PM

Title: How to Embed SP Shoutbox to a topic post ?
Post by: imamzw on February 04, 2014, 10:16:12 PM
Since I use SimplePortal, it's so easy to use.  I have a question:

How to embed shoutbox on a topic post ? Because I want my SP shoutbox is displayed on Tapatalk App for Android while browse a specific topic.

Title: Re: How to Embed SP Shoutbox to a topic post ?
Post by: AngelinaBelle on February 12, 2014, 09:37:07 AM
I do not know anything about how tapatalk works, or how much trouble this might cause on your forum.

But I do know that you can take any template (such as the "topic=" template), and put in code for displaying a block.
You would use the "blocks in blocks" kind of code to do this, and include some conditional statement to choose to embed the block only when you want it to show up (not when the simpleportal is displayed; you don't need it in that case)

A mechanism for choosing which topic is going to have a shoutbox embedded is going to require more thought.

Please do your development on a "test" forum, not on your live forum -- things could get messy!
SimplePortal 2.3.8 © 2008-2024, SimplePortal