İpuçları&öneriler Sadece belirli gruplara özel anket açma izni

HiddeNKinG

XFD-Fanatik
XFD-Fanatik
Katılım
1 Eyl 2014
Mesajlar
55
Tepkime puanı
14
Puanları
8
Yaş
33
Konum
Turkey
Web sitesi
forum.miuiturkiye.net

İtibar:

Anlatım

1. yeni kullanıcı grubu oluştur. Pollster.
(bu grup için herhangi bir izin ayarlama)

2. Bu grubun grup ID sini al
ACP --> kullancılar--> kullancı grupları listesinden bir grup oluştur
bu grubun linkini kopyala

bu şekilde bir şey olacka
Lütfen içeriği görebilmek için Giriş yap veya üye ol.


örnek
Bu grubun ID. (12)

4. ACP --> görünüm--> tema--> tema seç
"thread_create". bölümünü bul

5. bul:
Code:
<h3 class="textHeading">{xen:phrase post_poll}</h3>
bu koddan önce aşağıda ki kodu ekle :
Code:
<xen:if is="{xen:helper ismemberof, $visitor, XX}">
Where XX is the groupID that you've created in step 1.

6. bul:
Code:
</select>
</li>
</ul>
</li>
</ul>
</dd>
</dl>
ve bu kodun sonuna aşağıda ki kodu ekle
Code:
7. bul:
Code:
<dl class="ctrlUnit submitUnit">
üstteki koddan önce aşağıda ki kodu ekle:
Code:
<xen:if is="{xen:helper ismemberof, $visitor, XX}">
Again where XX is the groupID that you've created in step 1.

8. bul:
Code:
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>
ve bu kodu da buranın üstüne ekle :
Code:
</xen:if>


herşey tamamsa artık sadece bu gruplar yeni bir anket oluşturabilecek
 
Üst Alt