Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #82  
Old 03-07-2007, 09:25 PM
parabat parabat is offline
 
Join Date: Apr 2006
Location: South Africa
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm running 3.6.4 and vbshout 2.0 and have done both the manual and the xml changes. Both throw up this message.

Code:
Fatal error: Call to undefined function: isbanned() in /**/***/***/airbornesoldier.com/Forums/global.php(356) : eval()'d code on line 321
Any help please.

-PB
Reply With Quote
  #83  
Old 03-07-2007, 09:37 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure you removed:

Quote:
function isBanned($user)
{
return (isBanned_Check($user['userid'], 'shout_banned_users') || isBanned_Check($user['usergroupid'], 'shout_banned_usergroups'));
}
Reply With Quote
  #84  
Old 03-07-2007, 09:48 PM
parabat parabat is offline
 
Join Date: Apr 2006
Location: South Africa
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, definitely.

As I said, I tried both methods.

-PB
Reply With Quote
  #85  
Old 03-07-2007, 10:08 PM
parabat parabat is offline
 
Join Date: Apr 2006
Location: South Africa
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see the default is below the navbar. How do I set it to be above the Main forum as I have other things below the navbar?

-PB
Reply With Quote
  #86  
Old 03-08-2007, 04:26 AM
cOuNtErFiET cOuNtErFiET is offline
 
Join Date: Feb 2006
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i upgraded to 3.6.5 and wont work something is up i get that banned error too

EDIT: ok i got it had to change the vbShout Option: Banned Permissions to "can view shoutbox, but not message" and worked for me, i remember having to do this with an old vbshout, but of course im using vbshout 2.1 not 2.0
Reply With Quote
  #87  
Old 03-11-2007, 11:50 AM
deezelpope deezelpope is offline
 
Join Date: Feb 2007
Posts: 1,272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by deezelpope View Post
Bummer...won't work on my board.
Ok, tried again...it works, just not on all skins. Worked on 3 out of 5...bizarre. Didn't work on Blak-Ice or GirlTalk3. So, I reverted back to just having it on the index.
Reply With Quote
  #88  
Old 03-19-2007, 05:39 PM
GekkoPixie's Avatar
GekkoPixie GekkoPixie is offline
 
Join Date: Jul 2005
Location: Maine, USA
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked great for me! Thank you!
Reply With Quote
  #89  
Old 03-25-2007, 06:27 PM
FRANKTHETANK 2 FRANKTHETANK 2 is offline
 
Join Date: Sep 2006
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

worked on vbshout 2.1 also good work
Reply With Quote
  #90  
Old 03-30-2007, 05:23 AM
GnG_ShoOk GnG_ShoOk is offline
 
Join Date: Mar 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i installed it correct, but the box comes up and all but it just says loading... and it nevr changes...?
Reply With Quote
  #91  
Old 03-30-2007, 05:38 AM
GnG_ShoOk GnG_ShoOk is offline
 
Join Date: Mar 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there some link i need for a server ?
Reply With Quote
Reply


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:12 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.07151 seconds
  • Memory Usage 2,317KB
  • 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
  • (1)bbcode_code
  • (7)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
  • (4)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