26-Jul-2011, 12:12 PM
Hi all,
This is my first post since dl/installing Commentics and I must say the product works great.
For my application, I need to modify the the code slightly but I don't want to make changes to something I don't understand well.
I use $_SESSIONS variables to keep track of who is currently logged in to my site.
The username is stored in $_SESSION['user_name']; and I have all pages which can be commented on protected with a page protect script. Users can't comment or for that matter access the page unless they are logged in.
What I need to do is set the name of the user in the Connectics comment script to that of the current user (thats stored in $_SESSION['user_name'])
Any help or guidance would be much appreciated.
Thanks
Chris
This is my first post since dl/installing Commentics and I must say the product works great.
For my application, I need to modify the the code slightly but I don't want to make changes to something I don't understand well.
I use $_SESSIONS variables to keep track of who is currently logged in to my site.
The username is stored in $_SESSION['user_name']; and I have all pages which can be commented on protected with a page protect script. Users can't comment or for that matter access the page unless they are logged in.
What I need to do is set the name of the user in the Connectics comment script to that of the current user (thats stored in $_SESSION['user_name'])
Any help or guidance would be much appreciated.
Thanks
Chris