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)

Ferny72 02-23-2004 06:01 PM

I have 2 problems, small template based I am guessing but not to sure. my site is at http://www.ewevolved.com/forums now in the shoutbox I set it for the box to have only one shout is there anyway to make the box smaller though cause it's too big right now. Also on the shoutbox page itself the copyright stuff is on the right side at the top how can I fix this. Thanks for the help.

Martin CX 02-24-2004 01:52 AM

My server guys have thrown a hissy fit over this hack and I had to take it down. They say the tables aren't indexed properly. :confused:

You should consider also to create a seperate small shoutbox.php-file for the iframe. The iframe gets battered with refreshes on my site, and the smaller the script, the better.

Curll 02-24-2004 04:03 PM

On my site, http://www.xblgamers.com/forums, anytime we shout, the entire page reloads and kicks us to the top of the forums. Rather than just refreshing the SB. Plus the shoutbox.php is f'd looking and the buttons to the right of the "Shout Now!" are missing. Our main programmer did something last week. Not exactly sure what he did, so I'm asking you guys if you can figure out what the problems seem to be.

Thanks!

Link14716 02-24-2004 11:43 PM

Quote:

Originally Posted by Curll
On my site, http://www.xblgamers.com/forums, anytime we shout, the entire page reloads and kicks us to the top of the forums. Rather than just refreshing the SB. Plus the shoutbox.php is f'd looking and the buttons to the right of the "Shout Now!" are missing. Our main programmer did something last week. Not exactly sure what he did, so I'm asking you guys if you can figure out what the problems seem to be.

Thanks!

First of all - the phrases aren't working. Go into the phrase manager and edit a phrase and save and see if it helps.

About it going back to the top of the forums - that's a problem that came when I removed to text box out of the iframe so it wouldn't be refreshed with the shouts. I don't know how to make it submit to the iframe without being in the iframe, so I dunno how to fix it.

Link14716 02-24-2004 11:46 PM

Quote:

Originally Posted by Martin CX
My server guys have thrown a hissy fit over this hack and I had to take it down. They say the tables aren't indexed properly. :confused:

You should consider also to create a seperate small shoutbox.php-file for the iframe. The iframe gets battered with refreshes on my site, and the smaller the script, the better.

Run these queries and see if it helps then.
[sql]ALTER TABLE `shoutbox_posts` ADD INDEX ( `userid` ) ;
ALTER TABLE `shoutbox_posts` ADD INDEX ( `time` ) ;[/sql]
About the iframe shoutbox.php - I'll look into it.

FleaBag 02-26-2004 12:15 AM

Any luck with the update script mate?

Link14716 02-26-2004 12:20 AM

I dunno what to say. It all works here. If you go to shoutbox.php?do=update&info=1, it should show everything that is going on, and then at the bottom have a link to the next page to process. If you want to do more than 50 at a time, find
Code:

$perpage = "50";
in shoutbox.php and change it to something else.

SmasherMaster 02-26-2004 01:45 AM

Hmm link, I seem to be having a problem, I just installed this hack, but NOTHING is there, no phrases, no shoutbox templates, nothing. I'm using RC4...This was the only hack I installed after I installed the HTL...=/

/me scratches head on confusion

FleaBag 02-26-2004 02:06 AM

Link the first page works fine, it just won't even load the second page. Maybe the script is timing out - so I'll do what you suggested but change it to 10 users at a time.

FleaBag 02-26-2004 02:21 AM

It still does the same even when I change the number of users to 20, and even when it's set to 2... Is there a query I can manually run via phpMyAdmin?

djohn 02-29-2004 02:27 PM

Weird hack
It would install normally, but to settings or anything that would let me turn the shoutbox on appear anywhere. No menus, nothing! Where am I supposed to edit settings? After the successfull install, what else do i need to do? Do i have to edit any settings manually?

Link14716 02-29-2004 02:35 PM

Anyone who is having problems with the phrases and settings etc. not being there, run the following queries, delete the hack from the HTL, re-upload the attached HTL and try the install again.
[sql]ALTER TABLE language DROP phrasegroup_shoutbox;
DELETE FROM phrasetype WHERE fieldname='shoutbox';[/sql]

1.03d, here we come!

djohn 03-01-2004 06:17 PM

I non-htl install:
Quote:

