vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Chat Modifications - [DBTech] vBShout v6 (vB4) [AJAX] (https://vborg.vbsupport.ru/showthread.php?t=236970)

DragonByte Tech 05-30-2012 11:00 PM

Quote:

Originally Posted by fanhockeycoach (Post 2334873)
But where on style manager do I go to add it to a specific page?

Within the template you'd like it to appear in :)


Fillip

fanhockeycoach 05-31-2012 04:20 AM

Ok I understand that but how do I know what template this page would be under? http://www.fantasyhockeycoach.com/co...?703-fhc-pools

DragonByte Tech 05-31-2012 10:24 AM

I don't know, sorry :(

You can turn on template names in comments in your vBulletin Options, that should make it easier to identify :)


Fillip

fanhockeycoach 06-01-2012 01:08 AM

I got it work by creating a static html widget and copying and pasting the html code.

fanhockeycoach 06-08-2012 01:29 AM

Is there a way to put a new instance on a specific thread in the forum?

DragonByte Tech 06-08-2012 05:16 PM

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).


For specific thread, put it in the SHOWTHREAD template and use
Code:

<vb:if condition="$threadinfo['threadid'] == x">{vb:raw show.vbshout_instance1}</vb:if>
(obviously changing instance1 as mentioned above).



Fillip

fanhockeycoach 06-08-2012 06:25 PM

perfect now it all makes sense. thanks

fanhockeycoach 06-08-2012 06:43 PM

what do i put in threaded? I have tried the number after the ? and the entire URL

also where in the template should I put that code? After <body>?

Would it be the same for specific forum - FORUMDISPLAY template?

DragonByte Tech 06-08-2012 06:57 PM

You should replace X with the number. If that doesn't work, try $thread instead of $threadinfo.

It would be the same except replacing $thread or $threadinfo with $foruminfo['forumid'] - forumdisplay is the correct template :)


Fillip

fanhockeycoach 06-08-2012 07:20 PM

<vb:if condition="$forumdisplay=X">{vb:raw show.vbshout_instanceY}</vb:if>

there is code that works

X - forum ID #
Y - instance #

I posted it under the closing tag for page title for those curious the same thing


All times are GMT. The time now is 03:58 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03334 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete