Topic: [EXTERN.PHP] more than 1 Forum ID?
Is it possible to get the newest topics from more than 1 Forum ID with extern.php (for example, i want the newest topics from Forum ID 21 and 32)? If it is, how?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → [EXTERN.PHP] more than 1 Forum ID?
Is it possible to get the newest topics from more than 1 Forum ID with extern.php (for example, i want the newest topics from Forum ID 21 and 32)? If it is, how?
Not in 1.1.4, but I've added the functionality to the extern.php in 1.2. I created a hdiff to show you changes you need to make.
http://punbb.org/stuff/extern_changes.html
You only need to do the changes around line 180-187.
tnx man!
edit: how do i make the url to this?
like this maybe:
yourhost.com/forum/extern.php?action=new=&show=10&fid=10&fid=11
??
Well, i think this is too complicated for me.....
my PHP skills don't go that far.
Once you make the changes I posted ealier, you could use an URL like this:
extern.php?action=new&show=10&fid=10,11
Once you make the changes I posted ealier, you could use an URL like this:
extern.php?action=new&show=10&fid=10,11
but i don't see any changes in the hdiff, i only see what i NEED to change, and i don't think my php skills are so good i can make those changes....
edit: i forget i could scroll to the right, i see the changes now, tnx!
I did the changes, but now i see you can't fetch the newest topics from more than 2 forums?
Sure you can.
extern.php?action=new&show=10&fid=10,11,13,31
Just add more forum ID's to the end of the URL.
ok, i will try that.
PunBB Forums → PunBB 1.2 troubleshooting → [EXTERN.PHP] more than 1 Forum ID?
Powered by PunBB, supported by Informer Technologies, Inc.