| 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,988 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: | |
|---|---|
| Wonder Pie | Oct 15 2012, 08:25 PM Post #76 |
|
Member
![]() ![]() ![]()
|
I too put it in a marquee box (div) on my website. This is the code I used:
To Skyon Archer: I know it wouldn't work on your server. The revised script is just basically for other hosts/servers so w11 boards do work. I just added the "var latestpost" java bit to the beginning and cleaned up the code so it would return the same data as your generator. Edited by Wonder Pie, Oct 15 2012, 08:28 PM.
|
![]() |
|
| paradise.engineering | Nov 28 2012, 04:32 AM Post #77 |
|
Lowpoly Workshop Founder
![]() ![]() ![]() ![]() ![]()
|
still is it a bit laggy nowadays because of the new server, or is it just me? |
![]() |
|
| SG2 | Apr 5 2013, 01:53 PM Post #78 |
![]()
Member
![]() ![]() ![]()
|
I'm trying to get this to work using a page from the forum's Website Maker, which is obviously possible from the example site, but I can't get it to work. I'm getting hung up at step 5:
So I made a new page in the website maker called 'feed' and pasted the div in there, but...what's supposed to go inside the div? I thought maybe the same code that I put in the board template, but that doesn't appear to do anything. I put the script in Below The Board because it didn't specify, is that okay? What might I be missing? I'm attempting this on my test board: http://w11.zetaboards.com/IGNO_Test_Board/index/ Edited by SG2, Apr 5 2013, 01:54 PM.
|
![]() |
|
| SlyCooperFan1 | Apr 5 2013, 02:39 PM Post #79 |
![]()
Coder
![]() ![]() ![]() ![]() ![]() ![]()
|
You're not supposed to put anything inside the div. Wherever you put <div id="latest"> </div>, the code will put the Latest Posts in there by itself. You don't need to put anything in it. |
![]() |
|
| SG2 | Apr 5 2013, 03:22 PM Post #80 |
![]()
Member
![]() ![]() ![]()
|
I tried that too and the page just doesn't display anything. This is what I put in Below The Board:
And this is the feed page: http://w11.zetaboards.com/IGNO_Test_Board/pages/feed/ Could it be conflicting with another code perhaps? Edited by SG2, Apr 5 2013, 03:23 PM.
|
![]() |
|
| SlyCooperFan1 | Apr 6 2013, 01:02 PM Post #81 |
![]()
Coder
![]() ![]() ![]() ![]() ![]() ![]()
|
SG2, you should have read the posts on the previous page. I just took a look - if you have a server that starts in w, this code will not work. Karmine made a new PHP code that will make the code work with w11, but you need your own website that supports PHP in order to host it. |
![]() |
|
| SG2 | Apr 6 2013, 01:25 PM Post #82 |
![]()
Member
![]() ![]() ![]()
|
Oh, okay, I must have missed that. Fortunately the w is only my test board - if it works with s servers, then it should work fine on my actual board (s1). I'll give that a try. Edit: Works perfectly on my s1 board. Thanks for pointing that out to me, SlyCooperFan!! Edited by SG2, Apr 6 2013, 01:34 PM.
|
![]() |
|
| Skyon Archer | Apr 7 2013, 03:05 AM Post #83 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
I'm glad it all worked out for you! |
![]() |
|
| tobeme | Jun 13 2013, 05:40 AM Post #84 |
|
Member
![]() ![]() ![]() ![]()
|
I want to have both active topics and latest posts show up on top of my index page. Here is my site address Right now I have created a box of active topics (which is developed by Cory) which I put it on the right hand side on top of the index page. I want to have a latest posts box next to it (on the left hand side). I have the above codes for the latest posts set up already but can't get it to show on the index page. Help is much appreciated. |
![]() |
|
| DLynn | Jun 13 2013, 08:20 PM Post #85 |
|
Member
![]() ![]() ![]()
|
I have been looking for these codes for ages as I have seen v Bulletin has both active topics and latest posts. It'll be nice if someone comes up with this new request. |
![]() |
|
| polocolo | Jul 2 2013, 10:40 PM Post #86 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
There seems a serious lagging problem lately. I am using the code in post #4 for my board. I'm wondering whether I can host the javascript on my own host (not zetaboard)? |
![]() |
|
| Skyon Archer | Jul 8 2013, 10:58 AM Post #87 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
1. The server hosting this has had no excessive load or downtime this month at all, zero, so the "lagging" your experiencing is not caused by this code. 2. This is a PHP script, basic as it is, and not javascript. It only uses, in post #4, javascript to present the results to the end-user. The actual PHP code is in the very first post of this topic, so if you have a host that you can use PHP with, then by all means, it's there to be used. |
![]() |
|
| polocolo | Jul 9 2013, 01:14 AM Post #88 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
Hi Skyon. thanks for the reply. Would the code in the first post work for the forum itself? I install the code in the zetaboard forum instead of an outside site. |
![]() |
|
| arcanezeal | Jan 3 2014, 09:00 AM Post #89 |
|
Member
![]() ![]() ![]()
|
Thank you for the awesome code! |
![]() |
|
| Skyon Archer | Jan 14 2014, 12:41 PM Post #90 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Thank you
|
![]() |
|
| 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)





4:30 AM Jul 11