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
  #102  
Old 05-25-2007, 05:54 AM
jessej jessej is offline
 
Join Date: Jun 2006
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ziki View Post
If does not work on some custom styles: click
PERFECT!!! TYTY This is a great hack and been ok, but had 2 problems.

First was getting blank/white pages when reading pm's. I uninstalled it all, and re-installed it. Now it seems to work ok with pms, but when i go to read a pm, I get this

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1219) : eval()'d code on line 5


ONLY when I red a pm. This message is at the very top of the forum page, and it happens on all skins. I am on vb vers 3.6.5
Reply With Quote
  #103  
Old 06-02-2007, 07:40 PM
jessej jessej is offline
 
Join Date: Jun 2006
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

now i locked out of the admincp all together. argh!! this is a lot of probs. how can i get back into the admincp? just getting a white screen and a message at top says;

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1219) : eval()'d code on line 5

Any help grreatly appreciated.
jj

---------------
UPDATE:
went into the server, found the plugin table, modified it, and now back in. damn thats NOT fun at all. along the way i hosed a few other hacks (in the test forum only), but got em back now.

But,
still the hack for the shoutbox is ok, its the hack to install it on all pages thats hosing my stuff. and not when i do it manually, only when i import the xml file. ..
Reply With Quote
  #104  
Old 07-04-2007, 02:39 AM
blindman4556 blindman4556 is offline
 
Join Date: Feb 2007
Location: your basement
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

on one of my skins, when your in internet explorer. and you type something in, it says error on page on that little bar on bottom of window. then it will open up a new window (/forums/vbshout.php?) any suggestions

the site is http://www.likenota.com/forums/ and its the default skin that does it, none of the rest
Reply With Quote
  #105  
Old 07-07-2007, 12:14 AM
blindman4556 blindman4556 is offline
 
Join Date: Feb 2007
Location: your basement
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my ass
Reply With Quote
  #106  
Old 08-12-2007, 08:08 PM
GekkoPixie's Avatar
GekkoPixie GekkoPixie is offline
 
Join Date: Jul 2005
Location: Maine, USA
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't work on 3.6.8.
Reply With Quote
  #107  
Old 09-11-2007, 03:13 AM
kellyandmark04 kellyandmark04 is offline
 
Join Date: Jun 2007
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just installed the XML file and overwrote my previous version and it works great except for one prob

im running vb 3.6.7

it shows on all pages everything works correctly but when i open a private message i see this at the top of the screen

Quote:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1243) : eval()'d code on line 5
can anyone help me resolve this issue thanks
Reply With Quote
  #108  
Old 09-24-2007, 10:14 PM
skepticality skepticality is offline
 
Join Date: Mar 2007
Location: Roswell, GA
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn,

Well the box is on all my pages, but it only sits there 'loading' and never comes up at all!

Anyone have a fix for that issue?
Reply With Quote
  #109  
Old 09-26-2007, 04:48 AM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

best way to get rid of errors is to use the new shoutbox.. though it has less features I know it works on all and any pages you want it too...
Reply With Quote
  #110  
Old 09-29-2007, 06:02 PM
mitomcua mitomcua is offline
 
Join Date: Jul 2003
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FreshFroot,
Which version are you using that has the feature on all pages?
Reply With Quote
  #111  
Old 09-29-2007, 10:22 PM
imports imports is offline
 
Join Date: Jul 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how come mine just say loading....and it's not working
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:55 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.04878 seconds
  • Memory Usage 2,311KB
  • 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
  • (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
  • (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