Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Some questions - please help
Old 08-20-2007, 02:25 PM Some questions - please help
XRS
Experienced Talker

Posts: 32
Trades: 0
Hi.

I want to make a website with registration system but I have some questions:

1- How to make a menu to register, and when the user is logged in, that menu changes to another one?

Example:

Menu for Guests:
- Home - Register - Login - Forum -

Menu for users logged in:
- Home - User CP - My Stats - Forum -

2- I want a payment system, how could I do it? People pays to show something in my site (an automatic system) by paypal.

Example:

Someone pays to show a Text Link on my site.
The page where the links appear must show all links (basically on a table).
That user pays for some views (ex. 1000)
And then, in the page os ads, that link appear until all my users click them 1000 times, not unique visits.


That are my questions for now.
Thanks in advance.
XRS is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-20-2007, 02:38 PM Re: Some questions - please help
Super Talker

Posts: 130
Trades: 0
for you're menu portion. If the menu items for a logged in user are the same for any logged in user, you could simply create two menus and show one if the user is logged in or the other if they aren't.
__________________
flann

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
flann is offline
Reply With Quote
View Public Profile
 
Old 08-20-2007, 02:45 PM Re: Some questions - please help
XRS
Experienced Talker

Posts: 32
Trades: 0
That is want I to know. How to show a diffent menu if a user is logged in?
XRS is offline
Reply With Quote
View Public Profile
 
Old 08-20-2007, 02:52 PM Re: Some questions - please help
JamieLewis's Avatar
Pretty Much a Big Deal...

Latest Blog Post:
Gooie
Posts: 385
Name: Jamie Lewis
Location: UK
Trades: 0
Hmm, to be honest if you are having to ask these question you need to go back and take a look at your php knowledge since most of these things should be self evident.

First question: Use conditional segments and session variables.

Second: a bit more complicated. Integrate a payment system into your site to handle the addition of adds. Once that is done then its simply a case of modifying a database table entry every time the page is loaded.

Jamie
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
JamieLewis is offline
Reply With Quote
View Public Profile Visit JamieLewis's homepage!
 
Old 08-21-2007, 06:30 AM Re: Some questions - please help
Junior Talker

Posts: 2
Name: prami
Trades: 0
hope this website www.w3schools.com would be useful to you in making website.
webmaaster is offline
Reply With Quote
View Public Profile Visit webmaaster's homepage!
 
Old 08-21-2007, 09:10 AM Re: Some questions - please help
coolkbk585's Avatar
Be good this Christmas!

Latest Blog Post:
KBlog has been deativated
Posts: 642
Name: Kyle
Location: Ada, MI
Trades: 0
I think that www.tizag.com is another good one. With both of those together, you can do quite a bit to start out with.
coolkbk585 is offline
Reply With Quote
View Public Profile Visit coolkbk585's homepage!
 
Reply     « Reply to Some questions - please help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.12671 seconds with 12 queries