Previous Thread
Next Thread
Print Thread
Hop To
#201622 11/18/2007 4:24 AM
Joined: Dec 2005
Posts: 122
member
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
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
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 5:49 PM
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
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
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
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Geoff), 377 guests, and 191 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)