Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[-]
Tags
some mybb useful use codes templates

Some Mybb Useful Codes That You Can Use In Your Templates
#1
Better response on post Some Mybb Useful Codes That You Can Use In Your TemplatesHello friends,
Here are some useful template codes for MyBB you can use in your themes.

These i found on web , author unknown.
Hope these help you guys.

{$welcomeblock} - Include welcomeblock (user/guest view of the member bit)
{$mybbversion} - Displays softwares version
{$modcplink} - Displays link to Mod CP
{$admincplink} - Displays link to Admin CP (exclude for clients safety - reinstate it if requested)

{$mybb->settings['bbname']} - Displays boards name
{$mybb->settings['bburl']} - Displays URL to the board (use always when you have to link to something)
{$mybb->settings['homename']} - Displays homepage name (the one in the footer's menu)
{$mybb->settings['homeurl']} - Displays URL to the homepage site (the one in the footer's menu)

{$mybb->user['username']} - Displays users username
{$mybb->user['usertitle']} - Displays users usertitle
{$mybb->user['uid']} - Displays users UID (User ID)
{$mybb->user['avatar']} - Displays URL of the users avatar
{$mybb->user['lastvisit']} - Displays users last visit (date and time)
{$mybb->user['totalpms']} - Displays the total number of users messages (unread + read)
{$mybb->user['unreadpms']} - Displays number of users unread messages
{$mybb->user['postnum']} - Displays the users post count
{$mybb->user['logoutkey']} - Displays users logout key (used to logout successfully)

{$theme['imgdir']} - Displays themes image dirrectory
{$theme['imglangdir']} - Displays language specific theme image dirrectory
{$theme['tid']} - Displays the themes ID number
{$theme['logo']} - Displays themes logo
{$theme['borderwidth']} - Displays themes borderwidth number
{$theme['tablespace']} - Displays themes tablespace number

{$forum['name']} - Displays forums title
{$forum['description']} - Displays forums description
{$forum['url']} - Displays forums URL
{$forum['fid']} - Displays forums ID number
#2
Nice one bro
Do you want to purchase credits? Click here!
  


Possibly Related Threads...
ThreadAuthor Replies Views Last Post
  Am Novice Please How To Design And Do Some Other Tageble Things In Mybb Admin Please olamideoladesino 0 140 03-17-2018, 12:48 PM
Last Post: olamideoladesino
  How To Design Mybb Forum Am New Here olamideoladesino 0 88 03-17-2018, 11:57 AM
Last Post: olamideoladesino
  HELP: I Want To Change Mybb Board Link kingsolomon 0 63 02-28-2018, 08:17 PM
Last Post: kingsolomon
  HELP: I Need Mybb Help Mr Elpee 0 74 02-05-2018, 09:47 PM
Last Post: Mr Elpee
  Pls Admin Help Needed On Mybb 9Jahype 14 463 01-29-2018, 08:27 AM
Last Post: major
  HELP: Help Me Install Mybb On My Hosting I Will Pay Jadonking042 2 202 12-09-2017, 08:31 PM
Last Post: Badooskid
  HELP: I Need Mybb Help prince 2 155 11-07-2017, 07:33 PM
Last Post: prince
  I Need The Premium Version Of Mybb Plugin For Moving Threads To Front Page Otahumele 0 140 11-02-2017, 06:32 PM
Last Post: Otahumele



Users browsing this thread:
1 Guest(s)

List of Users who browsed this thread: 9Jahype, Abbey, Anony, Badooskid, Bigga, cbanklee, clive, Cybersky, daweb, Dhron, donblade, Drinosblog, eleniyan, mjasiriamalidesk, onosbaba, Otahumele, Pedro, policer, Presh, tyroklone
Some Mybb Useful Codes That You Can Use In Your Templates00