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)

ixian 05-20-2002 06:20 PM

This is weird:

I just started noticing that this hack is repeating displays of certain threads, i.e. I'll have say "8" threads configured to show up, and two of them will be the exact same thread.

I even re-downloaded a fresh copy and re-configured it in case it was anything I did. You can see what I am talking about at http://ix.maximumgamer.com/forums/last10.php. That's the stock script, set to display 20 - notice how it repeats a couple threads. It does this consistantly.

Any ideas??

vBHackz 05-24-2002 01:19 AM

Hey, do we keep $path etc etc in there, and just put the path or url in front of it?

Lucrecia 05-26-2002 07:25 PM

I find that if I upload the last10 and the other one, the I just get a blank white page

ixian 05-28-2002 12:14 AM

Quote:

Originally posted by ixian
This is weird:

I just started noticing that this hack is repeating displays of certain threads, i.e. I'll have say "8" threads configured to show up, and two of them will be the exact same thread.

I even re-downloaded a fresh copy and re-configured it in case it was anything I did. You can see what I am talking about at http://ix.maximumgamer.com/forums/last10.php. That's the stock script, set to display 20 - notice how it repeats a couple threads. It does this consistantly.

Any ideas??

Doh! Turned out to be another problem not related to the script. I had a problem with one of Tubedogg's hacks - stars - on my old board and members were being double-registered. This hack just read posts from members affected by this as two threads. Once I started clearing up that problem, the one listed above went away.

I have seriously modified this hack; those who want to see what it looks like in simple form can see it at my website, top right corner. I edited a lot of the code I didn't need, like forum parent, etc, out of the script to reduce queries, took all the table-generation stuff out, and added in my own code that calls my .css layout so the script integrates perfectly with the rest of my site. Couldn't have done any of it without the original script, particularly the code to exclude certain forums - had a bear of a time trying to write it on my own and finally decided just to modify this one. Thanks again Chen!!

Anakin 05-29-2002 03:49 PM

I have a problem at epiGamer in that the time for the last post is according to the server time, and not to the boards time (in this case UK time). Is there anyway I can adjust this?

finkdawg5 06-12-2002 05:19 PM

This is a great hack, nice job!!!

finkdawg5 06-30-2002 05:11 PM

I'm trying to get it to show the first post of the 10 latest threads, not just the ten latest posts. Is there any way I can modify this hack to do that? Thanks!! Again, nice job on this hack!! Very useful!!

Mandi 07-05-2002 04:46 PM

I attempted this hack last fall, and got a big white nothing; tried again (fresh files) and am having the same problem . . . last10.php is just a blank white page (and so, of course nothing is included on the non-vB.shtml page either.)

Because it's not generating any sort of error, I'm unsure how to begin troubleshooting this . . . my vB is pretty stock, if it matters.

http://www.cgspouses.net/community/forums/

http://www.cgspouses.net/community/forums/last10.php

...and the page I'm attempting it include it on, not public yet:

http://www.cgspouses.net/index_test.shtml

Thanks for any bright ideas :)!

ixian 07-05-2002 04:48 PM

You need to turn on error messages in your php.ini file. That's why no errors are displaying.

If you do that, it will tell you exactly where it's having a problem - php is much better than perl in that regard.

Make sure to turn show errors back off after you are done.

Dean C 07-10-2002 05:52 PM

hi,

i want to be able to include the last10 posts on my index.php file in a table on my index.php page outside of the forums...

how could i acheive this?

thanks in advance


All times are GMT. The time now is 04:46 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.01564 seconds
  • Memory Usage 1,741KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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