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)

06-05-2000 05:04 PM

Craig,

If someone tells me the table forumpermission seems appropriate but I have no clue what the various items do, I can have this fixed very quickly.

Unfortunately like UBB the vB authors are taking a bit of an off hand approach to this .. :) so I guess it will be up to someone who knows the data structures to let me know.
</endrant>

Shri

06-06-2000 07:21 AM

Come on folks, can someone help shri out ?!

Also, the {POSTDATETIME} thingy doesn't seem to work - any ideas ?

06-06-2000 09:05 AM

Quote:

imported the posts and opened the board. Unfortunately, I never realised that it displayed the contents of private forums so
for my active-topic implimentation, you just need to set the $forum variable when you call the script and it will just dump out the last topics by that forum.

make multiple copies of the script for each of the individual forums that you want to display.

Now, if you want to display the last topics sorted by newest post and have it exclude the private forums (or forums you don't want it to show) - all in one script, that might take a while for me to figure out.

06-06-2000 09:20 AM

I have, I think (I merged some when we switched to vB), 19 forums total - 3 of which are private. Would be kinda a big script, no ?

06-08-2000 03:50 AM

wandrer, have you 'figured' yet ? :)

06-08-2000 03:57 AM

Still waiting for John or someone to give me a hint...

I would also like to suggest a new feature for vB ..

"Alert Admin / Moderator"

Would send an e-mail to the concerned people that they need to view the post and respond.

06-08-2000 04:09 AM

Ok Craig.. here a quick dirty hack.

Change the first select statement to

Code:

select * from thread where forumid='1' or forumid='2' order by lastpost desc limit $num_active
Add the forums you want listed in the active topics output.

I've got the code on http://www.gandmasti.com/forum/act2.php and the text file is on
http://www.gandmasti.com/forum/act2.txt

E-mail me on shriram@chaubal.org if you have any urgent issues.. i'm subscribed to quite a few threads here and tend to ignore vbulletin messages some times...

One more suggestion to the vb guys ... "email list of monitored threads nightly" :)

Cheers,
Shri

06-08-2000 05:32 AM

Excellent work, shri, seems to work just fine!

Now, any idea how I can display the time of the post in the output ? Can't seem to get it to work ?

06-08-2000 05:36 AM

Craig, not figured it out.. they changed the time format with 1.1.2 .. not really on my list of priorities right now :) I just deleted it!

06-08-2000 05:38 AM

Yeah, not important, just would be nice :) Anyway, thanks for your help in sorting out the private forums problem - which /was/ important! :)


All times are GMT. The time now is 08:01 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.01521 seconds
  • Memory Usage 1,732KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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