Vbulletin davetiye sistemi

1
Onaylı Üye
Üye
Katılım
4 Mayıs 2010
Mesajlar
615
Tepki puanı
7
Konum
İstanbul/Pendik
CIKLAMA=Bu hek sayesinde sitenize yanlızca davet edilenler üye olabiliyor. Aynı g-mail deki sistem gibi. Sitenize sadece üyelerinizin davet ettiği kişiler üye oluyor, bu sayede elit bir kesim oluşuyor

Eklentiden çıkan dosyaların yolları;

"invites.php" dosyasını forumun bulunduğu dizine,

"expired_invitations.php" ve "update_invitecounts.php" dosyasını "/includes/cron/" dizine atıyoruz..

"product-psionic_invites.xml" dosyasını plugin yöneticisinden import ediyoruz.

Zamanlanmış Görevler;

Admincp > Zamanlanmış Görevler > Yeni Zamanlanmış Görev Ekle;

Cron #1
Başlık: Davetiyeler Bitti
Ayın Haftası: *
Ayın Günü: *
Saat: *
Dakika: 25 - - -
İz Girdileri: Evet
Dosya Adı: ./includes/cron/expired_invitations.php

Cron #2
Başlık: Davetleri Güncelleştir
Ayın Haftası: Monday
Ayın Günü: *
Saat: 0
Dakika: 35 - - -
İz Girdileri: Evet
Dosya Adı: ./includes/cron/update_invitecounts.php

Tema Değişiklikleri;

Admincp > Temalar & Templateler > Tema Düzenleyici > Temanızı Seçip "<< >>" butonuna tıklayın..

