View Full Version : vB Shoutbox 1.0
MindTrix
12-22-2003, 09:47 PM
Advice to stop HTML beeing used in shoutbox, as tested by MaDCaT75 and so far works :)
In the shoutbox.php file find
shout_text = '".addslashes($message)."',
and change too
shout_text = '".htmlentities(addslashes($message))."',
This is my first proper bit of PHP help Horray!!
MaDCaT75
12-23-2003, 02:15 AM
what about users who like to make ridiculously long shouts or put 30000000 smilies in there?
unplugged
12-23-2003, 09:42 AM
Surly you could pinch the code that stops you putting 30,000 smileys into posts :/
Ethermaster
12-23-2003, 06:56 PM
And I have fixed it :) - in the template shoutbox_postshout, I changed:
<tr id="cat">
<td bgcolor="{tableheadbgcolor}" colspan="6"><a href="shoutbox.php?s=$session[sessionhash]" title="The Shoutbox"><normalfont color="{tableheadtextcolor}"><b>The Shoutbox - Latest Shout</normalfont></b></a></td>
</tr>
to
<table cellpadding="5" cellspacing="0" border="0" {tableinnerextra} width="100%">
<form action="$bburl/shoutbox.php" method="post" name="vbform">
<input type="hidden" name="type" value="shout">
After inplying your method I am still getting the root DIR for the shout box. any suggestions? Running VB 2.3.3
MaDCaT75
12-23-2003, 08:53 PM
Surly you could pinch the code that stops you putting 30,000 smileys into posts :/
Yes I am sick of banning people who ignore my warnings about this.
MindTrix
12-24-2003, 06:46 PM
MaDCaT75, ask me on MSN later and i will help you out. Consider it an early xmas present :)
MaDCaT75
12-24-2003, 07:39 PM
Thanks :D
gmarik
12-25-2003, 06:02 AM
vb3?
MaDCaT75
12-25-2003, 06:18 AM
vb3?
Not until RC1 I would imagine
DuffMan
12-25-2003, 12:10 PM
I installed the hack but whenever I try to post a shout it takes me to shoutbox.php in the directory below the one the file's actually in.
THE REAL BLAZE
12-26-2003, 10:05 PM
I have an error......
Warning: main(./global.php) [function.main]: failed to create stream: No such file or directory in /hsphere/local/home/hiphop/rapblock.com/shoutbox.php on line 5
it comes up when I try to post a shout. please help
DjTuPPer
12-27-2003, 10:56 AM
Is there any way to disable the [IMG] code? Members are abusing the Shoutbox by shouting extremely large pictures. Very annoying.
Thats exactly what I would ask you guys about too!
How do you remove the [img] tags???
Thanks ;)
jaliam
12-28-2003, 07:34 AM
fantastic mate, I had only one small problem in shoutbox_postshout I had to change <form action="/shoutbox.php" too <form action="shoutbox.php"
Great tip, Bald Bouncer! You just solved my problem. Thanks, buddy!
Silverstangs
12-31-2003, 12:25 PM
Hey I just installed this on vb2.3.3 and it works perfectly... so far. I do need a cosmetic change thou... is there is a way to make each shout out alternate colors just like posts on the main home page?? On our home page, it's just all one color while on the shoutbox page it alternates colors.
http://www.stangcountry.com
http://www.stangcountry.com/forums/shoutbox.php
Clicks install
Scott
Silverstangs
12-31-2003, 01:19 PM
Oh 2nd thing... has anyone come up with a option to ban and unban people from the shoutbox in the Admin CP????
Thanks
Scott
MindTrix
12-31-2003, 04:01 PM
<a href="http://tutorials.yaxay.com/showtutorial.php?action=show&id=183" target="_blank">http://tutorials.yaxay.com/showtutor...on=show&id=183</a>
Check that out, may help you.
y2krazy
01-08-2004, 11:48 PM
Ok, got a little problem here...
I go to the Shoutbox, but when I try to post a shout, it goes to a "page not found" URL. What would cause this?
If you feel like registering and testing it out(the Shoutbox link seems to be directing to the wrong URL --- it goes to www.bladestorm.net/forums instead of forums.bladestorm.net; anyone know why this is, or how to fix it?):
http://forums.bladestorm.net/
-y2k-
TWTCommish
01-09-2004, 02:15 AM
Ok, got a little problem here...
I go to the Shoutbox, but when I try to post a shout, it goes to a "page not found" URL. What would cause this?
If you feel like registering and testing it out(the Shoutbox link seems to be directing to the wrong URL --- it goes to www.bladestorm.net/forums (http://www.bladestorm.net/forums) instead of forums.bladestorm.net; anyone know why this is, or how to fix it?):
http://forums.bladestorm.net/
-y2k-I don't mean to be rude, but this bug has been spotted and corrected maybe a dozen times in this thread already.
y2krazy
01-09-2004, 04:28 AM
I just couldn't find it in the last 10 pages and had to log off after only skimming through them. I am sorry to have bothered you with it, but I found the problem on my own when I found the template that needed to be corrected. Thanks for the notice and the hack, TWTC! :D
-y2k-
Fargo
01-24-2004, 04:31 PM
installed nearly perfectly on 2.3.4! Only problem was the already mentioned path in the shoutbox_post template.
Another satisfied customer :)
Fargo
01-27-2004, 05:09 PM
TWTCommish,
I have a quick question. This hack is forced to the bottom of the page in some of my template sets and I was wondering if you had any suggestions to rectify this problem? From what Im seeing, its conflicting between my vbPortal side menu, but like I said - its only occuring on a few styles.
It was brought up once several pages back however, it remains unanswered (from what I could tell) and would really love to keep this hack installed.
Thanks in advance for any suggestions :)
TWTCommish
01-27-2004, 05:21 PM
TWTCommish,
I have a quick question. This hack is forced to the bottom of the page in some of my template sets and I was wondering if you had any suggestions to rectify this problem? From what Im seeing, its conflicting between my vbPortal side menu, but like I said - its only occuring on a few styles.
It was brought up once several pages back however, it remains unanswered (from what I could tell) and would really love to keep this hack installed.
Thanks in advance for any suggestions :)
I'm afraid I'm not familiar with vBPortal, and am therefore not really sure how to go about correcting any conflicts that it might have with it.
Fargo
01-28-2004, 02:07 AM
Ok...I tried moving it elsewhere, like above the Private messages block, but then it forced both of them down.
I didnt see anything, but do you recall having any hard coded table or cell widths in any of the templates? I will keep looking in case I can find the answer myself yet.
Is there a hack to add this to my vbPortal Page??
stamos2003
03-10-2004, 04:11 PM
how to prevent banned users from using it ?
Hi TWTCommish! I have enjoyed this hack thoroughly. Will you be doing an update for VB3Gold? *crosses fingers*
94supratt
06-15-2004, 02:10 AM
Does anyone know how to fix this error in "Who's online"
Unknown Location: /forums/shoutbox.php?&
enginethatcan't
06-18-2004, 07:05 PM
when I view who is online it says
"Unknown Location
/forum/shoutbox.php?do=main " under their location.....what script am I missing and in which file?
thanks
enginethatcan't
06-21-2004, 10:43 AM
bump
TWTCommish
06-21-2004, 02:36 PM
bump
I'm pretty sure the problem you're referring to has been discussed and solved many, many times in this thread already.
enginethatcan't
06-21-2004, 03:17 PM
still don't see it after browsing and searching all 36 pages
TWTCommish
06-21-2004, 03:25 PM
I was thinking of something else.
Anyway, you're not missing anything; integration with the Who's Online page was not released with the ZIP file.
DarkDraco07
07-12-2004, 01:46 AM
ive been away form the forums for a while and still noone answered my long lost question...
how can you set a character limit to the forumhome... like show only 20 characters or something...
dont tell me to find that hackm then do this to it, and use that part to do this and all that complicated stuff.... just PLEASE post the code ><
Icheb
07-12-2004, 10:19 AM
Use substr() http://de.php.net/manual/en/function.substr.php on the variable that holds the text.
Example: $bla=substr($bla,0,20);
THE REAL BLAZE
08-18-2004, 02:12 AM
I did everything on the list, for some reason, the shoutbox does not show on forumhome like it's supposed to, the shoutbox works http://rapblock.com/forums/shoutbox.php but it doesnt show on the forumhome, it is FULLY installed. No errors, what do you think might be wrong?
sunruh
09-16-2004, 08:45 PM
is there one out yet?
my users are really asking for this feature.
thanks!
steve
ElementalReborn
09-22-2004, 12:05 AM
When I ran the query, I got a database error.. is it safe to continue hacking?
Also, how do I add a break between the bottom of the forum and the shoutbox?
eta: nvm, figured it out through hours and hours of trial and error lol
djjeffa
11-20-2004, 12:02 AM
awsom hack Installed!!!!!!!!!!
is ther anyway to make the windo on the home page a little shorter?
AyeCapn
05-07-2006, 10:12 PM
bump for vb3.5 version ?
Techlion126
09-10-2007, 02:41 PM
I up loaded it and it is showing up on the message board but it stuck saying that it's loading....
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.