Display latest/recent topics from specified forums

Say hello, ask a question or make a comment.
User avatar
clight77
Moderator
Posts: 28
Joined: Wed Apr 04, 2018 7:39 pm

Display latest/recent topics from specified forums

Posted Jun 2018 03 17:39

Post by clight77 » Sun Jun 03, 2018 5:39 pm

Post 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

User avatar
clight77
Moderator
Posts: 28
Joined: Wed Apr 04, 2018 7:39 pm

Re: Display latest/recent topics from specified forums

Posted Jun 2018 03 20:12

Post by clight77 » Sun Jun 03, 2018 8:12 pm

Post by clight77

Something wrong, it is not picking from selected forum ID, it is just grabbing latest post :(

User avatar
Sniper_E
Site Founder
Posts: 165
Joined: Sat Mar 24, 2018 10:52 pm
Location: Shreveport Louisiana

Re: Display latest/recent topics from specified forums

Posted Jun 2018 03 20:21

Post by Sniper_E » Sun Jun 03, 2018 8:21 pm

Post by Sniper_E

Hmmm, I saw you had something going there. I was going to check it out later.
ImageNo is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar
clight77
Moderator
Posts: 28
Joined: Wed Apr 04, 2018 7:39 pm

Re: Display latest/recent topics from specified forums

Posted Jun 2018 03 20:40

Post by clight77 » Sun Jun 03, 2018 8:40 pm

Post 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

User avatar
Sniper_E
Site Founder
Posts: 165
Joined: Sat Mar 24, 2018 10:52 pm
Location: Shreveport Louisiana

Re: Display latest/recent topics from specified forums

Posted Jun 2018 04 02:32

Post by Sniper_E » Mon Jun 04, 2018 2:32 am

Post 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.
ImageNo is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar
Martin
Site Admin
Posts: 70
Joined: Sun Mar 25, 2018 6:29 am
Location: Heaven

Re: Display latest/recent topics from specified forums

Posted Jun 2018 04 02:35

Post by Martin » Mon Jun 04, 2018 2:35 am

Post by Martin

May have to steal this :roll:

User avatar
clight77
Moderator
Posts: 28
Joined: Wed Apr 04, 2018 7:39 pm

Re: Display latest/recent topics from specified forums

Posted Jun 2018 04 08:50

Post by clight77 » Mon Jun 04, 2018 8:50 am

Post by clight77

You did good Ed :)

Perfect

User avatar
clight77
Moderator
Posts: 28
Joined: Wed Apr 04, 2018 7:39 pm

Re: Display latest/recent topics from specified forums

Posted Jun 2018 04 10:21

Post by clight77 » Mon Jun 04, 2018 10:21 am

Post 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

User avatar
clight77
Moderator
Posts: 28
Joined: Wed Apr 04, 2018 7:39 pm

Re: Display latest/recent topics from specified forums

Posted Jun 2018 04 12:37

Post by clight77 » Mon Jun 04, 2018 12:37 pm

Post by clight77

I think I got it :)
https://www.nzbforyou.com/qmax-all
Please Login or Register, to see this code

User avatar
clight77
Moderator
Posts: 28
Joined: Wed Apr 04, 2018 7:39 pm

Re: Display latest/recent topics from specified forums

Posted Jun 2018 04 14:01

Post by clight77 » Mon Jun 04, 2018 2:01 pm

Post by clight77

Here is where I found the cure for a lot of it.

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

Post Reply