inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Jan 20, 2014 13:53:43 GMT -8
Is there a way to tell if a user has already posted in the current thread being viewed?
|
|
inherit
The Great Cinnamon Roll
191518
0
Oct 19, 2016 22:17:44 GMT -8
David Clark
Care for some tai chi with your chai tea?
17,602
March 2013
davidlinc1
|
Post by David Clark on Jan 20, 2014 14:25:21 GMT -8
As far as I'm aware, you're only able to ascertain who's on the current page, but I'll tag Tim Camara in case he knows of a super secret magic way.
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Jan 20, 2014 14:31:44 GMT -8
Hmm, maybe you could tie in the functionality of the thread participants dialog? (the dialog when you click on the number of replies from inside a board)
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Jan 20, 2014 14:35:42 GMT -8
Tim Camara Is there a way to access that data from the posting page?
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Jan 20, 2014 15:50:56 GMT -8
As long as it's a user-triggered action (e.g., not automatic on page load), you could duplicate the AJAX call and show the dialog. All you need are the thread ID and CSRF token, and you should be able to call it.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,022
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jan 24, 2014 18:04:46 GMT -8
As long as it's a user-triggered action (e.g., not automatic on page load), you could duplicate the AJAX call and show the dialog. All you need are the thread ID and CSRF token, and you should be able to call it. A quick question Tim Camara, am I incorrect in believing that also having that functionality as standard on the page was also a requirement for using the AJAX or did I misread the guidance that was offered here. The reply in this thread clearly states that the only requirement is it must be user-initiated and not that it must also be preexisting in some form on the page?
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Jan 27, 2014 8:46:13 GMT -8
I can check with Pat to be sure, but I'm pretty sure that this would be okay.
|
|