vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Shoutbox 1.0 (https://vborg.vbsupport.ru/showthread.php?t=38698)

TWTCommish 04-10-2003 06:35 PM

It only adds one query to my mainpage.

Mickie D 04-12-2003 10:22 AM

i must be wrong m8 ... i only have 22 i used to have 19 b4

what it was i was installing a few hacks i thought i checked through them each time i must have forgot to test the queries after each hack

sorry i only wanted to help the barhopper fella... jsut thought i would ask at the same time :)

phill2003 04-21-2003 07:39 PM

fantastic m8 i put it into the vbhome light home page instead of forum home and it looks fabaroony

thanks very much.....

XP Kid 86 04-23-2003 07:06 AM

odd .. everything works but when i click on Shout Now! it goes to

http://www.expeditiousworld.com/shoutbox.php

and it should go to

http://www.expeditiousworld.com/forum/shoutbox.php

and i thought maybe it would post it .. but it never registared the shout .. so i really have a ussles thing here lol .. anyone help me?

- Speedy

XP Kid 86 04-23-2003 05:32 PM

bump anyone have any ideas?

XP Kid 86 04-24-2003 01:50 AM

bump once again .. any help anyone :(

WEForums 04-24-2003 02:00 AM

In the "shoutbox_postshout" template, change this:

<form action="/shoutbox.php" method="post" name="vbform">

To this:

<form action="shoutbox.php" method="post" name="vbform">

Not sure if it'll work because I do not have this hack installed.

proxyMX 04-24-2003 03:41 AM

Having trouble displaying on my Index.php page,

Just dosent appear,
Oh well, ive linked to it all the same.

XP Kid 86 04-24-2003 03:55 AM

thanks man worked like a charm .. now alls i have to fix is that RPG battlin hack i insalled .. damn lots of little errors lol.

- Speedy

Smelly Fed 04-25-2003 12:51 AM

We added this to our forums at http://www.authentic-campaigner.com/...n/index.php?s=

We customized it a bit, as you'll see. We added a feature so our users can Expand or Collapse the shoutbox in case they feel its intrusive. Incidentally, the shoutbox defaults to collapsed for non-registered guests. For registered users it will expand to 5 shouts, if of course they hit Expand.

We also reformatted the text a bit.

All in all we think it turned out very well. Thanks for the great hack.

MarkL 04-25-2003 03:07 AM

yeah, well, it wasn't posting for me, either, and then i fixed it. Now, it's not working for me again. Now it's doubling the dir that the boards are at.

I.E. - it should be --- /harrypotter/shoutbox.php

instead, it's going --- /harrypotter/harrypotter/shoutbox.php

Anyone know what could be wrong? :(

Frozen Dreams 05-02-2003 08:17 PM

works like a charm - I am in love with it already :D

Attrox 05-03-2003 02:19 AM

Moderators Can Delete in Shoutbox
written by: Attrox - Version 1.0


This is an addition to the vB Shoutbox hack, written by TWTCommish.

This hack is pretty self-explanitory. It gives moderators and super-moderators the ability to delete shouts in the Shoutbox. The hack should not take very long to install, only a few minutes at most, and it is very simple to install, since the add-on only requires a few line additions. If you have any questions, or problems, please post for support in THIS thread, or if you would rather private message me, that is fine.

Enjoy!

Vivi Ornitier 05-03-2003 02:54 AM

nice! been lookin for somethin liek this

Velocd 05-03-2003 02:55 AM

I've been meaning to do this with the shoutbox on my forum..
Mucho gracias.

/me kicks install

MetroSports82 05-03-2003 03:15 AM

theres already been a modification for this. good to see it released here though. ;)
https://vborg.vbsupport.ru/showthrea...+delete+shouts

Attrox 05-03-2003 03:37 AM

Well, I did a thorough search of the hacks database before I released the addition, and couldn't find anything...I guess I missed that. My bad. :ermm: But technically, that wasn't a release, and hopefully it will be much easier for users to find here.

Dean C 05-03-2003 12:41 PM

Also little modifications like this should be released in the orginal thread :)

- miSt

Xenon 05-03-2003 01:20 PM

merged

Attrox 05-03-2003 01:24 PM

Alright, thanks. :) Sorry about that...

Sam FT 05-04-2003 12:32 AM

Yes, I really like this shoutbox alot. But I am having a problem with one of the optional feature, the mass shout pruning. I am running vb 2.3.0 and uploaded admin_shoutbox.php file and replaced the code in the index.php file in the /admin directory. When I try to delete a shout either by userid or by date it changes screens says "0 shout(s) deleted" and nothing happens. I didn't know if anybody had any ideas that could help me.

