Quote:
| here is a posible solution (it's working for me): in pligg 7.2, hack this: 1. create a user called "anonymous" or something like that. 2. look for the anonymous's User ID (on DB, for example) 3. go to submit.php code and: 4. change line 21 force_authentication(); for this: ///force_authentication();/// 5. change line 120 $linkres->author=$current_user->user_id; for this: if($current_user->user_id == 0){ $linkres->author=10; } else { $linkres->author=$current_user->user_id; } 10 is my anonymous user ID, you have to change it. Explanation: when you comment line 21, the system doesn't do the force_authentication() function, but it's only a part of the problem, 'cause when you submit the story like that the system doesn't know who is the user posting, so, there appear the "bad key" error. That's because I created "anonymous" user. Results: this stories appear "posted by anonymous" in queue news. I hope that you understand my bad english and that you like this horrible hack... do you think this will work fine? |
It went very well until step 3 when the story and confirm form is missing, mays there is some problem with user validation!?





Linear Mode




