07-04-2018 Saat: 03:28
Merhaba, bu forumda kullanılan postbitin sadeliği ve tasarımına hayranım.. Benzeri bir tasarım yakalamak ve kalıcı olarak kullanmak istiyorum. Deneme yanılma yöntemiyle baya çalışmalar gerçekleştirdim ancak bir türlü işin içinden çıkamadım.. Yardım ve önerilerinize açığım.
En son aklıma .css üzerinden çift class ile işlemi çözmek geldi.
.postbit{
background:#ccc;
}
.groupid1{
background:#fff;
}
.groupid2{
background:#aaa;
}
şeklinde işi çözmeye çalışayım mantığına büründüm ancak group id yi çekemiyorum.
{$post['gid]} v.b. mantıksal çözümler aramama rağmen ;
Bunlara erişim sağlayabildim ancak group ile ilgili çekim yapabileceğim birşey bulamadım :(
En son aklıma .css üzerinden çift class ile işlemi çözmek geldi.
.postbit{
background:#ccc;
}
.groupid1{
background:#fff;
}
.groupid2{
background:#aaa;
}
şeklinde işi çözmeye çalışayım mantığına büründüm ancak group id yi çekemiyorum.
{$post['gid]} v.b. mantıksal çözümler aramama rağmen ;
Kod:
{$post['pid']} //Comment ID
{$post['tid']} //Thread ID (Comment)
{$post['replyto']} //Quoted Comment ID
{$post['fid']} //Forum ID (Comment)
{$post['subject']} //Comment Subject
{$post['icon']} //Comment Icon ID
{$post['uid']} //User ID (Comment)
{$post['username']} //Posted by Username (Comment)
{$post['message']} //Comment Content
{$post['edituid']} //Editor ID
{$post['editreason']} //Edit Reason
Kod:
{$thread['tid']} //Thread ID
{$thread['fid']} //Forum ID (Thread)
{$thread['subject']} //Thread Subject
{$thread['prefix']} //Prefix ID
{$thread['icon']} //Thread Icon ID
{$thread['uid']} //User ID (Thread)
{$thread['username']} // Username (Thread)
{$thread['firstpost']} //First Comment ID
{$thread['lastposter']} //Lastposter Username
{$thread['lastposteruid']} //Lastposter ID
{$thread['views']} //Total Views
{$thread['replies']} //Total Comments
{$thread['numratings']} //Rate Points
{$thread['totalratings']} //Total Rates
{$thread['attachmentcount']} //Total Attachments
Kod:
{$forum['fid']} //Forum ID
{$forum['name']} //Forum Name
{$forum['description']} //Forum Description
{$forum['linkto']} //Redirect Address
{$forum['threads']} //Total Threads
{$forum['posts']} //Total Comments
{$forum['lastposter']} //Lastposter Username
{$forum['lastposteruid']} //Lastposter ID
{$forum['lastposttid']} //Thread ID of Lastpost
Kod:
{$mybb->settings['boardclosed_reason']} //Maintenance Reason
{$mybb->settings['bbname']} //Website Name
{$mybb->settings['bburl']} //Website Link
{$mybb->settings['homename']} //Homepage Name
{$mybb->settings['homeurl']} //Homepage Link
{$mybb->settings['adminemail']} //Admin E-Mail
{$mybb->settings['returnemail']} //Return E-Mail
{$mybb->settings['contactemail']} //Contact E-Mail
{$mybb->settings['contactlink']} //Contact Link
{$mybb->settings['faxno']} //Fax No
{$mybb->settings['bblanguage']} //Forum Language
{$mybb->settings['useravatar']} //Default User Avatar
{$mybb->settings['avatarsize']} //Avatar Size
Bunlara erişim sağlayabildim ancak group ile ilgili çekim yapabileceğim birşey bulamadım :(