Welcome to Geeklog, Anonymous Thursday, December 26 2024 @ 04:01 pm EST
Geeklog Forums
Website " messanger "
Status: offline
newyorker
Forum User
Chatty
Registered: 06/13/06
Posts: 39
Hi!
Maybe somebody have some scrypt of some messanger what I can install in centerblock on my website?
I tryed with this one,but something is wrong:
----------------------------------------------------------------------------------------------------------
<center>
<iframe name="shoutFrame" width="<{$block.iframe_width}>" src="<{$xoops_url}>/modules/shoutbox/shoutframe.php" height="<{$block.iframe_height}>" frameborder="<{$block.iframe_border}>" scrolling="yes"></iframe>
</center>
<{if $block.may_guests_post==1}>
<font color="#990000">*</font><{$block.shoutbox_anonymous}>
<{/if}>
<{if $block.shoutbox_access != "no"}>
<form name="shoutform" action="<{$xoops_url}>/modules/shoutbox/shoutframe.php" method="post" name="form style='this.style.margin=0px'" target="shoutFrame">
<{if $block.show_smileybar==1}>
<{$block.shoutbox_smibar}>
<{/if}>
<{if !$xoops_isuser && $block.guests_may_chname=='1'}>
<b><{$smarty.const._MB_SHOUTBOX_NICK}>:</b><input id="shoutnick" onFocus="shoutform.shoutnick.select();" type="text" name="username" size="18" maxlength="10" class="shttxt" value="<{$block.shoutbox_blockuser}>">
<{else if !$xoops_isuser && $block.guests_may_chname=='0'}>
<input type="hidden" name="username" value="<{$block.shoutbox_blockuser}>">
<{/if}>
<b><{$smarty.const._MB_SHOUTBOX_SHOUT_TITLE}>:</b>
<input type="text" id="shoutfield" name="shouttext" size="18" maxlength="250">
<input type="hidden" name="myid" value="<{$block.shoutbox_myid}>">
<input type="submit" value="<{$smarty.const._MB_SHOUTBOX_SHOUT}>"></font>
<{if $xoops_isadmin}>
<input type="submit" name="clear" value="<{$smarty.const._MB_SHOUTBOX_CLEAR}>">
<{/if}>
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-top: 1px solid #8B898B; border-left: 1px solid #8B898B; border-right: 1px solid #000000; border-bottom: 1px solid #000000;padding-left: 2px; padding-right: 2px; padding-bottom: 2px; font-size: x-small">
<tr>
<td valign="bottom">
<a href="<{$xoops_url}>/modules/shoutbox/shoutframe.php" target="shoutFrame"><{$smarty.const._MB_SHOUTBOX_REFRESH}></a>
<{if $block.popup==1}>
<a href="javascriptpenWithSelfMain('<{$xoops_url}>/modules/shoutbox/popup.php','<{$smarty.const._MB_SHOUTBOX_TITLE}>',500,340);"><{$smarty.const._MB_SHOUTBOX_POPUP}></a>
<{/if}>
</td>
<{if $block.block_autorefresh==1}>
<td valign="top" align="right">
<b><{$smarty.const._MB_SHOUTBOX_AUTOREFRESH}></b>
<input id="shoutrefresh" type="checkbox" name="shoutrefresh" value="checkbox" onchange="parent.shoutFrame.location.reload();">
<select id="refreshtime" name="refreshtime">
<option value="10000">10 s</option>
<option value="20000" selected="selected">20 s</option>
<option value="40000">40 s</option>
<option value="60000">60 s</option>
<option value="120000">120 s</option>
</select>
</td>
<{/if}>
</tr>
</table>
<{if $block.allow_bbcode==1}>
<i><{$smarty.const._MB_SHOUTBOX_BBCODEON}></i>
<{else}>
<i><{$smarty.const._MB_SHOUTBOX_BBCODEOFF}></i>
<{/if}>
</form>
<{/if}>
---------------------------------------------------------------------------------------------------
Can somebody fix it?
Maybe somebody have some scrypt of some messanger what I can install in centerblock on my website?
I tryed with this one,but something is wrong:
----------------------------------------------------------------------------------------------------------
<center>
<iframe name="shoutFrame" width="<{$block.iframe_width}>" src="<{$xoops_url}>/modules/shoutbox/shoutframe.php" height="<{$block.iframe_height}>" frameborder="<{$block.iframe_border}>" scrolling="yes"></iframe>
</center>
<{if $block.may_guests_post==1}>
<font color="#990000">*</font><{$block.shoutbox_anonymous}>
<{/if}>
<{if $block.shoutbox_access != "no"}>
<form name="shoutform" action="<{$xoops_url}>/modules/shoutbox/shoutframe.php" method="post" name="form style='this.style.margin=0px'" target="shoutFrame">
<{if $block.show_smileybar==1}>
<{$block.shoutbox_smibar}>
<{/if}>
<{if !$xoops_isuser && $block.guests_may_chname=='1'}>
<b><{$smarty.const._MB_SHOUTBOX_NICK}>:</b><input id="shoutnick" onFocus="shoutform.shoutnick.select();" type="text" name="username" size="18" maxlength="10" class="shttxt" value="<{$block.shoutbox_blockuser}>">
<{else if !$xoops_isuser && $block.guests_may_chname=='0'}>
<input type="hidden" name="username" value="<{$block.shoutbox_blockuser}>">
<{/if}>
<b><{$smarty.const._MB_SHOUTBOX_SHOUT_TITLE}>:</b>
<input type="text" id="shoutfield" name="shouttext" size="18" maxlength="250">
<input type="hidden" name="myid" value="<{$block.shoutbox_myid}>">
<input type="submit" value="<{$smarty.const._MB_SHOUTBOX_SHOUT}>"></font>
<{if $xoops_isadmin}>
<input type="submit" name="clear" value="<{$smarty.const._MB_SHOUTBOX_CLEAR}>">
<{/if}>
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-top: 1px solid #8B898B; border-left: 1px solid #8B898B; border-right: 1px solid #000000; border-bottom: 1px solid #000000;padding-left: 2px; padding-right: 2px; padding-bottom: 2px; font-size: x-small">
<tr>
<td valign="bottom">
<a href="<{$xoops_url}>/modules/shoutbox/shoutframe.php" target="shoutFrame"><{$smarty.const._MB_SHOUTBOX_REFRESH}></a>
<{if $block.popup==1}>
<a href="javascriptpenWithSelfMain('<{$xoops_url}>/modules/shoutbox/popup.php','<{$smarty.const._MB_SHOUTBOX_TITLE}>',500,340);"><{$smarty.const._MB_SHOUTBOX_POPUP}></a>
<{/if}>
</td>
<{if $block.block_autorefresh==1}>
<td valign="top" align="right">
<b><{$smarty.const._MB_SHOUTBOX_AUTOREFRESH}></b>
<input id="shoutrefresh" type="checkbox" name="shoutrefresh" value="checkbox" onchange="parent.shoutFrame.location.reload();">
<select id="refreshtime" name="refreshtime">
<option value="10000">10 s</option>
<option value="20000" selected="selected">20 s</option>
<option value="40000">40 s</option>
<option value="60000">60 s</option>
<option value="120000">120 s</option>
</select>
</td>
<{/if}>
</tr>
</table>
<{if $block.allow_bbcode==1}>
<i><{$smarty.const._MB_SHOUTBOX_BBCODEON}></i>
<{else}>
<i><{$smarty.const._MB_SHOUTBOX_BBCODEOFF}></i>
<{/if}>
</form>
<{/if}>
---------------------------------------------------------------------------------------------------
Can somebody fix it?
10
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Just two notes:
Most people here won't be willing to weed through a huge portion of code just like that. Especially if you don't even tell them what it does or what's wrong.
And on top of that, the forum strips out certain HTML tags so that what you posted won't work anyway. Use the forum's CODE tags to secure portions of code from being damaged.
bye, Dirk
P.S. Oh, and this code seems to rely on some sort of templating system that's not compatible with Geeklog's. So it's unlikely to work in Geeklog without a massive rewrite ...
Most people here won't be willing to weed through a huge portion of code just like that. Especially if you don't even tell them what it does or what's wrong.
And on top of that, the forum strips out certain HTML tags so that what you posted won't work anyway. Use the forum's CODE tags to secure portions of code from being damaged.
bye, Dirk
P.S. Oh, and this code seems to rely on some sort of templating system that's not compatible with Geeklog's. So it's unlikely to work in Geeklog without a massive rewrite ...
10
8
Quote
All times are EST. The time is now 04:01 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content