username modifications
Shemo Offline
Member
***
Posts: 184
Joined: Jan 2008
Post: #1
username modifications
is it possible to modify the user names in the post bit so it has a drop down when you click on their user name like with vbulletin?
08-21-2010 04:55 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: username modifications
Old, but you could probably do something similar.

http://mybbhacks.zingaburga.com/showthread.php?tid=70

Test it yourself and use at your own risk.

My Blog
08-21-2010 05:41 PM
Find all posts by this user Quote this message in a reply
Imran Offline
Member
***
Posts: 204
Joined: Apr 2010
Post: #3
RE: username modifications
I think DragonFever had made something similar to this. search the http://mods.mybb.com/mods yourself.

[Image: logo.png]

[Image: twitter.png]
08-21-2010 09:02 PM
Visit this user's website Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #4
RE: username modifications
Imran is correct - you can change compatibility and it works fine.


[Image: leelink.gif]
MYBB1.6 & XThreads
08-21-2010 11:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Shemo Offline
Member
***
Posts: 184
Joined: Jan 2008
Post: #5
RE: username modifications
(08-21-2010 11:35 PM)leefish Wrote:  Imran is correct - you can change compatibility and it works fine.

Lee,

thanks..I installed it..please see this post:
http://community.mybb.com/thread-76564-p...http://community.mybb.com/thread-76564-post-560444.html

having an issue where it pushes the online status to a new line.
08-22-2010 05:30 PM
Find all posts by this user Quote this message in a reply
Imran Offline
Member
***
Posts: 204
Joined: Apr 2010
Post: #6
RE: username modifications
Yes, that's an issue with this plugin. Online status icon is below the username on postbit.

[Image: logo.png]

[Image: twitter.png]
(This post was last modified: 08-22-2010 07:03 PM by Imran.)
08-22-2010 07:02 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #7
RE: username modifications
I think we can do this in template level, something like this?

HTML Code
1
2
3
4
5
6
7
8
9
<strong><span class="largetext"><a href="{$post['profilelink_plain']}" id="profile_{$post['pid']}">{$post['username_formatted']}</a></span></strong> {$post['onlinestatus']}<br />
<div id="profile_{$post['pid']}_popup" class="popup_menu" style="display: none;">
	<div class="popup_item_container">
		Contents 1
	</div>
	<div class="popup_item_container">
		Contents 2
	</div>
</div>


And javascript:

Javascript Code
1
2
3
4
5
6
7
8
<script type="text/javascript">
// <!--
	if(use_xmlhttprequest == "1")
	{
		new PopupMenu("profile_{$post['pid']}");
	}
// -->
</script>


(This post was last modified: 08-23-2010 07:04 AM by RateU.)
08-23-2010 07:01 AM
Find all posts by this user Quote this message in a reply
Shemo Offline
Member
***
Posts: 184
Joined: Jan 2008
Post: #8
RE: username modifications
rateu, where in the template does the html go and where does the javascript go?
08-23-2010 01:49 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #9
RE: username modifications
I don't want to be offensive, but seriously, figure it out yourself.  Plug it in random spots until you figure out how it works.  If you don't grow the balls to try it out, you'll never learn.

I'm starting to get sick and tired of people running forums, and wanting to do elaborate modifications without HTML/CSS knowledge.  I don't expect the clueless webmaster to know scripting of any kind (PHP, Javascript etc), however being competent in HTML and CSS is a must if you want to fiddle around with these things.
It's like applying for an accounting job when you can't even add numbers together.

My Blog
(This post was last modified: 08-23-2010 02:29 PM by ZiNgA BuRgA.)
08-23-2010 02:28 PM
Find all posts by this user Quote this message in a reply
Shemo Offline
Member
***
Posts: 184
Joined: Jan 2008
Post: #10
RE: username modifications
(08-23-2010 02:28 PM)ZiNgA BuRgA Wrote:  I don't want to be offensive, but seriously, figure it out yourself.  Plug it in random spots until you figure out how it works.  If you don't grow the balls to try it out, you'll never learn.

I'm starting to get sick and tired of people running forums, and wanting to do elaborate modifications without HTML/CSS knowledge.  I don't expect the clueless webmaster to know scripting of any kind (PHP, Javascript etc), however being competent in HTML and CSS is a must if you want to fiddle around with these things.
It's like applying for an accounting job when you can't even add numbers together.

I'm competent in html/css, but I'm not very familiar with the mybb templates.  

ps- I did get it working..thanks rateu for posting what you did...maybe I'll write up a tutorial for it and post it on mybb..so others can benefit from it.
08-24-2010 02:33 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: