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)

Brahm 01-22-2004 01:25 PM

That did it man! Thanks alot for the info -- this hack is the best shoutbox I have used to date and I have been Vbulletining for about 2 years now.

Link14716 01-22-2004 10:31 PM

Quote:

Originally Posted by Martin CX
Two things:

First of all, some of my users are complaining that they are getting errors both when they try to read the iframe and the full-screen version. They are told, their usergroup isn't allowed to read the blablabla... but they are members of the ordinary registered usergroup and they should be allowed

Second: When upgrading to RC3 which steps do I have to repeat in the installation?

What kind of errors?

And all you have to do is redo to file edits when you upgrade vB, as in any hack.

monstergamer 01-23-2004 04:29 AM

i went to uninstall it off of localhost and try it again
so i ran the the lines of code to uninstall in on of these post
and try to re-install it gives me this

FIXED
i had to run this to finish un-installing it

ALTER TABLE usergroup DROP `shoutmaxdaily`

now i am going to re-test it

jaliam 01-23-2004 05:11 AM

How can I fix the following display error? Please help. Thanks!

URL: http://www.bibletruths.us/forums/shoutbox.php?

monstergamer 01-23-2004 05:25 AM

i re-installed it and ran every thing from the SQL files and edited every PHP file and added every TEMPLATE
also converted all black vivi shoutbox post

still have problems with the iFrame, i have to turn it OFF
with it OFF i can post in the shout box but it takes me to the top on every shout
also when i try to view the shoutbox.php it is blank

Martin CX 01-23-2004 09:06 AM

Quote:

Originally Posted by Link14716
What kind of errors?

They are getting the standard message that their usergroup isn't allowed to read the Shoutbox (even though it is).


Quote:

Originally Posted by Link14716
And all you have to do is redo to file edits when you upgrade vB, as in any hack.

Yeah, I was just confused which of the txt-documents contained the edits I needed to do.

Link14716 01-24-2004 01:35 AM

Quote:

Originally Posted by jaliam
How can I fix the following display error? Please help. Thanks!

URL: http://www.bibletruths.us/forums/shoutbox.php?

Well, the templates work on a standard vB3 style, so it is probably a conflict with the shoutbox and the style. Look around for some missing closing tags and etc. If I knew more HTML I'd be able to fix it.

Link14716 01-24-2004 01:37 AM

Quote:

Originally Posted by monstergamer
i re-installed it and ran every thing from the SQL files and edited every PHP file and added every TEMPLATE
also converted all black vivi shoutbox post

still have problems with the iFrame, i have to turn it OFF
with it OFF i can post in the shout box but it takes me to the top on every shout
also when i try to view the shoutbox.php it is blank

To fix the 0 username error, run shoutbox.php?do=update like the converter said.

For the other 2 errors, it appears that the templates weren't installed properly. Double check that all the templates were added properly.

Link14716 01-24-2004 01:40 AM

Quote:

Originally Posted by Martin CX
They are getting the standard message that their usergroup isn't allowed to read the Shoutbox (even though it is).


Yeah, I was just confused which of the txt-documents contained the edits I needed to do.

Well, it uses standard vB permissions, so if every other permission works, then the shoutbox's should as well. Edit a usergroup to try and update the cache just in case it wasn't during the install, and check that the permissions are set properly.

The file edits for a new install are located in upload/admincp/shoutbox_install/new_file.txt.

armani1072 01-24-2004 10:27 AM

damn this is a bad night for me i can't get anything to work.

jaliam 01-24-2004 04:09 PM

Please help me correct this problem so I can install this shoutbox. Thanks!

Quote:

Database error in vBulletin 3.0.0 Release Candidate 3:

Invalid SQL: ALTER TABLE language ADD `phrasegroup_shoutbox` MEDIUMTEXT NOT NULL
mysql error: Duplicate column name 'phrasegroup_shoutbox'

mysql error number: 1060

Link14716 01-24-2004 04:11 PM

It appears you have already ran that step of the installation. :|

Run this query and try again, tell me if you recieve an error:[sql]ALTER TABLE language DROP phrasegroup_shoutbox;[/sql]

jaliam 01-24-2004 04:23 PM

Here is what I got this time, Link!

Quote:

