AliMD / 1Tuts

:+1: Web Design Technology Tutorials
http://ali.md/tuts
62 stars 41 forks source link

Download Counter #543

Closed hbehkamal closed 11 years ago

hbehkamal commented 11 years ago

salam doostan! mikhastam bbinam chejoori mishe amare Download ro be dast avord ? Scripte khassi dare aya?? lotfan bem komak konid k badjoor lazem daram!

ghost commented 11 years ago

SLM age bara WP mikhay iin afzooneh (!) hast : WP-Filebase

age script jodaaa mikhay peyda kardy b manam bdeh lazem daram :D

hbehkamal commented 11 years ago

@mghayour na bara WordPress nmikham. ye linke Download daram mikham har bar k roosh click mishe ye shomarande ouno bshmare! hamin.

ehsansh commented 11 years ago

rush fek nakardam ziad.... vali ehtemalan ba hamchin chizi mishe halesh kard http://jsbin.com/APudUn/5/edit ia masalan in modeli http://jsbin.com/APudUn/9/edit albate fek mikonam ini k nevesham samte browser has.... baiad ie moteghaier bashe k samte server k ba har click un meghdaresh ezafe beshe inai php mikhad gamunam

hbehkamal commented 11 years ago

@ehsansh
mamnoon in khoobe vali khob hamooontor goftin niaz be PHP hast ta in meghdar save bshe . alan har bar k refresh mishe 0 mishe ! :|


@omidgharib u yad nadari ?

omidgharib commented 11 years ago

@hoseinBL man na yek seri idea daram mesle ink ham click kard to database yek dune countero ++ konim vali fek nakonam osoli bashe ag to be javabe bahali residi be ma ham bego :+1:

hbehkamal commented 11 years ago

@omidgharib
manam fek mikonam rahe hale sadash hamin bashe vali khob PHP yad nadaram nmitoonam hamin chize sade ro bnvisam :(

Asal-GHafari commented 11 years ago

salam man yek pishnehad daram

step1: har bar ke user clik kard ye function gharare ejra beshe to del function ye conter tarif kon albate kharej az func conter=0 bede bad dakhel fun conter++ kon .

step2 : ye conter to db tarif kon (db=database)

step 3 : har bar ke karbar clik mikone hamon conter yeki add mishe bad to contere db gharar bede (age dobare user page load kone akharin addi ke to conter db neshaste ro mikhone)

step 4 : har bar user page load kard ghabl az clik -conter ro az db mikkhone bad ba clik dobare finction conter++ call mishe

step 5 : be step3 barmigardim

Good luck

hbehkamal commented 11 years ago

Man ye hamchin chizi mikham : http://counter.mspyratos.com/


@Asal-GHafari khob hamin karaei k goftio lodfan ye nemune anjam bde bbinam chejoorie! asan bbinim amali mishe ya na.

ghost commented 11 years ago

Az yek script short link ham mitooni estefaadeh koni !

YOURLS Chize khubieh

hbehkamal commented 11 years ago

@mghayour ini k migi chi hast asan?az koja mishe giresh avord?yekam bishtar tozih midi ?

ghost commented 11 years ago

ye search mikardi kho ! http://yourls.org

miad link ro kooootah mikoneh va khoobish iinjas ke mitooni amaare click rooo un link ha ro ham dashteh bashi !

Asal-GHafari commented 11 years ago

@hoseinBL ok wait

omidgharib commented 11 years ago

@hoseinBL fekr mikonam tarhi ke @Asal-GHafari khub bashe shabihe oni hast ke khodam ham goftam faaght in idea yek eshkali dare onam ink tedad click user ro link download o in hesab mikone na tedad bari ke download amade shode ya hata down betore kamel anjam shode

hbehkamal commented 11 years ago

@omidgharib man baram hamoon tedade click moheme!


@Asal-GHafari tnx.

omidgharib commented 11 years ago

ghorbonet

hbehkamal commented 11 years ago

Problem Fixed. tnx all.

Asal-GHafari commented 11 years ago

@hoseinBL ok good:100: