Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-04-2006, 03:31 AM
salata salata is offline
 
Join Date: Nov 2003
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default is it possible to have shoutbox in one specific area?

say that you have a reserved forum, and you just wanted a vbchatbox within that section. is it possible to do? if so can you please share
Reply With Quote
  #2  
Old 04-04-2006, 04:03 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you successfully placed the code in a forum (using FORUMDISPLAY template)? If yes, then you could wrap a conditional such as:

Code:
<if condition="$foruminfo[forumid] == X">
<!-- Chat code here -->
</if>
Where "x" is replace it with the forum ID. See if that helps.
Reply With Quote
  #3  
Old 04-05-2006, 12:33 AM
salata salata is offline
 
Join Date: Nov 2003
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?t=93097" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=93097</a>

could you tell me where to make modifications for this specific vbshout box, i'd really appreciate it
Reply With Quote
  #4  
Old 04-05-2006, 03:42 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahh...You're using the Ajax version. I haven't installed it so I wouldn't know. You may want to request it at that specific thread.
Reply With Quote
  #5  
Old 04-05-2006, 06:27 PM
salata salata is offline
 
Join Date: Nov 2003
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

which version of you speaking of using? i havent installed anything as of yet, i was just looking around and came across that one

bump
Reply With Quote
  #6  
Old 04-06-2006, 01:01 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've briefly played with Chatbox Lite, though it's not currently installed on my board. The script is very light and straightforward.
Reply With Quote
  #7  
Old 04-06-2006, 03:16 AM
salata salata is offline
 
Join Date: Nov 2003
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i installed the the chatboxlite, it works just fine. but the condition you suggested didnt work. anyother suggestion?
Reply With Quote
  #8  
Old 04-06-2006, 03:34 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I forgot to add an <else /> there. I've tested this on IE and Firefox:

In FORUMDISPLAY template under $navbar:

Code:
<!-- CHATBOX LITE CONDITIONAL -->

<if condition="$foruminfo[forumid] == x">
<!-- Chatbox Lite -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatboxlite')"><img id="collapseimg_forumhome_chatboxlite" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatboxlite].gif" alt="" border="0" /></a>
			<a href="#" onclick="return openChatboxLite()">$vbphrase[chatboxlite_chatbox]</a>
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_chatboxlite" style="$vbcollapse[collapseobj_forumhome_chatboxlite]">
	<tr>
		<td class="alt1" width="100%" colspan="2"><div class="smallfont" align="center"><iframe src="chatbox_lite.php?nofocus=1" width="100%" style="border: 0px"></iframe></div></td>
	</tr>
</tbody>
</table>
<!-- / Chatbox Lite -->
<else />
</if>

<!-- / CHATBOX LITE CONDITIONAL -->
Where "x" is replace with ForumID.
Reply With Quote
  #9  
Old 04-06-2006, 06:04 PM
salata salata is offline
 
Join Date: Nov 2003
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that specific code isnt in nav, but in my forum template. i added it with no luck. you just wanted me to add <else />

bump!!
Reply With Quote
  #10  
Old 04-07-2006, 03:45 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The $navbar is a template call that's inside the FORUMDISPLAY template. Please give me the template and code bit you've implemented.
Reply With Quote
Reply

Thread Tools
Display Modes

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:59 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.04921 seconds
  • Memory Usage 2,245KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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