vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [HTL] & [Normal] Shoutbox Hack - 1.03d (https://vborg.vbsupport.ru/showthread.php?t=59985)

Red Blaze 03-25-2004 02:50 PM

Quote:

Originally Posted by sabret00the
i seem to have an issue where only admins can shout?

keep on getting a message about "your usergroup doesn't have permission"

You did set the permissions for usergroups, right? Double check the permissions.

sabret00the 03-25-2004 05:47 PM

yep double and triple checked the permissions.

Red Blaze 03-25-2004 08:35 PM

Hm... it's out of my control then. I'm still having my issue unresolved. I don't want guests making shouts or edit/delete peoples shouts.

sabret00the 03-25-2004 11:52 PM

Quote:

Originally Posted by Sonikku
Hm... it's out of my control then. I'm still having my issue unresolved. I don't want guests making shouts or edit/delete peoples shouts.

for your issue make sure heirachy mode is set at #1

i would say that's the biggest flaw in this hack, their doesn't need to be #1 or #2 just write next to them waht they are, apart from that awesome hacks, if i get time tomorrow i'll mod the templates and release em in this thread :)

Red Blaze 03-26-2004 04:22 AM

It is set on one. I honestly don't understand the heirachy mode feature myself. I still have the problem. =/

sabret00the 03-26-2004 10:37 AM

alternative "shoutbox" template

HTML Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head><title>$vboptions[bbtitle] - $vbphrase[shoutbox_shoutbox]</title>
$headinclude
$headinsert
<!--<script language="JavaScript" src="vbcode.js"></script>-->
</head>

<body$onload>
$header
$navbar
<table cellpadding="2" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center">
<tr>

<td width="50%" align="left">
$pagenav
</td>

<td width="50%" align="right"><normalfont><a href="javascript:window.location=window.location">$vbphrase[shoutbox_reload]</a></normalfont></td>
</tr>
</table>

<br/>



<table cellspacing="0" border="0">
<tr>
<td width="49%" valign="top" align="left">



<table cellspacing="0" border="0" class="" width="$stylevar[tablewidth]" align="center">
<tr>
<td width="50%" valign="top" class="">
<table cellpadding="5" cellspacing="1" border="0" width="100%">
<tr>
<td class="thead" width="100%" valign="top">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('shoutbox_shoutbits')"><img id="collapseimg_shoutbox_shoutbits" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_shoutbox_shoutbits].gif" alt="" border="0" /></a>
<normalfont><b>$vbphrase[shoutbox_the_shoutbox_at] $datetime $successand++++</b></normalfont></td>
</tr>
</table>

<table cellpadding="0" cellspacing="1" border="0" width="100%" class="">
<tbody id="collapseobj_shoutbox_shoutbits" style="$vbcollapse[collapseobj_shoutbox_shoutbits]">
$shoutbits
</tbody>
</table>

<table cellpadding="3" cellspacing="3" border="0" width="100%">
<tr>
<td width="50%" valign="top" class="">
<table cellpadding="5" cellspacing="1" border="0" width="100%">
<tr>
<td class="thead" width="100%" valign="top">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('shoutbox_options')"><img id="collapseimg_shoutbox_options" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_shoutbox_options].gif" alt="" border="0" /></a>
<normalfont><b>$vbphrase[shoutbox_shoutbox_options]</b></normalfont></td>
</tr>
</table>

<table class="alt1" cellpadding="3" cellspacing="3" border="0" width="100%">
<tbody id="collapseobj_shoutbox_options" style="$vbcollapse[collapseobj_shoutbox_options]">
<tr class="alt1">
<td class="alt1">
<if condition="$vboptions['shoutbox_enableuserview'] == 1 || $vboptions['shoutbox_enableusernoview'] == 1 || $vboptions['shoutbox_allowdatebegin'] == 1 || $vboptions['shoutbox_allowdatecutoff'] == 1 || $vboptions['shoutbox_allowshoutsperpage'] == 1"> <form action="shoutbox.php" method="post" name="vbform">
<if condition="$vboptions['shoutbox_enableuserview'] == 1">$vbphrase[shoutbox_shouts_by_user] <input type="text" class="bginput" name="username" value="$username" size="40" maxlength="85" tabindex="4" /><br></if><if condition="$vboptions['shoutbox_enableuserview'] == 1">$vbphrase[shoutbox_exclude_shouts_by_user] <input type="text" class="bginput" name="nousername" value="$nousername" size="40" maxlength="85" tabindex="5" /><br></if><if condition="$vboptions['shoutbox_allowdatecutoff'] == 1"><phrase 1="<input type='text' class='bginput' name='datecutoff' value='$datecutoff' size='5' maxlength='5' tabindex='6' />">$vbphrase[shoutbox_shouted_in_the_last_x_days]</phrase><br></if><if condition="$vboptions['shoutbox_allowdatebegin'] == 1"><phrase 1="<input type='text' class='bginput' name='datebegin' value='$datebegin' size='5' maxlength='5' tabindex='7' />">$vbphrase[shoutbox_shout_in_the_last_x_days_ago]</phrase><br></if><if condition="$vboptions['shoutbox_allowshoutsperpage'] == 1">$vbphrase[shoutbox_shouts_per_page] <input type="text" class="bginput" name="perpage" value="$perpage" size="5" maxlength="5" tabindex="8" /><br></if><input type="submit" name="go" value="$vbphrase[shoutbox_go]" class="bginput" tabindex="9" accesskey="g"></form></if>
</td>
</tr>
</tbody>
</table>

</td>
</tr>
</table>

</td>


<!-- ---------------------------- -->


<td width="2%" valign="top" align="center"></td>


<!-- ---------------------------- -->


<td width="49%" valign="top">

<if condition="$vboptions['shoutbox_showstats'] == 1">
<table cellpadding="5" cellspacing="0" border="0" width="100%">
<tr>
<td class="thead" width="100%" valign="top">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('shoutbox_stats')"><img id="collapseimg_shoutbox_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_shoutbox_stats].gif" alt="" border="0" /></a>
<normalfont><b>$vbphrase[shoutbox_shoutbox_stats]</b></normalfont></td>
</tr>
</table>

<table cellpadding="5" cellspacing="0" border="0" width="100%">
<tbody id="collapseobj_shoutbox_stats" style="$vbcollapse[collapseobj_shoutbox_stats]">
<tr class="alt1">
<td width="80%" valign="middle"><normalfont><b>$vbphrase[shoutbox_shoutbox_stats_total_shouts]</b></normalfont></td>
<td width="20%" valign="middle" align="right"><normalfont>$totalshouts</normalfont></td>
</tr>

<tr class="alt2">
<td width="80%" valign="middle"><normalfont><b>$vbphrase[shoutbox_shoutbox_stats_shouts_today]</b></normalfont></td>
<td width="20%" valign="middle" align="right"><normalfont>$todayshouts</normalfont></td>
</tr>

<tr class="alt1">
<td width="80%" valign="middle"><normalfont><b>$vbphrase[shoutbox_shoutbox_stats_last_24_hours]</b></normalfont></td>
<td width="20%" valign="middle" align="right"><normalfont>$twentyfourhourshouts</normalfont></td>
</tr>

<tr class="alt2">
<td width="80%" valign="middle"><normalfont><b>$vbphrase[shoutbox_shoutbox_stats_your_shouts]</b></normalfont></td>
<td width="20%" valign="middle" align="right"><normalfont>$usershouts</normalfont></td>
</tr>
</tbody>
</table>
</if>


<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td class="" width="100%">
<br/><br/>
<if condition="$vboptions['shoutbox_allownewshouts'] != 1"><br/><center><normalfont><b>$vboptions[shoutbox_closereason]</b></normalfont></center><br/><else /><if condition="$SHOUTBOX_PERMS['shoutpost'] == 1"><table cellpadding="5" cellspacing="0" border="0" width="100%" class="">
<form action="shoutbox.php" name="vbform" method="post" onsubmit="return validatePost(this, 0, $vboptions[postminchars], $vboptions[postmaxchars]);" onreset="vB_RESET(this);">
<input type="hidden" name="do" value="addshout">

<tr>
<td class="thead" width="100%">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('shoutbox_shout')"><img id="collapseimg_shoutbox_shout" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_shoutbox_shout].gif" alt="" border="0" /></a>
<normalfont class="thead"><b>$vbphrase[shoutbox_add_new_shout]</b></normalfont></td>
</tr>
</table>
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="alt1">

