restrict to view a page

Started on the old forum in May 2009 · view the original in the archive · old links redirect here

3 replies · 442 views · started 17 years ago · 1 min read

3 participants
capofret Developer · 225 posts #1

can someone help me with a code that restricts user from viewing a page?

the conditions are:

should have 100 plusses, 100 chatposts, 100 forum posts, atleast online for a total of 10 hours,

all conditions should be satisfied for viewing the page.

LDSWAPWORLD site closed. im busy with other things in life like facebook , send me PM so i can add you 🙂 www.pinoySG.com

don't ask for help if you're not even helping yourself! i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.

External image (may be gone)

pimpin Junior · 20 posts #2

do sumfin like

$plusses = count plusses from db $chatposts = count chat posts from db $onlinetime = get online time in hours

if (($plusses<100) || ($chatplusses<100) || ($onlinetime<10)) { echo "sorry u need more stuff"; }else{ echo "u can see this page"; }

capofret Developer · 225 posts #3

pimpin wrote: do sumfin like

$plusses = count plusses from db $chatposts = count chat posts from db $onlinetime = get online time in hours

if (($plusses<100) || ($chatplusses<100) || ($onlinetime<10)) { echo "sorry u need more stuff"; }else{ echo "u can see this page"; }

Thanks for the idea. Can u post the whole code? Sorry, im not a coder so i dont know how.

LDSWAPWORLD site closed. im busy with other things in life like facebook , send me PM so i can add you 🙂 www.pinoySG.com

don't ask for help if you're not even helping yourself! i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.

External image (may be gone)

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close