Page 1 of 2

Display latest/recent topics from specified forums

Posted: Sun Jun 03, 2018 5:39 pm
by clight77
I did up a newer version that allows you to select which forums to choose from :)


Display latest/recent topics from specified forums

Please Login or Register, to see this code --------------------------------------------------------------------------------------------------------------



And of course you have to use the pages ext with iframe

Re: Display latest/recent topics from specified forums

Posted: Sun Jun 03, 2018 8:12 pm
by clight77
Something wrong, it is not picking from selected forum ID, it is just grabbing latest post :(

Re: Display latest/recent topics from specified forums

Posted: Sun Jun 03, 2018 8:21 pm
by Sniper_E
Hmmm, I saw you had something going there. I was going to check it out later.

Re: Display latest/recent topics from specified forums

Posted: Sun Jun 03, 2018 8:40 pm
by clight77
I was hoping it would grab from certain forum ID's , it should, but it seems to be grabbing last posts from everywhere,.


Me stupid.. lol

Re: Display latest/recent topics from specified forums

Posted: Mon Jun 04, 2018 2:32 am
by Sniper_E
You can look in the acp to see how I setup each page with the iframes pulling in different files.

I placed all of the files for my four forums in the root/recent-topics/ directory.
These are you old templates not the new one you just created.

And these are the files. Each with a different forum id# in them.
recent-topics.zip
(4.48 KiB)
recent-topics.zip
(4.48 KiB) Downloaded 210 times





You can see each link in the header navbar Quick links drop down.

Re: Display latest/recent topics from specified forums

Posted: Mon Jun 04, 2018 2:35 am
by Martin
May have to steal this :roll:

Re: Display latest/recent topics from specified forums

Posted: Mon Jun 04, 2018 8:50 am
by clight77
You did good Ed :)

Perfect

Re: Display latest/recent topics from specified forums

Posted: Mon Jun 04, 2018 10:21 am
by clight77
You did good Ed :)

Needs an array so you can call from multiple forum ID's.

$forum_id = array(2, 10);


Right now you can only get from the 1 ID

Re: Display latest/recent topics from specified forums

Posted: Mon Jun 04, 2018 12:37 pm
by clight77
I think I got it :)
https://www.nzbforyou.com/qmax-all
Please Login or Register, to see this code

Re: Display latest/recent topics from specified forums

Posted: Mon Jun 04, 2018 2:01 pm
by clight77
Here is where I found the cure for a lot of it.

https://gist.github.com/archipoeta/599c1c6caa544d5fcd9f