Plusses for downloads

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

8 replies · 519 views · started 17 years ago · 1 min read

6 participants
riderz Lead · 975 posts #1

If a member want to download an item they require a sertain amount of plusses who have that code if they download games they require 10 if 3gp 20 if pics 5 mp3 25 plusses?


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

capofret Developer · 225 posts #3

riderz wrote: If a member want to download an item they require a sertain amount of plusses who have that code if they download games they require 10 if 3gp 20 if pics 5 mp3 25 plusses?

im also looking for that, but i want something like this

downloader will be deducted with e.g. 10 plusses then the uploader will get e.g. 10 plusses also

wish someone could help us out

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)

subzero Super moderator Fellow · 3,954 posts #4

You can see the add and take in some of the scripts lol

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

alesh Lead · 604 posts #5

just make a function something like this

function get_plusses($uid){
 $plusses = mysql_fetch_array(mysql_query("SELECT plusses FROM USER_TABLE WHERE id='".$uid."'"));
return $plusses[0];
}

then go 2 downloads and play with it lol

e.g.

if (get_plusses($uid)>10){
echo "<a href=\"download/pic.jpg\">PIC</a>";
}else{
echo "U need at least 10 plusses 2 downolad this pic";
}

its an example, theres many ways 2 play with it lol 😛

eeeeerrr....

capofret Developer · 225 posts #6

i can only do the code to deduct plusses from the downloader but how to add plusses to uploader everytime a user downloads the file??

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)

riderz Lead · 975 posts #7

Where excatly do i add the

if (get_plusses($uid)>10){
echo "<a href=\"download/pic.jpg\">PIC</a>";
}else{
echo "U need at least 10 plusses 2 downolad this pic";
}

Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

capofret Developer · 225 posts #8

but thats only for 1 file. what if for the specif file extension?? how to do it??or maybe a code that user cant browse that link/specific page if plusses not enough

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)

kiLLeR-eyEd_14 Senior · 382 posts #9

It's easy..U've done the code to deduct plusses if downloaded..So together with that, put the code to query that the uploader wilL be given plusses..Example, the c0st of download wilL be given to the uploader..So the c0st is equal to the amount to be given into the uploader..

Write your reply now; next you create a free account (or sign in) and it is posted right away. 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