vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Active Topics 0.1 done (https://vborg.vbsupport.ru/showthread.php?t=249)

05-05-2000 06:36 AM

all I get is a 404 error :(

05-05-2000 06:38 AM

where or what gives the 0404 error ?

05-05-2000 06:41 AM

The other links Martin are sample URL left for you to see how to use them I believe. The only live link above is for the .zip file.

If that is what you are referring to?

05-05-2000 06:47 AM

oops... my mistake... forgot to say they were sample links... yes, the only valid link is the .zip file...

05-05-2000 06:57 AM

can we see it in action anywhere?

I think, from what I saw of the code, it looks great :)

05-05-2000 07:09 AM

in all actuality, it runs the same. the only difference is that it is much easier (for me) to integrate the active-topic with my site. you don't have to edit the php file with html, just edit the page template and the message template.

As i don't have vbulletin configured/setup on the site I am working on, there wouldn't be much to show you if I could.

05-05-2000 09:44 AM

Nice job on the active posts.
I take it that when you say it uses a template, you're not referring to a vBulletin template?
I've spent a lot of time with this hack on the UBB trying to find a version that is low overhead. The best way to implement this hack is to hack the posting script so that every time a post is made, an entry is made to either a flat file or a database entry. That way, when the script is called, it only has to make one call/include one file. Also, unlike cron, it is always perfectly up to date.

05-05-2000 10:47 AM

Sorry, my mistake again... Yes, when I said template, it means a template separate from vbulletin.

Quote:

I've spent a lot of time with this hack on the UBB trying to find a version that is low overhead.
That is the neat thing about PHP/mysql. Everything (within reason) is low overhead. I do not believe there is a way to make this script less overhead than it is now. If you are compairing it to UBB Active Topics, then it is so far below their overhead that it wouldn't show up on a graph. (imnsho)


To have this script up to date, just ssi it in your page.

To have a 'less overhead' version, have it output (via cron) to a text file and have the text file ssi'ed into your page. The more time between the output, the less overhead.

05-11-2000 03:33 AM

I have a list of topics called mythread.txt generated by this program.

I want to include them in my new homepage, which I"m building at index.php using vB as the backend. Index.php calls a variety of tempaltes liek homepage, etc, as well as some stuff from vB liek fivelinks.

I've got it all working except for two things. One is login on the homepage. The other is how to include the .txt file inside the template.help?

05-11-2000 03:40 AM

I'd think <? require("mythread.txt"); ?> should do it if you're calling it from a php file.


All times are GMT. The time now is 06:13 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.01502 seconds
  • Memory Usage 1,728KB
  • 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
  • (3)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