MyBB Community Forums

Full Version: Get Poll id #
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do you get the poll id #? I have a plugin for the poll to be in the index, but I don't know how to get the poll id #. Anyone knows?
I believe if you use Inspect Element and look for "pid", that would be the Poll ID.

[Image: g7uQr9C.png]
(2013-01-26, 11:17 PM)iHydra Wrote: [ -> ]I believe if you use Inspect Element and look for "pid", that would be the Poll ID.

[Image: g7uQr9C.png]

I believe PID is post id. Smile
I have the Poll on index plugin also and how I do it is:

Go to the poll you want to use then hover over the "Show Results"
And if you look at the bottom of your browser it should show you the whole url with the pid#
(2013-01-27, 01:49 AM)dj83 Wrote: [ -> ]I have the Poll on index plugin also and how I do it is:

Go to the poll you want to use then hover over the "Show Results"
And if you look at the bottom of your browser it should show you the whole url with the pid#

That's a better way to do it than the Inspect Element. Thanks, also would it matter if I post a poll in the staff forums, and use the poll id of that, will everybody be able to see it or only staff?
(2013-01-27, 07:24 PM)MYBB GHOST Wrote: [ -> ]
(2013-01-27, 01:49 AM)dj83 Wrote: [ -> ]I have the Poll on index plugin also and how I do it is:

Go to the poll you want to use then hover over the "Show Results"
And if you look at the bottom of your browser it should show you the whole url with the pid#

That's a better way to do it than the Inspect Element. Thanks, also would it matter if I post a poll in the staff forums, and use the poll id of that, will everybody be able to see it or only staff?

Not sure, won't hurt to test it out. Sooner or later, you need to test things on your own. You learn more by testing out things and troubleshooting.
(2013-01-27, 07:40 PM)iHydra Wrote: [ -> ]
(2013-01-27, 07:24 PM)MYBB GHOST Wrote: [ -> ]
(2013-01-27, 01:49 AM)dj83 Wrote: [ -> ]I have the Poll on index plugin also and how I do it is:

Go to the poll you want to use then hover over the "Show Results"
And if you look at the bottom of your browser it should show you the whole url with the pid#

That's a better way to do it than the Inspect Element. Thanks, also would it matter if I post a poll in the staff forums, and use the poll id of that, will everybody be able to see it or only staff?

Not sure, won't hurt to test it out. Sooner or later, you need to test things on your own. You learn more by testing out things and troubleshooting.

Yea but I can't access my site with with this; http://community.mybb.com/thread-133553.html