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)

hexonxonx 06-16-2003 11:50 PM

I went back a few pages and didn't see this asked yet. I am wondering if anyone knows the modifications needed to get this running on vB 3.0?

If not, does anyone have plans to do so soon?

-Sidekick- 06-18-2003 11:58 AM

Someone on at vb.com was talking about almost having this done.

hexonxonx 06-18-2003 05:48 PM

Quote:

Today at 01:58 PM -Sidekick- said this in Post #402
Someone on at vb.com was talking about almost having this done.
Yeah I saw that same post over there.

fury 06-22-2003 07:20 PM

That would be me :) Unfortunately, vB.org does not allow the release of vB3 hacks. Stay tuned for more info, I am in the process of asking TWT for permission to rerelease the hack. I would guess that the hack itself is about 90% complete now.

gmarik 06-22-2003 07:22 PM

The last shout in the place of Announcement :cool:

monstergamer 06-24-2003 02:26 AM

is there any way to ban and unban some one from the shoutbox.
but not ban the them from the forum

-Sidekick- 06-24-2003 04:29 AM

Yea monster, I added it to my board. I'll post it up in a sec.

-Sidekick- 06-24-2003 04:49 AM

Open Shoutbox.php

Find this:

PHP Code:

$templatesused 'shoutbox,shoutboxbit,shoutbox_adminoptions,shoutbox_error,shoutbox_leaderbit,shoutbox_leaders,shoutbox_notloggedin,shoutbox_pagenav,shoutbox_postshout'

Replace that with this:

PHP Code:

$templatesused 'shoutbox,shoutboxbit,shoutbox_adminoptions,shoutbox_error,shoutbox_leaderbit,shoutbox_leaders,shoutbox_notloggedin,shoutbox_banned,shoutbox_pagenav,shoutbox_postshout'


Then find this:

PHP Code:

eval("\$shoutbox_postshout = \"".gettemplate("shoutbox_notloggedin",1,0)."\";");


Below that, add this:

PHP Code:

// ###################### START OF BANNING OPTION ##########################

if ($bbuserinfo[userid] == X) {
    eval(
"\$shoutbox_postshout = \"".gettemplate("shoutbox_banned",1,0)."\";");
  }

// ###################### END OF BANNING OPTION ########################## 

Replace X in that code with the User ID of the person you are banning.

Then create a template named shoutbox_banned

Put this in that template:

PHP Code:

<br/><center><normalfont color="white"><b>You have been banned from the shoutbox and no longer have the ability to shout.</b></normalfont></center><br/> 

Upload your shoutbox.php and that should be it.

Don't forget to change the font color from white in the added template to whatever color that matches your style. That's the color the text will be from the ban message.

If you do that correctly, when someone that is banned goes to the shoutbox it will look like the attached screenshot. Sorry it's not a function that you can do from your AdminCP, I'm not that good. :ermm:

monstergamer 06-24-2003 05:09 AM

thanx
trying it now

gmarik 06-24-2003 11:00 AM

I created a folder "/chat" wich is on the same level as the folder "/forum". All is working well only one thing - smilies never show up, because the path to them has changed. Is there a way to add $bburl to every smilie path or a better method to solve this problem?


All times are GMT. The time now is 08:57 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.01546 seconds
  • Memory Usage 1,748KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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