4. Edt a phrase, a usergroup, and a setting to update their caches.
What does that mean?

Link14716 03-01-2004 07:04 PM

Go to the phrase manager, go to the edit screen for a phrase, and then save it without changing it.

Red Blaze 03-03-2004 06:12 PM

I get a parse error in usergroups.php in line 124 this is what I have:

123: {
124: else
125: }

please assist.

I fixed it, I tried deleting the "// End "blah blah blah" comment. For some reason that was it.

arka)Dream 03-04-2004 02:54 AM

awesome hack :)

I have a little problem though... probably b/c I messed up in the installation somewhere. I used the hack tracking log to install it and had no errors, but now the shoutbox will not show up and when I try to access it, it says Your usergroup(s) do not have permission to use the shoutbox.

I checked the settings and it is set to allow users in all usergroups to see it.

Can you tell me some common errors or things to check that may be causing this?

Thanks :)

Link14716 03-04-2004 02:56 AM

Quote:

Originally Posted by arka)Dream
awesome hack :)

I have a little problem though... probably b/c I messed up in the installation somewhere. I used the hack tracking log to install it and had no errors, but now the shoutbox will not show up and when I try to access it, it says Your usergroup(s) do not have permission to use the shoutbox.

I checked the settings and it is set to allow users in all usergroups to see it.

Can you tell me some common errors or things to check that may be causing this?

Thanks :)

Pick a usergroup, any usergroup, edit and save. That should update the cache allowing it to pick up the needed permissions.

arka)Dream 03-04-2004 04:10 AM

Quote:

Originally Posted by Link14716
Pick a usergroup, any usergroup, edit and save. That should update the cache allowing it to pick up the needed permissions.

well, that worked :-D

but now it doesn't show up on the forum home page.... what can I do to fix that?

arka)Dream 03-06-2004 08:34 AM

wake up and answer me please sir!

djohn 03-06-2004 12:25 PM

In non-htl install i get this error when i try to run shoutbox.sql in phpMyAdmin:

Code:

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: Unclosed quote @ 48
STR: '
SQL: DELETE FROM phrase WHERE varname LIKE %shoutbox%';
SQL-query : 

DELETE FROM phrase WHERE varname LIKE %shoutbox%';

MySQL said:


#1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '%shoutbox%'' at line 1


and an erro when i run phrases.sql:
Code:

Error

SQL-query : 

INSERT INTO phrase( phraseid, languageid, varname, text, phrasetypeid )
VALUES (

NULL , '0', 'shoutbox_shoutbox_leaderboard', 'Shoutbox Leaderboard', '153'
)

MySQL said:


#1062 - Duplicate entry 'shoutbox_shoutbox_leaderboard-0-153' for key 2

It looks like there are lots of dublicate entries in phrases.sql
Could you please fix the files in the non-htl install folder. I really want to install that hack, but I have problems using htl. :(

FleaBag 03-06-2004 01:16 PM

Quote:

Originally Posted by arka)Dream
wake up and answer me please sir!

He doesn't have to answer anyone.

Link14716 03-06-2004 02:32 PM

Quote:

Originally Posted by arka)Dream
well, that worked :-D

but now it doesn't show up on the forum home page.... what can I do to fix that?

Did you edit index.php and the FORUMHOME template? And is it turned on in the settings?

Link14716 03-06-2004 02:36 PM

Quote:

Originally Posted by djohn
In non-htl install i get this error when i try to run shoutbox.sql in phpMyAdmin:

Code:

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: Unclosed quote @ 48
STR: '
SQL: DELETE FROM phrase WHERE varname LIKE %shoutbox%';
SQL-query : 

DELETE FROM phrase WHERE varname LIKE %shoutbox%';

MySQL said:


#1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '%shoutbox%'' at line 1


and an erro when i run phrases.sql:
Code:

Error

SQL-query : 

INSERT INTO phrase( phraseid, languageid, varname, text, phrasetypeid )
VALUES (

NULL , '0', 'shoutbox_shoutbox_leaderboard', 'Shoutbox Leaderboard', '153'
)

MySQL said:


#1062 - Duplicate entry 'shoutbox_shoutbox_leaderboard-0-153' for key 2

