Not Solved [How To?] Open post from post ID nunber
#1
Not Solved
Is it possible to open post page with only post ID number?

user has redeem something in some post and on log it show only post ID number. 
Can we open that post page by posting url with that post ID number?
Like https://www.xyz.com/post-3456.html

Thank you.
Reply
#2
Not Solved
if you want show every post as separate page you can do it with custom plugin,becuase post is part of thread and url must identify by thread id
Reply
#3
Not Solved
use google seo or codes in htaccess.txt for .htaccess
Reply
#4
Not Solved
A post alone is irrelevant in a forum, where the principe is to have discussions.
You can create a showpost.php file to display only one post, but I don't think it's usefull.
Do not ask me help through PM or Discord
Reply
#5
Not Solved
You can generate the post URL by knowing only the PID.
https://community.mybb.com/showthread.ph...pid1369369
Reply
#6
Not Solved
@ Omar and Crazycat...I don't understand. How to do it? What to add in php file?
Reply
#7
Not Solved
I think Omar was trying to show you an answer by example: that if you have the PID, you can link to the post's thread page (and the post itself via everything including and after the #) using showthread.php?pid=[PID]#pid[PID].
Reply
#8
Not Solved
If you are trying to assign custom PIDs to posts then you will need a plugin for that. As far as I'm concerned no such plugin exists. In my opinion such feature would be useless for general purposes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)