MyBB Community Forums

Full Version: XML theme HELP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hey

I need some help regarding creating an xml sheet for a custom theme

<Xi0s> just designing a skin and cud do with some help
<Xi0s> for each post (in thread) how do u get individual user info like thier name, posts etc, rather than just using {$post['user_details']}
<Xi0s> for example can u use {$post['user_name']} {$post['user_posts']}
<Xi0s> incdentally im hand coding the xml file, if you were wondering
<Xi0s> also is there a function for how many ppl are viewing a specific forum

Also whats the name of the template that controlls the forumdisplay.php page?

Thanks for your help, Xi0s.
Xi0s Wrote:Also whats the name of the template that controlls the forumdisplay.php page?

forumdisplay

I'm not sure about the others
yeh i thought it might be lol Toungue but i dont want to have to write custom functions
In the postbit template, you can use {$post['username']} for the author's username and {$post['postnum']} for the author's post count.

For this: "how many ppl are viewing a specific forum", it's already shown on the forumdisplay page.
Thats good, but i could do with amount viewing on the index page if poss.

Also is there a table of vars that can be used. I need:

Join date
Rank (text)
avatar path
location
Online/offline text only link
aim, msn, yim, icq text only links, separate vars if poss.

I would use print_r but never mind Toungue Smile cheers for ur help.
I could also mdo with this =]
If you look on postbit_author_user you can find most of those variables. The other postbit templates may reveal other variables too.
just so everyone knows, he is skinning my wiiRoom skin and its is shown here:
http://www.xi0s.net/myBB/

Alex.
Looking good.
yeh, to anyone else out there, I recommend Xi0s, he works hard and gets the job done, though he is stuck here.
Alex
Pages: 1 2