Kapalı

Codeigniter - 80 lines of code needed

You should know the Codeigniter framework and the Freakauth authentification library: [url removed, login to view] -

BASICALLY I NEED THE FUNCTIONALITY THAT THE USERLEVEL JUMPS TO ANOTHER USERLEVEL AFTER SOME TIME (xxx days...)

THAT MEANS:

*) a function that writes into a user membership table

$this->membership_lib->new_user($userid,$duration,$userlevel_now,$userlevel_after)

you write in a table: user xxx is member from date xxx for xxx days - and he has now userlevel xxx - dates/time is in unix timestamp. like this...

*) a function that fills this info into the session variables (timestamps) - paid membership begin/end/remaining

*) a user library function that takes this session timestamps and translates them into CI date so I can use

echo "You paid until ".$this->user->membership_end." - thats ".$this->user->membership_remaining.

A LITTLE MORE DETAILED EXPLANATION:

I have 2 applications:

*) Freakauth + paypal lib (already installed)

-- here i want call after receiving successfully the payment your library/model with:

$this->membership_lib->new_user($userid,$duration,$userlevel_now,$userlevel_after)

you write in a table: user xxx is member from date xxx for xxx days - and he has now userlevel xxx - dates/time is in unix timestamp. like this...

-- you know, after each login the freakauth fills the session variables with 'id' 'userlevel' 'logged_in'

now you are setting additional variables: 'membership_begin' 'membership_end' as timestamp.

*) my main application don´t uses Freakauth (would be to slow) - it just checks session variables ('logged_in', 'userlevel'...

here I check in a hook or controller constructor if user is logged_in or the right userlevel...

I already have a small autoloaded library named 'user', that uses the session variables so I can use $this->user->name to get the current user - I need some additional infos from the session variables, like end of membership, days remaining... (conversion to CI date...) so I can tell the user, hey your paid membership ends in 8 days, 7 hours - at the xxx may 2008...

this will be all just a few lines of code (so this is a very small project), I could do this by myself, but the time functions are not my friends... ;-) I will pay you by paypal

Beceriler: PHP

Daha fazlasını görün: paypal pending until, paypal library, no code, id to code, i can write want to get paid, get right code, get paid to write code, get paid to code, could of, conversion framework, code your, codeigniter 2, code get, code 8 com, code 8, & code, applications of php, codeigniter code lines, codeigniter freakauth reviews, so slow, get code, timestamp, php codeigniter, infos, CodeIgniter php

İşveren Hakkında:
( 0 değerlendirme ) 1030, Austria

Proje NO: #185582

6 freelancer bu iş için ortalamada 92$ teklif veriyor

value4u

Thanks you.

in 3 gün içinde95$ USD
(280 Değerlendirme)
8.2
Sotirov

I didn't really get what you want, I guess only these functions or there are some other bugs with the payment? Anyway, I can do it

in 0 gün içinde80$ USD
(71 Değerlendirme)
6.9
Acmesoftsolution

We are an Indian based Web Development and web design company that activates both on the local and foreign market, providing its customers with visual concepts and eye catching Products. We represent a team of highly e Daha fazlası

in 2 gün içinde99$ USD
(43 Değerlendirme)
5.5
aerosmith20024

please view PMB for details.

in 2 gün içinde80$ USD
(1 Değerlendirme)
3.2
dev2u

Hi, see my PM now. Thank you.

in 3 gün içinde95$ USD
(3 Değerlendirme)
3.1
sharbesh

hi, I can work as you like, no issue cast of project, you can pay me as you like. Let me show my potiential and my performence. Let me know when you need my help. you can directly contact me at m Daha fazlası

in 5 gün içinde100$ USD
(0 Değerlendirme)
0.0