Anyone good with PHP?

Bitbyte

Well-Known Member
OP
Member
Joined
Dec 20, 2003
Messages
1,003
Trophies
2
Age
35
Location
._________.
Website
Visit site
XP
1,600
Country
Belgium
Basically, I have a page with a button. If a user clicks on that button, a timer has to start and after about XX seconds, a pop-up has to be shown, making it so that the user can't click on the website anymore, so, with just the pop-up focused. After another XX seconds, the pop-up will have to vanish.

Really hope someone can help me out with this, it shouldn't be that hard, but I don't know the first thing about PHP
smile.gif
 

djtaz

PM's Full - Wadder Me
Member
Joined
Sep 21, 2008
Messages
2,997
Trophies
0
Age
51
Website
Visit site
XP
101
Country
Bitbyte said:
Basically, I have a page with a button. If a user clicks on that button, a timer has to start and after about XX seconds, a pop-up has to be shown, making it so that the user can't click on the website anymore, so, with just the pop-up focused. After another XX seconds, the pop-up will have to vanish.

Really hope someone can help me out with this, it shouldn't be that hard, but I don't know the first thing about PHP
smile.gif


You wont be able to do that with PHP - you will need javascript and flash id think.
most popups are blocked these days so its harder to get around them.
 

Bitbyte

Well-Known Member
OP
Member
Joined
Dec 20, 2003
Messages
1,003
Trophies
2
Age
35
Location
._________.
Website
Visit site
XP
1,600
Country
Belgium
Yeah, been playing around with Javascript for a while, but I can't get it to stay focused though (so you can't click on the site unless you click on the pop-up).
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,405
Country
United Kingdom
The question then is how secure do you want it to be (obviously not a trivial bypass) but what about someone with adblock/noscript or someone with firebug/greasemonkey who knows how to use it?

Why not go steal look at something from one of those hosting sites or a mirror site, they often redirects with a timer which would suit your needs quite well from what you say.

As for specifics I can not really help you though, web coding is not my thing.
 

Bitbyte

Well-Known Member
OP
Member
Joined
Dec 20, 2003
Messages
1,003
Trophies
2
Age
35
Location
._________.
Website
Visit site
XP
1,600
Country
Belgium
Hmmm, I got GreyBox installed but I can't make the close icon disappear..

*edit, Okay, I tried with the other method, I really did. But it didn't work. If someone's interested in making this, I will make it worth their while. Just PM me to get a site where you see such a script live. I just need to make something like that.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I fixed it
    +1
  • S @ salazarcosplay:
    how are you\
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, we just talked like 2 hours ago
  • BigOnYa @ BigOnYa:
    I had the Goodyear blimp fly real low right over my house this morning, was weird out of nowhere looking up and seeing it that close up. Memorial golf tourney going on by me in Dublin Ohio and its there.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i tried the gdevelop mobile app and theres a event limit and you have to pay to add more events
  • BigOnYa @ BigOnYa:
    I never used the mobile or online versions, just the pc version.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i only use the online version
    +1
  • BigOnYa @ BigOnYa:
    I was at the bar for 1 hour and lost $40 playing pool, and said well that's enough for my unlucky day, better quit. Some sharks up there today.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, did you get drunk?
  • BigOnYa @ BigOnYa:
    No I don't drink much when i goto bar, cause I driving, or if/when I do, ill take a uber/cab home. But I'm working on it now tho I'm home, beer n whiskey shots today.
  • K3Nv2 @ K3Nv2:
    He's afraid he might wake up next to ancientboi the next day
    +1
  • BigOnYa @ BigOnYa:
    What a "Scared Straight" moment that would be.
  • BigOnYa @ BigOnYa:
    A friend give me a $35 cigar, and pssf, just as good as a $5 one. But of course gonna have to tell him it was awesome.
  • Psionic Roshambo @ Psionic Roshambo:
    What makes a good Cuban rum soaked cigar is a nice cosmopolitan to go with it.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Used to do that every time I went to Miami on business
  • Psionic Roshambo @ Psionic Roshambo:
    There was this little bar I would stop in have that combo and watch the beach
    +1
  • BigOnYa @ BigOnYa:
    I've never met a girl named cosmopolitan, but cool. And where do you insert the cigar? Mr clinton
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly more than 35 dollars lol but I was making thousands on a job.
  • Psionic Roshambo @ Psionic Roshambo:
    Cosmopolitan is just vodka and cranberry juice lol
  • Psionic Roshambo @ Psionic Roshambo:
    I'm a martini glass
  • K3Nv2 @ K3Nv2:
    My dental assistant is Cuban I'm gonna have to him for cigars and sandwiches now
  • BigOnYa @ BigOnYa:
    Yea wish I could get Cubans cheap, they are ridiculous priced up here. But they are hard workers.
    BigOnYa @ BigOnYa: Yea wish I could get Cubans cheap, they are ridiculous priced up here. But they are hard workers.