<tbody id="collapseobj_shoutbox_shout" style="$vbcollapse[collapseobj_shoutbox_shout]">
<tr class=""><td width=100%>
<if condition="$bbuserinfo['usergroupid'] == 1 && $SHOUTBOX_PERMS['shoutpost'] == 1">Nickname: <input type="text" class="bginput" name="shoutusername" value="" size="40" maxlength="<if condition="$vboptions['maxuserlength'] != 0">$vboptions[maxuserlength]</if>" tabindex="1" /><br /></if>
<if condition="$vboptions['shoutbox_usestandardtextarea'] == 1">
<textarea name="message" rows="15" cols="75" style="width:100%; height:250px" wrap="virtual" tabindex="2"></textarea><else />
$messagearea
</if>
</td></tr></table></td></tr></table>
<table cellpadding="8" cellspacing="0" border="0" width="100%">
<tr class="">
<td width="100%" align="center"><smallfont><b>[ <if condition="$vboptions['shoutbox_allowsmilies'] == 1"><phrase 1="<a href='misc.php?$session[sessionurl]do=showsmilies' class='small' target='_blank'>" 2="$vbphrase[shoutbox_enabled]" 3="</a>">$vbphrase[shoutbox_smilies_enabled_disabled]</phrase><else /><phrase 1="" 2="$vbphrase[shoutbox_disabled]" 3="">$vbphrase[shoutbox_smilies_enabled_disabled]</phrase></if> - <if condition="$vboptions['shoutbox_allowbbcode'] == 1"><phrase 1="<a href='misc.php?$session[sessionurl]do=bbcode' class='small' target='_blank'>" 2="$vbphrase[shoutbox_enabled]" 3="</a>">$vbphrase[shoutbox_vbcode_enabled_disabled]</phrase><else /><phrase 1="" 2="$vbphrase[shoutbox_disabled]" 3="">$vbphrase[shoutbox_vbcode_enabled_disabled]</phrase></if> - <if condition="$vboptions['shoutbox_allowimage'] == 1"><phrase 1="<a href='misc.php?$session[sessionurl]do=bbcode#imgcode' class='small' target='_blank'>" 2="$vbphrase[shoutbox_enabled]" 3="</a>">$vbphrase[shoutbox_imgcode_enabled_disabled]</phrase><else /><phrase 1="" 2="$vbphrase[shoutbox_disabled]" 3="">$vbphrase[shoutbox_imgcode_enabled_disabled]</phrase></if> - <if condition="$vboptions['shoutbox_allowhtml'] == 1"><phrase 1="" 2="$vbphrase[shoutbox_enabled]" 3="">$vbphrase[shoutbox_html_enabled_disabled]</phrase><else /><phrase 1="" 2="$vbphrase[shoutbox_disabled]" 3="">$vbphrase[shoutbox_html_enabled_disabled]</phrase></if> ]</b></smallfont>
<br/></td>
</tr>

<tr class="">
<td width="100%"><input type="submit" name="comment_submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" tabindex="3" accesskey="s"></form></td>
</tr>

</form>
</tbody>
</table> <else /><br/><center><normalfont><b>$vbphrase[shoutbox_noshoutperms]</b></normalfont></center><br/></if></if><br/>
<br/>

<if condition="$vboptions['shoutbox_showtopshouters'] == 1">
<table cellpadding="5" border="0" width="100%">
<tr>
<td class="thead" width="100%">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('shoutbox_topshouters')"><img id="collapseimg_shoutbox_topshouters" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_shoutbox_topshouters].gif" alt="" border="0" /></a>
<normalfont><b>$vbphrase[shoutbox_shoutbox_leaderboard]</b></normalfont></td>
</tr>
</table>

<table cellpadding="5" cellspacing="0" border="0" width="100%">
<tbody id="collapseobj_shoutbox_topshouters" style="$vbcollapse[collapseobj_shoutbox_topshouters]">
$topshouterbits
</tbody>
</table>
</if>
</td>
</tr>
</table>
</td>
</tr>
</table>


</td>
</tr>
</table>

<!-- <table cellpadding="3" cellspacing="3" border="0" width="100%"> -->

<!-- </table> -->

<table cellpadding="2" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center">
<tr>

<td width="50%" align="left">
$pagenav
</td>

</tr>
</table>

</td>

<td width="2%" class="">&nbsp;</td>

<td width="48%" valign="top" class="">
<!-- ---------------------------- -->


<br/>
<center>$shoutbox_copyright</center>
$footer
</body>
</html>

if you're like me and have borders around your .page template this is a neccessity.

BarBeQue 03-26-2004 08:41 PM

I can't get this hack to install :(
Did a manuall install, and first get the tables forked because after 3 weeks there is still a broken sql file that lacks an ' in it :(
Fixed that but then the 2nd file forked as well

