Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-01-2000 Last Update: Never Installs: 0
 
No support by the author.

I've got a very rough copy of the vB compatible active topics done.

The file is on

http://www.gandmasti.net/forum/active.txt

The result is on

http://www.gandmasti.net/index2.shtml
or
http://www.gandmasti.net/forum/active.php

Mind you my board is a humor board and there might be offensive jokes on the active list, consider yourself warned!

This copy has several things I want to add, in the following priorities....

a) Template support
b) User defined number of topics / topics since last logon
c) RDF support (to allow others to take the list from your site dynamically)
d) WML support (to allow mobile phone users to get their humor fix via phones... also to allow me to admin / delete the forums via a mobile phone)
e) Clean up of the code / comments
f) Offline (low overhead) generation via cron

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 05-11-2000, 03:54 AM
Guest
 
Posts: n/a
Default

i have no problem requiring it in the php file. the problem is, i need the required active threads text to go in a specific part of the tempalte that generates the hp.

so ideally i want to set a variable = to the include or require and then print that variable whereever i want, but that doesn't work.

does that make sense?
Reply With Quote
  #23  
Old 05-12-2000, 12:53 AM
Guest
 
Posts: n/a
Default

Uhm, I'm not following you...
Reply With Quote
  #24  
Old 05-12-2000, 01:04 AM
Guest
 
Posts: n/a
Default

i wnat to call the include from a template, not from the php file
Reply With Quote
  #25  
Old 05-12-2000, 01:06 AM
Guest
 
Posts: n/a
Default

From what I recall this feature is being planned.
Reply With Quote
  #26  
Old 05-24-2000, 06:20 AM
Guest
 
Posts: n/a
Default

I get this error when I try to run it.

Fatal error: Call to unsupported or undefined function strip_tags() in /usr/www/users/******/forum/Active.php3 on line 154

I'm running PHP 4.0.0 as a cgi - I can't see why it doesn't understand strip_tags.

Any thoughts?
Reply With Quote
  #27  
Old 05-24-2000, 06:59 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Mike
I get this error when I try to run it.

Fatal error: Call to unsupported or undefined function strip_tags() in /usr/www/users/******/forum/Active.php3 on line 154

I'm running PHP 4.0.0 as a cgi - I can't see why it doesn't understand strip_tags.

Any thoughts?

I was having a similar error message and couldn't quite figure out what the problem was, so I just edited the script a bit..

Code:
$latest_array["lastposter"],substr(($result_thread_array["pagetext"]),0,$num_chars),$latest_array["threadid"]);
NOTE - you'll need to edit the image paths to match your own settings.


I have it in place at http://www.wnsp.com/index.php3

What it does is leave the vB URL tags visible in the parsed results... it doesn't bother me all that much, since the site is so new and there's absolutely nobody using it yet. In fact, the station hasn't yet started advertising/plugging the site to their listeners...

Go ahead and test it out there if you want... I don't think it will break!

RobRJ
Reply With Quote
  #28  
Old 05-26-2000, 01:41 AM
Guest
 
Posts: n/a
Default

Does anyone sees a chance to put the file-output into html-code?

Does anyone could post a sample line for calling this via cron, i know how to call perl-scripts via cron but php?
Reply With Quote
  #29  
Old 05-26-2000, 02:03 AM
Guest
 
Posts: n/a
Default

This is what I use for one of my sites:

0,5,10,15,20,25,30,35,40,45,50,55 * * * * sh activechat.sh

That just calls a shell script every 5 minutes called 'activechat.sh'

activechat.sh consists of:

-----
cd ~/active-chat
./php activechat.php >/dev/null
cd
-----

In the active-chat directory is a separate php 3.0 binary:

-rwxrwxr-x 1 myuser mygroup 1475784 May 9 10:44 php

that I use to run the files.

That is it. The activechat.php is just the active-topics file with the variable set to output to a file in the proper directory.

I know that there are other ways of doing it, but this works for me.
Reply With Quote
  #30  
Old 05-31-2000, 09:48 PM
Guest
 
Posts: n/a
Default

Does anyone knows how to exclude private forums from Active Topics?
Reply With Quote
  #31  
Old 06-05-2000, 04:46 PM
Guest
 
Posts: n/a
Default

Help! I set up the active topics and didn't give it another thought as it seemed to work fine. I then imported the posts and opened the board. Unfortunately, I never realised that it displayed the contents of private forums so, when we posted a note in one of the staff forums with a rather obvious title, it was displayed on our homepage! Although the users couldn't read the topic, the damage was done due to the topic title.

PLEASE could someone make an adjustment to the script to exclude private forums - kinda important, don't ya think ? I'd have a go myself, but i've not got a clue how it works
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:38 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.04269 seconds
  • Memory Usage 2,275KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete