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)

kermit_criminal 04-10-2005 04:14 AM

is this hack compatible with the latest version of vbulletin software?

evo_j 04-10-2005 08:56 AM

thats the one im trying it on.....waiting to see

Shadow Blaze 04-12-2005 03:16 AM

umm... mine wouldn't even get past the first step... i tried even running the files after a fresh re-installation of vb with the database being fully emptied... i have this hack on my old one it just won't let me install it now... o.O

snake-boy 04-12-2005 12:37 PM

Hi,

I just installed this on a fresh installation of 3.0.7 and it works perfectly. Ran through the installer with no problems. Just remember to make the edits to your php files once the installer is done.

Directions of what to edit in what file can be found on a link on the last page of the installer process.

All done and working with no issues!

-snake

The Realist 04-12-2005 03:12 PM

Instaling this hack I got this DB error:

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

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

Line 405 in the db_mysql.php says:
include_once('./includes/functions_log_error.php');

But the file functions_log_error.php is in the includes folder.

Database error in vBulletin 3.0.7:

Invalid SQL: CREATE TABLE shoutbox_posts (
`shoutid` BIGINT (255) UNSIGNED DEFAULT '0' AUTO_INCREMENT,
`text` TEXT,
`userid` BIGINT (255) UNSIGNED DEFAULT '0',
`username` VARCHAR (255) DEFAULT '0',
`ip` VARCHAR (25) DEFAULT '0',
`time` BIGINT (20) UNSIGNED DEFAULT '0',
`edittime` BIGINT (20) UNSIGNED DEFAULT '0',
`edituser` VARCHAR (255) DEFAULT '0',
`deleted` TINYINT(1) UNSIGNED DEFAULT '0',
PRIMARY KEY(`shoutid`))
mysql error: Invalid default value for 'shoutid'

mysql error number: 1067

Date: Tuesday 12th of April 2005 12:04:57 PM
Script: http://www.xxxxxxxxxxx.com/forums/in...=Shoutbox_Hack
Referer:
Username: Realist
IP Address: xxx.xxx.xxx.xxx

Any ideas?

AWS 04-12-2005 05:13 PM

Quote:

Originally Posted by The Realist
Instaling this hack I got this DB error:

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

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

Line 405 in the db_mysql.php says:
include_once('./includes/functions_log_error.php');

But the file functions_log_error.php is in the includes folder.

Database error in vBulletin 3.0.7:

Invalid SQL: CREATE TABLE shoutbox_posts (
`shoutid` BIGINT (255) UNSIGNED DEFAULT '0' AUTO_INCREMENT,
`text` TEXT,
`userid` BIGINT (255) UNSIGNED DEFAULT '0',
`username` VARCHAR (255) DEFAULT '0',
`ip` VARCHAR (25) DEFAULT '0',
`time` BIGINT (20) UNSIGNED DEFAULT '0',
`edittime` BIGINT (20) UNSIGNED DEFAULT '0',
`edituser` VARCHAR (255) DEFAULT '0',
`deleted` TINYINT(1) UNSIGNED DEFAULT '0',
PRIMARY KEY(`shoutid`))
mysql error: Invalid default value for 'shoutid'

mysql error number: 1067

Date: Tuesday 12th of April 2005 12:04:57 PM
Script: http://www.xxxxxxxxxxx.com/forums/in...=Shoutbox_Hack
Referer:
Username: Realist
IP Address: xxx.xxx.xxx.xxx

Any ideas?

Are you using php 5? This hack wouldn't install on php 5.0.4. Those are the same errors I got. It does run on php 5 just won't install. I had to downgrade to php 4.3.10 to get it installed. Once installed I switched back to 5.0.4 and the hack works fine with vb 3.0.7.

The Realist 04-12-2005 05:21 PM

Running php 4.3.11 strange indeed?

Marco van Herwaarden 04-12-2005 06:35 PM

Remove the DEFAULT '0' from the auto increment column.

The Realist 04-12-2005 06:42 PM

This is going to sound dull now!

How :)



Laters

Quote:

Originally Posted by MarcoH64
Remove the DEFAULT '0' from the auto increment column.


Marco van Herwaarden 04-12-2005 06:50 PM

In your install/hacks/Shoutbox_Hack/14/queries.php file:

Find:
PHP Code:

                 `shoutidBIGINT (255UNSIGNED DEFAULT \'0\' AUTO_INCREMENT, 

And replace by:
PHP Code:

                 `shoutidBIGINT (255UNSIGNED AUTO_INCREMENT



All times are GMT. The time now is 01:16 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.01958 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_php_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