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

Reply
 
Thread Tools
vBShout on all pages! Details »»
vBShout on all pages!
Version: 2.00, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Version: 3.5.0 RC3 Rating:
Released: 09-12-2005 Last Update: 09-12-2005 Installs: 169
Uses Plugins
 
No support by the author.

vBShout on all pages!


Works for vBShout version 2.0

This hack will make vBShout show on all pages of your side. BUT, will only alow the shoutbox to be placed under the navbar.

1) Install vBShout (Download here)

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

a) Change the Hook Location to "global_start"

b) Find and delete:

PHP 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($bashiif($vbulletin->options[$against], explode(','$vbulletin->options[$against]), array()));


c) Find:

PHP Code:
$vbulletin->templatecache['FORUMHOME'] = str_replace($Position$Position ' $Shoutbox'$vbulletin->templatecache['FORUMHOME']); 

and replace with:

PHP Code:
$Position '<!-- / nav buttons bar -->';
$vbulletin->templatecache['navbar'] = str_replace($Position$Position '<br /> $Shoutbox'$vbulletin->templatecache['navbar']); 

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

Find:
PHP Code:
if (THIS_SCRIPT == "index"
Replace with:
PHP Code:
if (VB_AREA == "Forum"

There is the same info in the zip.


Done. Make sure you clicked "install"

Show Your Support

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

Comments
  #232  
Old 05-04-2007, 05:12 PM
cuphongle cuphongle is offline
 
Join Date: Jul 2005
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is this work for v3.6.5???
Reply With Quote
  #233  
Old 07-27-2007, 06:04 PM
fgenetics fgenetics is offline
 
Join Date: Dec 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cuphongle View Post
is this work for v3.6.5???
works good on my board 3.6.4

tried installing on my other board 3.6.7 ... the board is just getting to a blank page. Please advise.

Thx
Reply With Quote
  #234  
Old 07-29-2007, 01:27 PM
esthervdwal esthervdwal is offline
 
Join Date: May 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gizmo5h1t3 View Post
installed it exactly as in instructions, now i have a completely borked board...cant login, even into the admin cp..

Fatal error: Call to undefined function: isbanned() in /home/*******/public_html/board/global.php(363) : eval()'d code on line 112

any helpin gettin my board back online would be appreciated
I'm having the same problem here on line 113
Reply With Quote
  #235  
Old 09-24-2007, 09:18 PM
skepticality skepticality is offline
 
Join Date: Mar 2007
Location: Roswell, GA
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I am doing wrong? I keep looking for "vBShout [Template Alteration]" and for the life of me, I can't find that. I have looked in the plugin itself on the admin panel. And I have looked in the plugin section, I can see all the vBShout entries in there, but NONE with the name [Template Alteration]. Am I just not looking in the correct place? I want the chatbox to be under the navbar on ALL the pages.
Reply With Quote
  #236  
Old 11-10-2007, 11:21 PM
RatherBecamping RatherBecamping is offline
 
Join Date: Oct 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

welp I got the fatal error...then I found the global start hook after I deleted the hack....sigh.......the template you're looking for is under plugins in admin cp
Reply With Quote
  #237  
Old 11-10-2007, 11:38 PM
RatherBecamping RatherBecamping is offline
 
Join Date: Oct 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is this error?

Fatal error: Call to undefined function isBanned() in /home/usarvfor/public_html/USARVFORUM/global.php(360) : eval()'d code on line 409

I SHout works like a champ before I try to install the shout on all pages hack. YES I followed your instructions to the letter.
Reply With Quote
  #238  
Old 11-11-2007, 01:36 AM
skepticality skepticality is offline
 
Join Date: Mar 2007
Location: Roswell, GA
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay.

I must have lost my mind. For the LIFE of me I can't find the correct spot in the Admin CP where I do the changes I need to do for the shoutbox to be on all the pages. People keep referencing the spot, and that makes sense, but WHERE is it in the system? It isn't too obvious in there sometimes and every time I think I figured it out... I break something in a rather tragic manner... <sigh>

Has anyone out there made this shout system end up on all your pages? Cause, it seems that my users would like that quite a bit...

Thanks again.
Reply With Quote
  #239  
Old 11-11-2007, 11:55 AM
RatherBecamping RatherBecamping is offline
 
Join Date: Oct 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Admincp>Plugins and Products>Plugin Manager

You'll see the templates you need to edit there. Hope you have better luck than I did.
Reply With Quote
  #240  
Old 11-11-2007, 01:37 PM
skepticality skepticality is offline
 
Join Date: Mar 2007
Location: Roswell, GA
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks...

So I guess you didn't get it to work either? Cause, I found all the templates... but none of them are named "[Template Modification]". Then I attempted to be 'smart' and went into the actual php files to see where it was doing the magic... and... got lost. <sigh>

Has anyone made this work on all the pages of their forum?

If you have, can you let us know the 'trick'?

Thanks!
Reply With Quote
  #241  
Old 11-15-2007, 04:58 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you not make another php so we can just upload that and have it on all the pages as i dont even know what a hook is and where to change it...i know its silly but its a request hope u can do it thanks
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 11:17 AM.


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.10373 seconds
  • Memory Usage 2,313KB
  • 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_php
  • (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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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