hawkin 05-07-2003 02:05 PM

Im not sure if this allready has been suggested, but I'll post it anyway (25 pages is alot!):

I came across the script used alot of processing time, and figured at last it was cause one LIMIT statement is not set up (and that will affect performace very much, if you have a shoutbox table with alot of shouts, as us: 127.000 shouts)

Find this line:
$limit = ($start > 0) ? "LIMIT $start, ".($shout_limit + 1) : '';

and change it to:
$limit = ($start > 0) ? "LIMIT $start, ".($shout_limit + 1) : "LIMIT $shout_limit";

It will speed up the default page (when you are not browsing for older shouts) quite a bit for big shoutboxes (we went from 11 sec to 2 sec)

TWTCommish 05-07-2003 11:01 PM

Eh? There's a limit on every query except the counters, last I checked.

hawkin 05-08-2003 12:11 AM

not if $start=0
The shouts query will query ALL the shouts in the shouts table, even when you only need the first $shout_limit.

if $start >0, then yes, there is a limit set (and thats why browsing the history is quicker)

Icheb 05-19-2003 05:24 PM

Did you guys ever figure out why the page attempts to download itself when you are submitting a shout?
I tried to fiddle with the templates and the file but couldn't get around it.

gmarik 05-24-2003 12:18 PM

Has anybody thougth of making a really small chat of it?
Like making a folder chat and making it really look like chat, leaving all the functions, changing the layout and minimizing all the not-needed functions?!

Splitfyre 05-29-2003 08:05 PM

I like Shoutbox although my big concern is what my users might type in there. Is there any way to bann certain words from showing in the Shoutbox?

Chris M 06-07-2003 04:39 PM

@Splitfyre - Find in shoutbox.php:
Code:

        $shout_text  = bbcodeparse($shout_text);
Add below it:
Code:

        $shout_text  = censortext($shout_text);
Now activate censoring in the admin options;):)

For those of you who want to know how to limit the number of smilies allowed in the shoutbox:
Find:
Code:

  if ($type == 'shout' && $comment_submit && trim($message) != '' && $bbuserinfo[userid] > 0) {
add below:
Code:

    // check max images
    if ($maximages!=0) {
      $parsedmessage=bbcodeparse($message);
      if (countchar($parsedmessage,"<img")>$maximages) {
        eval("standarderror(\"".gettemplate("error_toomanyimages")."\");");
        exit;
      }
    }

:)

Satan

Phoenix_Fighter 06-08-2003 02:31 AM

Hi, one of the admins on my board installed this hack for me. Problem is that i think he messed up with the code somewhere... it seems that all the previous shouts that should show are not showing up and i am not sure why. Would anyone care to give me some ideas?

-Sidekick- 06-08-2003 06:11 AM

Maybe I missed it, but is there a way to limit how often someone can shout in the shoutbox?

DarkDraco07 06-09-2003 03:56 AM

i asked before but cant seem to find how to bann people

legendarysk8er 06-09-2003 05:09 AM

Great hack! I love it so far.

/me clicks install.

-Sidekick- 06-09-2003 07:51 AM

Quote:

Yesterday at 11:56 PM DarkDraco07 said this in Post #391
i asked before but cant seem to find how to bann people
Somewhere in this thread it showed how to do it. I remember reading about it.

Can someone point out how to limit the time inbetween shouts though? :speechless:

Splitfyre 06-13-2003 12:58 AM

Does Shoutbox really provide anything meaningful to your users? Just curious.

Joel Llewellyn 06-15-2003 03:32 PM

great hack and all, but theres an error, whenever someone posts, the posts show up 27 times:-\ do u know whats wrong?

Joel Llewellyn 06-15-2003 03:56 PM

^bump^

Joel Llewellyn 06-16-2003 02:12 AM

bumps, please help :(

S.Shady 06-16-2003 02:52 AM

joel ill check it out. im no expert but ill try :)

S.Shady 06-16-2003 03:20 AM

well this works for me perfectly on 2.3.0 so i would have to say re hack it :)

dont use the vbhacker i dont know if thats what the problem was if you used it or not. but its runnign perfect on my localhost


/* off topic
Eminem on a Biggy video in the bottom right :)
*\

S.Shady 06-16-2003 03:25 AM

diffrent image :-\


All times are GMT. The time now is 02:25 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.01480 seconds
  • Memory Usage 1,810KB
  • 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
  • (4)bbcode_code_printable
  • (1)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