register, register_rules, register_verify_age template lerinde alttaki kodları aratıyoruz;
Kod:
[B][B][COLOR=#000000][COLOR=#0000BB]input type[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"hidden" [/COLOR][COLOR=#0000BB]name[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"s" [/COLOR][COLOR=#0000BB]value[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"[/COLOR][COLOR=#0000BB]$session[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]sessionhash[/COLOR][COLOR=#007700]][/COLOR][COLOR=#DD0000]" [/COLOR][COLOR=#007700]/>  [/COLOR][/COLOR][/B][/B]

Altına aşağıdaki kodları ekliyoruz;

Kod:
[B][B][COLOR=#000000][COLOR=#007700]<if [/COLOR][COLOR=#0000BB]condition[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"[/COLOR][COLOR=#0000BB]$vboptions[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'invites_enabled']"[/COLOR][COLOR=#007700]> <[/COLOR][COLOR=#0000BB]input type[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"hidden" [/COLOR][COLOR=#0000BB]name[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"invite" [/COLOR][COLOR=#0000BB]value[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"[/COLOR][COLOR=#0000BB]$invite[/COLOR][COLOR=#DD0000]" [/COLOR][COLOR=#007700]/> </if>  [/COLOR][/COLOR][/B][/B]

USERCP_SHELL tempalte ini açıyoruz ve alttaki kodları aratıyoruz;

Kod:
[B][B][COLOR=#000000][COLOR=#007700]<if [/COLOR][COLOR=#0000BB]condition[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"[/COLOR][COLOR=#0000BB]$show[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'attachments']"[/COLOR][COLOR=#007700]> <[/COLOR][COLOR=#0000BB]tr[/COLOR][COLOR=#007700]> <[/COLOR][COLOR=#0000BB]td [/COLOR][COLOR=#007700]class=[/COLOR][COLOR=#DD0000]"[/COLOR][COLOR=#0000BB]$navclass[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]attachments[/COLOR][COLOR=#007700]][/COLOR][COLOR=#DD0000]" [/COLOR][COLOR=#0000BB]nowrap[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"nowrap"[/COLOR][COLOR=#007700]><[/COLOR][COLOR=#0000BB]a [/COLOR][COLOR=#007700]class=[/COLOR][COLOR=#DD0000]"smallfont" [/COLOR][COLOR=#0000BB]href[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"profile.php?[/COLOR][COLOR=#0000BB]$session[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]sessionurl[/COLOR][COLOR=#007700]][/COLOR][COLOR=#DD0000]do=editattachments"[/COLOR][COLOR=#007700]>[/COLOR][COLOR=#0000BB]$vbphrase[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]attachments[/COLOR][COLOR=#007700]]</[/COLOR][COLOR=#0000BB]a[/COLOR][COLOR=#007700]></[/COLOR][COLOR=#0000BB]td[/COLOR][COLOR=#007700]> </[/COLOR][COLOR=#0000BB]tr[/COLOR][COLOR=#007700]> </if>  [/COLOR][/COLOR][/B][/B]
Altına aşağıdaki kodları ekliyoruz;

Kod:
[B][B][COLOR=#000000][COLOR=#007700]<if [/COLOR][COLOR=#0000BB]condition[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"[/COLOR][COLOR=#0000BB]$vboptions[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'invites_enabled'] AND [/COLOR][COLOR=#0000BB]$canmanageinvites[/COLOR][COLOR=#DD0000]"[/COLOR][COLOR=#007700]> <[/COLOR][COLOR=#0000BB]tr[/COLOR][COLOR=#007700]> <[/COLOR][COLOR=#0000BB]td [/COLOR][COLOR=#007700]class=[/COLOR][COLOR=#DD0000]"[/COLOR][COLOR=#0000BB]$navclass[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]usercp_invites[/COLOR][COLOR=#007700]][/COLOR][COLOR=#DD0000]" [/COLOR][COLOR=#0000BB]nowrap[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"nowrap"[/COLOR][COLOR=#007700]><[/COLOR][COLOR=#0000BB]a [/COLOR][COLOR=#007700]class=[/COLOR][COLOR=#DD0000]"smallfont" [/COLOR][COLOR=#0000BB]href[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"invites.php?[/COLOR][COLOR=#0000BB]$session[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]sessionurl[/COLOR][COLOR=#007700]][/COLOR][COLOR=#DD0000]"[/COLOR][COLOR=#007700]>[/COLOR][COLOR=#0000BB]$vbphrase[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]invites[/COLOR][COLOR=#007700]]</[/COLOR][COLOR=#0000BB]a[/COLOR][COLOR=#007700]></[/COLOR][COLOR=#0000BB]td[/COLOR][COLOR=#007700]> </[/COLOR][COLOR=#0000BB]tr[/COLOR][COLOR=#007700]> </if>  [/COLOR][/COLOR][/B][/B]

navbar template ini açıyoruz ve aşağıdaki kodları aratıyoruz;

Kod:
[B][B][COLOR=#000000][COLOR=#007700]<if [/COLOR][COLOR=#0000BB]condition[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"[/COLOR][COLOR=#0000BB]$show[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'registerbutton']"[/COLOR][COLOR=#007700]>  [/COLOR][/COLOR][/B][/B]

Aşağıdaki kodla değiştiriyoruz;

Kod:
[B][B][COLOR=#000000][COLOR=#007700]<if [/COLOR][COLOR=#0000BB]condition[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"[/COLOR][COLOR=#0000BB]$show[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'registerbutton'] AND ![/COLOR][COLOR=#0000BB]$vboptions[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'invites_reg_only_by_invite']"[/COLOR][COLOR=#007700]>  [/COLOR][/COLOR][/B][/B]

USERCP template ini açıyoruz ve aşağıdaki kodları aratıyoruz;

Kod:
[B][B][COLOR=#000000][COLOR=#007700]<if [/COLOR][COLOR=#0000BB]condition[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"[/COLOR][COLOR=#0000BB]$show[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'privatemessages']"[/COLOR][COLOR=#007700]> [/COLOR][/COLOR][/B][/B]

üstüne aşağıdaki kodları ekliyoruz

Kod:
[B][B][COLOR=#000000][COLOR=#007700]<if [/COLOR][COLOR=#0000BB]condition[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"[/COLOR][COLOR=#0000BB]$show[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'invites_link']"[/COLOR][COLOR=#007700]> <!-- [/COLOR][COLOR=#FF8000]############## INVITES LINK ############## --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">$vbphrase[invites_issue_new_invite] <if condition="$show['invites_left']"><phrase 1="$bbuserinfo[invites]">($vbphrase[invites_x_left])</phrase></if></td> </tr> <tr> <td class="alt1"><span class="smallfont"><a href="invites.php?$session[sessionurl]">$vbphrase[invites_click_here_to_invite_new_users]</a></span></td> </tr> </table> <br /> <!-- ############## END INVITES LINK ############## --> </if>  [/COLOR][/COLOR][/B][/B]

Security Token Hatası Alanlar İçin Çözüm
 
2
Onaylı Üye
Üye
Katılım
30 Mart 2010
Mesajlar
3,281
Tepki puanı
96
Konum
Kadıköy
teşekkür ederim bir zamanlar kurmuştum hatalı oluyordu linkler bende uğraşmadım hemen kaldırdım :D ( bu arada konuda eklenti linkini unutmuşsunuz galiba eklemeyi )
 
0
Onaylı Üye
Üye
Katılım
9 Şubat 2010
Mesajlar
298
Tepki puanı
9
Konum
iStanbuL
vb org linkini ve bu hangi sürüm için gecerli belirtmemişsin.
 
Geri
Üst