The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[HTL] & [Normal] Shoutbox Hack - 1.03d Details »» | ||||||||||||||||||||
Re-released at https://vborg.vbsupport.ru/showthrea...790#post547790
Show Your Support
|
Comments |
#362
|
||||
|
||||
Quote:
|
#363
|
||||
|
||||
yep double and triple checked the permissions.
|
#364
|
||||
|
||||
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.
|
#365
|
||||
|
||||
Quote:
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 |
#366
|
||||
|
||||
It is set on one. I honestly don't understand the heirachy mode feature myself. I still have the problem. =/
|
#367
|
||||
|
||||
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=""> </td> <td width="48%" valign="top" class=""> <!-- ---------------------------- --> <br/> <center>$shoutbox_copyright</center> $footer </body> </html> |
#368
|
||||
|
||||
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 |
#369
|
||||
|
||||
There were over 25 duplicate entries in phases.sql.....
Am i the only one here who has a problem with this? |
#370
|
||||
|
||||
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... |
#371
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|