Calort 0 Report post Posted February 6, 2010 Hi anyone,I've installed the shoutbox called TFsBox (v. 3.2). It's perfect and works very well! I've just one doubt: how can I make more shoutboxes using same files and showing different comments depending on the shoutbox for that page?This is the package download: https://code.google.com/archive/p/tfsbox/downloadsIf it can be useful I can post the code.Thanks in advance! Share this post Link to post Share on other sites
truefusion 3 Report post Posted February 6, 2010 how can I make more shoutboxes using same files and showing different comments depending on the shoutbox for that page?I was going to make a tutorial (wiki) on how to do that, but i have been caught up on my other projects. I'm not entirely sure how to go about it (since we should start off assuming that the shoutbox is viewed through an iframe), but i was thinking mostly of making a hidden input field that stores the page you are currently viewing. How it is obtained could be through JavaScript, but i am wondering if $_SERVER['HTTP_REFERER'] will also help—if so, JavaScript would not be required for obtaining the current page. Anyway, you would store the URL along side the shout and you just modify the script even further to display shouts based on these URLs.If you do not know how to code in PHP, then i'll think about adding a similar feature built-in for version 4. Share this post Link to post Share on other sites
Calort 0 Report post Posted February 6, 2010 Hi truefusion, thanks for the reply.This is an interesting solution. I thought to create a feature that adds an option to create/delete more shoutboxes from the admin panel, through unique ids and getting html code of each one to implement relative iframes into the pages. I tried to change the code but the result was a disaster... So, i'll wait the new release with pleasure, hoping that there's this new possibility. Share this post Link to post Share on other sites