collapse collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 157
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: SP block for Hack's Park Shoutbox.  (Read 58053 times)

0 Members and 1 Guest are viewing this topic.

Offline J-Bird

  • Semi Newbie
  • *
  • Posts: 12
Re: [Mod] SP block for Hack's Park Shoutbox.
« Reply #20 on: April 10, 2009, 08:53:41 AM »
;D  thank you h.. im sure he will be happy when you are done..  :nervous-happy:

You know I will Smoky!  8)

Offline SPARK

  • Semi Newbie
  • *
  • Posts: 16
  • Gender: Male
    • IDK GAMING
  • SMF Version: 2 RC1
  • SP Version: 2.2
Re: [Mod] SP block for Hack's Park Shoutbox.
« Reply #21 on: April 15, 2009, 08:10:28 AM »
Mmk guys this is what i did to get this working on my forum (www.idkgaming.com)(SMF 1.1.8, ShoutBox 1.2.2 and SimplePortal 2.1.1)

Follow LHVWB's  instructions except to install in a different theme first you need to copy all the files out of the Hacks Park install file into your custom themes appropriate directory.

Then copy the code below into the end of the theme's template

Hope that helps :D

The attached file should work. I only performed a single edit, I added the code below to the end of the file.

This code is a the normal Hack's Park Shoutbox  template function, with the edits made by this mod applied to it.
Code: [Select]
function template_HP_shoutBoxMain()
{
global $context, $settings, $scripturl, $txt, $HP_settings;

if (empty($context['hp_shoutbox_show']))
return;

if ($HP_settings['shoutBox']['out_noban'])
echo '
<script language="javascript" type="text/javascript" src="', $settings['theme_url'], '/HP_colorPicker.js"></script>';
echo '
<script language="javascript" type="text/javascript" src="', $settings['theme_url'], '/HP_shoutBox.js"></script>
<script language="javascript" type="text/javascript">';

if ($HP_settings['shoutBox']['out_noban'])
echo '
HP_shoutBox["lng_emos"] = "' . $txt['hs_sb_10'] . '";
HP_shoutBox["lng_sendingPost"] = "' . $txt['hs_sb_11'] . '";
HP_shoutBox["lng_empty"] = "' . $txt['hs_sb_12'] . '";
HP_shoutBox["lng_jstSending"] = "' . $txt['hs_sb_16'] . '";
HP_shoutBox["lng_sent"] = "' . $txt['hs_sb_13'] . '";
HP_shoutBox["refresh"] = ' . $HP_settings['shoutBox']['refreshShouts'] . ';
HP_shoutBox["lng_no_empty"] = "' . $txt['hs_sb_20'] . '";
HP_shoutBox["lng_empty_url"] = "' . $txt['hs_sb_21'] . '";
HP_shoutBox["lng_insert_url"] = "' . $txt['hs_sb_22'] . '";
HP_shoutBox["in_color"] = "' . $HP_settings['shoutBox']['textColor'] . '";
HP_shoutBox["in_bgcolor"] = "' . $HP_settings['shoutBox']['backgroundColor'] . '";';

echo '
HP_shoutBox["is_ie"] = ' . ($context['browser']['is_ie'] ? 'true' : 'false') . ';
</script>
<div>
<noscript><div class="windowbg" style="padding: 5px 15px 5px 10px;">' . $txt['hs_sb_2'] . '</div></noscript>
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor" style="margin-top: 1px;">';

if ($HP_settings['shoutBox']['out_noban'])
{
echo '
<tr><td class="windowbg" width="100%" align="left" colspan="2">
<form name="shoutbox" action="' . $scripturl . '" method="post" accept-charset="' . $context['character_set'] . '" onsubmit="HP_shoutBox_Post(\'' . $context['session_id'] . '\'); return false;">
<table cellpadding="0" cellspacing="0" width="100%" style="margin: 4px;">
<tr><td nowrap="nowrap" valign="middle" style="padding-right: 8px;">
<input class="smalltext" type="text" id="hp_shoutbox_imsg" name="msg" tabindex="1" maxlength="120" value="" style="font-weight: normal;color: ' . $HP_settings['shoutBox']['textColor'] . ';font-style: normal;text-decoration: none;width: ' . $HP_settings['shoutBox']['widthInputMsg'] . ';padding: 3px;border-width: 1px;border-color: ' . $HP_settings['shoutBox']['textColor'] . ';background-color: ' . $HP_settings['shoutBox']['backgroundColor'] . ';" />
<input class="smalltext" type="submit" value="' . $txt['hs_sb_13'] . '" name="send" style="padding: 2px;" /></td>
<td style="padding: 0 0 0 8px; border-left: 1px solid #9c9c9c" valign="middle" width="100%">
<div style="position: relative;padding-top: 4px;margin:0;">
<a href="javascript:void(0);" onclick="HP_shoutBox_sURL()">
<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="' . $settings['images_url'] . '/bbc/url.gif" width="23" height="22" alt="' . $txt['hs_sb_48'] . '" title="' . $txt['hs_sb_48'] . '" style="background-image: url(\'' . $settings['images_url'] . '/bbc/bbc_bg.gif\');" /></a>
<a href="javascript:void(0);" onclick="HP_shoutBox_sh(!HP_shoutBox[\'hd_emos\'], \'emos\')">
<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="' . $settings['images_url'] . '/bbc/caretos.gif" width="23" height="22" alt="' . $txt['hs_sb_10'] . '" title="' . $txt['hs_sb_10'] . '" style="background-image: url(\'' . $settings['images_url'] . '/bbc/bbc_bg.gif\');" /></a>
<a href="javascript:void(0);" onclick="HP_shoutBox_Clear()">
<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="' . $settings['images_url'] . '/bbc/clean.gif" width="23" height="22" alt="' . $txt['hs_sb_50'] . '" title="' . $txt['hs_sb_50'] . '" style="background-image: url(\'' . $settings['images_url'] . '/bbc/bbc_bg.gif\');" /></a>
<a href="javascript:void(0);" onclick="HP_shoutBox_setPro(\'n\', !HP_shoutBox[\'hd_n\']);">
<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="' . $settings['images_url'] . '/bbc/bold.gif" width="23" height="22" alt="' . $txt['hs_sb_52'] . '" title="' . $txt['hs_sb_52'] . '" style="background-image: url(\'' . $settings['images_url'] . '/bbc/bbc_bg.gif\');" /></a>
<a href="javascript:void(0);" onclick="HP_shoutBox_setPro(\'k\', !HP_shoutBox[\'hd_k\']);">
<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="' . $settings['images_url'] . '/bbc/italicize.gif" width="23" height="22" alt="' . $txt['hs_sb_53'] . '" title="' . $txt['hs_sb_53'] . '" style="background-image: url(\'' . $settings['images_url'] . '/bbc/bbc_bg.gif\');" /></a>
<a href="javascript:void(0);" onclick="HP_shoutBox_setPro(\'s\', !HP_shoutBox[\'hd_s\']);">
<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="' . $settings['images_url'] . '/bbc/underline.gif" width="23" height="22" alt="' . $txt['hs_sb_54'] . '" title="' . $txt['hs_sb_54'] . '" style="background-image: url(\'' . $settings['images_url'] . '/bbc/bbc_bg.gif\');" /></a>
<a href="javascript:void(0);" onclick="HP_shoutBox_shFace()">
<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="' . $settings['images_url'] . '/bbc/face.gif" width="23" height="22" alt="' . $txt['hs_sb_55'] . '" title="' . $txt['hs_sb_55'] . '" style="background-image: url(\'' . $settings['images_url'] . '/bbc/bbc_bg.gif\');" /></a>
<a href="javascript:void(0);" onclick="HP_colorPicker_sh(false)">
<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="' . $settings['images_url'] . '/bbc/fontcolor.gif" width="23" height="22" alt="' . $txt['hs_sb_56'] . '" title="' . $txt['hs_sb_56'] . '" style="background-image: url(\'' . $settings['images_url'] . '/bbc/bbc_bg.gif\');" /></a>
<img id="hp_shoutbox_s_color" src="' . $settings['images_url'] . '/bbc/nocolor.gif" width="18" height="18" alt="" style="background-color: #FFFFFF;border: 1px solid #b2b2b2;" />
<a href="javascript:void(0);" onclick="HP_colorPicker_sh(true)">
<img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="' . $settings['images_url'] . '/bbc/bgcolor.gif" width="23" height="22" alt="' . $txt['hs_sb_57'] . '" title="' . $txt['hs_sb_57'] . '" style="background-image: url(\'' . $settings['images_url'] . '/bbc/bbc_bg.gif\');" /></a>
<img id="hp_shoutbox_s_bgcolor" src="' . $settings['images_url'] . '/bbc/nocolor.gif" width="18" height="18" alt="" style="background-color: #FFFFFF;border: 1px solid #b2b2b2;" />
<div style="display: none; z-index: 11; position: absolute; top: 28px; left: 45px;" id="hp_shoutbox_div_face">
<table cellpadding="0" cellspacing="0" class="tborder" width="120">
<tr class="windowbg2"><td width="100%">
<a href="javascript:void(0);" onclick="HP_shoutBox_setFace(\'inherit\'); document.forms.shoutbox.msg.focus(); HP_shoutBox_shFace();" style="font-family: inherit; display: block; padding: 2px;" class="smalltext">' . $txt['hs_sb_49'] . '</a></td></tr>';

foreach (explode(';', $HP_settings['shoutBox']['msgFaces']) as $face)
echo '
<tr class="windowbg2"><td width="100%">
<a href="javascript:void(0);" onclick="HP_shoutBox_setFace(\'' . $face . '\'); document.forms.shoutbox.msg.focus(); HP_shoutBox_shFace();" style="font-family: ' . $face . ', sans-serif; display: block; padding: 2px;" class="smalltext">' . $face . '</a></td></tr>';

echo '</table></div>
<div style="display: none; z-index: 12; position: absolute; top: 28px; left: -34px;" id="hp_colorpicker_div">
<table cellpadding="4" cellspacing="0" class="tborder">
<tr class="windowbg2"><td>
<script language="javascript" type="text/javascript">HP_colorPicker_PrintBox();</script>
<img border="0" src="', $settings['images_url'], '/blank.gif" width="1" height="8" alt="" /><br />
<div style="margin:0 auto;text-align:center;"><script language="javascript" type="text/javascript">HP_colorPicker_PrintBoxGrayScale();</script></div></td>
<td align="left" valign="top" class="smalltext">
<input type="text" value="#FFFFFF" style="padding: 3px; width: 120px;" id="hp_colorpicker_input_aply" class="smalltext" /><br />
<input type="button" value="' . $txt['hs_sb_58'] . '" style="padding: 2px; margin-top: 4px" onclick="HP_shoutBox_setColor(true);" class="smalltext" /> <input type="button" value="' . $txt['hs_sb_64'] . '" style="padding: 2px; margin-top: 4px" onclick="HP_shoutBox_setColor(true, \'\');" class="smalltext" />
<br />
<br />
' . $txt['hs_sb_59'] . ':
<table cellpadding="0" cellspacing="0" border="0" style="border: 1px solid #8d8d8d; margin: 2px 0 8px 0;">
<tr><td id="hp_colorpicker_div_show" style="background-color: #FFFFFF;">
<img border="0" src="', $settings['images_url'], '/blank.gif" width="80" height="18" alt="" /></td></tr></table>
' . $txt['hs_sb_60'] . ':
<table cellpadding="0" cellspacing="0" border="0" style="border: 1px solid #8d8d8d; margin-top: 2px;">
<tr><td id="hp_colorpicker_div_select" style="background-color: #FFFFFF;">
<img border="0" src="', $settings['images_url'], '/blank.gif" width="80" height="18" alt="" /></td></tr></table></td>
</tr><tr class="windowbg"><td colspan="2" align="right"><span class="smalltext"><a href="http://www.hackspark.com/scripts/smf-colorpicker_10.0.html" title="Hack\'s Park colorPicker" target="_blank">(cc) Hack\'s Park</a></span></td></tr></table>
</div></div></td></tr></table>
<input type="hidden" value="0" name="hdn" /><input type="hidden" value="0" name="hds" /><input type="hidden" value="0" name="hdk" /><input type="hidden" value="" name="hdcolor" /><input type="hidden" value="" name="hdbgcolor" /><input type="hidden" value="" name="hdface" />';

// Smilies
echo '
<div id="hp_shoutbox_div_emos" style="display:none;margin-top:4px;text-align:center;">';

if (!empty($HP_settings['shoutBox']['out_caritas']['postform']))
{
foreach ($HP_settings['shoutBox']['out_caritas']['postform'] as $smiley_row)
foreach ($smiley_row['smileys'] as $smiley)
echo '
<a href="javascript:void(0);" onclick="replaceText(\' ', $smiley['code'], '\', document.forms.shoutbox.msg); return false;"><img src="', $settings['smileys_url'], '/', $smiley['filename'], '" align="bottom" alt="', $smiley['description'], '" title="', $smiley['description'], '" /></a>';

if (empty($smiley_row['last']))
echo '<br />';
if (!empty($HP_settings['shoutBox']['out_caritas']['popup']))
echo '
<a href="javascript:moreSmileys();">[', $txt['more_smileys'], ']</a>';
}

if (!empty($HP_settings['shoutBox']['out_caritas']['popup']))
{
echo '
<script language="JavaScript" type="text/javascript"><!-- // -->
var smileys = [';

foreach ($HP_settings['shoutBox']['out_caritas']['popup'] as $smiley_row)
{
echo '
[';
foreach ($smiley_row['smileys'] as $smiley)
{
echo '
["', $smiley['code'], '","', $smiley['filename'], '","', $smiley['js_description'], '"]';
if (empty($smiley['last']))
echo ',';
}

echo ']';
if (empty($smiley_row['last']))
echo ',';
}

echo '];
var smileyPopupWindow;

function moreSmileys()
{
var row, i;

if (smileyPopupWindow)
smileyPopupWindow.close();

smileyPopupWindow = window.open("", "add_smileys", "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=480,height=220,resizable=yes");
smileyPopupWindow.document.write(\'\n<html>\');
smileyPopupWindow.document.write(\'\n\t<head>\n\t\t<title>', $txt['more_smileys_title'], '</title>\n\t\t<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/style.css" />\n\t</head>\');
smileyPopupWindow.document.write(\'\n\t<body style="margin: 1ex;">\n\t\t<table width="100%" cellpadding="5" cellspacing="0" border="0" class="tborder">\n\t\t\t<tr class="titlebg"><td align="left">', $txt['more_smileys_pick'], '</td></tr>\n\t\t\t<tr class="windowbg"><td align="left">\');

for (row = 0; row < smileys.length; row++)
{
for (i = 0; i < smileys[row].length; i++)
{
smileys[row][i][2] = smileys[row][i][2].replace(/"/g, \'&quot;\');
smileyPopupWindow.document.write(\'<a href="javascript:void(0);" onclick="window.opener.replaceText(&quot; \' + smileys[row][i][0] + \'&quot;, window.opener.document.forms.shoutbox.msg); window.focus(); return false;"><img src="', $settings['smileys_url'], '/\' + smileys[row][i][1] + \'" alt="\' + smileys[row][i][2] + \'" title="\' + smileys[row][i][2] + \'" style="padding: 4px;" border="0" /></a> \');
}
smileyPopupWindow.document.write("<br />");
}

smileyPopupWindow.document.write(\'</td></tr>\n\t\t\t<tr><td style="margin:0 auto;text-align:center;" class="windowbg"><a href="javascript:window.close();\\">', $txt['more_smileys_close_window'], '</a></td></tr>\n\t\t</table>\n\t</body>\n</html>\');
smileyPopupWindow.document.close();
}
// ]]></script>';
}
echo '</div>';
// End - Smilies

echo '
</form></td></tr>';
} elseif ($context['user']['is_logged'])
echo '
<tr><td class="windowbg" width="100%" align="left" colspan="2">
<table cellpadding="0" cellspacing="0" width="100%" style="margin: 4px;">
<tr><td nowrap="nowrap" valign="middle" style="padding-right: 8px;" class="smalltext">
<b>' . $txt['hs_sb_85'] . ':</b> ' . $HP_settings['shoutBox']['out_banned']['reason'] . '<br />
<b>' . $txt['hs_sb_86'] . ':</b> ' . $HP_settings['shoutBox']['out_banned']['end'] . '</td></tr></table>
</td></tr>';

echo '
<tr><td class="windowbg2" width="100%" align="left" colspan="2">
<table cellpadding="0" cellspacing="0" width="100%">
<tr><td align="right" style="padding-right: 8px;">
<span class="smalltext">' . ($HP_settings['shoutBox']['out_mod'] ? '<a href="' . $scripturl . '?action=shoutbox;sa=mod" onclick="reqWin(this.href, 750, 360); HP_shoutBox_sh(!HP_shoutBox[\'hd_msgs\'], \'msgs\'); return false;">' . $txt['hs_sb_61'] . '</a> | ' : '') . '<a href="javascript:void(0);" onclick="HP_shoutBox_getMsgs();">' . $txt['hs_sb_62'] . '</a>' . ($context['user']['is_logged'] ? '  |  <a href="' . $scripturl . '?action=shoutbox" onclick="reqWin(this.href, 750, 360); HP_shoutBox_sh(!HP_shoutBox[\'hd_msgs\'], \'msgs\'); return false;">' . $txt['hs_sb_63'] . '</a>' : '') . '</span></td>
</tr></table>
<div style="padding: 0;">
<div id="hp_shoutbox_div_shouts" style="margin-top: 4px;overflow: auto;width: 99%;' . ($context['browser']['is_ie'] ? 'height: ' . $HP_settings['shoutBox']['divHeightMsgs'] . ';' : 'max-height: ' . $HP_settings['shoutBox']['divHeightMsgs'] . ';') . '">
<script language="javascript" type="text/javascript">' . ($HP_settings['shoutBox']['out_noban'] ? '
HP_shoutBox_Clear();' : '') . '
HP_shoutBox[\'timeout\'] = setTimeout("HP_shoutBox_getMsgs();", 5000);
</script>
</div></div></td></tr>
<tr class="windowbg"><td width="100%" align="left">
<div id="hp_shoutbox_div_status">
</div></td>
<td align="right" nowrap="nowrap" valign="middle">
<span class="smalltext"><a href="http://www.hackspark.com/scripts/smf-shoutbox_7.0.html" title="Hack\'s Park shoutBox" target="_blank">(cc) Hack\'s Park</a></span></td></tr></table>
</div>
</div>';
}
« Last Edit: April 15, 2009, 08:13:11 AM by spark753 »


Offline impennetrate

  • Semi Newbie
  • *
  • Posts: 11
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: SP block for Hack's Park Shoutbox.
« Reply #22 on: April 24, 2009, 09:10:13 PM »
I'm having some trouble with the shoutbox and no one on hacksparks.com is helping, I'm being blatantly ignored.

I was wondering if anyone here would know how to help?
the shoutbox works if I go to /index.php?action=shoutbox

But the shoutbox doesn't appear on any of the main pages. I'm using SMF v1.1.8 and HacksPark's shoutbox v2.0

I've put ";All" into the "pages where shoutbox will be printed" box but it hasn't helped. Anyone able to help me?

Offline J-Bird

  • Semi Newbie
  • *
  • Posts: 12
Re: [Mod] SP block for Hack's Park Shoutbox.
« Reply #23 on: April 25, 2009, 12:17:24 AM »
;D  thank you h.. im sure he will be happy when you are done..  :nervous-happy:

You know I will Smoky!  8)
Being VERY patient.  :'(

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: SP block for Hack's Park Shoutbox.
« Reply #24 on: April 25, 2009, 01:02:08 AM »
Yeah, I have been meaning to get this done. Unfortunately there have been a few other SP things that I want to get done first, and don't have much free time. :(
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline J-Bird

  • Semi Newbie
  • *
  • Posts: 12
Re: SP block for Hack's Park Shoutbox.
« Reply #25 on: April 25, 2009, 09:50:43 AM »
Yeah, I have been meaning to get this done. Unfortunately there have been a few other SP things that I want to get done first, and don't have much free time. :(

Completely Understandable

Offline xHunter

  • Newbie
  • Posts: 2
  • SMF Version: 1.1.8
  • SP Version: 2.2
Re: SP block for Hack's Park Shoutbox.
« Reply #26 on: April 29, 2009, 08:10:59 AM »
I'm using SMF 1.1.8, Simple Portal 2.2 & Hack's Park 2.0

And i really manage to put the HP Shoutbox in Simple Portal and show to all pages and working perfectly without any problems

If you want to check it here's my website link www.pinoyxpat.org

How did I manage it:

Install Simple Portal 2.2 & HP shoutbox 2.0 on SMF 1.1.8

On Simple Portal ADMIN

----> Add Block (Custom HTML)

and put this code

<iframe name="the_iframe" id="the_iframe" src="index.php?action=shoutbox" allowtransparency="true" frameborder="0" scrolling="no" width="100%" height="430"></iframe>

That's it no more no less

you can manage to show the shoutbox in your forum

Offline SPARK

  • Semi Newbie
  • *
  • Posts: 16
  • Gender: Male
    • IDK GAMING
  • SMF Version: 2 RC1
  • SP Version: 2.2
Re: SP block for Hack's Park Shoutbox.
« Reply #27 on: May 02, 2009, 05:01:37 AM »
TYVM I had just upgraded to RC1 and was looking for a shout box and this works perfectly

(I had to mod your text to the right height)


I'm using SMF 1.1.8, Simple Portal 2.2 & Hack's Park 2.0

And i really manage to put the HP Shoutbox in Simple Portal and show to all pages and working perfectly without any problems

If you want to check it here's my website link www.pinoyxpat.org

How did I manage it:

Install Simple Portal 2.2 & HP shoutbox 2.0 on SMF 1.1.8

On Simple Portal ADMIN

----> Add Block (Custom HTML)

and put this code

<iframe name="the_iframe" id="the_iframe" src="index.php?action=shoutbox" allowtransparency="true" frameborder="0" scrolling="no" width="100%" height="430"></iframe>

That's it no more no less

you can manage to show the shoutbox in your forum


Offline SPARK

  • Semi Newbie
  • *
  • Posts: 16
  • Gender: Male
    • IDK GAMING
  • SMF Version: 2 RC1
  • SP Version: 2.2
Re: SP block for Hack's Park Shoutbox.
« Reply #28 on: May 02, 2009, 09:25:53 AM »
Hmmm so now i find out its only working for me and only i can see it.

Any ideas why?

**EDIT** You have to give permission for user groups to see it.
« Last Edit: May 02, 2009, 09:51:03 AM by spark753 »


Offline xHunter

  • Newbie
  • Posts: 2
  • SMF Version: 1.1.8
  • SP Version: 2.2
Re: SP block for Hack's Park Shoutbox.
« Reply #29 on: May 03, 2009, 08:03:37 AM »
Hmmm so now i find out its only working for me and only i can see it.

Any ideas why?

**EDIT** You have to give permission for user groups to see it.

YES, definitely you have to give permissions otherwise you and your staff will only can use that SB

I'm glad that it works also to your forum

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: [Mod] SP block for Hack's Park Shoutbox.
« Reply #30 on: May 04, 2009, 06:34:27 PM »
I could try and make a SimplePortal block for the AjaxChat Integration or nneonneo's Shoutbox mods. Although it might take me a while to find the time. ;)

LHVWB, can I post the code for nneonneo's Shoutbox that I have? It works great :)

I've a better idea:
Maybe a block that could detect what shoutbox you are using and show it :P

Can I use your code of Hack'sPark for the next block I'm creating? If you don't mind of course ;)
« Last Edit: May 04, 2009, 06:43:28 PM by Blue »
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: SP block for Hack's Park Shoutbox.
« Reply #31 on: May 07, 2009, 02:38:55 AM »
Updated this for SimplePortal 2.2.

@Blue,
Its probably better to make separate blocks for each shoutbox, than a single one that can detect all of them. If you look at the 2.2 package of this mod, then you will notice that it makes important changes to the Shoutbox mods source files.  This is so that it can work as effectively as possible.

Feel free to use the block code itself if you want to make a 'detector' shoutbox block, but I'm not sure how well it would work.
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: SP block for Hack's Park Shoutbox.
« Reply #32 on: May 07, 2009, 07:35:32 AM »
I'm making the detector shoutbox block only with shoutbox itself. When I created the Ajax Chat Block and put it to work in a block, the format was all messed up and I had to change one of the source files of the Ajax Chat.

It seams that the Hack's Park Block does some big changes in the source files, nothing compared to ajax chat, that only need one source file changed and nneonneo's shoutbox doesn't need any change at all, which is great, for me :P

Well, I could had some smileys bar but that is going to be an extra like a cleaner and beautiful shoutbox for Ajax Chat. Replacing a file via FTP is not that difficult. If needed I'll do a package to install.

So, I think I'm going to focus only in Shoutbox for SMF 2.0 (currently 2: nneonneo's and Ajax Chat)

But, you have done a great work with hack's park shoutbox block :) Congrats for that eheh ;D
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline tfs

  • Jr. Member
  • **
  • Posts: 64
Re: SP block for Hack's Park Shoutbox.
« Reply #33 on: May 07, 2009, 12:10:50 PM »
So, I think I'm going to focus only in Shoutbox for SMF 2.0 (currently 2: nneonneo's and Ajax Chat)

I'm looking forward to the AJAX Chat block.  I have AJAX running, but the ability to have choices as to where to place it would be awesome.  Let me know if you need a tester.

Offline Eliana Tamerin

  • Comrade
  • *
  • Posts: 2889
  • Gender: Female
  • SMF Version: 2 RC2
  • SP Version: 2.3.2
Re: SP block for Hack's Park Shoutbox.
« Reply #34 on: May 07, 2009, 12:57:05 PM »
Let me guess, Nath, you tested this on a WAMP or XAMPP on Windows? Or on a windows server of some kind. :P

You need to rename the call to shoutbox.js so that it's in lowercase. Linux servers count Shoutbox.js and shoutbox.js as two different files.
Ms. Eliana TamerinIt should be painfully obvious by now that I don't respond to support PMs. Don't send me PMs for support. They will be ignored and deleted, post on the Support Boards to get support.

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: SP block for Hack's Park Shoutbox.
« Reply #35 on: May 07, 2009, 05:31:14 PM »
Lol, I tested it with Xampp, because my ubuntu server's mysql is playing up at the moment. I'll fix that after school. ;)
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Manu

  • Translator
  • *
  • Posts: 203
  • Gender: Female
  • Angel by Day, Devil by Night
    • Arsenie Official Forum
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: SP block for Hack's Park Shoutbox.
« Reply #36 on: May 10, 2009, 10:50:39 AM »
It seems the little error with Shoutbox.js and shoutbox.js is still in the package which is available for downloading in the download section.

I loaded down the package and when I tried to install it, I got the "Failed"-Message cause of the "S" in the install.xml. :-s


* Manu know shes annoying ppl :P
Sometimes I'm an angel, sometimes I'm a devil, but I am always 100% woman and if you have a problem with me, learn to deal with it!

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: SP block for Hack's Park Shoutbox.
« Reply #37 on: May 10, 2009, 05:26:02 PM »
Updated the package for the first post and for the downloads site.

* Nathaniel tends to forget things, reminders are always good. :P
« Last Edit: May 10, 2009, 05:28:41 PM by Nathaniel »
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline thehj

  • Semi Newbie
  • *
  • Posts: 21
  • SMF Version: 2 RC1-1
  • SP Version: 2.2.2
Re: SP block for Hack's Park Shoutbox.
« Reply #38 on: May 17, 2009, 11:35:44 AM »
thanks a lot, thumbs up

Offline FearlessG1

  • Semi Newbie
  • *
  • Posts: 5
  • SMF Version: 2 RC1
  • SP Version: 2.2.1
Re: SP block for Hack's Park Shoutbox.
« Reply #39 on: May 26, 2009, 03:09:30 PM »
sorry if this is a really stupid question but how do I install this block?  I cant find anything on installing this, or other blocks.

 

SimplePortal 2.3.7 © 2008-2021, SimplePortal