Database error in vBulletin 3.0.0 Release Candidate 3:

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: Table 'shoutbox_posts' already exists

mysql error number: 1050
How can I uninstall it so that I can do a fresh install to avoid all these duplicate entries? Thanks, Link!

Link14716 01-24-2004 04:25 PM

Ok then. Yes, you have ran that step already. Change the step= in the URL to point it to the next step and continue.

jaliam 01-24-2004 05:01 PM

Quote:

Originally Posted by Link14716
Ok then. Yes, you have ran that step already. Change the step= in the URL to point it to the next step and continue.

Perfect, Link! I was able to install it successfully. I appreciate your kind assistance. :)

jaliam 01-24-2004 05:05 PM

Link, I do not see the shoutbox settings in my admincp though. Can you please help?

Link14716 01-24-2004 05:52 PM

Quote:

Originally Posted by jaliam
Link, I do not see the shoutbox settings in my admincp though. Can you please help?

Admincp -> vBulletin Options -> Shoutbox Settings

They are located there. If you are using vB3 RCX and not Gamma, it'll be at the bottom of the list. If you are using Gamma, they are in alphabetical order.

monstergamer 01-24-2004 06:30 PM

you were right i had to double check the templates but this time i use the TXT file
lot easier the the looking at the installer

but one problem that i had is two of my members have way to many shouts
13824569821598 shout or some thing like it

i have fixed some of the SHOUTBOX template for my site
look at the fixes with a fixed style also works with a 100% style

Link14716 01-24-2004 06:36 PM

Run shoutbox.php?do=update again. I have never seen a problem like that before...

monstergamer 01-24-2004 06:48 PM

Quote:

Originally Posted by Link14716
Run shoutbox.php?do=update again. I have never seen a problem like that before...

started to fix the problem
but i get this
Fatal error: Maximum execution time of 30 seconds exceeded in c:\apache\htdocs\vb\includes\db_mysql.php on line 205

Fatal error: Maximum execution time of 30 seconds exceeded in c:\apache\htdocs\vb\includes\functions.php on line 467

geezzaa 01-24-2004 09:28 PM

Hi link.
I got it all sorted now but one of our admins is having problems. Everytime he clicks on shout now he is redirected to the index.html page , his message still appears on the chat window Any idea what could be causing that

Link14716 01-24-2004 10:47 PM

Quote:

Originally Posted by geezzaa
Hi link.
I got it all sorted now but one of our admins is having problems. Everytime he clicks on shout now he is redirected to the index.html page , his message still appears on the chat window Any idea what could be causing that

Someone else had this issue back on page 2. I answered it in post #83. I don't know why this is happening for some people, but it doesn't for me.

Link14716 01-24-2004 10:49 PM

Quote:

Originally Posted by monstergamer
started to fix the problem
but i get this
Fatal error: Maximum execution time of 30 seconds exceeded in c:\apache\htdocs\vb\includes\db_mysql.php on line 205

Fatal error: Maximum execution time of 30 seconds exceeded in c:\apache\htdocs\vb\includes\functions.php on line 467

I'll work on splitting the process to seperate pages and release 1.01 with the navbar phrased.

jaliam 01-24-2004 11:20 PM

Quote:

Originally Posted by Link14716
Admincp -> vBulletin Options -> Shoutbox Settings

They are located there. If you are using vB3 RCX and not Gamma, it'll be at the bottom of the list. If you are using Gamma, they are in alphabetical order.

No, I did not find it, Link. I have been trying all day to make this shoutbox work so I hope you can tell me how I could activate its settings in the Admincp. Thanks!

Link14716 01-24-2004 11:23 PM

Well, I told you where they are, and, unless you skipped a step of the install, they'd be there.

jaliam 01-24-2004 11:29 PM

Here is what I get when I access shoutbox.php.

jaliam 01-24-2004 11:30 PM

I will just delete the hack and run the installer again. Thanks!

Link14716 01-24-2004 11:34 PM

Yeah, I'd bet you didn't run the installer, or skipped a few steps, since it appears that either both usergroup permissions and phrases were not installed, or settings were not installed, or both.

jaliam 01-24-2004 11:37 PM

Can you give me an idea on how to uninstall it or did it come with an uninstaller? I appreciate it, Link. Thanks!

