vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Chat Modifications - vbshout 2.0 in one forum only (https://vborg.vbsupport.ru/showthread.php?t=120276)

utw-Mephisto 07-03-2006 10:00 PM

vbshout 2.0 in one forum only
 
All credits going to Zero Tolerance for releasing vBShout 2.0 and Abe1 for the instructions to use vBShout on all pages.

Here once again the full instructions:

1) Install vBShout

2) Edit plugin "vBShout [Template Alteration]" and make the following changes:

a) Change the Hook Location to "global_start"

b) Find and delete:

Code:

function isBanned($user)
{
        return (isBanned_Check($user['userid'], 'shout_banned_users') || isBanned_Check($user['usergroupid'], 'shout_banned_usergroups'));       
}

function isBanned_Check($bash, $against)
{
        global $vbulletin;
        return in_array($bash, iif($vbulletin->options[$against], explode(',', $vbulletin->options[$against]), array()));
}

c) Find:
Code:

$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);
and replace with:
Code:

if ($forumid ==169)
{
$vbulletin->templatecache['FORUMDISPLAY'] = str_replace('$navbar', '$navbar' . ' $Shoutbox', $vbulletin->templatecache['FORUMDISPLAY']);
}

3) Edit plugin "vBShout [Template Cache]" and make the following changes:

Find:
Code:

if (THIS_SCRIPT == "index")
Replace with:
Code:

if (VB_AREA == "Forum")
Change

Code:

if ($forumid ==169)
to the forum id you would like to show the shoutbox ...


Since vbshout has been changed several times, I have attached also the vbshout.php and the product (already modified).

It does work on both my forum with 3.54 and 3.6.0 Beta 3 (works only below navbar)

aldo7a 07-04-2006 12:01 PM

I still using vBShout 2.0 without change any thing only i upgrade my vb to 3.6.0 Beta 3 and my vb still working with me very nice.
why i should change ?
http://www.aldoha.org

utw-Mephisto 07-04-2006 01:44 PM

I think you misunderstand the purpose of this ... This is an addon / change to display the shoutbox not just on forumhome but in subforums / forums .. It just happen to work on vb 3.6 Beta .. I did not write it is a new version ..

aldo7a 07-04-2006 02:39 PM

A lot of thanks my dear now i understand what you mean

Paul M 07-04-2006 04:13 PM

I have removed the vbshout files as they should not be attached to this thread, the instructions are all that is needed, you have a link to the vbshout thread for people to get the actual modification files.

SiriusBlack22 07-09-2006 05:52 AM

you ROCK.

RFViet 07-14-2006 01:22 PM

Can i have vbshout in separate forums ?? So , each forum, members can have live help with Moderators !!

Lord Draco 07-14-2006 03:18 PM

Will it work with the VBulletin 3.6.0 Release Candidate 1?

Jon. 07-17-2006 04:28 PM

It doesn't appear to work with release candidate 2. I've set it all up, and it's not appearing in the specified forum (ID 23)

utw-Mephisto 07-19-2006 03:29 AM

It does work just fine on VB 3.6 RC2 for me ..

But because Zero released several versions of vbshout, I attached the files of the version I am using which have been removed by Paul I am afraid .. I had to figure it out myself that not all versions are working :(

You can check it out yourself :

ut2007world.com

user / pw : beer

and there go into the spam forum (bottom) to test ..


All times are GMT. The time now is 06: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.01160 seconds
  • Memory Usage 1,738KB
  • 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
  • (6)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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