How to show a post in a page

How to show a post in a page 1.0

No permission to download
I will use this get a text editor for my sites. Just install this addon and make threads "hidden" which you just use to maintain the content of your pages.
 
I will use this get a text editor for my sites. Just install this addon and make threads "hidden" which you just use to maintain the content of your pages.
Did that work ?
Can you edit Xenforo's native Pages (HTML) from within xenforo Default Post editor ?
I assume you still need to use HTML !
When you edit the page .... does it display fine ?
 
Did that work ?
Can you edit Xenforo's native Pages (HTML) from within xenforo Default Post editor ?
I assume you still need to use HTML !
When you edit the page .... does it display fine ?

1. Yes. You can edit the Xenforos native pages from with xenforo default Post editor.
2. You insert HTML once when you create the page, after that you edit the post you have set up the be content for the page
3. Not worked much yet, but a couple of test sites shows.... fine (i.e. the post).
 
I really want to use this but im having some issues.

I set everything up as explained in the guide. For PostID I use 10564 which is @ http://mmazone.com.au/community/threads/ufc-151-jones-vs-henderson-cancelled.10564/

For some reason it doesnt show that post, I did a search of the post title it shows and it points to 10081 @ http://mmazone.com.au/community/thr...to-psycho-nickname-against-bryan-baker.10081/

Here is the link to the test page - http://mmazone.com.au/community/pages/Test/

postid is set to 10564 in the index.php script so I have no idea why this wont work, any ideas? thanks
 
i'm getting

error
You must be logged-in to do that.
Something really weird is happening with that page. I cant get anyone to view it except me(admin) I even created a test account and it still doesnt allow viewing, ive even tried setting the permissions on the page with no luck. Its weird because I have other pages that are viewable by anyone but whenever I try to access the page with anyone except my admin account I get a permission error.
MMA Zone - Australia's MMA Community - Error
You do not have permission to view this page or perform this action.
 
What is also weird is that both the following links go to the same page
http://mmazone.com.au/community/pages/Test/
http://mmazone.com.au/community/pages/showapost/

The showapost one was created months ago when I first tried this add-on, dont even remember if i got it working or not, yet I cannot find this 'showapost' page in my ACP node listing at all so this 'ghost' page may be causing issues?

EDIT:
I think I know why I get the permission error. Even though post ID is to a public post, since its linking to the wrong post(which is private) that is why(i assume) I am getting the permission error. Still dont understand why its pulling the wrong post. Just tried this on my dev board with no issues at all
 
What is also weird is that both the following links go to the same page
http://mmazone.com.au/community/pages/Test/
http://mmazone.com.au/community/pages/showapost/

The showapost one was created months ago when I first tried this add-on, dont even remember if i got it working or not, yet I cannot find this 'showapost' page in my ACP node listing at all so this 'ghost' page may be causing issues?

EDIT:
I think I know why I get the permission error. Even though post ID is to a public post, since its linking to the wrong post(which is private) that is why(i assume) I am getting the permission error. Still dont understand why its pulling the wrong post. Just tried this on my dev board with no issues at all
I have many pages that use this addon. If you need help in setting it up let me know?
 
I have many pages that use this addon. If you need help in setting it up let me know?
Thanks mate :), but I actually had no issues installing, everything is setup as it should be. I may even have to contact the XF devs about this because it works fine on my DEV board.

But just to make sure im not screwing anything up ill post a screenshot so you may clarify if I did anything wrong if you dont mind?

Page in Question - http://mmazone.com.au/community/pages/show-a-page/

Below image is the setup of index.php file for my main site, as you can see I have a post id of 10564 which is @ http://mmazone.com.au/community/threads/ufc-151-jones-vs-henderson-cancelled.10564/

But for some weird reason it pulls post #10081 which is @ http://mmazone.com.au/community/thr...to-psycho-nickname-against-bryan-baker.10081/

the permission issues I mentioned earlier was because post#10081 was private, its been made public now so everyone can see it.

Also ive changed the config to another post# but it shows some other random post so its not just fixed on showing #10081

So thats basically my issue, if no-one from here can help im going to have to contact the XF devs because this worked without issue on my dev site so im really confused :S

Thanks for your time

index.webp
 
The only thing that I can see is that you have embedded some videos in that post. I am not sure the addon supports this. I would ask the Developer of the addon for help on the embedded script.

Itworx4me
 
The only thing that I can see is that you have embedded some videos in that post. I am not sure the addon supports this. I would ask the Developer of the addon for help on the embedded script.

Itworx4me
Its only a picture not a video. Its not that its something else, thanks anyway ill have to contact the XF devs
 
Fuhrmann submitted a new resource:

How to show a post in a page (version 1.0) - I will teach you how to show a specific post in a XenForo page.



Read more about this resource...

Hello,

I know this thread is old but I'm new to XenForo and am starting at the bottom, sort of.

I tried this exercise and it worked no problem. I then wanted to delete my test post, which I did with the Permanent option selected. I then entered another post and tried ShowAPost again and it can't find the new post. I can see the new post, edit it, etc, but the ShowAPost callback can't find it in the database, I guess. Both cases I hardcoded it to be post #1.

Maybe it's the wrong post number? I tried post #2 just in case #1 was used up by the first permanently deleted post? I don't know.

Can you tell me what happened and how to correct it?

Thanks a lot.

David T.
 
Hello,

I know this thread is old but I'm new to XenForo and am starting at the bottom, sort of.

I tried this exercise and it worked no problem. I then wanted to delete my test post, which I did with the Permanent option selected. I then entered another post and tried ShowAPost again and it can't find the new post. I can see the new post, edit it, etc, but the ShowAPost callback can't find it in the database, I guess. Both cases I hardcoded it to be post #1.

Maybe it's the wrong post number? I tried post #2 just in case #1 was used up by the first permanently deleted post? I don't know.

Can you tell me what happened and how to correct it?

Thanks a lot.

David T.

I think this is not so much hard coded but the tutorial is set to render the post called "Show a Post" by the looks of it.
 
I understand the hardcoded post number is just for demo purposes.
My question is why, if a post is made and is displayed successfully by this example, and then that first and only post is deleted by the admin using the permanent option, then another post is made and you do a ShowAPost on that 2nd post, it is not displayed. the callback function fails to find it in the database.
I changed the post number from 1 to 2 to 3, etc, and it still did not find the 2nd post.
 
Back
Top Bottom