It looks like there are lots of dublicate entries in phrases.sql
Could you please fix the files in the non-htl install folder. I really want to install that hack, but I have problems using htl. :(

Finally, someone doing a Non-HTL install to tell me what errors I have in it.

The last query in shoutbox.sql should be this:
[sql]DELETE FROM phrase WHERE varname LIKE '%shoutbox%';[/sql]

And I suggest you run it as well. The error in phrases.sql - I'll look into it and release a fixed shoutbox.sql and phrases.sql today in 1.03e.

djohn 03-06-2004 05:40 PM

OK, thanks, i'llw ait for the fixed version. Sorry, didn't have time to check the other two .sql files.

SmasherMaster 03-06-2004 10:47 PM

LINK! I get a "cannot add phrases" error during install!!! >:[

TcmDeb 03-07-2004 01:53 PM

Hey Link, I just gotta say you are to be commended for your work and your patience with all of us :)

On to the issue: I too get the "cannot make a blank shout" when using the wsywig to shout. I noticed a couple pages back it was mentioned that you had fixed it back in beta 5 but I didn't see any manual fix for this. I'm running 1.03d and everything else is working perfectly. Also, could you tell me what to edit to have a title for my shoutbox? Any help is appreciated :)

FleaBag 03-07-2004 02:12 PM

Link is there an SQL query I can run to update the Shoutbox rather than using do=update? This refuses to go past the first page, whether I set it to do 1 or 100 users at a time. I have no problems with any other line of PHP on my site, so I was hoping maybe you'd have a solution.

Thanks.

Neal-UK 03-10-2004 07:25 PM

I've installed this hack but and everything went fine. However, when I go to forum home there is nothing there - www.burnleyweb.com/forum

What have I done wrong?

dmatthams 03-11-2004 07:40 PM

Quote:

Originally Posted by arka)Dream
well, that worked :-D

but now it doesn't show up on the forum home page.... what can I do to fix that?

i have that same problem

then again im not to clever when it comes to VB

shoutbox works fine, here, just cant get it to show on the homepage. Im pretty sure ive done all the modifications :o

Blackbeard 03-12-2004 04:56 PM

I seem to have a small problem, i can only get the shout box to post if i use the basic editor box, the Show Standard Editor Toolbar and Show Enhanced (WYSIWYG) Editor Toolbar return error and will not allow to post

error i get:- Could not find phrase 'shoutbox_1000_blankshout'.

please help

Nexus[l33t] 03-18-2004 09:53 PM

great hack, thanks a bundle. had to clean up the non-HTL queries. attached is the cleaned up text. i make no promises or guarantees, but it worked for me. thanks again for the sweet hack.

arka)Dream 03-19-2004 01:30 AM

Quote:

Originally Posted by FleaBag
He doesn't have to answer anyone.

This is no place for that.

FleaBag 03-19-2004 02:16 AM

No place for what. I was merely explaining that demanding a response isn't going to get anyone, anywhere.

martinchan 03-19-2004 02:33 AM

just want to find out, it's possible that someone can hack into the shoutbox and shout or changed his username to shout because I had a incident this morning. The fellow came from no where and make a shoot and I cannot find his particulars at all.

arka)Dream 03-19-2004 03:00 AM

Quote:

Originally Posted by FleaBag
No place for what. I was merely explaining that demanding a response isn't going to get anyone, anywhere.

it was a light-hearted request... jesus. lighten up

FleaBag 03-19-2004 11:52 AM

Haha I'm not even gonna bother.

arka)Dream 03-19-2004 05:12 PM

Quote:

Originally Posted by FleaBag
Haha I'm not even gonna bother.

you're cool.

djohn 03-21-2004 12:05 PM

Here's a screeshot.
First questoin: how do i remove that ugly line right above "Today's shouts:" (forumhome)?
Second question: How can i make the bit with the actual shouts be equal distance from the edge (notice it's about twice as far from the corner of the table on the right, then on the left)?
Another thing, how can I add the Refresh and Archive buttons right oppsite the Shout Button on forumhome?

Thanks!

djohn 03-21-2004 02:59 PM

I also have this problem (see screenshot)
Any way to fix the width รนร  the input field?

The General 03-21-2004 05:32 PM

Excellent hack! Thanks heaps!

I keep getting runtime errors however, while some of my users don't. Any idea what might be wrong?


All times are GMT. The time now is 07:44 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.01626 seconds
  • Memory Usage 1,831KB
  • 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
  • (5)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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