| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Latest Posts on external website | |
|---|---|
| Tweet Topic Started: Mar 8 2010, 01:21 PM (13,983 Views) | |
| Skyon Archer | Mar 8 2010, 01:21 PM Post #1 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
This is an unofficial code I created to pull the Latest Posts from a Zetaboard forum and have them displayed on an external website. Requirement: Your external website must have and run php What's this do? The script goes to your Zetaboard portal and looks at the Latest Posts section. It scrapes all the information that is there and then outputs it at the end of the code. You can use a simple php include to place this where you want it to be displayed. **** in the code is the URL to your Zetaboard forum portal - you must change this to your portal address! ****
EDIT: I removed the example page (sorry) It's simple to use and really cool to boot! VIEW THIS POST IF YOU DON"T HAVE ACCESS TO A SERVER WITH PHP: http://support.zathyus.com/single/?p=18109239&t=5082198 Edited by Skyon Archer, Jan 17 2016, 11:25 PM.
|
![]() |
|
| Replies: | |
|---|---|
| Chelonian | Jan 30 2017, 01:41 PM Post #136 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
I can give you the forum ids. "var fIDS = ['5015162', '5015163', '5016167', '5002983'];" are them. Edited by Chelonian, Jan 30 2017, 01:47 PM.
|
![]() |
|
| Cory | Jan 31 2017, 01:18 PM Post #137 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I can't remove topics from the listings based on forum ID's since the code does not deposit forum ID's in the listings. |
![]() |
|
| Chelonian | Jan 31 2017, 10:03 PM Post #138 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
But you can hide topics from forums surely? Like you have done with the 'recent topics' on the main page? |
![]() |
|
| Cory | Feb 1 2017, 12:49 PM Post #139 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Not with this code. This code is different. I can only hide topic listings based on the topic title. |
![]() |
|
| Chelonian | Feb 1 2017, 07:35 PM Post #140 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
Damn. I'm sure it was hiding them before all the changes. Could there be another way to have latest posts without the topics from set forums showing? Or...perhaps just use the code for your 'trending topics' and put it on a seperate page as I know that hides them. |
![]() |
|
| Cory | Feb 1 2017, 09:44 PM Post #141 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You'll have to grab the listings from the active topics page like my code does because the active topics page contains the forum information, the portal page does not. |
![]() |
|
| Chelonian | Feb 1 2017, 10:59 PM Post #142 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
How would I do this? Simply repost your code on a external page? |
![]() |
|
| Cory | Feb 2 2017, 01:58 AM Post #143 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Use this for the webpage content:
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · ZetaBoards Codes & Modifications · Next Topic » |
| Track Topic · E-mail Topic |
4:29 AM Jul 11
|




![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)



4:29 AM Jul 11