vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Last XX Posts on non-vB page (https://vborg.vbsupport.ru/showthread.php?t=12324)

Gutspiller 01-07-2004 06:01 AM

I am using this hack right here: http://www.3dnewz.com/forumz/allnewspage.php but it's reporting the wrong date. Why is it doing that and how can I fix it?

gmarik 01-08-2004 10:49 PM

Is this the dunamic scroll srcipt

Gutspiller 01-09-2004 10:18 PM

Quote:

Originally Posted by gmarik
Is this the dunamic scroll srcipt

I don't think this script scrolls at all without the help of another script inside an iframe. Are you talking in general about the hack in this thread, or to me and my post above?

eob 01-09-2004 10:42 PM

Just installed it TubeD, took a bit of hacking around to get it to display the way I wanted to, but it's a brilliant script, works perfectly with VB3, and does exactly what it says on the tin.

10/10

grandeur_69 01-09-2004 10:51 PM

in last10.php ... change line 189 from
Code:

$fd = date($fdt,$threads[lastpost]);
to
Code:

$fd = vbdate($fdt,$threads[lastpost]);
to make use of vbulletin's time

Gutspiller 01-14-2004 04:16 AM

Quote:

Originally Posted by grandeur_69
in last10.php ... change line 189 from
Code:

$fd = date($fdt,$threads[lastpost]);
to
Code:

$fd = vbdate($fdt,$threads[lastpost]);
to make use of vbulletin's time

Thanks grandeur_69. I have one more question, I have that hack that if it was posted today, it says "Today" and if yesterday, it says "Yesterday". The problem is, is that I have those as black text on my forums, well the black text doesn't work on where I'm putting this last10 thing. I tried changing:

PHP Code:

echo("<td HEIGHT=\"25\" bgcolor=\"$bc\" style=\"font-family:$f; font-size:$fs; color:90959E;\" align=\"center\">$fd</td>\n"); 

into this:

PHP Code:

echo("<td HEIGHT=\"25\" bgcolor=\"$bc\" style=\"font-family:$f; font-size:$fs;\" align=\"center\"><font color=90959E>$fd</font></td>\n"); 

but the text continues to stay black. Any ideas on how to change the color when using it in last10, yet still have it the original color it is now on my forums?

Thanks for any help, anybody can provide.

Ryan McBain 01-22-2004 08:49 PM

I changed my password and I get this error on my front page

Warning: mysql_connect(): Access denied for user: 'ryanmcba@localhost' (Using password: YES) in /home/ryanmcba/public_html/last10.php on line 15
Can't open connection to MySQL

I changed the password in my config.php file and I still get this. Im guessing I have to change my password some where else. What do I do?

mossyuk 01-27-2004 12:42 PM

does this work with vb3?

mossyuk 01-27-2004 12:48 PM

and in answer to my own question, yes it does :) :D Nice 1.

tigerroar 02-02-2004 03:02 PM

nice one, this is just what I wanted.

It's working nicely here :cool:


All times are GMT. The time now is 10:14 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.01724 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_php_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