vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBindex v3.0.0 RC5 (https://vborg.vbsupport.ru/showthread.php?t=59524)

NTLDR 01-21-2004 09:54 PM

Sorry, I should have said add that line after, and not before :)

marcjd 01-21-2004 09:59 PM

Still didn't work. Getting the same error. Thanks. :)

NTLDR 01-21-2004 10:07 PM

OK I tested it this time, it wants the subtraction in brackets:

PHP Code:

AND poll.dateline ".(TIMENOW - X)." 

This will work, I promise :) Remember to change X again.

marcjd 01-21-2004 10:13 PM

Thank you very much; it works great now!!! Yippee!!! :D

Asendin 01-21-2004 11:04 PM

Quote:

Originally Posted by marcjd
Thank you very much; it works great now!!! Yippee!!! :D

ok good, now upgrade your vB to RC3 :D

marcjd 01-21-2004 11:10 PM

I think I will just wait for vb3 gold. I have made some file changes here and there and don't have the time to document them all like I should have from the beginning. Not too many, but just don't want to waste the time with it now. :)

Anarchy 01-22-2004 12:14 PM

Below is the text i placed in the phpinclude_start template.

PHP Code:

    $msie '/msie\s([5-9])\.?[0-9]*.*(win)/i';
    
$opera '/opera\s+[0-9]+/i';
    if(!isset(
$_SERVER[HTTP_USER_AGENT]) || !preg_match($msie,$_SERVER[HTTP_USER_AGENT]) || preg_match($opera,$_SERVER[HTTP_USER_AGENT]))

{

$logooutput "<img border=/"0/" src=/"$vboptions[bburl]/blank.gif/" style=/"border0width270pxheight80pxfilter:
progid:DXImageTransform.Microsoft.AlphaImageLoader(src='$vboptions[bburl]/images/header/ttclogo.png'sizingMethod='scale')/" />";

}
else
{

$logooutput "<img src=/"$vboptions[bburl]/images/header/ttclogo.png/" style=/"width270pxheight80pxborder0;/" />";



I then put $logooutput in my vbindex_header template and nothing happens. What should i do to fix this?

NTLDR 01-22-2004 12:26 PM

A much better way of doing that would be:

HTML Code:

<if condition="is_browser('ie') || is_browser('opera')">ie/opera html<else />other browsers html</if>

zenmasteril 01-22-2004 02:18 PM

I want to add statistics in a custom block at vBindex..
How do i do that ?
I know how to find the members number ( $home[numbermembers] )
But what about the total post, total threads, best poster ?
And also if it's possible - Top Threader (the one who started the most threads)

Thanks

NTLDR 01-22-2004 02:20 PM

You'll need to edit vbindex.php and enter the code to collate the stats you want, or wait untill RC4 when it can all be done via the templates.


All times are GMT. The time now is 12:59 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.02974 seconds
  • Memory Usage 1,744KB
  • 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_html_printable
  • (2)bbcode_php_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