PDA

View Full Version : Using external.php


paulyy
10-28-2004, 09:38 PM
I have been looking for a hack to display the latest X amount of threads on a non-vB page. I would want to be able to edit its formatting, something like

$title
Posted by $username on $date in $forumname

I discovered external.php whilst searching these boards but have no clue how to use it. Can anyone enlighten me please?

Andreas
10-28-2004, 09:48 PM
You could use external.php, but if you want this for the same website i'd suggest you directly query the database as this gives better performance (no need to parse the RSS again).

paulyy
10-28-2004, 09:51 PM
I'm unsure how to do this, I'm more of a visual developer than a programmer. Is this simple to do?

hasan2k
10-30-2004, 09:33 AM
You could use external.php, but if you want this for the same website i'd suggest you directly query the database as this gives better performance (no need to parse the RSS again).

Can you give us the php code for that including the query?

paulyy
10-30-2004, 10:44 AM
I used a small hack that requires you to only include a php file, you setup the info in that file and include it and it displays how I requested. Wasn't sure about external.php ....

https://vborg.vbsupport.ru/showthread.php?t=62624&highlight=lastposts