İyinet'e Hoşgeldiniz!

Türkiye'nin En Eski Webmaster Forum'una Hemen Kayıt Olun!

Kayıt Ol!

- Üye Davetiye Sistemi [ iyinet ' gibi ] -

Scorpion

0
İyinet Üyesi
Katılım
31 Ağustos 2006
Mesajlar
380
Reaction score
0
ACIKLAMA

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ı aşağıdaki gibi uplaod edin;

"invites.php" >>forum anadizini,

"expired_invitations.php" ve "update_invitecounts.php" dosyalarını "/includes/cron/" klasörüne.. uplaod edin

"product-psionic_invites.xml" dosyasını import edin

daha sonra alttaki gibi zamanlanmış görev ekleyin;


görev 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

görev 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

bunları yaptıktan sonra alttaki template modifikasyonlarını yapın

register, register_rules, register_verify_age template lerinde herbirinde ayrı ayrı bul;

PHP:
input type="hidden" name="s" value="$session[sessionhash]" />

altına ekle;

PHP:
<if condition="$vboptions['invites_enabled']"> <input type="hidden" name="invite" value="$invite" /> </if>

usercp_shell tewmplatesinde bul;

PHP:
<if condition="$show['attachments']"> <tr> <td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td> </tr> </if>

altına ekle;

PHP:
<if condition="$vboptions['invites_enabled'] AND $canmanageinvites"> <tr> <td class="$navclass[usercp_invites]" nowrap="nowrap"><a class="smallfont" href="invites.php?$session[sessionurl]">$vbphrase[invites]</a></td> </tr> </if>

navbar templatesinde bul;

PHP:
<if condition="$show['registerbutton']">

alttakiyle degiştir;
PHP:
<if condition="$show['registerbutton'] AND !$vboptions['invites_reg_only_by_invite']">



usercp templatesinde bul;

PHP:
<if condition="$show['privatemessages']">
üstüne ekle;
PHP:
<if condition="$show['invites_link']"> <!-- ############## INVITES LINK ############## --> <


LİNK : http://www.hemenpaylas.com/download/1910307/davetiye.rar.html
 

qdin

0
İyinet Üyesi
Katılım
10 Şubat 2006
Mesajlar
1,677
Reaction score
1
Konum
Ankara
<--vBulletin Mesajı-->
You must be invited in order to be able to register on our board. Have a nice day.

Yukaridaki işlemleri sirası ile yaptım, invite bölümü çalışıyor gönderdigim adresden emaili açtım ve register işlemi başladı dogum tarihi ve kurallar kısımını gectikden sonra yukarıdaki mesaj çıkıyor nerede eksik yapıyorum acaba?
 
W

www.xp.com.tr

Misafir
FILE UPLOADS
For each of the pairs below, copy the file on the left from the archive package you have downloaded to the path you can see on the right.
Example: If you need to copy ./admincp/thehack.php to ./somefolder/thehack.php, it would mean that you need to copy a file, called thehack.php from the admincp subfolder of the package you have downloaded to the somefolder subdirectory of your forum engine.
./invites.php => ./invites.php Step is Complete. ( Done)
./expired_invitations.php => ./includes/cron/expired_invitations.php Step is Complete. ( Done)
./update_invitecounts.php => ./includes/cron/update_invitecounts.php Step is Complete. ( Done)

TEMPLATE CHANGES
To find out how to manage templates, refer to vBulletin's manual.
In template(s) register, register_rules, register_verify_age, ( Done)

FIND (THIS IS FOR ALL THREE TEMPLATES!!!)
<input type="hidden" name="s" value="$session[sessionhash]" />
ADD UNDERNEATH (THIS IS FOR ALL THREE TEMPLATES!!!)
<if condition="$vboptions['invites_enabled']">
<input type="hidden" name="invite" value="$invite" />
</if>
Step is Complete.
In template(s) USERCP_SHELL, ( Done)

FIND
<if condition="$show['attachments']">
<tr>
<td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td>
</tr>
</if>
ADD UNDERNEATH
<if condition="$vboptions['invites_enabled'] AND $canmanageinvites">
<tr>
<td class="$navclass[usercp_invites]" nowrap="nowrap"><a class="smallfont" href="invites.php?$session[sessionurl]">$vbphrase[invites]</a></td>
</tr>
</if>
Step is Complete.
In template(s) navbar, ( Done)

FIND
<if condition="$show['registerbutton']">
REPLACE WITH
<if condition="$show['registerbutton'] AND !$vboptions['invites_reg_only_by_invite']">
Step is Complete.
In template(s) USERCP, ( Done)

FIND
<if condition="$show['privatemessages']">
ADD ABOVE
<if condition="$show['invites_link']">
<!-- ############## 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>
Step is Complete.
PRODUCT UPLOADS
To find out how to install products, refer to vBulletin's manual.
./product-psionic_invites.xml Step is Complete. ( Done)

SOME FINAL NOTES
Now that you have uploaded your files, go to vBulletin Cron Manager and create the following two crons:

Cron #1
Title: Expired Invitations
Day of Week: *
Day of Month: *
Hour: *
Minute: 25 - - -
Log Entries: Yes
Filename: ./includes/cron/expired_invitations.php

Cron #2
Title: Update Invite Counts
Day of Week: Monday
Day of Month: *
Hour: 0
Minute: 35 - - -
Log Entries: Yes
Filename: ./includes/cron/update_invitecounts.php

Make sure to turn on "Forum View" permission for guests, otherwise they won't be able to register. This won't be necessary in the next vBulletin version after 3.5.2 (a bug which Andreas promised to fix). For now - just do it.
 

qdin

0
İyinet Üyesi
Katılım
10 Şubat 2006
Mesajlar
1,677
Reaction score
1
Konum
Ankara
Bir yerde hata yapıyorum ama kavrayamadım şimdilik.
 

qdin

0
İyinet Üyesi
Katılım
10 Şubat 2006
Mesajlar
1,677
Reaction score
1
Konum
Ankara
Sanırım buldum USERCP de eksik bilgi verilmiş.

<if condition="$show['invites_link']">
<!-- ############## 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>
 

Scorpion

0
İyinet Üyesi
Katılım
31 Ağustos 2006
Mesajlar
380
Reaction score
0
Bi siteden alıntı yapmıştım herkes istiyordu bi sitede bulup ekledim arkadaş kendim kurmadım hiç k.bakmayın bilmiyorum sorunu
 

qdin

0
İyinet Üyesi
Katılım
10 Şubat 2006
Mesajlar
1,677
Reaction score
1
Konum
Ankara
Merhaba,
Yinede vermiş oldugunuz bilgi için teşekkür ederim araştırmamıza neden oldugu icin.
 

qdin

0
İyinet Üyesi
Katılım
10 Şubat 2006
Mesajlar
1,677
Reaction score
1
Konum
Ankara
invite gönderirken aldigim hatayi pastaleyim bunun icin invites de hangi ayarı yapmamız gerekli bilen varmidir?
You currently do not possess any invites that you can issue.
 

qdin

0
İyinet Üyesi
Katılım
10 Şubat 2006
Mesajlar
1,677
Reaction score
1
Konum
Ankara
şuan için davetiye göndermeye hakkınız yok demek.. sanırım üyelere davetiye hakkı dağıtmalısınız


Merhaba,
Uyarının anlatmak istedigini anladım ancak nereden bu tür bir ayar yapılıyor cünkü invites panelinde bire bir bunun karşılıgını bulamadım.
 

Türkiye’nin ilk webmaster forum sitesi iyinet.com'da forum üyeleri tarafından yapılan tüm paylaşımlardan; Türk Ceza Kanunu’nun 20. Maddesinin, 5651 Sayılı Kanununun 4. maddesinin 2. fıkrasına göre, paylaşım yapan üyeler sorumludur.

Backlink ve Tanıtım Yazısı için iletişime geçmek için Skype Adresimiz: .cid.1580508955483fe5

Üst