View Single Post
  #2072  
Old 08-04-2006, 12:55 PM
Renmiri Renmiri is offline
 
Join Date: Jul 2006
Location: Chicago, USA
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I put a shoutbox on most of my pages, at the bottom of the page. Users complained it was hard to see if there were any new shouts so I hacked up this lil' plugin to display it
https://vborg.vbsupport.ru/showthread.php?t=123023

PS: This was done here with the latest vBShout for flatfile, but it should work with the regular vBShout.

Also:

Quote:
Originally Posted by fosman
I like to have a break between the textbox and the submit buttons like Shout, Clear, Smilies etc. I want the textbox at the top and the rest a line or a break lower?
Edit the forumhome_vbshout template:
Find
Quote:
<input type="submit" value="Shout" class="button" />
Add BEFORE
Quote:
<br />
And
Quote:
Originally Posted by GoTTi
is it possible to load this on a seperate window?
Yep, I did this for my fussy users:

1 - Add Shoutbox to the forumhome_vbshout_archive
Find
Quote:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" align="center">
Shouts
</td>
Right after the table statement add:
Quote:
<tr>$Shoutbox</tr>
2-Add a link to the Shoutbox + Shout Archive page to your menu template (navbar ?) with target="_blank"
Quote:
<a href='vbshout.php?{$session['sessionurl_q']}do=archive' target="_blank">Shoutbox</a>
Now users can keep a window open just with shout info, while the nice "shoutless" forum is on another. And you can even let forum users see the "last shout" to see if they want to join the convo

PS: You might want to edit the forumhome_vbshout_archive_shout template because the current one is too garish
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02398 seconds
  • Memory Usage 1,774KB
  • 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
  • (7)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