1
Xoops 2.2.3 & xfsection 1.1
I'm not sure where on the forums to put this, as it's a solution to a problem which I was ALMOST going to ask about...
When xfsection is set so that users CAN submit articles but they are NOT automatically approved, the message "The selected article does not exist" is displayed after submission of an article. This is becuase xfsection tries to jump to the newly submitted article (which cannot yet be displayed).
Near the bottom of submit.php you'll find a comment "jump new article". The next line needs to be added to as follows:
Quote:
// jump new article
// if ($newid != 0) <---- ADDING TO THIS, SO THAT IF NOT AUTOAPPROVE THEN DON'T TRY TO JUMP TO ARTICLE! JW 8/12/05
if ( ($newid != 0) && ($wfsConfig['autoapprove'] == 1) )
Hope this helps someone. If it's already on the forums (I couldn't find it) then I apologise, and feel free to delete this.