REsimdeki Harika Eklentiyi Nasıl Yaparım?

hyprosoft

New member
Katılım
14 Mar 2007
Mesajlar
9
Reaction score
0
Puanları
0
92319asdia8.jpg


donanim forumuyuz ve mutlaka öğrenmem gerek nasıl yapıldığını :)

up:D.................
 
Resim Gözükmüyor? Düzenelrsen Yardımcı Oluruz
 
Bunun eklentisi vardı bulabilirsem sana yollarım olmassa boş bir zamanda yazıcaz artık :)
 
böyle bi eklenti var mı ki:) sen cümlelerde arat bakim nicke tıkladıgında cıkan yazıları ugras iste sonra da:D
 
böyle bir eklenti olmasi bence süper olurdu uyenin kullandigi pc nin nerdeyse civatalarinin markasini bile gösteriyor yazabilipte yazmayana ask olsun :D
 
ben bunu bir forumda görmüştümmm Hepsi Admincp de biten bir olaydı Bide Postidte Kod Ekliordun Bulursam Adresi yAZİM
 
Arkadaşım ben bunu biliyorum....
google'dan ara bi yerde başlık olarak karşıma çıkmıştı
"postbit'te üyenin sistem bilgileri" diye ara....
 
bunu bir forumda daha görmüştüm admin panelden custom fields a giriyosun oraya Sorunu Yazıyosun
Daha sonra seçenek Olarak Simple Text Field ı seçiyosun.
Bir seçenek te Üye Profilinde Göster Gibi birşeydi Onu da işaretlersen Hallolur Sanıyorum. Şuan Kurulu bir VB olmadığı için elimde ancak bu kadar anlatabildim kusurabakma :)
 
http://www.vbulletin.org/forum/showthread.php?t=97702

Show System Stats

Auther: SnowBot @ http://www.synergyforums.com

This will allow your members to input their system information
and display it in the postbit.

iNSTALLATiON

Create Fields
1. Go to AdminCP => User Profile Field Manager => Add New User Profile Field


Profile Field Type: Single Selection Menu

Title: System Specs
Description: Would you like to show other members your computer specs? Default is (NO) This will be displayed in your posts via a drop down menu for other members to view. Add your system specs in your usercp Edit options.
Options:
NO
YES
Set Default: Yes, but no first blank option.
Field Required: No, but display at registration
Field Editable To User: Yes
Display Page: Thread Viewing

Once you got it done, write down your field# . i.e field5

2. OK now to create the input fields.

Go to AdminCP => User Profile Field Manager => Add New User Profile Field

Profile Field Type: Single-Line Text Box

Title: CPU
Description: What CPU do you have?
Field Required: NO
Field Editable by User: YES
Display Page: Thread Viewing

REPEAT step 2 for

Mainboard
Memory
HDD
Graphics Card
Sound Card
OS

3. Open postbit(_legacy) template,

FiND

<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if>

BELOW that ADD

<!--System Specs-->
<br />
<if condition="$post[fieldX] == YES">
<div id="sysinfo_$post[postid]" align="left" class="info" nowrap>
<a href="#sysinfo"><b>My System</b> </a><script type="text/javascript"> vbmenu_register("sysinfo_$post[postid]"); </script></div>
</if>
<br />
<!--/System Specs-->

CHANGE fieldX to the field number you wrote down in step 1.

STiLL in postbit(_legacy) template

FiND

</div>
<!-- / post $post[postid] popup menu -->

BELOW that ADD

<!--System Specs-->
<div class="vbmenu_popup" id="sysinfo_$post[postid]_menu" style="display:none">

<table cellpadding="4" cellspacing="1" border="0">

<td class="thead">My System Information</td>

<if condition="$post[fieldX]"><tr><td class="vbmenu_option"><b>CPU:</b> $post[fieldX]</td></tr></if>

<if condition="$post[fieldX]"><tr><td class="vbmenu_option"><b>Mainboard:</b> $post[fieldX]</td></tr></if>

<if condition="$post[fieldX]"><tr><td class="vbmenu_option"><b>Mem:</b> $post[fieldX]</td></tr></if>

<if condition="$post[fieldX]"><tr><td class="vbmenu_option"><b>HDD:</b> $post[fieldX]</td></tr></if>

<if condition="$post[fieldX]"><tr><td class="vbmenu_option"><b>Video:</b> $post[fieldX]</td></tr></if>

<if condition="$post[fieldX]"><tr><td class="vbmenu_option"><b>Sound:</b> $post[fieldX]</td></tr></if>

<if condition="$post[fieldX]"><tr><td class="vbmenu_option"><b>OS:</b> $post[fieldX]</td></tr></if>

</table>
</div>
<!--/System Specs-->

CHANGE ALL fieldX to the field numbers you wrote down in step 2.
2 instancies of fieldX need to be changed in the above code.

<!----- That's The Lot Enjoy! ----->

Snowy
www.synergyforums.com
A Revolution in chat


 
Geri
Üst