| 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,991 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: | |
|---|---|
| Skyon Archer | Dec 13 2011, 01:00 PM Post #31 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Check it now, I believe I have rectified the issue with the code posted here |
![]() |
|
| Skyon Archer | Dec 22 2011, 12:47 PM Post #32 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Latest Post on Website Latest Statistics on Website Example of both in use: http://s4.zetaboards.com/Latest_Post/index/ Edited by Skyon Archer, Dec 20 2015, 02:11 PM.
|
![]() |
|
| paradise.engineering | Dec 23 2011, 07:27 AM Post #33 |
|
Lowpoly Workshop Founder
![]() ![]() ![]() ![]() ![]()
|
Thanks a lot for your effort mate, I think I will find a way to implement this stats feature! |
![]() |
|
| toofx-ZNR (P) | Dec 23 2011, 10:48 AM Post #34 |
|
Who is The Coon?
![]() ![]() ![]()
|
Hay Guys i can't seem to get this to work i can Use some Help. if any One has the time. |
![]() |
|
| Skyon Archer | Dec 26 2011, 08:34 PM Post #35 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
1. Choose what you want to display and visit that contents site: Latest Post on Website Latest Statistics on Website Example of both in use: http://s4.zetaboards.com/Latest_Post/index/ 2. Enter your Zetaboards Portal URL in your choice from above (step one): Example: http://s4.zetaboards.com/GFX_and_GAMEING/site/ 3. For example, to display Latest Post on Website, you will need to add the following to your website you are wanting to display this option:
4. Replace the long blank line above with the URL that is in your browsers address bar (step two from above). Then place the following where you want it to be displayed:
Common issue is trying to use these on a site that doesn't have jquery. Zetaboards jquery file is located here:
--------- hope that helps! Edited by Skyon Archer, Dec 20 2015, 02:13 PM.
|
![]() |
|
| JJY | Dec 29 2011, 08:22 AM Post #36 |
|
Member
![]() ![]() ![]()
|
Can I know how to remove "poster name & replies" that row? |
![]() |
|
| Skyon Archer | Dec 29 2011, 10:56 AM Post #37 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Really simple. If you are using the javascript to display on your site, modify the code by adding this:
The modified javascript looks like this:
|
![]() |
|
| Pk Magic Hat | Feb 26 2012, 06:32 PM Post #38 |
|
Irritating requester
![]() ![]() ![]() ![]()
|
First of all, I love your script. It works amazing One question: http://www.tierrahosting.com/latest-post.php?url=http%3A%2F%2Fs3.zetaboards.com%2Fkazilion%2Fsite It shows the 5 latest posts first, and then it shows the 'Show posts from' posts. These are long posts. Ive used your script for my sidebar, and the sidebar is now showing the latest five posts great with no problems. But below that it shows a small width-like bar with the 'show posts from' posts. It is hard to explain so try to see it yourself: http://kazilion.nl.am/index/ or http://s3.zetaboards.com/kazilion/index I have tried to disable the 'show posts from' option, but then the tierrahosting feed does not show anything anymore (not even the last 5 posts.) Do you know how to fix this? Thank you
|
![]() |
|
| Skyon Archer | Feb 26 2012, 11:07 PM Post #39 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
This is something unique to your site, evidently. On my test board for this script, I have it displaying posts and everything is working as expected. Example: http://s4.zetaboards.com/Latest_Post/site If you look at the portal, the script is working as intended perfectly. I honestly don't have an answer . . . sorry. Maybe Reid or Cory can save the day on this one. |
![]() |
|
| Cory | Feb 26 2012, 11:25 PM Post #40 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Add that to the Javascripts wrapper of your Board Template to get rid of it. |
![]() |
|
| Pk Magic Hat | Feb 27 2012, 11:25 AM Post #41 |
|
Irritating requester
![]() ![]() ![]() ![]()
|
Thank you very much for your reply Skyon Archer! This means our site is so amazing that its unique to everything else!! :$ Thank you so much for the code, Cory! It works perfectly now! |
![]() |
|
| Skyon Archer | Feb 27 2012, 02:25 PM Post #42 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
That's why Cory is my hero. Thanks, boss man! |
![]() |
|
| Viral | Feb 27 2012, 05:25 PM Post #43 |
![]()
Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Just as a heads up, the main_url variable returns the board's URL such as http://sx.zetaboards.com/boardname/ .
|
![]() |
|
| paradise.engineering | Mar 6 2012, 12:00 PM Post #44 |
|
Lowpoly Workshop Founder
![]() ![]() ![]() ![]() ![]()
|
the code currently doesnt work, hope its not a server issue and this is only temporarily cause my sites depend on this script |
![]() |
|
| Skyon Archer | Mar 12 2012, 04:23 PM Post #45 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
It's working properly on the example site: http://s4.zetaboards.com/Latest_Post/index/ Are you still having issues? |
![]() |
|
| 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