It seems that it contains the line:
INSERT INTO phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'shoutbox_shoutbox_leaderboard', 'Shoutbox Leaderboard', '153');
twice in the phases.sql file, resulting in a duplicate SQL error :(
Now i don't know what got done from that file and what didn't
Tried to manually c/p the other lines but it seems there are more duplicate lines in it.

I kinda give up on this hack, cause the other 2 files prolly will fork as well and cleaning up the forked tables isn't fun

Looked like a great hack, but sloppy port from htl to txt..... not installing unfortunately

BarBeQue 03-26-2004 08:59 PM

There were over 25 duplicate entries in phases.sql.....

Am i the only one here who has a problem with this?

BarBeQue 03-26-2004 09:02 PM

Error

There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Unknown Punctuation String @ 385
STR: =\
SQL: INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('shoutbox_hierarchymode', 'shoutbox', '1', '1', '<span class=\"smallfont\" style=\"white-space:nowrap\"> <label for=\"hierarchy1\"><input type=\"radio\" name=\"setting[$settingid]\" id=\"hierarchy1\" value=\"1\" tabindex=\"1\"" . iif($setting['value'] == 1, ' checked=\"checked\"') . " />INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('shoutbox_shoutonforumhome', 'shoutbox', 'input', 'Input', '<span class=\"smallfont\" style=\"white-space:nowrap\"> <label for=\"sofh1\"><input type=\"radio\" name=\"setting[$settingid]\" id=\"sofh1\" value=\"none\" tabindex=\"1\"" . iif($setting['value'] == none, ' checked=\"checked\"') . " />None</label><br /> <label for=\"sofh2\"><input type=\"radio\" name=\"setting[$settingid]\" id=\"sofh2\" value=\"input\" tabindex=\"2\"" . iif($setting['value'] == input, ' checked=\"checked\"') . " />Input Box</label><br /> <label for=\"sofh3\"><input type=\"radio\" name=\"setting[$settingid]\" id=\"sofh3\" value=\"textarea\" tabindex=\"3\"" . iif($setting['value'] == textarea, ' checked=\"checked\"') . " />Textarea</label><br /> </span>', '24', '0', '0');
INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('shoutbox_maxunregshouts', 'shoutbox', '0', '0', '', '25', '0', '0');
INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('shoutbox_shoutminchars', 'shoutbox', '0', '5', '', '26', '0', '0');
INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('shoutbox_shoutcharlimit', 'shoutbox', '0', '0', '', '27', '0', '0');
INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('shoutbox_iframe', 'shoutbox', '0', '1', 'yesno', '28', '0', '0');
INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('shoutbox_iframe_metarefresh', 'shoutbox', '90', '90', '', '29', '0', '0');
INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('shoutbox_usestandardtextarea', 'shoutbox', '1', '1', 'yesno', '30', '0', '0');
SQL-query :

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('shoutbox_hierarchymode', 'shoutbox', '1', '1', ' Documentation] ยท [Back]

That's sql file #3....

/me gives up...

ChurchMedia 03-28-2004 03:51 AM

Quote:

Originally Posted by ChurchMedia
Sorry if this was posted already -- can't find it. Phrases are not showing up on forum home. shoutbox.php is fine.

Any ideas?


Great hack, BTW! :)

DOH! I missed the $phrasegroups change. My bad -- Thanks!

djohn 03-28-2004 07:57 AM

Can't somebody ever help me please?
I get this error in the status bar, when i go to shoutbox main page:
Code:

Line:  298
Char: 1
Error: Object expected
Code:0
URL: http://www.site.com/forums/shoutbox.php?


Vampireli0 03-28-2004 10:04 AM

great shoutbox! got it installed with HTL without any problems

wolfstream 03-28-2004 07:26 PM

Excellent hack!

tides 03-28-2004 07:34 PM

Quote:

Originally Posted by sabret00the
alternative "shoutbox" template

if you're like me and have borders around your .page template this is a neccessity.

Your code still has a bug, got it fixed :D
It should be working fine if you have a table outside the whole forum.
See the bug in jaliam's post here.

HTML Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head><title>$vboptions[bbtitle] - $vbphrase[shoutbox_shoutbox]</title>
$headinclude
$headinsert
<!--<script language="JavaScript" src="vbcode.js"></script>-->
</head>

<body$onload>
$header
$navbar
<table cellpadding="2" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center">
<tr>

<td width="50%" align="left">
$pagenav
</td>

<td width="50%" align="right"><normalfont><a href="java_script_:window.location=window.location">$vbphrase[shoutbox_reload]</a></normalfont></td>
</tr>
</table>

<br/>



<table cellspacing="0" border="0">
<tr>
<td width="49%" valign="top" align="left">



<table cellspacing="0" border="0" class="" width="$stylevar[tablewidth]" align="center">
<tr>
<td width="50%" valign="top" class="">
<table cellpadding="5" cellspacing="1" border="0" width="100%">
<tr>
<td class="thead" width="100%" valign="top">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('shoutbox_shoutbits')"><img id="collapseimg_shoutbox_shoutbits" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_shoutbox_shoutbits].gif" alt="" border="0" /></a>
<normalfont><b>$vbphrase[shoutbox_the_shoutbox_at] $datetime $successand++++</b></normalfont></td>
</tr>
</table>

<table cellpadding="0" cellspacing="1" border="0" width="100%" class="">
<tbody id="collapseobj_shoutbox_shoutbits" style="$vbcollapse[collapseobj_shoutbox_shoutbits]">
$shoutbits
</tbody>
</table>

<table cellpadding="3" cellspacing="3" border="0" width="100%">
<tr>
<td width="50%" valign="top" class="">
<table cellpadding="5" cellspacing="1" border="0" width="100%">
<tr>
<td class="thead" width="100%" valign="top">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('shoutbox_options')"><img id="collapseimg_shoutbox_options" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_shoutbox_options].gif" alt="" border="0" /></a>
<normalfont><b>$vbphrase[shoutbox_shoutbox_options]</b></normalfont></td>
</tr>
</table>

<table class="alt1" cellpadding="3" cellspacing="3" border="0" width="100%">
<tbody id="collapseobj_shoutbox_options" style="$vbcollapse[collapseobj_shoutbox_options]">
<tr class="alt1">
<td class="alt1">
<if condition="$vboptions['shoutbox_enableuserview'] == 1 || $vboptions['shoutbox_enableusernoview'] == 1 || $vboptions['shoutbox_allowdatebegin'] == 1 || $vboptions['shoutbox_allowdatecutoff'] == 1 || $vboptions['shoutbox_allowshoutsperpage'] == 1"> <form action="shoutbox.php" method="post" name="vbform">
<if condition="$vboptions['shoutbox_enableuserview'] == 1">$vbphrase[shoutbox_shouts_by_user] <input type="text" class="bginput" name="username" value="$username" size="40" maxlength="85" tabindex="4" /><br></if><if condition="$vboptions['shoutbox_enableuserview'] == 1">$vbphrase[shoutbox_exclude_shouts_by_user] <input type="text" class="bginput" name="nousername" value="$nousername" size="40" maxlength="85" tabindex="5" /><br></if><if condition="$vboptions['shoutbox_allowdatecutoff'] == 1"><phrase 1="<input type='text' class='bginput' name='datecutoff' value='$datecutoff' size='5' maxlength='5' tabindex='6' />">$vbphrase[shoutbox_shouted_in_the_last_x_days]</phrase><br></if><if condition="$vboptions['shoutbox_allowdatebegin'] == 1"><phrase 1="<input type='text' class='bginput' name='datebegin' value='$datebegin' size='5' maxlength='5' tabindex='7' />">$vbphrase[shoutbox_shout_in_the_last_x_days_ago]</phrase><br></if><if condition="$vboptions['shoutbox_allowshoutsperpage'] == 1">$vbphrase[shoutbox_shouts_per_page] <input type="text" class="bginput" name="perpage" value="$perpage" size="5" maxlength="5" tabindex="8" /><br></if><input type="submit" name="go" value="$vbphrase[shoutbox_go]" class="bginput" tabindex="9" accesskey="g"></form></if>
</td>
</tr>
</tbody>
</table>

</td>
</tr>
</table>

</td>


<!-- ---------------------------- -->


<td width="2%" valign="top" align="center"></td>


<!-- ---------------------------- -->


<td width="49%" valign="top">

<if condition="$vboptions['shoutbox_showstats'] == 1">
<table cellpadding="5" cellspacing="0" border="0" width="100%">
<tr>
<td class="thead" width="100%" valign="top">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('shoutbox_stats')"><img id="collapseimg_shoutbox_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_shoutbox_stats].gif" alt="" border="0" /></a>
<normalfont><b>$vbphrase[shoutbox_shoutbox_stats]</b></normalfont></td>
</tr>
</table>

<table cellpadding="5" cellspacing="0" border="0" width="100%">
<tbody id="collapseobj_shoutbox_stats" style="$vbcollapse[collapseobj_shoutbox_stats]">
<tr class="alt1">
<td width="80%" valign="middle"><normalfont><b>$vbphrase[shoutbox_shoutbox_stats_total_shouts]</b></normalfont></td>
<td width="20%" valign="middle" align="right"><normalfont>$totalshouts</normalfont></td>
</tr>

<tr class="alt2">
<td width="80%" valign="middle"><normalfont><b>$vbphrase[shoutbox_shoutbox_stats_shouts_today]</b></normalfont></td>
<td width="20%" valign="middle" align="right"><normalfont>$todayshouts</normalfont></td>
</tr>

<tr class="alt1">
<td width="80%" valign="middle"><normalfont><b>$vbphrase[shoutbox_shoutbox_stats_last_24_hours]</b></normalfont></td>
<td width="20%" valign="middle" align="right"><normalfont>$twentyfourhourshouts</normalfont></td>
</tr>

<tr class="alt2">
<td width="80%" valign="middle"><normalfont><b>$vbphrase[shoutbox_shoutbox_stats_your_shouts]</b></normalfont></td>
<td width="20%" valign="middle" align="right"><normalfont>$usershouts</normalfont></td>
</tr>
</tbody>
</table>
</if>


<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td class="" width="100%">
<br/><br/>
<if condition="$vboptions['shoutbox_allownewshouts'] != 1"><br/><center><normalfont><b>$vboptions[shoutbox_closereason]</b></normalfont></center><br/><else /><if condition="$SHOUTBOX_PERMS['shoutpost'] == 1"><table cellpadding="5" cellspacing="0" border="0" width="100%" class="">
<form action="shoutbox.php" name="vbform" method="post" onsubmit="return validatePost(this, 0, $vboptions[postminchars], $vboptions[postmaxchars]);" onreset="vB_RESET(this);">
<input type="hidden" name="do" value="addshout">

<tr>
<td class="thead" width="100%">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('shoutbox_shout')"><img id="collapseimg_shoutbox_shout" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_shoutbox_shout].gif" alt="" border="0" /></a>
<normalfont class="thead"><b>$vbphrase[shoutbox_add_new_shout]</b></normalfont></td>
</tr>
</table>
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="alt1">

<tbody id="collapseobj_shoutbox_shout" style="$vbcollapse[collapseobj_shoutbox_shout]">
<tr class=""><td width=100%>
<if condition="$bbuserinfo['usergroupid'] == 1 && $SHOUTBOX_PERMS['shoutpost'] == 1">Nickname: <input type="text" class="bginput" name="shoutusername" value="" size="40" maxlength="<if condition="$vboptions['maxuserlength'] != 0">$vboptions[maxuserlength]</if>" tabindex="1" /><br /></if>
<if condition="$vboptions['shoutbox_usestandardtextarea'] == 1">
<textarea name="message" rows="15" cols="75" style="width:100%; height:250px" wrap="virtual" tabindex="2"></textarea><else />
$messagearea
</if>
</td></tr></table></td></tr></table>
<table cellpadding="8" cellspacing="0" border="0" width="100%">
<tr class="">
<td width="100%" align="center"><smallfont><b>[ <if condition="$vboptions['shoutbox_allowsmilies'] == 1"><phrase 1="<a href='misc.php?$session[sessionurl]do=showsmilies' class='small' target='_blank'>" 2="$vbphrase[shoutbox_enabled]" 3="</a>">$vbphrase[shoutbox_smilies_enabled_disabled]</phrase><else /><phrase 1="" 2="$vbphrase[shoutbox_disabled]" 3="">$vbphrase[shoutbox_smilies_enabled_disabled]</phrase></if> - <if condition="$vboptions['shoutbox_allowbbcode'] == 1"><phrase 1="<a href='misc.php?$session[sessionurl]do=bbcode' class='small' target='_blank'>" 2="$vbphrase[shoutbox_enabled]" 3="</a>">$vbphrase[shoutbox_vbcode_enabled_disabled]</phrase><else /><phrase 1="" 2="$vbphrase[shoutbox_disabled]" 3="">$vbphrase[shoutbox_vbcode_enabled_disabled]</phrase></if> - <if condition="$vboptions['shoutbox_allowimage'] == 1"><phrase 1="<a href='misc.php?$session[sessionurl]do=bbcode#imgcode' class='small' target='_blank'>" 2="$vbphrase[shoutbox_enabled]" 3="</a>">$vbphrase[shoutbox_imgcode_enabled_disabled]</phrase><else /><phrase 1="" 2="$vbphrase[shoutbox_disabled]" 3="">$vbphrase[shoutbox_imgcode_enabled_disabled]</phrase></if> - <if condition="$vboptions['shoutbox_allowhtml'] == 1"><phrase 1="" 2="$vbphrase[shoutbox_enabled]" 3="">$vbphrase[shoutbox_html_enabled_disabled]</phrase><else /><phrase 1="" 2="$vbphrase[shoutbox_disabled]" 3="">$vbphrase[shoutbox_html_enabled_disabled]</phrase></if> ]</b></smallfont>
<br/></td>
</tr>

<tr class="">
<td width="100%"><input type="submit" name="comment_submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" tabindex="3" accesskey="s"></form></td>
</tr>

</form>
</tbody>
</table> <else /><br/><center><normalfont><b>$vbphrase[shoutbox_noshoutperms]</b></normalfont></center><br/></if></if><br/>
<br/>

<if condition="$vboptions['shoutbox_showtopshouters'] == 1">
<table cellpadding="5" border="0" width="100%">
<tr>
<td class="thead" width="100%">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('shoutbox_topshouters')"><img id="collapseimg_shoutbox_topshouters" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_shoutbox_topshouters].gif" alt="" border="0" /></a>
<normalfont><b>$vbphrase[shoutbox_shoutbox_leaderboard]</b></normalfont></td>
</tr>
</table>

<table cellpadding="5" cellspacing="0" border="0" width="100%">
<tbody id="collapseobj_shoutbox_topshouters" style="$vbcollapse[collapseobj_shoutbox_topshouters]">
$topshouterbits
</tbody>
</table>
</if>
</td>
</tr>
</table>
</td>
</tr>
</table>


</td>
</tr>
</table>

<!-- <table cellpadding="3" cellspacing="3" border="0" width="100%"> -->

<!-- </table> -->

<table cellpadding="2" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center">
<tr>

<td width="50%" align="left">
$pagenav
</td>

</tr>
</table>
<center>$shoutbox_copyright</center>
$footer
</body>
</html>


saint_seiya 03-28-2004 10:12 PM

Ok, well I installed the SB3 with the HTL way.

I installed it with no hitches and www.vgcity.com/subdomains/forums/shoutbox.php works perfectly fine, all of the options are set to their defaults or on.

The problem is, it does not show up on the forumhome at ALL.

i had no errors during the install and it works aside from that one thing. Was I suppost to do anything after using the HTL?

saint_seiya 03-28-2004 11:11 PM

I also noticed that when I went into my usergroup permissions, there were no shoutbox permissions listed on that list, yet It was supposedly installed.

FleaBag 03-29-2004 03:24 AM

Finally got this working - besides IE telling me 'there is an error on this page' in the status box. Don't see any problems though.

gldtn 04-01-2004 07:19 AM

hello, I installed everything and it seems to work fine.. except that it's not showing on the forumhome page.. any sugestions?

thanks

PS; I did make the neccessary changes to index.php and I installed it through HTL and did not have to edit FORUMHOME template at all(although I did open up FORUMHOME template and did a search on "shoutbox" and was not able to find anything). I also made sure that I turned the option to ON under vBulletin options and in the usergroups.

tides 04-01-2004 03:12 PM

gldtn:
You do need to edit the FORUMHOME template. There are two place to change the template according to where are you want your shoutbox to ba appear.
You can take a look of the normal installation file or run the test installation in htl to check where is needed to be changed.

gldtn 04-02-2004 04:04 AM

Thanks for the help tides.. I skipped a few steps after I read "Only do this edit if you plan to enable the use of the standard/WYSIWYG toolbars. Otherwise, move along, there's nothing to see here.... */"

It's now working, thanks a lot.

gldtn 04-02-2004 07:23 AM

I also found another small *bug??*.. When I pull the the Quick Links, part of it hides behide the shoutbox when it's open, but it's fine when it's closed.

Please see attachments for a visual explanation :rolleyes:

Entourage 04-02-2004 08:55 AM

The installing did go perfect. No errors or anything. When I'm at my forum I also get the nice shoutbox, perfect. But When I press on the -> at the shoutbox window and it loads up
http://www.vva-eindhoven.nl/forum/shoutbox.php? but then I get the msg "Your usergroup(s) do not have permission to use the shoutbox." I'm logged in as Administrator. I searched this post, but cant find a solution for my problem....

Someone?

Tnx.

Red Blaze 04-02-2004 12:55 PM

Ok, did you edit admincp/usergourps.php?

I've gone through almost every problem with the shoutbox because of small mistakes and edits I've missed.

gldtn 04-02-2004 06:15 PM

Quote:

Originally Posted by gldtn
I also found another small *bug??*.. When I pull the the Quick Links, part of it hides behide the shoutbox when it's open, but it's fine when it's closed.

Please see attachments for a visual explanation :rolleyes:

Please, ignore this message and excuse my ignorance :P. It's a browser problem, it works fine under IE and mozilla Firefox but not on Opera.

thanks

BarBeQue 04-02-2004 06:27 PM

I have the hide menu's behind chatbox problem too gldtn, and i use IE.....

Anyone knows how to fix that?

BarBeQue 04-02-2004 06:32 PM

Hmm weird
It seems 2 days of posts are gone from this thread... 30 and 31 of march.

I wrote i think 2 posts about the header problem, cause the chat forks all url's in the navbar, which i had to hard copy into the chat templates :(

[high]* BarBeQue thinks he's loosing his mind[/high]

WebMasterAJ 04-06-2004 01:30 PM

Ok, so I thought this would be an easy hack to install, and it was. However, like a couple of users that posted in this thread, when I view the shoutbox I get a little message that tells me, "Your usergroup(s) do not have permission to use the shoutbox." Which is simply annoying, seeing how I'm the administrator.

Yes, I've looked through the usergroup settings and everything is set to "Yes." Additionally, I have the Hierarchy thing set to #1 as someone else suggested.

So, does anyone else have any ideas on how to solve this problem? Please let me know...

Thanks! :smoke:

akiy 04-06-2004 02:48 PM

Quote:

Originally Posted by WebMasterAJ
Ok, so I thought this would be an easy hack to install, and it was. However, like a couple of users that posted in this thread, when I view the shoutbox I get a little message that tells me, "Your usergroup(s) do not have permission to use the shoutbox." Which is simply annoying, seeing how I'm the administrator.

Yes, I've looked through the usergroup settings and everything is set to "Yes." Additionally, I have the Hierarchy thing set to #1 as someone else suggested.

So, does anyone else have any ideas on how to solve this problem? Please let me know...

Try going into the Usergroup Manager in the Admin control panel, going to "Edit Usergroup" for each usergroup, and then pushing th e"Update" button at the bottom (without making any changes).

WebMasterAJ 04-06-2004 09:59 PM

Quote:

Originally Posted by akiy
Try going into the Usergroup Manager in the Admin control panel, going to "Edit Usergroup" for each usergroup, and then pushing th e"Update" button at the bottom (without making any changes).

Thanks a lot! That worked perfectly...

However, I must say that the hacker should either include that in the instructions OR make some type of query, if possible. Otherwise, this is a fantastic hack!!!

sabret00the 04-06-2004 10:18 PM

that seems to have solved my problems too in most part although i keep getting told about blank shouts?

Scrub 04-09-2004 06:11 AM

I was helping someone install this and we get the same error as sabert00the gets. :(.

Link14716 04-09-2004 10:24 AM

I'll be working on this hack today and throughout my spring break, sorry for the delay. I am not sure if I'll be able to get WYSIWYG to work again or not - it took me 5 beta releases to get it the first time, and I still don't know why it didn't work until then.

BarBeQue 04-09-2004 10:32 AM

Glad to see you're back and didn't forget about this hack :)

Elrum 04-09-2004 05:57 PM

I did a clean install of the latest version via HTL on VB 3.0 Gold. There were no error messages and the shoutbox is displayed properly on my page, but there seem to be some phrases missing:

- Could not find phrase 'shoutbox_1000_blankshout'.
- Could not find phrase 'shoutbox_1000_dupeshout'.

In the control panel there's no headline for "Shoutbox" and option settings are displayed without a left column. (plz look at attached screenshot)

Any hints?

Scrub 04-09-2004 10:56 PM

Search for the phrase shoutbox_global_shoutbox and change it to shoutbox. If I remember correctly, this will fix your problem.

Diva 04-10-2004 01:11 AM

Hi. I was wondering if there was a way to set the default editor for the shout different than what people choose for threads. That way there isnt so many problems with it. Also, can the smilies show in a box like TWTCommish's version without selecting for the smilie box in the threads?

wolfgang2 04-10-2004 02:05 PM

Important:
How about security?
Could a hacker run a script via the shoutbox?

BigJohnson 04-11-2004 08:13 PM

Quote:

Originally Posted by Elrum
I did a clean install of the latest version via HTL on VB 3.0 Gold. There were no error messages and the shoutbox is displayed properly on my page, but there seem to be some phrases missing:

- Could not find phrase 'shoutbox_1000_blankshout'.
- Could not find phrase 'shoutbox_1000_dupeshout'.

In the control panel there's no headline for "Shoutbox" and option settings are displayed without a left column. (plz look at attached screenshot)

Any hints?


There is a problem with hte non htl part in the phrases.sql file

There are duplicate inserts and it is screwing up the query when i t is ran.

That file needs to be fixed.

BigJohnson 04-11-2004 09:56 PM

For the people having some trouble with there INSERTING of queries for settings on NON HTL here is the mistake.

These lines should be like this

Code:

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('shoutbox_hierarchymode', 'shoutbox', '1', '1', '<span class=\"smallfont\" style=\"white-space:nowrap\"> <label for=\"hierarchy1\"><input type=\"radio\" name=\"setting[$settingid]\" id=\"hierarchy1\" value=\"1\" tabindex=\"1\"" . iif($setting[\'value\'] == 1, \' checked="checked"\') . " />#1</label><br /> <label for=\\"hierarchy2\\"><input type=\\"radio\\" name=\\"setting[$settingid]\\" id=\\"hierarchy2\\" value=\\"2\\" tabindex=\\"2\\"" . iif($setting[\'value\'] == 2, \' checked="checked"\') . " />#2</label><br /> </span>', '23', '0', '0');
Code:

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('shoutbox_shoutonforumhome', 'shoutbox', 'input', 'Input', '<span class=\"smallfont\" style=\"white-space:nowrap\"> <label for=\"sofh1\"><input type=\"radio\" name=\"setting[$settingid]\" id=\"sofh1\" value=\"none\" tabindex=\"1\"" . iif($setting[\'value\'] == none, \' checked="checked"\') . " />None</label><br /> <label for=\\"sofh2\\"><input type=\\"radio\\" name=\\"setting[$settingid]\\" id=\\"sofh2\\" value=\\"input\\" tabindex=\\"2\\"" . iif($setting[\'value\'] == input, \' checked="checked"\') . " />Input Box</label><br /> <label for=\\"sofh3\\"><input type=\\"radio\\" name=\\"setting[$settingid]\\" id=\\"sofh3\\" value=\\"textarea\\" tabindex=\\"3\\"" . iif($setting[\'value\'] == textarea, \' checked="checked"\') . " />Textarea</label><br /> </span>', '24', '0', '0');

Cyb0rg 04-12-2004 01:34 PM

I installed this Hack via HTL. So far it`s working but I also have the same error. There is nothing written @ the optionscreen if you try to set parameters in the admin cp.
I also translated the phrases but they still do not show up.

So I have the very same problem like ELRUM
https://vborg.vbsupport.ru/attachmen...&stc=1&thumb=1

Please help!


All times are GMT. The time now is 07:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04304 seconds
  • Memory Usage 2,054KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete