Previous Thread
Next Thread
Print Thread
Hop To
#201622 11/18/2007 3:24 AM
Joined: Dec 2005
Posts: 122
member
OP Offline
member
Joined: Dec 2005
Posts: 122
i'm wanting to make the shoutbox external. i've copied the relevant code:

PHP Code


<?php
if (!defined('UBB_MAIN_PROGRAM')) define('UBB_MAIN_PROGRAM',1);
$style_side="";$tbopen="";$tbclose="";
echo "<table width=\"100%\">";
include("/home/webadmin/jakchat.com/html/forums/languages/english/portal_islands.php");
include("/home/webadmin/jakchat.com/html/forums/languages/english/generic.php");
include("/home/webadmin/jakchat.com/html/forums/cache/shoutbox.php");
echo "</table>";
?>



into a file called xshout.php, and have a java hyperlink to this file on the opening page of my site.

the window pops up fine, but no content! and shouts are ignored also.

any ideas?


JakChat.com -- Forums for Indonesia's English-speaking community
Ubuntu-Indonesia.com -- Forums for Indonesia's Ubuntu Users
Joined: Apr 2007
Posts: 3,940
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,940
i did a Naked Shoutbox @ ubbdev that can still be improved upon. you might want to check over there, at least for a working example of an external version.

as for your example, um... whoa.. it's hard to start on where you need to change things.. eek

Linky Poo -- to Naked (external) shoutbox. smile

SD #201636 11/18/2007 4:49 PM
Joined: Aug 2006
Posts: 1,356
Y
Veteran
Offline
Veteran
Y
Joined: Aug 2006
Posts: 1,356
Originally Posted by Sirdude
i did a Naked Shoutbox @ ubbdev that can still be improved upon.


That looks great, looking forward to it wink


[Linked Image from siemons.org]
Joined: Jul 2007
Posts: 103
member
Offline
member
Joined: Jul 2007
Posts: 103
I have the same problem. It seems that it has got something to do with referer checking. When I run my forum on a different domain (whilst they are the same site), only the main URL seems to work.

Check the shoutbox at the right on my normal ubb.

Working: http://nlforum.merudi.nl/
Not working: http://nlforum.merudi.net/

Same site, with different domains pointing to it. Any clue what is going on here? To me this seems like a bug.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
v7.7.5 Active Topics Display Name Incorrect
by Jake - 11/17/2020 4:46 PM
custom islands in forums tool
by Ruben - 11/17/2020 3:21 PM
Captcha bug maybe?
by Morgan - 11/16/2020 8:34 AM
Facebook thumbnail issue
by DBryce - 11/08/2020 7:43 PM
No hop to menu in the category pages
by Morgan - 11/05/2020 4:19 PM
Who's Online Now
1 members (JAISP), 67 guests, and 56 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5