jaliam 01-24-2004 11:41 PM

Never mind. I found the uninstaller script. Thanks!

Link14716 01-24-2004 11:43 PM

Run these queries:
[sql]DELETE FROM phrasetype WHERE phrasetypeid='716';
DELETE FROM phrase WHERE varname LIKE '%shoutbox%';
DELETE FROM setting WHERE varname LIKE 'shoutbox%';
DELETE FROM settinggroup WHERE grouptitle='shoutbox';
ALTER TABLE language DROP phrasegroup_shoutbox;
ALTER TABLE usergroup DROP shoutboxpermissions, DROP shouthierarchy, DROP shoutmaxdaily;
ALTER TABLE user DROP shouts, DROP shoutbanned;
DROP TABLE shoutbox_posts;[/sql]

EDIT: Well, even if you use uninstall.sql, you'll need to run this since I haven't updated unsinstall.sql since Beta 5.
[sql]ALTER TABLE usergroup DROP shoutmaxdaily;[/sql]

jaliam 01-24-2004 11:43 PM

Well, I ran the uninstaller query and this is what I got...

PHP Code:

An error occurred while attempting to execute your queryThe following information was returned
error number1064 
error desc
You have an error in your SQL syntax near ';
DELETE FROM setting WHERE varname LIKE '
shoutbox%';
DELETE FROM settinggroup' 
at line 1 


jaliam 01-24-2004 11:45 PM

Quote:

Originally Posted by Link14716
Run these queries:
[sql]DELETE FROM phrasetype WHERE phrasetypeid='716';
DELETE FROM phrase WHERE varname LIKE '%shoutbox%';
DELETE FROM setting WHERE varname LIKE 'shoutbox%';
DELETE FROM settinggroup WHERE grouptitle='shoutbox';
ALTER TABLE language DROP phrasegroup_shoutbox;
ALTER TABLE usergroup DROP shoutboxpermissions, DROP shouthierarchy, DROP shoutmaxdaily;
ALTER TABLE user DROP shouts, DROP shoutbanned;
DROP TABLE shoutbox_posts;

I ran the query above and I got this...

Quote:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax near ';
DELETE FROM phrase WHERE varname LIKE '%shoutbox%';
DELETE FROM setting WHER' at line 1

Link14716 01-24-2004 11:46 PM

Quote:

Originally Posted by jaliam
Well, I ran the uninstaller query and this is what I got...

PHP Code:

An error occurred while attempting to execute your queryThe following information was returned
error number1064 
error desc
You have an error in your SQL syntax near ';
DELETE FROM setting WHERE varname LIKE '
shoutbox%';
DELETE FROM settinggroup' 
at line 1 


You can't run multiple queries in the vB Admin CP. Use phpMyAdmin or split it up. (each line is a different query, for a total of 8)

jaliam 01-24-2004 11:52 PM

I think I was able to uninstall it, Link. I just had to play with the query a little bit. Thanks!

jaliam 01-24-2004 11:58 PM

Now it does not want me to install it after I dropped all the files. That's how I consider this message anyway. Take a look!

Link14716 01-25-2004 12:01 AM

Go to vBulletin Options in your admincp and save the settings without modifying anything.

Matrixgl 01-26-2004 09:55 PM

VERY nice hack :)...very good job, and installed :)

Matrixgl 01-27-2004 01:35 AM

[Mod] vBulletin 2 Style Shout Display

If you had the Shoutbox hack by TWTCommish for vBulletin 2.x.x installed, or seen it somewhere, you might notice that this version has a different layout for showing the shouts than the vB2 version.

Well, the new layout is definately nice, however, I still feel more attracted to the vB2 style of displaying the shout, mainly because I am used to it.

So here it is, you just have to replace your "shoutbox_shoutbits" template and you are done!. It will make your shoutbox look more like the old vBulletin 2 version of the shoutbox.

Instructions: Replace your shoutbox_shoutbits template with the attatched text file.

Screenshot: Attached.

Link14716 01-27-2004 03:48 AM

I have linked to your mod in the first post.

Nice job. :)


All times are GMT. The time now is 11:10 AM.

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.01858 seconds
  • Memory Usage 1,839KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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