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)

DarkDraco07 05-23-2002 07:40 PM

sorry, i didnt know :(

TWTCommish 05-23-2002 07:46 PM

Um, you should probably go back and edit your post so you can remove the attachment, then. :)

Jeremy W. 05-23-2002 07:50 PM

Chris, I just wanted to say again how truly solid this is :)

I had installed Sinecure's shoutbox and it took me 2 hours to customize it and make it work properly. I dropped yours in and bang it worked. Since users had been using Sinecure's, they were quite shocked when everything switched to the new one.

In 1 hour there have been 200 shouts. The users love it, thank you again so much! :)

TWTCommish 05-23-2002 07:53 PM

Thanks very much - I'm glad you like it. My users love it, too. :)

Jeremy W. 05-23-2002 08:07 PM

No worries mate, good work deserves praise :)

Any plans for upgrades? (who's shouting, etc)?

TWTCommish 05-23-2002 08:28 PM

Yeah, I do plan, I think, to upgrade this script after awhile...assuming it continues to get this positive reaction. :) "Who's Shouting" is a very good idea...I guess it'd work a little bit like "Users Browsing this Forum"? I suppose I never thought of it because my board isn't big enough to warrant such a thing. And I've been busy with two other significant hacks. :D

I had a few other ideas, too:
  • Comprehensive admin script to edit/delete shouts easily (perhaps in bulk for the latter?)
  • Who's Shouting? (good idea :D)
  • Shoutbox Search
  • Shoutbox Smilie Selector (allow admins to easily select which smilies they want below their text box)
  • Shouts in last 24 hours (as an admin, and user options)
  • Refresh intervals: allow user to select how often the page should refresh, if at all.
That's all for now...a few of those are quite easy of course, but I'd rather do things in bunches. :) If anyyone else has any other suggestions, don't hesitate to speak up.

Jeremy W. 05-23-2002 08:33 PM

Yeah, it would be just like the "Who's browsing this forum".

A few things I've noticed is that the breadcrumb doesnt' show up properly (http://www.ringquest.com/forums/shoutbox.php), and smilies don't show up in posts at all...

I'd just like to say that I'm addicted to your hacks *L* Of the 20 odd new features this week, I think nearly half were yours :) One day I need to learn PHP *L*

TWTCommish 05-23-2002 08:49 PM

Open shoutbox.php, and find this:

PHP Code:

eval("\$shoutbits .= \"".gettemplate("shoutboxbit",1,0)."\";"); 

...right before it, add this...

PHP Code:

$shout_text  bbcodeparse($shout_text); 

Let me know if that helps with the smilies. :) If it doesn't, add this:

PHP Code:

$shout_text  bbcodeparse($shout_text01); 

That should help. I think. I hope. You probably have that line in your file already...but without the ", 0, 1" in the function call.

Jeremy W. 05-23-2002 10:06 PM

It now reads something like:

Code:

        $color      = ($num++ % 2 == 0) ? '{firstaltcolor}' : '{secondaltcolor}';
        $totalshouts = number_format($DB_site->num_rows($shouts));
        $time_posted = vbdate('n-j-y, g:i:s a', $timestamp);
        $shout_text  = bbcodeparse($shout_text);
       
          if ($bbuserinfo[usergroupid] == 6) {
            eval("\$adminoptions = \"".gettemplate("shoutbox_adminoptions",1,0)."\";");
          }
        $shout_text  = bbcodeparse($shout_text, 0, 1);
        eval("\$shoutbits .= \"".gettemplate("shoutboxbit",1,0)."\";");
      }

But still no smilies (from old or new posts) :(

I mean, it's not a big deal but they would add lots of "ambience" ;)

TWTCommish 05-23-2002 10:07 PM

Try this:

Code:

        $color      = ($num++ % 2 == 0) ? '#F1F1F1' : '#DFDFDF';
        $totalshouts = number_format($DB_site->num_rows($shouts));
        $time_posted = vbdate('n-j-y, g:i:s a', $timestamp);
        $shout_text  = bbcodeparse($shout_text, 0, 1);
       
          if ($bbuserinfo[usergroupid] == 6) {
            eval("\$adminoptions = \"".gettemplate("shoutbox_adminoptions",1,0)."\";");
          }
        eval("\$shoutbits .= \"".gettemplate("shoutboxbit",1,0)."\";");
      }



All times are GMT. The time now is 06:34 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.03520 seconds
  • Memory Usage 1,743KB
  • 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_code_printable
  • (3)bbcode_php_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
  • (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