How can I create a similar user board panel?
3 posters
Page 1 of 1
How can I create a similar user board panel?
Hello,
How can I create a similar user board panel?
Forum Version: PunBB
How can I create a similar user board panel?
Forum Version: PunBB
Last edited by Black-Shadow on Fri 9 Oct - 11:16; edited 1 time in total
Re: How can I create a similar user board panel?
Hi @Black-Shadow,
Would this be similar to what you're wanting ?
https://help.forumotion.com/t143571-users-control-panel-with-image#979147
Would this be similar to what you're wanting ?
https://help.forumotion.com/t143571-users-control-panel-with-image#979147
Re: How can I create a similar user board panel?
Hi @Ange Tuteur,
Yes something like this for punbb version. Is it need to do some changes?
Yes something like this for punbb version. Is it need to do some changes?
Re: How can I create a similar user board panel?
The reply I made here should work for punbb. You might need to make some adjustments to the style, though.
If you need any help let me know.
If you need any help let me know.
Re: How can I create a similar user board panel?
Hello @Ange Tuteur,
I tried to add this code in index_body template but it hasnt effect.
I am using the advanced profile if it can helps.
I tried to add this code in index_body template but it hasnt effect.
- Code:
<style type="text/css">#userProfile { font-size:11px; position:relative; margin-top:30px; margin-bottom:10px; padding:3px; }
#userProfile .leftCol { float:left; text-align:center; width:20%; }
#userProfile .rightCol { float:left; width:25%; }
#userName { background:#ECF3F7; color:#0076B1; font-weight:bold; font-family:"Trebuchet MS", Verdana, Arial, Sans-serif; border-radius:3px 3px 0 0; position:absolute; left:3px; top:-18px; padding:0 12px; line-height:18px; }
#userName span { font-weight:normal }
#userAvatar img { max-width:100px }
#userAvatar { display:inline-block; overflow:hidden; min-height:100px; min-width:100px; }
#userProfile .title { color:#0076B1; font-weight:bold; border-bottom:1px solid #0076B1; padding-bottom:3px; margin-bottom:3px; width:90%; }
#userProfile .statLabel { display:inline-block; width:85px; font-weight:bold; text-align:right; margin-right:6px; }</style>
<script type="text/javascript">// <![CDATA[
(function(J, U, L) {
var homepage = document.getElementById('pun-announcement'),
profil;
if (U.session_logged_in) {
profil = document.createElement('DIV');
profil.id = 'userProfile';
profil.className = 'panel introduction';
profil.innerHTML = '<div id="userName"><span>Logged in as </span>' + U.username + '</div><div class="leftCol"><span id="userAvatar">' + U.avatar + '</span></div><div class="rightCol"><div class="title">General</div><div><span class="statLabel">Rank : </span>' + L.rank_title + '</div><div><span class="statLabel">' + L.Posts + ' : </span>' + U.user_posts + '</div><div><span class="statLabel">' + L.PMs + ' : </span>' + U.user_nb_privmsg + '</div><div><span class="statLabel">' + L.Reputation + ' : </span>' + U.point_reputation + '</div></div><div class="rightCol"><div class="title">Profile</div><div><a href="/u' + U.user_id + '">' + L.See_my_profile + '</a></div><div><a href="/profile?mode=editprofile">' + L.Edit_profile + '</a></div><div><a href="/privmsg?folder=inbox">' + L.All_PMs + '</a></div><div><a href="/profile?mode=editprofile&page_profil=notifications">' + L.Notif_see_all + '</a></div></div><div class="rightCol"><div class="title">Search</div><div><a href="/sta/' + U.username + '">' + L.All_Topics + '</a></div><div><a href="/spa/' + U.username + '">' + L.All_Messages + '</a></div><div><a href="/search?search_id=watchsearch">' + L.js_topics_followed + '</a></div><div><a href="/search?search_id=newposts">View new posts</a></div></div><div class="clear"></div>';
homepage.parentNode.insertBefore(profil, homepage);
}
// par ange tuteur
})(jQuery, _userdata, _lang);
//]]></script>
I am using the advanced profile if it can helps.
Re: How can I create a similar user board panel?
Did you publish the modified template?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How can I create a similar user board panel?
You're supposed to add it in the homepage message.
Display > Generalities > Homepage message
Display > Generalities > Homepage message
Re: How can I create a similar user board panel?
Hello @Ange Tuteur
I tried it with both ways with no result
I tried it with both ways with no result
Re: How can I create a similar user board panel?
The toolbar needs to be enabled to retrieve extra data. Since you have it disabled, see this post : https://help.forumotion.com/t143370-how-to-create-logged-in-as#978978
Re: How can I create a similar user board panel?
Hi @Ange Tuteur,
Now it is appearing but not in corrected place because I have already another custom HomePage message can I move the code in template index_body? Furthermore the rank field displays "Not Available".
Now it is appearing but not in corrected place because I have already another custom HomePage message can I move the code in template index_body? Furthermore the rank field displays "Not Available".
Re: How can I create a similar user board panel?
Hello @Ange Tuteur,
I have done some changes in codes (HTML code in homepage message/index_body template and javascripts) and I placed it in the correct position for my forum also I removed the field "Rank" due it is unusable without toolbar.
Now the problem has been solved.
Thank you for your time and assistance.
I have done some changes in codes (HTML code in homepage message/index_body template and javascripts) and I placed it in the correct position for my forum also I removed the field "Rank" due it is unusable without toolbar.
Now the problem has been solved.
Thank you for your time and assistance.
Re: How can I create a similar user board panel?
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Customized user access to board
» How To Create A Sexy Vertical Sliding Panel Using jQuery And CSS3 (Need Help)
» User Control Panel Widget
» User Panel Widget Problems
» How can I create user accounts manually?
» How To Create A Sexy Vertical Sliding Panel Using jQuery And CSS3 (Need Help)
» User Control Panel Widget
» User Panel Widget Problems
» How can I create user accounts manually?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum