DSLTD
07-16-2007, 09:23 PM
Hi all, hoping for some pro help or from someone who can tell me whats gone wrong!
OK - So i downloaded and followed the instructions here (https://vborg.vbsupport.ru/showthread.php?t=103642) for an advanced sticky options plug in (so i can position old sticky's at the top of the forums)
Importing the plug in - i found this instruction difficult having never done it before and not being able 2 find any guides on this forum.. anyway, vbulletin said it was a product not a plug in, so i installed a product, filled in the details so it pointed to the .php file i had uploaded to my 'cron' folder. How to "turn on" a plugin or product i do not know, but when i EDIT a thread the advanced sticky options appear so i guess ive done something right!
The problem is when i specify a position and click save the changes are not made and the sticky remains in the same position it would be if this plugin/product were not installed at all!
I also added some code to my threadadmin_editthread as per the plugin thread linked at the top of my post.. so my threadadmin_editthread now reads as follows incase the fault is in there?? ;
<form action="postings.php" method="post" name="vbform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="do" value="updatethread" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[edit_thread]</td>
</tr>
<tr>
<td class="thead">$vbphrase[title]: <span style="font-weight:normal">$threadinfo[title]</span></td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
<!-- subject field -->
<table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
<tr>
<td class="smallfont" colspan="3">$vbphrase[title]:</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="title" value="$threadinfo[title]" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>
<td> </td>
<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
</tr>
</table>
<!-- / subject field -->
<div class="fieldset">
$vbphrase[moderator_notes] / $vbphrase[thread_summary]:<br />
<input type="text" class="bginput" name="notes" value="$threadinfo[notes]" size="50" maxlength="250" />
</div>
<if condition="$show['undeleteoption']">
<fieldset class="fieldset">
<legend>$vbphrase[deletion_status]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>$vbphrase[item_deleted_would_you_like_to]</td>
</tr>
<tr>
<td>
<div><label for="rb_threadstatus_0"><input type="radio" name="threadstatus" value="0" id="rb_threadstatus_0" checked="checked" />$vbphrase[leave_it_deleted]</label></div>
<div><label for="rb_threadstatus_1"><input type="radio" name="threadstatus" value="1" id="rb_threadstatus_1" />$vbphrase[undelete_it_restore]</label></div>
<if condition="$show['removeoption']">
<div><label for="rb_threadstatus_2"><input type="radio" name="threadstatus" value="2" id="rb_threadstatus_2" />$vbphrase[physically_remove]</label></div>
</if>
</td>
</tr>
<tr>
<td>
$vbphrase[reason_for_deletion]:<br />
<input type="text" class="bginput" name="reason" value="$threadinfo[del_reason]" size="50" maxlength="125" />
</td>
</tr>
</table>
</fieldset>
</if>
<fieldset class="fieldset">
<legend>$vbphrase[options]</legend>
<div style="padding:$stylevar[formspacer]px">
<div><label for="cb_open"><input type="checkbox" name="open" value="yes" id="cb_open" $openchecked />$vbphrase[thread_is_open]</label></div>
<div><label for="cb_sticky"><input type="checkbox" name="sticky" value="yes" id="cb_sticky" $stickychecked />$vbphrase[thread_is_sticky]</label></div>
<if condition="$show['moderateoption']">
<div><label for="cb_visible"><input type="checkbox" name="visible" value="yes" id="cb_visible" $visiblechecked />$vbphrase[thread_is_visible]</label></div>
</if>
</div>
</fieldset>
<fieldset class="fieldset">
<legend>Sticky $vbphrase[options]</legend>
<div style="padding:$stylevar[formspacer]px">
<div>
Sticky Display Order:<br />
<input type="text" class="bginput" name="sticky_order" value="$threadinfo[sticky_order]" size="5" maxlength="3" />
Descending Order (0 = Lowest)
</div>
<div>
Sticky Expiry Date:<br />
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
<span class="smallfont">Month<br />
<select name="sticky_expiry[month]" tabindex="1">
<option value="-1" $monthselected[default]></option>
<option value="1" $monthselected[1]>$vbphrase[january]</option>
<option value="2" $monthselected[2]>$vbphrase[february]</option>
<option value="3" $monthselected[3]>$vbphrase[march]</option>
<option value="4" $monthselected[4]>$vbphrase[april]</option>
<option value="5" $monthselected[5]>$vbphrase[may]</option>
<option value="6" $monthselected[6]>$vbphrase[june]</option>
<option value="7" $monthselected[7]>$vbphrase[july]</option>
<option value="8" $monthselected[8]>$vbphrase[august]</option>
<option value="9" $monthselected[9]>$vbphrase[september]</option>
<option value="10" $monthselected[10]>$vbphrase[october]</option>
<option value="11" $monthselected[11]>$vbphrase[november]</option>
<option value="12" $monthselected[12]>$vbphrase[december]</option>
</select>
</span>
</td>
<td>
<span class="smallfont">Day<br />
<input type="text" tabindex="1" class="bginput" name="sticky_expiry[day]" value="$sticky_expiry[day]" size="4" maxlength="2" />
</span>
</td>
<td>
<span class="smallfont">Year<br />
<input type="text" tabindex="1" class="bginput" name="sticky_expiry[year]" value="$sticky_expiry[year]" size="4" maxlength="4" />
</span>
</td>
</tr>
</table>
</div>
</div>
</fieldset>
$posticons
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
</div>
</td>
</tr>
</table>
</form>
<if condition="$show['modlog']">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="5">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('editthread_modlog')"><img id="collapseimg_editthread_modlog" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_editthread_modlog].gif" alt="" border="0" /></a>
$vbphrase[moderator_log]
</td>
</tr>
<tbody id="collapseobj_editthread_modlog" style="$vbcollapse[collapseobj_editthread_modlog]">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[date]</td>
<td class="thead" nowrap="nowrap">$vbphrase[username]</td>
<td class="thead" align="center">$vbphrase[action]</td>
<td class="thead" align="center">$vbphrase[post]</td>
<if condition="$show['ipaddress']">
<td class="thead" nowrap="nowrap">$vbphrase[ip_address]</td>
</if>
</tr>
$logbits
</tbody>
</table>
</if>
Anyone got any ideas?
The guy who made the plug in does not accept PM's and he's not online at all (msn) so im at a lost end..
OK - So i downloaded and followed the instructions here (https://vborg.vbsupport.ru/showthread.php?t=103642) for an advanced sticky options plug in (so i can position old sticky's at the top of the forums)
Importing the plug in - i found this instruction difficult having never done it before and not being able 2 find any guides on this forum.. anyway, vbulletin said it was a product not a plug in, so i installed a product, filled in the details so it pointed to the .php file i had uploaded to my 'cron' folder. How to "turn on" a plugin or product i do not know, but when i EDIT a thread the advanced sticky options appear so i guess ive done something right!
The problem is when i specify a position and click save the changes are not made and the sticky remains in the same position it would be if this plugin/product were not installed at all!
I also added some code to my threadadmin_editthread as per the plugin thread linked at the top of my post.. so my threadadmin_editthread now reads as follows incase the fault is in there?? ;
<form action="postings.php" method="post" name="vbform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="do" value="updatethread" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[edit_thread]</td>
</tr>
<tr>
<td class="thead">$vbphrase[title]: <span style="font-weight:normal">$threadinfo[title]</span></td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
<!-- subject field -->
<table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
<tr>
<td class="smallfont" colspan="3">$vbphrase[title]:</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="title" value="$threadinfo[title]" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>
<td> </td>
<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
</tr>
</table>
<!-- / subject field -->
<div class="fieldset">
$vbphrase[moderator_notes] / $vbphrase[thread_summary]:<br />
<input type="text" class="bginput" name="notes" value="$threadinfo[notes]" size="50" maxlength="250" />
</div>
<if condition="$show['undeleteoption']">
<fieldset class="fieldset">
<legend>$vbphrase[deletion_status]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>$vbphrase[item_deleted_would_you_like_to]</td>
</tr>
<tr>
<td>
<div><label for="rb_threadstatus_0"><input type="radio" name="threadstatus" value="0" id="rb_threadstatus_0" checked="checked" />$vbphrase[leave_it_deleted]</label></div>
<div><label for="rb_threadstatus_1"><input type="radio" name="threadstatus" value="1" id="rb_threadstatus_1" />$vbphrase[undelete_it_restore]</label></div>
<if condition="$show['removeoption']">
<div><label for="rb_threadstatus_2"><input type="radio" name="threadstatus" value="2" id="rb_threadstatus_2" />$vbphrase[physically_remove]</label></div>
</if>
</td>
</tr>
<tr>
<td>
$vbphrase[reason_for_deletion]:<br />
<input type="text" class="bginput" name="reason" value="$threadinfo[del_reason]" size="50" maxlength="125" />
</td>
</tr>
</table>
</fieldset>
</if>
<fieldset class="fieldset">
<legend>$vbphrase[options]</legend>
<div style="padding:$stylevar[formspacer]px">
<div><label for="cb_open"><input type="checkbox" name="open" value="yes" id="cb_open" $openchecked />$vbphrase[thread_is_open]</label></div>
<div><label for="cb_sticky"><input type="checkbox" name="sticky" value="yes" id="cb_sticky" $stickychecked />$vbphrase[thread_is_sticky]</label></div>
<if condition="$show['moderateoption']">
<div><label for="cb_visible"><input type="checkbox" name="visible" value="yes" id="cb_visible" $visiblechecked />$vbphrase[thread_is_visible]</label></div>
</if>
</div>
</fieldset>
<fieldset class="fieldset">
<legend>Sticky $vbphrase[options]</legend>
<div style="padding:$stylevar[formspacer]px">
<div>
Sticky Display Order:<br />
<input type="text" class="bginput" name="sticky_order" value="$threadinfo[sticky_order]" size="5" maxlength="3" />
Descending Order (0 = Lowest)
</div>
<div>
Sticky Expiry Date:<br />
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
<span class="smallfont">Month<br />
<select name="sticky_expiry[month]" tabindex="1">
<option value="-1" $monthselected[default]></option>
<option value="1" $monthselected[1]>$vbphrase[january]</option>
<option value="2" $monthselected[2]>$vbphrase[february]</option>
<option value="3" $monthselected[3]>$vbphrase[march]</option>
<option value="4" $monthselected[4]>$vbphrase[april]</option>
<option value="5" $monthselected[5]>$vbphrase[may]</option>
<option value="6" $monthselected[6]>$vbphrase[june]</option>
<option value="7" $monthselected[7]>$vbphrase[july]</option>
<option value="8" $monthselected[8]>$vbphrase[august]</option>
<option value="9" $monthselected[9]>$vbphrase[september]</option>
<option value="10" $monthselected[10]>$vbphrase[october]</option>
<option value="11" $monthselected[11]>$vbphrase[november]</option>
<option value="12" $monthselected[12]>$vbphrase[december]</option>
</select>
</span>
</td>
<td>
<span class="smallfont">Day<br />
<input type="text" tabindex="1" class="bginput" name="sticky_expiry[day]" value="$sticky_expiry[day]" size="4" maxlength="2" />
</span>
</td>
<td>
<span class="smallfont">Year<br />
<input type="text" tabindex="1" class="bginput" name="sticky_expiry[year]" value="$sticky_expiry[year]" size="4" maxlength="4" />
</span>
</td>
</tr>
</table>
</div>
</div>
</fieldset>
$posticons
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
</div>
</td>
</tr>
</table>
</form>
<if condition="$show['modlog']">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="5">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('editthread_modlog')"><img id="collapseimg_editthread_modlog" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_editthread_modlog].gif" alt="" border="0" /></a>
$vbphrase[moderator_log]
</td>
</tr>
<tbody id="collapseobj_editthread_modlog" style="$vbcollapse[collapseobj_editthread_modlog]">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[date]</td>
<td class="thead" nowrap="nowrap">$vbphrase[username]</td>
<td class="thead" align="center">$vbphrase[action]</td>
<td class="thead" align="center">$vbphrase[post]</td>
<if condition="$show['ipaddress']">
<td class="thead" nowrap="nowrap">$vbphrase[ip_address]</td>
</if>
</tr>
$logbits
</tbody>
</table>
</if>
Anyone got any ideas?
The guy who made the plug in does not accept PM's and he's not online at all (msn) so im at a lost end..