Merjawy
07-02-2004, 03:14 PM
Hi there
I have been with vbahome from the start, meaning I installed vbhome and went through all the upgrades till the latest cmps release
I have done this on two almost identical boards
on one board I see both Edit and Reply buttons, but on the other I don't see the Edit button (also on that board I only user right culomn) with 0 weidth for the left culomn
I thought it was the news forum, but its not as when I changed to another forum it still the same .. so its in cmps settings (should be permission issue but its not)
I am the admin on both sites.. and when I go to the news forum I see both buttons normal
I didn't take it off and heres what my adv_portal_newsbit template look like for that
<tr class="alt2" valign="middle">
<td valign="middle">
<span style="float:right">
<if condition="$bbuserinfo['usergroupid'] == 6">
<a href="$vboptions[bburl]/editpost.php?$session[sessionurl]do=editpost&p=$news[postid]"><img alt="$vbphrase[edit_this_post]" border="0" src="$stylevar[imgdir_button]/edit.gif" /></a>
</if>
<if condition="$vba_options['portal_news_allowreplies']">
<a href="$vboptions[bburl]/newreply.php?$session[sessionurl]do=newreply&t=$news[threadid]"><img alt="$vbphrase[reply_to_this_post]" border="0" src="$stylevar[imgdir_button]/reply_small.gif" /></a>
</if>
as you can see the edit and reply buttons are there in the tempate
the only difference is in the if condition there one uses groupID and the other if allowed !!!
I just noticed the missing button today.. I beleive I had it before :)
thnx
I have been with vbahome from the start, meaning I installed vbhome and went through all the upgrades till the latest cmps release
I have done this on two almost identical boards
on one board I see both Edit and Reply buttons, but on the other I don't see the Edit button (also on that board I only user right culomn) with 0 weidth for the left culomn
I thought it was the news forum, but its not as when I changed to another forum it still the same .. so its in cmps settings (should be permission issue but its not)
I am the admin on both sites.. and when I go to the news forum I see both buttons normal
I didn't take it off and heres what my adv_portal_newsbit template look like for that
<tr class="alt2" valign="middle">
<td valign="middle">
<span style="float:right">
<if condition="$bbuserinfo['usergroupid'] == 6">
<a href="$vboptions[bburl]/editpost.php?$session[sessionurl]do=editpost&p=$news[postid]"><img alt="$vbphrase[edit_this_post]" border="0" src="$stylevar[imgdir_button]/edit.gif" /></a>
</if>
<if condition="$vba_options['portal_news_allowreplies']">
<a href="$vboptions[bburl]/newreply.php?$session[sessionurl]do=newreply&t=$news[threadid]"><img alt="$vbphrase[reply_to_this_post]" border="0" src="$stylevar[imgdir_button]/reply_small.gif" /></a>
</if>
as you can see the edit and reply buttons are there in the tempate
the only difference is in the if condition there one uses groupID and the other if allowed !!!
I just noticed the missing button today.. I beleive I had it before :)
thnx