vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [AJAX] vBShout v2 on your vBadvanced CMPS v2! (https://vborg.vbsupport.ru/showthread.php?t=97497)

stud 11-30-2006 04:58 PM

buurman, just a quick note - this is listed in the Official directions, under Step 5.

FleaBag - no planned updates, eh?

buurman 12-01-2006 10:07 AM

Quote:

Originally Posted by stud (Post 1128823)
buurman, just a quick note - this is listed in the Official directions, under Step 5.

FleaBag - no planned updates, eh?

I see, but clearly was "the template" not enough information, for noobs like me :)
Maybe a good idea to replace it with "the template adv_portal_vbshout" because I see a lot of questions about the "loading" thingie...

Just an idea...

Cynthdivide 12-12-2006 01:24 PM

Well done FleaBag and Scotty2k. This is almost an essential for anyone running with the vba cmps.

buurman 12-14-2006 02:34 PM

Its a much asked question, but cant seem to find the answer, sorry...

How can I enable a timestamp in the shoutbox?

Shazz 12-14-2006 08:29 PM

Anyone confirm on 2.1 flatout?

Wordplay 01-06-2007 09:58 PM

thank you, is there a way to get a character split? because people post words into my shoutbox that are too long, like links.

theczech 01-15-2007 12:29 AM

Quote:

Originally Posted by Trana (Post 886455)
I turned on the scroll bars but they look horrible. Does anyone know how to turn on ONLY the vertical scroll bar so people can scroll through older messages?

Also, I am trying to get the timestamps to work in the side panel module.

I can get the time in there with:

<span style='float:right'> {$Shout['time']} </span>

but the time is always formatted "Today at: xxxxxxx". Does anyone have a suggestion for how to format it to #:## AM/PM?

Thanks!

TO CHANGE THE TIME FORMAT:

- Open your vbshout.php

- Locate this code:
Code:

function buildTime($time = TIMENOW)
{
        global $vbulletin;

        $Time  = vbdate($vbulletin->options['dateformat'], $time, $vbulletin->options['yestoday']);
        $Time .= ' ';
        $Time .= vbdate($vbulletin->options['timeformat'], $time, $vbulletin->options['yestoday']);

        return $Time;

- If you want to disable the "x minutes ago" part, then put // in front of the these lines like this:
Code:

//      $Time  = vbdate($vbulletin->options['dateformat'], $time, $vbulletin->options['yestoday']);
//        $Time .= ' ';

- If you want to change the time format for the [xx:xx am] part of the timestamp, change this line:
Code:

$Time .= vbdate($vbulletin->options['timeformat'], $time, $vbulletin->options['yestoday']);
to something like this:
Code:

        $Time .= vbdate('PUT_YOUR_DESIRED_FORMAT_HERE', $time, $vbulletin->options['yestoday']);
Replace 'PUT_YOUR_DESIRED_FORMAT_HERE following this simple guide.

Mine says
'g:ia' which makes a timestamp that looks for example like this: '6:55pm'.

AS ALWAYS, YOU SHOULD MAKE A COPY OF YOUR ORIGINAL FILES BEFORE ATTEMPTING ANY CHANGES TO YOUR WORKING CODE!!!

akulion 01-29-2007 09:03 AM

thanks for this

even though for newbies like me u should mention that the template to include to put vbshout

lol i was totally confused for like 10 mins before i eventually got it
thanks

Pearl 02-04-2007 03:23 PM

Thanks for this hack its really nice.
I edited the template to make the smiles, colours and options on mainpage work I hope you dont mind :)

View it here

Http://www.clanlife.eu

Rainingman 02-05-2007 06:29 AM

Can you discribe how you changed the template for showing the smilies, colors and options? Thank you very much


All times are GMT. The time now is 11:53 AM.

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.01212 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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