inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 24, 2016 10:41:36 GMT -8
|
|
inherit
220526
0
Feb 4, 2017 5:11:06 GMT -8
barndoor
14
April 2015
barndoor
|
Post by barndoor on Apr 5, 2016 11:24:12 GMT -8
is there any way to make this appear after a post rather than on its own. Ie every time someone posts they can grab a ticket and the ticket number will show along with the post comment rather than on its own? At the moment if you post a few sentences and then hit the grab ticket button the actual post disapears
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Apr 5, 2016 21:50:59 GMT -8
is there any way to make this appear after a post rather than on its own. Ie every time someone posts they can grab a ticket and the ticket number will show along with the post comment rather than on its own? At the moment if you post a few sentences and then hit the grab ticket button the actual post disapears That originally wasn't part of this request. Is there a good reason why someone would want to generate a random number with the users own text?
|
|
inherit
220526
0
Feb 4, 2017 5:11:06 GMT -8
barndoor
14
April 2015
barndoor
|
Post by barndoor on Apr 6, 2016 11:14:56 GMT -8
Thank you for the reply. I think there is a very good reason and one that would make this possibly the most downloaded plugin. Almost every board owner wants to encourage posts. I was going to do a prize competition where every time someone posted they could grab a ticket. I did a bit of research and found that this would increase the post count on my forum significantly. The more posts the more replies and the forum grows by itself. I apologise for not realising this was a requested plugin as i only looked in the plugin library and not on the support/plugins forum. As a standalone its still five stars. To clarify I dont want the text to generate the number I would like the board users to be able to do a quick reply with their comments and then grab a ticket so that both their comments and the ticket will show in the post. That would make forums FLY P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Apr 6, 2016 16:48:41 GMT -8
Thank you for the reply. I think there is a very good reason and one that would make this possibly the most downloaded plugin. Almost every board owner wants to encourage posts. I was going to do a prize competition where every time someone posted they could grab a ticket. I did a bit of research and found that this would increase the post count on my forum significantly. The more posts the more replies and the forum grows by itself. I apologise for not realising this was a requested plugin as i only looked in the plugin library and not on the support/plugins forum. As a standalone its still five stars. To clarify I dont want the text to generate the number I would like the board users to be able to do a quick reply with their comments and then grab a ticket so that both their comments and the ticket will show in the post. That would make forums FLY P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ So you are looking more for it adding your text on Each Post whether they click a button or on full reply etc?
|
|
inherit
220526
0
Feb 4, 2017 5:11:06 GMT -8
barndoor
14
April 2015
barndoor
|
Post by barndoor on Apr 8, 2016 5:52:13 GMT -8
pretty much. I want to encourage people to post and would like them to be able to grab a ticket every time they post. Basically the ticket would appear on their post along with the text they posted. I would be a great way to get forums moving if every time someone made a post they could grab a ticket. P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Apr 8, 2016 10:16:52 GMT -8
pretty much. I want to encourage people to post and would like them to be able to grab a ticket every time they post. Basically the ticket would appear on their post along with the text they posted. I would be a great way to get forums moving if every time someone made a post they could grab a ticket. P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ Sadly I think that this is kind of the opposite of the direction I want this particular plugin to go. Since it doesn't work on mobile, I think that optional works for this situation better than automatic, which is why I picked it up. Now I would say that when v6 drops the plugin idea that you are requesting would be a great plugin. However I wouldn't want to "update" this plugin to accomplish those goals. You are still free to request this plugin in the "request a plugin" board. I might consider doing it in the near future when I'm caught up on my current projects. But as I said starting with this plugin to accomplish those goals would require to start coding from scratch. I appreciate your idea and welcome more like it.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on May 1, 2016 3:17:02 GMT -8
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on May 1, 2016 4:31:41 GMT -8
"This will add a button next to quick reply..." I don't see a quick reply box on your forum. Therefore no button.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on May 1, 2016 4:34:11 GMT -8
"This will add a button next to quick reply..." I don't see a quick reply box on your forum. Therefore no button. Dang - is there no way it could be made to add something in the reply area as well?
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on May 1, 2016 4:37:15 GMT -8
"This will add a button next to quick reply..." I don't see a quick reply box on your forum. Therefore no button. Dang - is there no way it could be made to add something in the reply area as well? If it's the reply area, wouldn't custom post template accomplish this? Oh and you didn't add me on skype
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on May 1, 2016 4:53:22 GMT -8
Dang - is there no way it could be made to add something in the reply area as well? If it's the reply area, wouldn't custom post template accomplish this? Oh and you didn't add me on skype I've been getting help off Peter as well xD
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on May 1, 2016 5:28:54 GMT -8
If it's the reply area, wouldn't custom post template accomplish this? Oh and you didn't add me on skype I've been getting help off Peter as well xD Just do this: <script>
var damin = parseInt(pb.plugin.get('random_number_generator').settings.lowest_number_generated);
var damax = parseInt(pb.plugin.get('random_number_generator').settings.highest_number_generated);
var danum = Math.floor(Math.random() * (damax - damin + 1)) + damin;
var datext = pb.plugin.get('random_number_generator').settings.bbcode.replace( /randomnumber/g ,danum);
$('.visual-editor iframe').contents().find( "body" ).html(datext)
$('.editor.bbcode-editor textarea').attr('value',datext);
$('input[name=subject].full-width').val(pb.plugin.get('random_number_generator').settings.button_name);
</script>
Probably want to change BOTH to on New Reply
|
|
inherit
262152
0
Feb 13, 2024 13:33:48 GMT -8
caladrius
107
September 2020
caladrius
|
Post by caladrius on Sept 23, 2020 17:08:13 GMT -8
I was planning on using this for something resembling an in-house LOTTO system. People would pay a nominal fee (using our in-house currency) and they'd get their randomly generated LOTTO ticket by pressing the random number button. Right now, this plugin isn't formatted like LOTTO (pick 6 balls, each ball is assigned a number from, say, 1-50), unless I can have the random number button generate 6 numbers (which correspond to my "balls."). Or generate N numbers, with each number being in the range 1-to-M. For example, N=6 and M=50.
So, here's an example of LOTTO numbers:
17-34-20-21-4-11
I'm okay with having this feature only in certain boards because I was going to limit it to our GAMBLING board anyway.
I have not downloaded and installed this yet. I was just reading the description and the thread posts.
As is, I guess I'd just have it generate a 6-digit number from 000001-999999. (The leading zeros would be assumed to be there.)
|
|
jugo
New Member
Posts: 40
inherit
267035
0
Nov 24, 2022 16:10:17 GMT -8
jugo
40
October 2022
jugo
|
Post by jugo on Nov 5, 2022 20:31:21 GMT -8
Help can't get image to work my custom image
|
|