| 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,986 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: | |
|---|---|
| tobeme | Jul 11 2015, 09:49 AM Post #106 |
|
Member
![]() ![]() ![]() ![]()
|
It is back to normal again. Thank you! |
![]() |
|
| polocolo | Sep 18 2015, 02:40 AM Post #107 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
This isn't working again. Is there a way to put the 20 latest posts on the index page? |
![]() |
|
| polocolo | Dec 7 2015, 12:59 AM Post #108 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
This isn' working. |
![]() |
|
| Skyon Archer | Dec 20 2015, 06:59 AM Post #109 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Okay, here is a re-do of the script. I have been especially busy with business lately and have had not time for play. Finally I've settled down a bit and now present to you a new version of the Latest Zetaboard Posts on Website script . . . It's easy to use. Go to your site's Portal and copy the URL (address) of that page. For instance, the Support Board's portal is http://support.zathyus.com/site Now, go to this URL: http://tierrahost.com/scripts/latest.php On that page, there is an input box to put your forum's portal address: ![]() Paste the address to your forum's portal in the input box: ![]() After you submit the address, and it was a valid address, you'll see your forum's latest posts in a live example. You'll also be given the code to copy/paste into put in your Admin Control Panel. ![]() How much easier can it get than that? Summary: copy your portal address, paste it into the input box at http://tierrahost.com/scripts/latest.php , submit the address, get the code to put into your ACP. Final note; you can modify the look of the latest posts by using the id of "latest" in your stylesheet (CSS). Example:
Good luck! |
![]() |
|
| polocolo | Jan 8 2016, 06:43 PM Post #110 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
Thank you! |
![]() |
|
| Skyon Archer | Jan 19 2016, 03:14 PM Post #111 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
You are welcome! |
![]() |
|
| polocolo | Aug 11 2016, 03:02 PM Post #112 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
The latest 20 posts have also stopped working. I think it is probably due to the move of the site.
|
![]() |
|
| tobeme | Sep 11 2016, 01:44 PM Post #113 |
|
Member
![]() ![]() ![]() ![]()
|
This hasn't been working for a long while. When will this be back on? |
![]() |
|
| Skyon Archer | Oct 24 2016, 08:02 PM Post #114 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
This does work, as can be seen here: http://tierrahost.com/scripts/latest.php?url=http%3A%2F%2Fsupport.zathyus.com%2Fsite%2F Visit http://tierrahost.com/scripts/latest.php and simply follow the directions. Read this post: http://support.zathyus.com/single/?p=18109239&t=5082198 for more information. |
![]() |
|
| Chelonian | Oct 26 2016, 01:52 AM Post #115 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
Didn't work for me when I tried it. Apparently it has errors in the coding; http://support.zathyus.com/topic/7001765/1/#new |
![]() |
|
| Cory | Oct 28 2016, 03:52 PM Post #116 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Here's what I'm getting: http://i.imgur.com/WH10H7kh.jpg |
![]() |
|
| Skyon Archer | Oct 28 2016, 08:37 PM Post #117 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
What is the URL of the portal you submitted? That error message comes from either not supplying an address or the script not being able to retrieve any information from the portal. One thing, this script anticipates that the Latest Posts are being displayed in the left hand column of the portal.
It looks for the <h2> and scrapes the data between it and the end of that section. If it is somewhere else, then the script will need to be modified. |
![]() |
|
| polocolo | Oct 28 2016, 09:31 PM Post #118 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
I'm glad that you're back! Here is my board: http://wallacehuoforum.info/index/ I put the 20 latest posts in the Recent Updates - Reload table. EDIT: That worked fine until lately.. Edited by polocolo, Oct 28 2016, 09:31 PM.
|
![]() |
|
| Cory | Oct 29 2016, 07:02 PM Post #119 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I found the issue. I had no content in the right sidebar, so the HTML wasn't present and instead returned this:So, you might want to consider $end_text finding what you posted, or the above. |
![]() |
|
| Chelonian | Oct 30 2016, 01:15 AM Post #120 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
http://s15.zetaboards.com/Discussion_Time/pages/updated/ Got it working I think but it shows topics that shouldn't be shown (ones relating to Cory's mention codes and online today code) and it looks very bare. No tables etc. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · ZetaBoards Codes & Modifications · Next Topic » |
| Track Topic · E-mail Topic |
4:30 AM Jul 11
|




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






1.png (17.98 KB)
4:30 AM Jul 11