Thread: Chat Modifications - [DBTech] vBShout v6 (vB3) [AJAX]
View Single Post
  #529  
Old 03-28-2012, 09:40 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Goomzee View Post
Error
That has not been an issue in this mod since the early stages of the 5.4 branch. Please update to the latest version of vBShout and the AME library

Quote:
Originally Posted by LouiseWilson View Post
Yes the nav bar option does not work, however it is a custom template I've created
Just wondering what template does it try to put its self IE FORMHOME ?
as this template is identical to the default, apart from a few added customizations.
By default, vBShout places itself on the index page via the
PHP Code:
$ad_location['ad_navbar_below'
template hook. Please ensure this hook exists in your template.

To put vBShout in a custom location, do the following:


Step 1: AdminCP -> DBTech - vBShout-> Instance Management -> [Edit].

Step 2: Change the Auto-Display Shoutbox setting to Disabled.

Step 3: Write down the the Varname setting. For the default shoutbox, it's instance1. The rest of this guide will assume you replace instance1 with the actual Varname if it is different.

Step 4: Enter the Style Manager and add either {vb:raw show.vbshout_instance1} (vB4) or {$show[vbshout_instance1]} (vB3) to the templates you wish the shoutbox to appear in.


Follow these steps as described and you will have total control over the position of the Shoutbox.
Please note that some locations may not work as intended on vBulletin 3.8, and also note that it is not designed to go in the Forum Blocks side-bar (vBulletin 4).

Also note that inserting it into the header template does not work, as that template is rendered too soon for vBShout to hook into. The navbar template is a global template that is suitable for vBShout, if you want it to appear on all pages.



Fillip
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01080 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete