Quote:
Originally Posted by EvilLS1
In your postbit templates find this:
Code:
<if condition="THIS_SCRIPT=='showthread'">
$quickedit
</if>
And replace it with this:
Code:
<if condition="THIS_SCRIPT=='showthread' and $bbuserinfo[userid]>0">
$quickedit
</if>
|
Hmm, I only have
Code:
<if condition="$post['pmid']==""">
$quickedit
</if>
So , how would I combine the above instruction with the pmid one (is that the one that stops it appearing on PM's) while also including the the code as given to SaN-DeeP below, to remove it after the edit time is up. Would it be something like:
Code:
<if condition="$post['pmid']==""" >
<if condition="THIS_SCRIPT=='showthread' and $post['editlink']">
<if condition="THIS_SCRIPT=='showthread' and $bbuserinfo[userid]>0">
$quickedit
</if>
</if></if>
Or are there too many 'if' things in there?
The text link doesn't work alas. All I get when I click it is to be taken to the top post. No pop up box at all.
ETA: Got the text link working, thanks! I redownloaded the file and I figure I must have had an older one. So that is one part sorted.