scottdallas wrote:Maybe he means the date & time section where you can set when the post goes live.. such as postponed or not postponed? Cause as it stands I know the guest hack can only add something that goes live immediately or as soon as it's approved.
<script type="text/javascript" src="skins/cute.js"></script><tr><td>Avatar:</td><td>
<fieldset id="avatar">
<input onchange="showpreview(this.value, 'previewimage')" tabindex="2" type="text" name="avatar" value="">
<img name="previewimage" src="skins/images/blank.gif" align="left" style="margin: 5px;">
</fieldset></td></tr>flesh wrote:When the guest submits the story it submits on the site without the need to be approved ... why ?
and it shows the form but when you submit it - the news are not added ... it is possible to add news only when you open the guest.php file itself ...
<input type="hidden" name="dosend" value="yes"> <input type="hidden" name="do" value="mb302"> and it shows the form but when you submit it - the news are not added ... it is possible to add news only when you open the guest.php file itself ...
<input type="hidden" name="dosend" value="yes"> <input type="hidden" name="do" value="mb302"> flesh wrote:It is included but when I press submit story - it loads the same page
scottdallas wrote:Is there a way to add the meta keywords and description to this? As my admin panel keeps blanking out lately I might resort to using this to store content to my database in the meantime.
$id = $sql->last_insert_id('news', '', 'id') + 1;$xfields = new XfieldsData();
$xfields->set($_POST['meta_keywords'], $id, 'meta_keywords');
$xfields->set($_POST['meta_description'], $id, 'meta_description');
$xfields->save();<tr><td>Meta keywords</td><td><textarea name="meta_keywords"></textarea></td></tr>
<tr><td>Meta description</td><td><textarea name="meta_description"></textarea></td></tr>Return to Additional Downloads
Users browsing this forum: No registered users and 0 guests