wpDiscuz - WordPress Comment Plugin
Random string for i...
 
Share:
Notifications
Clear all

Random string for inline comment ID


touchi
Posts: 2
Topic starter
(@touchi)
New Member
Joined: 11 months ago

I am interested in using inline commenting with dynamically generated posts, e.g., posts obtained through RSS feeds. If I stick the inline commenting shortcode in a template to generate these, can I use a randomly generated string for the ID in the shortcode? Is that ID registered somewhere in the WPDiscuz system, or is it just used to keep multiple inline comments separate from one another on the page? Please enlighten me on this.... My thanks in advance --

Topic Tags
3 Replies
Asti
Posts: 3913
 Asti
Support
(@asti)
Support member
Joined: 4 years ago

@touchi,

You can use each ID you want for the shortcode. 

Just make sure the red marked "idNCXs" ID is unique for each shortcode.

Reply
touchi
Posts: 2
Topic starter
(@touchi)
New Member
Joined: 11 months ago

Thank you, that answers my question. I now have two more:

1): If we require users to be logged in to comment, what happens with the inline form if they aren't? Is there a "You must login" message in the popup, or does the inline comment icon not show up at all, or something else?

2): Are there any characters that can't be used in the ID string?

Thanks again, everyone --

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 4 years ago

Support member
Posts: 3913

@touchi,

1): If we require users to be logged in to comment, what happens with the inline form if they aren't? Is there a "You must login" message in the popup, or does the inline comment icon not show up at all, or something else?

The inline commenting form shows even if the comment is disabled. You can use the solution provided here: https://wpdiscuz.com/community/postid/2743/

2): Are there any characters that can't be used in the ID string?

You can use Latine letters and numbers as well. 

Reply
Share: