The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
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
|
Comments |
#22
|
|||
|
|||
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? |
#23
|
|||
|
|||
Uhm, I'm not following you...
|
#24
|
|||
|
|||
i wnat to call the include from a template, not from the php file
|
#25
|
|||
|
|||
From what I recall this feature is being planned.
|
#26
|
|||
|
|||
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? |
#27
|
|||
|
|||
Quote:
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"]); 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 |
#28
|
|||
|
|||
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? |
#29
|
|||
|
|||
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. |
#30
|
|||
|
|||
Does anyone knows how to exclude private forums from Active Topics?
|
#31
|
|||
|
|||
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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|