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

Reply
 
Thread Tools
ZH - vBShout On All Pages Details »»
ZH - vBShout On All Pages
Version: 1.0.0, by Ziki Ziki is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

Category: Chat Modifications - Version: 3.6.x Rating:
Released: 12-01-2006 Last Update: 12-01-2006 Installs: 37
 
No support by the author.

This modification was brought to you by
KXDesign
http://www.kxdesign.com/


~Hack name
vBShout On All Pages!

~Hack description
Will display vBShout 2.0 box on every forum page!You can choose manual instructions or just reimport this product.

~Hack options
None

~Hack info
File uploads: 0
Template edits: 0
Templates: 0
File edits: 0
Plugins: 0
SQL Queries: 0
Phrases: 0
Settings: 0

Install time: 2 minutes
Install level: Easy

~Hack installation

Step 1: Open plugin vBShout[Template Cache] and find:
Quote:
if (THIS_SCRIPT == "index")
Replace with:

Quote:
if (VB_AREA == "Forum")
Step 2: Open plugin vBShout[Template Alternation],change hook location to global_start and find and delete:
Quote:
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()));
}
Step 3: Open the plugin again and find:
Quote:
switch ($vbulletin->options['shout_position'])
{
case
1:
$Position = '<!-- what\'s going on box -->';
break;

case
2:
$Position = '<!-- end what\'s going on box -->';
break;

case
4:
$Position = '<!-- main -->';
break;

default:
$Position = '$navbar';
break;
}

$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);
And replace with:
Quote:
$Position = '<!-- / nav buttons bar -->';
$vbulletin->templatecache['navbar'] = str_replace($Position, $Position . '<br /> $Shoutbox', $vbulletin->templatecache['navbar']);
~Hack screenshots
None


~Hack copyright
This may not be distributed,released or claimed as your work without author's permission.

Show Your Support

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

Comments
  #12  
Old 12-02-2006, 08:12 PM
Calibre_k Calibre_k is offline
 
Join Date: Feb 2006
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBShout 2.0 AJAX Shoutbox for vBulletin (On all Pages)

I imported your vbshout xml

Allow Overwrite Yes

and when I enable it I get error
Reply With Quote
  #13  
Old 12-02-2006, 08:56 PM
AMG021 AMG021 is offline
 
Join Date: Sep 2006
Location: Not From This Planet
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MY vbshout disappeared
Reply With Quote
  #14  
Old 12-03-2006, 05:05 AM
VaaKo VaaKo is offline
 
Join Date: Jul 2005
Location: Lebanon
Posts: 400
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool man

/me clicks install!
Reply With Quote
  #15  
Old 12-03-2006, 08:31 AM
GoLDeNLaNd's Avatar
GoLDeNLaNd GoLDeNLaNd is offline
 
Join Date: Nov 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i look vbshout it says loading ....... , what can i do ?
Reply With Quote
  #16  
Old 12-03-2006, 10:55 AM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If the product does not work then try the manual instructions.Because the product somehow doesn't work for everybody.Tested on 3 boards and it worked well on 2 of them,
Reply With Quote
  #17  
Old 12-03-2006, 11:53 AM
Calibre_k Calibre_k is offline
 
Join Date: Feb 2006
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Figured rest out...

Open plugin vBShout[Template Alternation],change hook location to global_start and find and delete:

What do I delete? Where is hook location? I have done rest of changes but I still see shoutbox on forum index.

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()));
}
Reply With Quote
  #18  
Old 12-03-2006, 01:23 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In plugin manager.Those are plugins
Reply With Quote
  #19  
Old 12-03-2006, 01:29 PM
Calibre_k Calibre_k is offline
 
Join Date: Feb 2006
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx i was editing vbshout.xml
Reply With Quote
  #20  
Old 12-03-2006, 01:33 PM
Calibre_k Calibre_k is offline
 
Join Date: Feb 2006
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So do I delete all this from [Template Alternation]?
Where is hook location that i have to change?

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()));
Reply With Quote
  #21  
Old 12-03-2006, 02:21 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes and the hook location is a drop down box when you are editing the plugin
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:41 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.05498 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
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
  • (5)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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