| 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,990 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: | |
|---|---|
| paradise.engineering | Mar 13 2012, 10:38 AM Post #46 |
|
Lowpoly Workshop Founder
![]() ![]() ![]() ![]() ![]()
|
no, it was a temp issue, only lasted 24 hours |
![]() |
|
| manga_service | Mar 31 2012, 11:11 AM Post #47 |
|
Member
![]() ![]() ![]()
|
can you make it so we can see topic views as well ? |
![]() |
|
| MvS | Apr 5 2012, 05:13 PM Post #48 |
|
Extreme Forum Lurker!
:P
![]() ![]() ![]()
|
For some reason, this code is no longer working for me... I now get error messages. Does anyone know what went wrong? Warning: file_get_contents() [function.file-get-contents]: couldn't resolve host name in <path to index> on line 22 Warning: file_get_contents(http://s4.zetaboards.com/mariovsonic/site/) [function.file-get-contents]: failed to open stream: operation failed in <path to index> on line 22 Here's the modified code:
And here is the aforementioned line 22:
I've tried editing the url, but nothing appears to work. Thanks for any assistance! |
![]() |
|
| Skyon Archer | Apr 11 2012, 12:36 PM Post #49 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Are you still having an issue? It's working for me by using both your Zetaboards URL and your .co.cc URL |
![]() |
|
| shezse-ZNR | Apr 22 2012, 12:43 AM Post #50 |
|
Designer
![]() ![]() ![]()
|
I use this code a while ago.. and It is working.. but I have 1 problem on this.. to confirm the problem.. I read all the comments/posts here in this thread and I found one. As paradise.engineering said,
This is also my problem.. I don't see the solution about this problem.. I do ACTIVATE the Portal and set the post view to 20. and It is work but only the thread that viewable by guests.. but anyway, it is really great code.. Do you have script that can view all the topics? what I mean is, topics that can be viewed by members, moderators and admin can also appear in the DIV but with PERMISSION settings, topic that cannot read by guests are not be appeared.. topic that cannot read by guests but read by members can appear in the DIV so on so forth.. [although I experience it in one of the forum, they using it INVISIONFREE, I hope ZETA also have it] *waiting for response. |
![]() |
|
| Adstarr | Apr 23 2012, 06:04 PM Post #51 |
|
Member
![]() ![]() ![]()
|
Hey, this script sounds awesome, only I can't get it working. When I enter my portal URL into the website instead of showing the last 5 posts, its just says: var latestpost = (' '); Any idea what I'm doing wrong? Thanks in advance. |
![]() |
|
| Skyon Archer | Apr 24 2012, 02:15 PM Post #52 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Did you follow the steps mentioned in this post? |
![]() |
|
| Adstarr | Apr 24 2012, 06:30 PM Post #53 |
|
Member
![]() ![]() ![]()
|
Yeah, nothing shows up on my site though. When I clicked someone's url from another page it had there last five posts but mine just said what I posted before and I assumed that was the error? |
![]() |
|
| shezse-ZNR | May 1 2012, 10:19 PM Post #54 |
|
Designer
![]() ![]() ![]()
|
Codes is still working but is there any way to view the private thread? what I mean is, when viewing as a guests, only public thread can appear in the sidebar.. and when you login as a member or staffs, you can see all the thread posts appear in the sidebar... is there any way for that code?????? |
![]() |
|
| Skyon Archer | May 2 2012, 12:31 PM Post #55 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Adstarr - please provide me a link to where you are using this code so I can identify why it's not displaying. shezse - That should automatically happen. If you can see that new posts have been made, even in a staff only area, then they will be displayed. You have to have the proper permission to see what's new. That's why guests can't see all the posts that have been made, as in staff only areas and such. |
![]() |
|
| tobeme | Jul 31 2012, 11:08 PM Post #56 |
|
Member
![]() ![]() ![]() ![]()
|
Can I rename the "portal" as "latest posts"? Thanks EDIT: please ignore this. I found the place where to change the name. Edited by tobeme, Aug 5 2012, 07:59 AM.
|
![]() |
|
| phio_chan | Aug 31 2012, 07:47 AM Post #57 |
|
Wandering, Wondering
![]() ![]() ![]() ![]()
|
Hello! Thanks for the code, I think this is what I want to use although I still can't get it working. ![]() I want to add latest post information on my forum without enabling the portal. Is it possible? Or should I enable the portal? Because even with the portal active, the codes won't work. Thanks to whoever helps! ![]() edit: Never mind, got it working now.
Edited by phio_chan, Sep 4 2012, 04:56 AM.
|
![]() |
|
| Skyon Archer | Sep 4 2012, 04:10 PM Post #58 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Glad this is working out for everyone
|
![]() |
|
| manga_service | Sep 21 2012, 06:45 AM Post #59 |
|
Member
![]() ![]() ![]()
|
has this code stopped working ? i think mine isnt working anymore |
![]() |
|
| paradise.engineering | Sep 22 2012, 02:46 AM Post #60 |
|
Lowpoly Workshop Founder
![]() ![]() ![]() ![]() ![]()
|
only on some boards - w11; i have it running on a s4 tho ... |
![]() |
|
| 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