dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse

This website has run out of funding so feel free to contribute if you can afford it (see footer)

Author Topic: Paid mod to force entry of the email address at registration twice.  (Read 3305 times)

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6649
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 02:42:05 PM
  • Deeply Confused Learner
  • Profession: IT Engineer
candidate. price was $US 3.50 and may well be purchased if another member gets their email address wrong.

quite a few registrations never get processed due to a bad email address, as supplied in error by the registering new member.

mentioned by: http://www.simplemachines.org/community/index.php?topic=550281

download from: http://www.smfsimple.com/index.php/topic,4479

how to buy credits: http://www.smfsimple.com/index.php?action=buycredits


friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Offline Esoteric Anhydride

  • I <3 Mods
  • Tech
  • Full Member
  • *
  • SA_Chat+
  • **
  • Join Date: May 2015
  • Location:
  • Posts: 478
  • Reputation Power: 0
  • Esoteric Anhydride has hidden their reputation power
  • Last Login:October 14, 2019, 06:26:54 AM
Re: Paid mod to force entry of the email address at registration twice.
« Reply #1 on: December 13, 2016, 05:59:33 AM »
And this is in PHP?

You have a test box, right?

Most of the code should already be there, and you know programming basics, right?

Seems like a great opportunity to maybe learn a lil PHP; very much like C but WAY WAY easier. No pointers for one, much friendlier variables.

I'm WAYWAY far from any sort of coding guru, and in the middle of multiple projects atm; but you could post it up and maybe someone would be willing to take a look at it?

Then agan, I guess 3.50 isnt much..
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6649
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 02:42:05 PM
  • Deeply Confused Learner
  • Profession: IT Engineer
Re: Paid mod to force entry of the email address at registration twice.
« Reply #2 on: December 13, 2016, 01:18:55 PM »
Yeah, I have all that and have written small php programs and made minor changes.

I just haven't been in the right mood to take it on but that may change ... plus $3.50 isn't a lot.

Thanks for the support - i have spent some time as an analyst/programmer but OO code is new to me.

Let me ponder this and I'll look at the code - i have some basic debugging tools.

Once I isolate the code in play at the time, I will attach it to this thread.
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Offline Esoteric Anhydride

  • I <3 Mods
  • Tech
  • Full Member
  • *
  • SA_Chat+
  • **
  • Join Date: May 2015
  • Location:
  • Posts: 478
  • Reputation Power: 0
  • Esoteric Anhydride has hidden their reputation power
  • Last Login:October 14, 2019, 06:26:54 AM
Re: Paid mod to force entry of the email address at registration twice.
« Reply #3 on: December 15, 2016, 07:53:30 AM »
Can you read or write any c/cpp?

It is a tough call, a year ago I'd have taken it on just for the boredom, these days there's no shortage of shit to deal with -- good shot tho, this is all good.. I feel stronger now than I have in 10 years.. :) And ya, $3.50usd is less than a pack of smokes, shit gas is less than $2.50gallon where I'm at..
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions

Offline dizzle

  • that nizzle
  • Sr. Member
  • ****
  • SA_Chat+
  • **
  • Join Date: Aug 2015
  • Location: chi-tizzle
  • Posts: 681
  • Reputation Power: 40
  • dizzle is now getting very popular.dizzle is now getting very popular.dizzle is now getting very popular.dizzle is now getting very popular.
  • Gender: Male
  • Last Login:February 15, 2019, 02:40:50 AM
Re: Paid mod to force entry of the email address at registration twice.
« Reply #4 on: December 15, 2016, 11:19:52 PM »
And this is in PHP?

You have a test box, right?

Most of the code should already be there, and you know programming basics, right?

Seems like a great opportunity to maybe learn a lil PHP; very much like C but WAY WAY easier. No pointers for one, much friendlier variables


My thoughts too.

To me it's not about the $3.50, at about figuring it out. My guess is that it's quite easy? The variables should already be named and a few elif (or maybe even one?) statements should fix it. I'd guess something like

if emailvar1=emailvar2, submit application, else reload page and add javapopup error box?

The java code for the error box should be incredibly simple and likely already there in a different part of the site, just rerock the code for the New personal message box that pops up when you receive a message.
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions

Offline Esoteric Anhydride

  • I <3 Mods
  • Tech
  • Full Member
  • *
  • SA_Chat+
  • **
  • Join Date: May 2015
  • Location:
  • Posts: 478
  • Reputation Power: 0
  • Esoteric Anhydride has hidden their reputation power
  • Last Login:October 14, 2019, 06:26:54 AM
Re: Paid mod to force entry of the email address at registration twice.
« Reply #5 on: December 26, 2016, 10:57:03 AM »
in just pseudo code
$madd.cnt = 1
while ($madd.cnt < 2)
   get_email_address($cnt)
$cnt++

//here you breakout cos get_email_address runs twice before its = 2, simple

? maybe post the code chipper if you haven't bought it yet
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6649
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 02:42:05 PM
  • Deeply Confused Learner
  • Profession: IT Engineer
Re: Paid mod to force entry of the email address at registration twice.
« Reply #6 on: December 26, 2016, 02:11:22 PM »
What I did instead is force another registration question to answer with a yes if they have double checked their email address.

I'm not feeling the best lately so I can't be bothered with code changes at the moment.
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Tags:
 


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal