Contact
|
Store
|
Not Registered Yet?
Click here to sign up
Home
Products
Web Based PHP Program
FREE PHP Classes
Dreamweaver Extensions
Control Panel Addons
Real Estate Software
Forum
Affiliate
Download
Services
HOW TO get support from us
Web Design Integration
PLESK Based Dedicated or VPS Hosting Management Services
Web Hosting
Web Development
PLESK Crash Recovery
Dedicated-Root-Managed servers
Virtual Private Server - VPS
•
Forums
•
Sign Up
•
Reply
•
Search
•
Statistics
•
GraFX Software Solutions - Forum
/
Star Rating System
/
Star Rate System PRO - Logged in user comment feature
gameringer1
Forums Member
#1
•
Posted: 24 Mar 2010 02:42:53
Reply
Hello,
I was talking to valics on live support about this issue and he said to post it here so the coders can take a look at it.
How do i make it so if a user is logged in he/she doesnt have to fill in the username and email sections of the comment/rate form?
The variables on my site are:
echo $session->username; (THIS DISPLAYS THE USERNAME OF THE LOGGED IN USER)
echo $session->userinfo['email']; (THIS DISPLAYS THE EMAIL OF THE LOGGED IN USER)
To check if a user is logged in I use:
if($session->logged_in){
echo "User Logged In!";
}
else {
echo "User not Logged in!";
}
Also I have to include session.php on every page so this works.
Thanks
software
Admin
#2
•
Posted: 24 Mar 2010 19:38:39
Reply
This is one of the approach.
The idea is that for example you can create a message user not logged in and do not show the board (if, else) and then if logged in, to show the board and rating.
The idea is that each system will work differently, you need to customize it for each website, is not possible to do by us, this hack must be done by website owner.
Your Reply
»
Username
»
Password
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or
sign up first
.
Pre-Sales Questions
Hacks And Addons
Company Website Builder
Company Website Builder PRO
CVS or SVN for Dreamweaver
Star Rating System
Basic Statistics
Fast Template
CodeFaster Code Generator
myFloorplan Designer
GrafXPress Article Manager
G-Dating
GraFX Press Article Manager
Pre-Sale Questions
Feature Requests
Support Issues and Questions
Customisation, Integration, Tips & Hints
Pre-Sales Questions
Power Toys
Search Engine Tools (SEO) Tools for PLESK
HOW-TO setup PLESK