vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Chat Modifications - GSBOS: Generic Shout Box Operating System (https://vborg.vbsupport.ru/showthread.php?t=191963)

macc 09-26-2008 11:43 PM

have installed and works fine ... how i can adjust time on shoutbox because it is now 02.42 and it shows 19:42 ?

and can i get bold usernames and how?

thanks and regards

macc

FreshFroot 09-26-2008 11:51 PM

nice concept, love the idea mate :)

digicom 09-27-2008 07:42 AM

dinnerbone i carnt find a template called GSBOS,any ideas :confused:

Quote:

Advanced users may also wish to customise the way GSBOS looks. GSBOS uses only one template, called 'GSBOS', which you may feel free to edit. This template will allow you to customise the colours, fonts and overall look of GSBOS.

dinnerbone 09-27-2008 02:15 PM

Aha, I found out why it wasn't working. For some reason the 'gsbos' template wasn't adding itself to the xml file. I'll release an update in a few minutes.

For now, you may create a custom template called 'gsbos' and add the following to it. Be sure to delete this before installing the new version when it becomes available.
HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" align="center" colspan="3">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('gsbos')"><img id="collapseimg_gsbos" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_gsbos].gif" alt="" border="0" /></a>
GSBOS
</td>
</tr>
</thead>

<tbody id="collapseobj_gsbos" style="$vbcollapse[collapseobj_gsbos]">

<tr>
<td align="left" width="100%" style="background-color:{$vbulletin->options[gsbos_background]};color:{$vbulletin->options[gsbos_foreground]};padding:0px;">

<div id="gsbosshow" class="smallfont" style="overflow:auto;width:100%;height:{$vbulletin->options[gsbos_height]}px;background-color:{$vbulletin->options[gsbos_background]};color:{$vbulletin->options[gsbos_foreground]};">
#GSBOS&gt; Loading...
</div>
<div id="gsbosinput" class="smallfont" style="width:100%;background-color:{$vbulletin->options[gsbos_background]};color:{$vbulletin->options[gsbos_foreground]};">
<form action="gsbos.php" name="gsbosform" onsubmit="gsbos.sendInput(); return false;">
&gt;<input type="text" name="message" id="gsbos_message" class="smallfont" style="width:95%;background-color:{$vbulletin->options[gsbos_background]};color:{$vbulletin->options[gsbos_foreground]};border:none;" />
</form>
</div>
</td>
</tr>
</tbody>
</table>
<br />

<script type="text/javascript" src="clientscript/gsbos.js"></script>
<script type="text/javascript">
<!--
gsbos = new gsbosEngine();
gsbos.init(<if condition="$vbulletin->options[gsbos_typo_enable]">
{$vbulletin->options[gsbos_typo_rate]}<else />0</if>, {$vbulletin->options[gsbos_speed_message]}, {$vbulletin->options[gsbos_refresh_interval]} * 1000);
-->

</script>

Please remove the script that germinus posted too, as they will conflict.

soniceffect 09-27-2008 04:00 PM

anyone else having problems with updating settings?

dinnerbone 09-27-2008 04:13 PM

Version 1.0.2 has just been released. You can now position this on any page, and through this the silly bug that it wasn't showing up has now been fixed. It also now includes a flood protector, which you can customise in the options.

Note that with the new version you must make manual template alterations to make this appear on your pages. See the readme.txt for instructions.

macc 09-27-2008 05:08 PM

hello!

can some help ...what to do to get actual time - not 7 hours differents -

now shows 13:07 - but it is 20:07

some help?

regards

macc

dinnerbone 09-27-2008 05:14 PM

Sorry about that, I used date() instead of vbdate(). I'll fix it in the next version. If you want to fix it yourself, open up includes/functions_gsbos.php and look for a line like this:
Code:

$time = date($vbulletin->options['gsbos_date_format'], $timestamp)
and replace it with
Code:

$time = vbdate($vbulletin->options['gsbos_date_format'], $timestamp);
Alternatively, wait for the next version and it'll be fixed then :)

macc 09-27-2008 05:26 PM

thanks - works now

just one - how to put another color in text box - mean write text box - put border-solid but will change color

reg
macc

germinus 09-27-2008 05:36 PM

Still shows as v1.0.1 in admincp, you need to edit your xml!


All times are GMT. The time now is 08:23 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.01912 seconds
  • Memory Usage 1,755KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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