You are not logged in.
You can post links like google.com which will be rendered as text but you will not be able to post messages that contain complete URLs like www.google.com
Thank you for your understanding!Pages: 1
i deleted some code, because i dont want to send mail. Is there any mistake?
Thank you, if say something.
<?php
$job = new Job($id);
$isNewPost = $job->mIsTemp;
$postRequiresModeration = !$job->IsApprovedPosterEmail() && ENABLE_NEW_POST_MODERATION;
if ($isNewPost)
$job->Publish();
----------------------------------------------------------
// $postMan = new Postman();
-------------------------------------------------------------
$jobInfo = $job->GetInfo();
$jobInfo['isNewPost'] = $isNewPost;
$jobInfo['postRequiresModeration'] = $postRequiresModeration;
if (!$job->mIsActive)
$job->Activate();
--------------------------------------------------------------------------------------------
/* $postMan->MailPublishToAdmin($jobInfo);
if ($postRequiresModeration)
{
if ($isNewPost)
$postMan->MailPublishPendingToUser($job->mPosterEmail);
$html_title = $translations['jobs']['add_success'] . ' / ' . SITE_NAME;
}
else
{
if (!$job->mIsActive)
$job->Activate();
if ($isNewPost)
$postMan->MailPublishToUser($jobInfo);
$html_title = $translations['jobs']['publish_success'] . ' / ' . SITE_NAME;
}
*/
--------------------------------------------------------------------------------------------------
$smarty->assign('postRequiresModeration', $postRequiresModeration);
redirect_to(BASE_URL . 'confirm/' . $job->mId . '/' . ($postRequiresModeration ? 1: 0) . '/');
exit;
?>
I really don't say anyone, that i was so stupid !! And I never forget, how stupid i am.
Offline
Pages: 1