[Request] Request for raffle extension

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Anti-Spam Guide
Post Reply
User avatar
ivailo95
Registered User
Posts: 1067
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

[Request] Request for raffle extension

Post by ivailo95 »

Hi there
Im looking for some raffle extension,but can't find it
and decide to suggest one to request so,is there any way to creat it? :roll: :?:
i want this ext can choose between random numbers when set from 1 to 100 (for example) and it can choose from 1 to 100
Last edited by ivailo95 on Mon Apr 01, 2019 7:39 pm, edited 1 time in total.
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: [Request] Request for raffle extension

Post by Mick »

  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
ivailo95
Registered User
Posts: 1067
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: [Request] Request for raffle extension

Post by ivailo95 »

how can i test it? :?:
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: [Request] Request for raffle extension

Post by Mick »

Paste the code into a file called raffle.php, use a good text editor like Notepad++ (Google) Save the file then pop it in the root of your board and browse to it and see what happens. I'm assuming if it works as you require the code could be adapted in to an extension.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
ivailo95
Registered User
Posts: 1067
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: [Request] Request for raffle extension

Post by ivailo95 »

i will test it on my local board 1st,so if i understand you right my root folder is
C:\xamp3\htdocs\dashboard\phpBB3
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: [Request] Request for raffle extension

Post by Mick »

Yes, where config.php lives.

Local board is a good plan.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
ivailo95
Registered User
Posts: 1067
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: [Request] Request for raffle extension

Post by ivailo95 »

Mick wrote: Mon Apr 01, 2019 5:24 pm Yes, where config.php lives.

Local board is a good plan.
i did it
what now? :roll:
https://i.imgur.com/z76l2dr.png
https://i.imgur.com/crntMd2.png
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: [Request] Request for raffle extension

Post by Mick »

Browse to it and see what happens /phpBB3/raffle.php

For some reason your file manager isn't showing file extensions which is a bit disconcerting.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
ivailo95
Registered User
Posts: 1067
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: [Request] Request for raffle extension

Post by ivailo95 »

Mick wrote: Mon Apr 01, 2019 5:53 pm Browse to it and see what happens /phpBB3/raffle.php
ааh i find it
https://i.imgur.com/Dc7lYqv.png
but also see this error

Code: Select all

Fatal error: Uncaught Error: [] operator not supported for strings in C:\xamp3\htdocs\dashboard\phpBB3\raffle.php:82 Stack trace: #0 {main} thrown in C:\xamp3\htdocs\dashboard\phpBB3\raffle.php on line 82
https://i.imgur.com/WATQqA5.png
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: [Request] Request for raffle extension

Post by Mick »

You could ask the author at github but I don't know if he's supporting it. If somebody is willing to take this on, and it's what you want, they may be able to sort the code out.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
Toxyy
Registered User
Posts: 942
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek
Contact:

Re: [Request] Request for raffle extension

Post by Toxyy »

ivailo95 wrote: Mon Apr 01, 2019 5:55 pm
Mick wrote: Mon Apr 01, 2019 5:53 pm Browse to it and see what happens /phpBB3/raffle.php
ааh i find it
https://i.imgur.com/Dc7lYqv.png
but also see this error
Try changing line 80 from

$inputraffle = '';

to

$inputraffle = [];
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension
User avatar
ivailo95
Registered User
Posts: 1067
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: [Request] Request for raffle extension

Post by ivailo95 »

:o work it
but it choose only between 2 number..doesn't choose number from 1 to 50 for example
i want some ext (or code as this) which can choose from X number to Y number
for example i set 1 next 50 and it can choose 35 or 25 or 10 or 49 etc..
https://i.imgur.com/QVVCZQM.png
https://i.imgur.com/fuA1xUO.png

1st post update.
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: [Request] Request for raffle extension

Post by Mick »

You need a random number generator (between 1 & 50) then I think?
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
ivailo95
Registered User
Posts: 1067
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: [Request] Request for raffle extension

Post by ivailo95 »

Mick wrote: Mon Apr 01, 2019 7:41 pm You need a random number generator (between 1 & 50) then I think?
yes,but not only 1& 50 numbers
smth like random.org
For REALLY good and VERY cheap hosting CLICK HERE
Watch "Lost in a random" game, it's the best
Post Reply

Return to “Extension Requests”