Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
vbshout 2.0 in specified forums only Details »»
vbshout 2.0 in specified forums only
Version: 1.00, by utw-Mephisto utw-Mephisto is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.0 Beta 3 Rating:
Released: 07-03-2006 Last Update: Never Installs: 11
Uses Plugins
 
No support by the author.

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 (in_array($forumid, array(169,170)))
{ 
$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 (in_array($forumid, array(169,170)))
to the forum ids in which 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)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-04-2006, 04:57 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!
Reply With Quote
  #3  
Old 07-05-2006, 10:52 PM
mof9336 mof9336 is offline
 
Join Date: May 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Blade
Thank you!
yes thakyou-how do i get it to show everywere even if peeps are making a post
Reply With Quote
  #4  
Old 07-05-2006, 10:58 PM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everywhere ?

As I said in the description .. its based on the addon "show on ALL pages" which can be found here :

https://vborg.vbsupport.ru/showthrea...=96158&page=12
Reply With Quote
  #5  
Old 08-07-2006, 11:44 PM
iran.gs iran.gs is offline
 
Join Date: Jul 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where do l put this at ???

Change



Quote:
if (in_array($forumid, array(169,170)))
Reply With Quote
  #6  
Old 08-07-2006, 11:54 PM
iran.gs iran.gs is offline
 
Join Date: Jul 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i did everything to the book but is not even showing in the forum )
Reply With Quote
  #7  
Old 09-05-2006, 03:13 PM
tazB.ca's Avatar
tazB.ca tazB.ca is offline
 
Join Date: Sep 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WORKS FINE....U NEED TO CHANGE THAT LAST TEMPLATE EDIT U STATED BECAUSE IT LOOKED LIKE U MENT CHANGE IN THA vBShout [Template Cache],WEN REALLY U MENT IN THA vBShout [Template Alteration]
Reply With Quote
  #8  
Old 10-16-2006, 09:11 AM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does vBshout 2.0 work with vbulletin 3.6.2?
Or do I have to wait for an upgrade?
Reply With Quote
  #9  
Old 10-22-2006, 10:42 AM
Elsie's Avatar
Elsie Elsie is offline
 
Join Date: Jun 2006
Location: England
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does the "show on all pages" work with 3.6.0?
Reply With Quote
  #10  
Old 10-29-2006, 08:16 PM
taumau taumau is offline
 
Join Date: Aug 2006
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a vbshout box for vb 3.6.0 ?aranoid:
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07124 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete