Go Back   Profit Blogging Forum > Community Forum > Installing and Using WordPress

Installing and Using WordPress Post all questions on installing, upgrading, moving, importing and deleting Wordpress here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 14-03-07
etravelreviews etravelreviews is offline
Fresh Meat
 
Join Date: Mar 2007
Posts: 3
Default Wordpress Login issue (duplicate - delete me!)

I submitted it twice, by accident, please delete this! Sorry.

Last edited by etravelreviews : 14-03-07 at 12:49 AM. Reason: Duplicate post (by accident) please delete
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 14-03-07
etravelreviews etravelreviews is offline
Fresh Meat
 
Join Date: Mar 2007
Posts: 3
Default Wordpress Login issue

I installed Wordpress at http://www.etravelreviews.com/comments/

My wordpress post is at http://www.etravelreviews.com/comments/savannah/

My page is at http://www.etravelreviews.com/savannah/

use login: XXXXXX
pw: XXXXXX

I have a php include on my page that incorporates my post into my page:

Login is required to add a comment to the post.

Goto my page, at the bottom, click to login, and it will return you to my page after login saying you still need to login.

If you navigate directly to the post, however after logging in, it will give you the ability to add a comment / logout.

I've tested this by putting this code into the post (comments.php):

When logged in and you go directly to the post, it answers with the proper user ID: "User ID: 3"

When logged in and you go to my page, it has no answer - just says "User ID: "

(you can see that code result at the bottom of the page).

The issue is the following code in the comments.php file:

When accessing the post directly, with a user logged in, this test fails (as it should)
When the post is included in my page, and a user is logged in, the test validates (but it shouldn't).

All I'm trying to do is when a user is logged in and viewing my page, that they can add a post.

Please help!
~marc

Last edited by WordpressConsultant : 15-03-07 at 02:35 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 15-03-07
WordpressConsultant's Avatar
WordpressConsultant WordpressConsultant is offline
Administrator
 
Join Date: Aug 2006
Location: Subang Jaya
Posts: 3,137
Default

Quote:
Originally Posted by etravelreviews View Post
I installed Wordpress at http://www.etravelreviews.com/comments/

My wordpress post is at http://www.etravelreviews.com/comments/savannah/

My page is at http://www.etravelreviews.com/savannah/

use login: XXXXXX
pw: XXXXXX

I have a php include on my page that incorporates my post into my page:

Login is required to add a comment to the post.

Goto my page, at the bottom, click to login, and it will return you to my page after login saying you still need to login.

If you navigate directly to the post, however after logging in, it will give you the ability to add a comment / logout.

I've tested this by putting this code into the post (comments.php):

When logged in and you go directly to the post, it answers with the proper user ID: "User ID: 3"

When logged in and you go to my page, it has no answer - just says "User ID: "

(you can see that code result at the bottom of the page).

The issue is the following code in the comments.php file:

When accessing the post directly, with a user logged in, this test fails (as it should)
When the post is included in my page, and a user is logged in, the test validates (but it shouldn't).

All I'm trying to do is when a user is logged in and viewing my page, that they can add a post.

Please help!
~marc

Don't post directly to here in order to prevent any unauthorised accesss.

And I don't think I am able to help you as you are going into very much advance level in php & code modification. This forum is dedicated to use wordpress in easy way, mainly focus on using the tips, plugins & themes to optimise your blog.

Thank you.
__________________
Regards,

Steven Wong
Wordpress Consultant
| Blog | Internet Online | AllNicheVideo |

Wanna to get link to 2 PR4/PR3 high traffic sites? Go here to find out how!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 15-03-07
etravelreviews etravelreviews is offline
Fresh Meat
 
Join Date: Mar 2007
Posts: 3
Default

Thanks anyway. Do you know of anyone who could help with something like this?

~marc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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



All times are GMT +9. The time now is 10:19 AM.


LinkBacks Enabled by vBSEO 3.0.0 RC4

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29