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)
-   -   Shoutbox Hack 1.04b (https://vborg.vbsupport.ru/showthread.php?t=68861)

Cent 10-27-2004 10:15 AM

Hi! Help me please! And forgive for my English!

If I press on the button "Send the message" in chatbox, the page of a forum entirely is updated. How to make, that the chatbox was updated only a chat?

DjTaz 10-28-2004 09:53 AM

I just installed this on a win2003 server running apache and it installed no problems with no errors at all , bar 1 slight user error.

I noticed as i installed i was quite hasty when clicking NEXT maybe you should put tick boxes to make sure people have read what is being done before they can click ?

I also noticed that the README.html never displayed for me while installing and i thought that the hack didnt work - it was only after searching the folders that i found the README.HTML and discovered i had a few templates and files to edit ... after that everything worked perfectly.

Personally , I wanted a list of users online to be displayed in the shoutbox so that people didnt go posting when no-one was online (i know some people dont have this no-one else online issue, but my forum is newish) so i checked the script and added a tiny little code that i think helps a little.

on FORUMHOME template Find :
Code:

<if condition="$vboptions['shoutbox_shoutonforumhome'] == textarea && $permissions['shoutboxpermissions'] & SHOUTPOST && $bbuserinfo['usergroupid'] != 1"><center><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><textarea name="message" rows="5" cols="60" class="bginput" wrap></textarea><br><input type="submit" name="submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" accesskey="s"></form></center></if>
</span></td>

and REPLACE with :
Code:

<if condition="$vboptions['shoutbox_shoutonforumhome'] == textarea && $permissions['shoutboxpermissions'] & SHOUTPOST && $bbuserinfo['usergroupid'] != 1"><center><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><textarea name="message" rows="5" cols="60" class="bginput" wrap></textarea><br><input type="submit" name="submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" accesskey="s"></form></center></if>
<div class="smallfont"><b>Active Users: </b>$activeusers</div>        </span></td>

All thats being added in is :
Code:

<div class="smallfont"><b>Active Users: </b>$activeusers</div>
but where its placed is important to how it displays.

Thanks a million for the Hack - i had a shoutbox on the site already, but no-one used it as it was popup only - this one is a much better system.

DaMixer 10-28-2004 04:45 PM

Database error in vBulletin 3.0.3:

Invalid SQL: INSERT INTO settinggroup (grouptitle, displayorder, volatile)
VALUES ('shoutbox', '560', '0')
mysql error: Duplicate entry 'shoutbox' for key 1

mysql error number: 1062


Script:
http://www.x.com/forum/install/hack_...=Shoutbox_Hack
Referer:
http://www.x.com/forum/install/hack_...=Shoutbox_Hack


===========================================
Warning: Invalid argument supplied for foreach() in /home2www/user/forum/install/hack_install_b2.php on line 1061



===========================================

Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home2/www/user/cludes/db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home2/www/user/m/includes/db_mysql.php on line 389

================================================== ==

Invalid SQL: SELECT varname, text FROM phrase WHERE varname IN () ORDER BY languageid DESC
mysql error: You have an error in your SQL syntax near ') ORDER BY languageid DESC' at line 1

Zachery 10-28-2004 07:16 PM

Quote:

Originally Posted by DaMixer
Database error in vBulletin 3.0.3:

Invalid SQL: INSERT INTO settinggroup (grouptitle, displayorder, volatile)
VALUES ('shoutbox', '560', '0')
mysql error: Duplicate entry 'shoutbox' for key 1

mysql error number: 1062


Script:
http://www.x.com/forum/install/hack_...=Shoutbox_Hack
Referer:
http://www.x.com/forum/install/hack_...=Shoutbox_Hack


===========================================
Warning: Invalid argument supplied for foreach() in /home2www/user/forum/install/hack_install_b2.php on line 1061



===========================================

Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home2/www/user/cludes/db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home2/www/user/m/includes/db_mysql.php on line 389

================================================== ==

Invalid SQL: SELECT varname, text FROM phrase WHERE varname IN () ORDER BY languageid DESC
mysql error: You have an error in your SQL syntax near ') ORDER BY languageid DESC' at line 1

Did you have another shoutbox hack installed?

DaMixer 10-29-2004 01:06 PM

i dont think so

lange 10-30-2004 12:51 AM

I'll try it. Thanks

Rick Sample 10-30-2004 02:11 AM

hmm....getting this error:

Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home/detailci/public_html/includes/db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/detailci/public_html/includes/db_mysql.php on line 389

Database error in vBulletin 3.0.3:

Invalid SQL: INSERT INTO settinggroup (grouptitle, displayorder, volatile) VALUES ('shoutbox', '560', '0')
mysql error: Duplicate entry 'shoutbox' for key 1

mysql error number: 1062

Date: Friday 29th of October 2004 09:10:41 PM
Script: http://www.detailcity.com/install/ha...=Shoutbox_Hack
Referer: http://www.detailcity.com/install/ha...=Shoutbox_Hack
Username: Rick Sample

done and tried to reupload all files

Zachery 10-30-2004 11:32 AM

Quote:

Originally Posted by Rick Sample
hmm....getting this error:

Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home/detailci/public_html/includes/db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/detailci/public_html/includes/db_mysql.php on line 389

Database error in vBulletin 3.0.3:

Invalid SQL: INSERT INTO settinggroup (grouptitle, displayorder, volatile) VALUES ('shoutbox', '560', '0')
mysql error: Duplicate entry 'shoutbox' for key 1

mysql error number: 1062

Date: Friday 29th of October 2004 09:10:41 PM
Script: http://www.detailcity.com/install/ha...=Shoutbox_Hack
Referer: http://www.detailcity.com/install/ha...=Shoutbox_Hack
Username: Rick Sample

done and tried to reupload all files

Are you 1000% sure you did not insatall another shotbox hack, or have used vBindex in the past?

CuriousGeorge 10-30-2004 07:01 PM

I just installed shoutbox on a clean install of vB 3.0.3, running at www.christianchapel.net

The install went fine, and when I go to ../shoutbox.php everything works fine as well. However, nothing is displaying on my mainpage. I looked throug the settings for shoutbox in the control panel, and can see nothing that would lead me to believe something was wrong. I also searched this thread, and could find no documentation that might be of assistance.

Any reason why, on my index.php page, the shoutbox does not show?

Thanks

TwinsX2Dad 10-30-2004 08:52 PM

Perfect & flawless installation - but I can't stand the iframe option, so I disabled it in the admincp settings.

Me clix install. Thank you!

A suggestion: How about a shoutbox admin block in the left column of the acp?


All times are GMT. The time now is 09:09 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.01658 seconds
  • Memory Usage 1,758KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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