Faktycznie, czytanie ze zrozumieniem kuleje .
Można po prostu przycisk ukryć dla innych grup. W tym celu wejdź:
Wygląd wybierz skin Widok Posta postFormTemple
Znajdź:
<input type="submit" name="preview" value="{$this->lang->words['button_preview']}" tabindex="0" class="input_submit alt" />
{$this->lang->words['or']} <if test="cancelposting:|:$form['t']">
<a href='{parse url="showtopic={$form['t']}" template="showtopic" seotitle="{$formData['seoTopic']}" base="public"}' title='{$this->lang->words['cancel']}' class='cancel' tabindex='0'>{$this->lang->words['cancel']}</a>
Zmień na:
<if test="!in_array( $this->memberData['member_group_id'], array( 1, 2, 3, 4 ) )"><input type="submit" name="preview" value="{$this->lang->words['button_preview']}" tabindex="0" class="input_submit alt" />
{$this->lang->words['or']} <if test="cancelposting:|:$form['t']">
<a href='{parse url="showtopic={$form['t']}" template="showtopic" seotitle="{$formData['seoTopic']}" base="public"}' title='{$this->lang->words['cancel']}' class='cancel' tabindex='0'>{$this->lang->words['cancel']}</a></if>
Gdzie:
1,2,3,4 to nr grup które mają NIE widzieć tego przycisku. Sprawdziłem u mnie działa. Jeśli to Cię to satysfakcjonuje. =]