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

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
  #82  
Old 11-22-2005, 04:58 AM
davew davew is offline
 
Join Date: Oct 2005
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this

It has really increased user activity, and thank you very much!

Couple of questions though...

As it doesn't seem to work with vbGallery (Just shows Loading.....) how can I exclude it from showing there?

And also, I'd like only registered users to be able to see the shoutbox, is that possible please?
Reply With Quote
  #83  
Old 11-25-2005, 04:25 PM
unknowngiver unknowngiver is offline
 
Join Date: Jul 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey is it possible to have it on all pages but ABOVE THE FORUMS..
Reply With Quote
  #84  
Old 11-25-2005, 04:51 PM
kafi kafi is offline
 
Join Date: Apr 2004
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi everybody I have this problem:

admin edits are saved and showing correctly
Do not know whether this is issue of vbshout or this hack, but:

Admin edits of shouts are saved properly and shown on shoutbox properly, but

users edits have two mistakes:
1. edit is not shown on vbshout, only in archive
2. edited text is visible only in archive, but due coding issues it is showing anything else but letters.

I persume, that this has someting with permisions features. Does anybody has any idea where the problem could be solved?
Reply With Quote
  #85  
Old 11-30-2005, 04:09 PM
kdh344 kdh344 is offline
 
Join Date: Nov 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where is the ENTIRE list of hacks available and the hack for version 3.0.3?
Reply With Quote
  #86  
Old 12-03-2005, 11:26 AM
Wachtmeister's Avatar
Wachtmeister Wachtmeister is offline
 
Join Date: Apr 2004
Location: West-Berlin, Germany
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anybody here nows, how i can have the Shoutbox on a custom page?

I've setup a custom page, displaying my webcam (like i read on vb.org tutorial somewhere). Now i just want the shoutbox into this page. Does anybody know, which code i can include into my template?

I don't want the SB on every page. Just on one specific webcam.php that uses vb3.5 header, navbar, footer, template.
Reply With Quote
  #87  
Old 12-03-2005, 11:55 AM
lisquid lisquid is offline
 
Join Date: Apr 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wachtmeister
Does anybody here nows, how i can have the Shoutbox on a custom page?

I've setup a custom page, displaying my webcam (like i read on vb.org tutorial somewhere). Now i just want the shoutbox into this page. Does anybody know, which code i can include into my template?

I don't want the SB on every page. Just on one specific webcam.php that uses vb3.5 header, navbar, footer, template.
I have never replied to a VB.org post this is my first time ever here is my problem:


When I install this it works GREAT.....on the default skin it seems to take away the shoutbox completly on ALL other skins any fix?
Reply With Quote
  #88  
Old 12-03-2005, 10:33 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lisquid
I have never replied to a VB.org post this is my first time ever here is my problem:


When I install this it works GREAT.....on the default skin it seems to take away the shoutbox completly on ALL other skins any fix?
you have to do the template edit on all skins.
Reply With Quote
  #89  
Old 12-10-2005, 03:44 AM
lisquid lisquid is offline
 
Join Date: Apr 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mabe im not sucha noob coder afterall anyways if your running navbar2 do this

$Position = 'navbar2';
$vbulletin->templatecache['navbar'] = str_replace($Position, $Position . '<br /> $Shoutbox', $vbulletin->templatecache['navbar']);
Reply With Quote
  #90  
Old 12-19-2005, 11:42 PM
yxboom's Avatar
yxboom yxboom is offline
 
Join Date: Jan 2003
Location: The City
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
you have to do the template edit on all skins.
what template edit?

I am having the same issue as the above posters where the shoutbox is only showing up in the default skin.

Thanks.
Reply With Quote
  #91  
Old 12-20-2005, 11:45 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yxboom
what template edit?

I am having the same issue as the above posters where the shoutbox is only showing up in the default skin.

Thanks.
How about make sure you have this:
PHP Code:
<!-- / nav buttons bar --> 
in every navbar template. If you dont, put it where you want the shoutbox.
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 06:30 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.05672 seconds
  • Memory Usage 2,325KB
  • 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
  • (6)bbcode_php
  • (4)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