Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Closed Thread
 
Thread Tools
[HTL] & [Normal] Shoutbox Hack - 1.03d Details »»
[HTL] & [Normal] Shoutbox Hack - 1.03d
Version: 1.00, by Link14716 Link14716 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 01-09-2004 Last Update: Never Installs: 83
Supported
 

Re-released at https://vborg.vbsupport.ru/showthrea...790#post547790

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #372  
Old 03-28-2004, 07:57 AM
djohn djohn is offline
 
Join Date: Feb 2004
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
  #373  
Old 03-28-2004, 10:04 AM
Vampireli0 Vampireli0 is offline
 
Join Date: Sep 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great shoutbox! got it installed with HTL without any problems
  #374  
Old 03-28-2004, 07:26 PM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent hack!
  #375  
Old 03-28-2004, 07:34 PM
tides tides is offline
 
Join Date: Nov 2001
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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>
  #376  
Old 03-28-2004, 10:12 PM
saint_seiya saint_seiya is offline
 
Join Date: Oct 2002
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
  #377  
Old 03-28-2004, 11:11 PM
saint_seiya saint_seiya is offline
 
Join Date: Oct 2002
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #378  
Old 03-29-2004, 03:24 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #379  
Old 04-01-2004, 07:19 AM
gldtn gldtn is offline
 
Join Date: Apr 2003
Location: US
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #380  
Old 04-01-2004, 03:12 PM
tides tides is offline
 
Join Date: Nov 2001
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #381  
Old 04-02-2004, 04:04 AM
gldtn gldtn is offline
 
Join Date: Apr 2003
Location: US
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05581 seconds
  • Memory Usage 2,369KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete