IPB

Welcome Guest ( Log In | Register )

Movable Type

We're moving to movabletype.org!

At long last, we're moving to forums powered by, well, Movable Type itself. You'll want to bookmark http://forums.movabletype.org/ for future reference, and in the meantime you can view these old forums as a read-only archive of past posts. Thanks for being part of the community!

 
Reply to this topicStart new topic
> "Admin" badge or icon when administrator comments?, Way to differentiate head honco ?
wdik
post Oct 2 2002, 01:33 PM
Post #1





Group: Members
Posts: 55
Joined: 12-December 01
From: Atlanta, GA
Member No.: 671



I'm not quite sure how to go about this, but I'd like to figure out a way to have a particular badge, or icon, or something to signify when I (or another admin) posts a comment to their own weblog. That way a quick browse through a list of comments could designate an "official" comment from a general, reader one. Ideas?


--------------------
The know nothing of What Do I Know
Go to the top of the page
 
+Quote Post
medic119
post Oct 2 2002, 01:45 PM
Post #2





Group: Members
Posts: 848
Joined: 5-March 02
From: Fairbanks, AK
Member No.: 769



You might try putting an MT image tag in your nickname slot and changing the posted by code to in each post. (don't use the name field because that will alter your login name to include the image code)

You would have to create an icon with each users login name dirified like John_Doe.gif

Something like
Nickname field in Profile:
CODE
John Doe <img src="/your path/<$MTEntryAuthor dirify="1"$>.gif" border=0 alt="avatar">


And seeing if it parses when you rebuild.


--------------------
Doc, 68W2P, AAS, NREMT-P
Far From Perfect
"So Shut Up, Live, Travel, Adventure, Bless, And Don't Be Sorry." - Jack Kerouac
Go to the top of the page
 
+Quote Post
medic119
post Oct 2 2002, 01:50 PM
Post #3





Group: Members
Posts: 848
Joined: 5-March 02
From: Fairbanks, AK
Member No.: 769



I just checked it and it worked like a charm!
You have to rebuild the entire site after saving the updated profile so it will parse the new nickname, but it added a little icon next to my name no problems. I got the following on the bottom of my posts

posted by Medic119 Image at 16:50

This would be a great way to create avatars for people with accounts!  Just use the code without the name and change the MT template to use the nickname instead of the login name.

BTW you can also use a straight path so you don't have to keep making icons for each author.
EX:
Nickname field:
CODE
John Doe <img src="/your path/admin.gif" border=0 alt="admin">


--------------------
Doc, 68W2P, AAS, NREMT-P
Far From Perfect
"So Shut Up, Live, Travel, Adventure, Bless, And Don't Be Sorry." - Jack Kerouac
Go to the top of the page
 
+Quote Post
wdik
post Oct 3 2002, 09:59 AM
Post #4





Group: Members
Posts: 55
Joined: 12-December 01
From: Atlanta, GA
Member No.: 671



Sounds good, except for one snag - there isn't a "nickname" tag for Comment Authors. There is <$MTCommentAuthorLink$> and <$MTCommentAuthor$> but no option for nicknames, so I couldn't use your method. It would work for regular entries, but not for comments. Right?


--------------------
The know nothing of What Do I Know
Go to the top of the page
 
+Quote Post
medic119
post Oct 3 2002, 10:30 AM
Post #5





Group: Members
Posts: 848
Joined: 5-March 02
From: Fairbanks, AK
Member No.: 769



Dunno give it a try and see what happens.  Any tag that pulls the nickname from the database should work.

Another method is to create a icon for each author name (use blank clear icons for authors without badges)

Then edit the template and put the following code next to the comment authors name
CODE
<img src="/your path/<$MTCommentAuthor$ dirify="1"$>.gif" border=0 alt="avatar">


Then you should have an avatar for each author, but for those that are non-admin the avatar will be an empty transparent gif (which would show up as nothing on the page).


--------------------
Doc, 68W2P, AAS, NREMT-P
Far From Perfect
"So Shut Up, Live, Travel, Adventure, Bless, And Don't Be Sorry." - Jack Kerouac
Go to the top of the page
 
+Quote Post
girlie
post Oct 5 2002, 04:12 PM
Post #6





Group: Super Administrators
Posts: 15,212
Joined: 8-November 01
From: Plano, Texas
Member No.: 1,274



And your authors will have to make sure to use the correct names when they comment.

But I guess that's what the Remember me function is for, hehe.


--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 11.25.09 - 01:04 AM