Not Solved Sidebox
#1
Not Solved
Hello guys, i made a custom page after following this tutorial (http://community.mybb.com/thread-116225.html)
and i want to add 3 things into it 2 sidebars  i've added tables etc. and added sidebars but now i want to add 3 things 

1st whenever a user comes online he will see "(His Avatar)Welcome back his name" i want to know how to show their avatar there and latest thread sidebox (if possible without plugin) and in last

News section

like whenever some new posts comes on my New announcements forums it should show on the side bar i made.

Please help me.

Thanks.

Help>?
Reply
#2
Not Solved
Help? Big Grin
Reply
#3
Not Solved
hello
Reply
#4
Not Solved
iam sorry?. can any1 answer my questions please.
Reply
#5
Not Solved
it would be better to use a side box plugin and Advanced Side Boxes plugin is recommended.
Reply
#6
Not Solved
Okay but that plugin will work in a new page as well sir?, like i made a new page home.php so how i should make it work in new page? using this plugin?

I tried using
{$whosonline}
and {$latestthreads}

After activating plugin but its not working.
Reply
#7
Not Solved
{$mybb->user['username']} will display the user's name and {$mybb->user['avatar']} will fetch his avatar....


read this thread to know about displaying latest threads in a custom page....
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#8
Not Solved
i addes that avatar and i get this images/avatars/supertux.gif?dateline=1409130741 not an image

http://community.mybb.com/thread-133164.html this link shows how to make it in new page i want it in sidebar.
Reply
#9
Not Solved
(2014-08-27, 09:26 AM)$kull Wrote: i addes that avatar and i get this images/avatars/supertux.gif?dateline=1409130741 not an image

i just showed you the variable to use to fetch the avatar... you cant just copy paste it in a sidebar... to get it as a image use it inside a img tag like this.....
<img src="{$mybb->settings['bburl']}/{$mybb->user['avatar']}" />


(2014-08-27, 09:26 AM)$kull Wrote: http://community.mybb.com/thread-133164.html this link shows how to make it in new page i want it in sidebar.
thats again a example, if you understand that concept, you can just use it anywhere - in a new page or a sidebox or somewhere else...  Smile
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#10
Not Solved
Moved to Plugin Support.
[Image: banner.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)