[-]
Who's Online
There are currently 3820 online users. [Complete List]
» 5 Member(s) | 3815 Guest(s)
AvatarAvatarAvatarAvatar
Avatar

[-]
Latest Threads
Superlative Сasual Dating - Actual Girls
Last Post: rcancino
Yesterday 09:33
» Replies: 0
» Views: 20
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 106
Prime Сasual Dating - Legitimate Girls
Last Post: lukasz1
2024-04-23 10:26
» Replies: 0
» Views: 93
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 73
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 15
» Views: 9742
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 59
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 147
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13619
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4238
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 77
» Views: 33657
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 96
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2084
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22284
ZH960-MB-V3.1
Last Post: Giankyworld81
2023-11-01 19:35
» Replies: 21
» Views: 15413
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 5311
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8822
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1392
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4805
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 3
» Views: 1315
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 190
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 5256
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 331
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 4501





Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Question] How to use @member with correct colour?
#1
Hi

If first post or ----full edit---mode there is the @ symbol

hover shows it means mention

@"mirandam"

syntax put in code box
Code:
@"mirandam"

first syntax displays as black @ blue membername

Question
######
How do I display it as green @ green membername if member is donator?

cheers
WuddaWaste likes this post
Reply
#2
@aus9 , not putting any quotes around the username
Code:
@aus9

will give the following color scheme:

contributor -> lightblue,
donator -> green,
mod -> red
junior member -> brown

Examples:
@wisdom
@Louis777
@Wuddawaste
@bubu

One thing I noticed is that when I use my own username @mirandam , this scheme doesn't apply, it shows in lightblue.

From what I've read in the mybb documentation using the @ with quotes is only needed when you use a "complex" username ( @"whateverthatmeans" which is non-existant and thus not colored.)

The way this functions should be equal to bbcodes
Code:
[mention]username[/mention]
but mybb doesn't do this bbcode.
WuddaWaste likes this post
Reply
#3
@mirandam
@aus9

Code:
@mirandam

@aus9

ahh maybe there is something going on with your setup?

As you know I tried to show your membername in green and could not understand why I could not get green.

a separate test for Athos
@Athos

#############
sorry for not thinking of this test in my prevous post in the intro area.

Maybe we should delete it?

#############

EDIT

NO there is something else happening

I hover my name and I show as offline
the grey humoid versus a darker humoid?


Attached Files
.png   Screenshot - 290914 - 14:13:04.png (Size: 4.98 KB / Downloads: 49)
Reply
#4
No, it's ok.

It has nothing to do with my setup. I'll explain better:

When you use the @withyourusername while logged in, you always get your username in blue, doesn't matter if you are a donator or not.

When using a @differentusername , the color scheme as I posted applies.

That's why now in your last post I see my name in blue and yours in green, while you probably see the reverse.

The same color scheme is used in the left most column "Latest threads" (and other forum columns to be precise), there my username indeed is green, like yours.
Reply
#5
then maybe there is something wrong with both setups?

I am logged in and yet I am in green not quite what you explained
You like this post


Attached Files Thumbnail(s)
   
Reply
#6
Maybe it's because you are an elite contributor? Don't know.....

I am at this moment looking into the mybb source to see if I can find the exact explanation for this, it will take some time though, mybb is different from phpbb so I need to adjust a little.

At this point I can confirm some facts:

1. it is not online dependent. Doesn't matter whether you're logged-in or not, resulting colours are same.
2. it is browser or system dependent. A quick test on android's dolphin browser gave completely different results.
Later on I will attach a screen-shot.
3. source code shows colour is user-name, user-group and display-group dependent. I'm working on this one.

Please ignore the folloring, just a little test:

@mirandam
@mirandam
@aus9
@aus9

(2014-09-29, 14:09)aus9 Wrote: ...
EDIT

NO there is something else happening

I hover my name and I show as offline
the grey humoid versus a darker humoid?

Oops, sorry if I missed your edit. I did indeed see that in the screenshot you posted and I wondered about that having any influence. Did you set your online status to hidden at the time of registration (correct me if I'm wrong but I think this was possible only during the initial profile setup)?
Indeed when I'm online I do have a blueish humoid indicating my online status and I've never seen yours (don't get me wrong on that one Big Grin )...

Anyway it doesn't seem to matter, I did a test on different browser ( IE8 ) where I wasn't logged-in, and it shows the same colours. See this image:
   

As far as I can see for now, is that it depends on the primary group you belong to. This group is called the displaygroup because it is the one shown in each of your posts, in our case CPA Donator.
I'm not a member of any other groups but I don't know if this is your case too. Check in your profile the groupmemberships. It could be of influence since the colour attribute of the @mention depends on user, usergroup and displaygroup.

Another thing I just found out is that in your profile if you go to edit options, indeed you can change your online status indicator.
On the same page are also these options:
   
Maybe yours are different?

B.t.w. elite contributor has no influence, these are rewards and do not appear in this section of the source code.

Just found the affirmative information in the source code of mybb.
The exact style of the username shown in the @username is directly dependent on the primary usergroup, the displaygroup of said user. This dispaygroup has preference over other usergroups a user maybe member of.
The function in question is the format_name function which is a general function used in various places, including all posts and the various columns we see around our screen.

This style is defined in the configuration of the forum and includes font, colour and text attributes, defined by the admin of the forum. These maybe theme related, I would have to dig further to confirm that, but seems pointless at this moment.
And from what I've seen, CPA seems to use the DVZ_mentions plugin.

@aus9

I can only explain the difference between us for one reason (if the profile options I mentioned are of no influence), and that would be a difference in browser compatibility, quite possibly due to different html format interpretation.
I've seen those things happen on my own forum and even though there are tricks and workarounds to achieve a close to perfect compatibility, it's difficult to encompass all browsers.
One of the most frequent problems is due to use of tables where different browsers use a different order to apply formatting rules. For example one might place a colour attribute to a link inside a table cell. That attribute might well be ignored or overruled by a cell format attribute or even a row or overall table one, not to speak of CSS style attribute prevalence.
As I am writing this I am inspecting elements on the same page and I can confirm the use of tables within the postings of this page, so it seems I'm not too far off with the above.
I am using the blackhawk browser which is chrome based, I don't know which one you use, but I will be checking other ones when I have some time left. My IE8 showed the exact same colouring, but possibly FF or Opera gives different results. I'll let you know.
aus9 likes this post
Reply
#7
OOPS I forgot to check what my online status profile was before posting
silly me....I had it hidden...now fixed and email fixed

2) I rarely visit forum on Android so use Linux PC , firefox web browser.

On Android I prefer CM browser which is tiny (ish)
not an opportunity for any jokes here either....giggles

3) in profile I am on defaults ...default thread/style and language

user cp -> group membership
top box for group I can join = CPA member
bottom box...I belong....Donator group
which is my display group

its still a puzzlement.

maybe its because I use a Linux PC which makes me special?
mirandam likes this post
Reply
#8
(2014-09-29, 21:59)aus9 Wrote: OOPS I forgot to check what my online status profile was before posting
silly me....I had it hidden...now fixed and email fixed
yes, I see you're in here now Cool

(2014-09-29, 21:59)aus9 Wrote: ...
3) in profile I am on defaults ...default thread/style and language

user cp -> group membership
top box for group I can join = CPA member
bottom box...I belong....Donator group
which is my display group

its still a puzzlement.
so am I, no differences here.


(2014-09-29, 21:59)aus9 Wrote: ...
maybe its because I use a Linux PC which makes me special?
ausies are always special.... Tongue
Hang on a sec, I'm going to have a look at my dlna server (ubuntu + ff) to see if this is happening too.... nope, displays the exact same as on my pc. Very confusing indeed.
WuddaWaste likes this post
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Harvard] Why AI fairness conversations must include disable...
Last Post: Harvard
Yesterday 13:58
» Replies: 0
» Views: 28
[Sci-Am] How a New AI Model Helps Volcanic History Rise from...
Last Post: Scientific American
2024-04-24 23:17
» Replies: 0
» Views: 41
[Sci-Am] Everyone Will Have Fewer Relatives in the Future
Last Post: Scientific American
2024-04-24 09:25
» Replies: 0
» Views: 30
[Sci-Am] The Dark Side of Nostalgia for Wild, Untouched Plac...
Last Post: Scientific American
2024-04-23 19:59
» Replies: 0
» Views: 25
[Harvard] How did you get that frog to float?
Last Post: Harvard
2024-04-23 19:59
» Replies: 0
» Views: 43
[Sci-Am] In Matters of Scientific Debate, Follow the Houdini...
Last Post: Scientific American
2024-04-23 06:34
» Replies: 0
» Views: 25
[Harvard] Lifting a few with my chatbot
Last Post: Harvard
2024-04-23 06:34
» Replies: 0
» Views: 31
[Sci-Am] This Tiny Fish Makes an Ear-Blasting Screech for Lo...
Last Post: Scientific American
2024-04-22 17:01
» Replies: 0
» Views: 29
[Sci-Am] How Plant Intelligence Can Soothe Climate Anxiety
Last Post: Scientific American
2024-04-22 02:57
» Replies: 0
» Views: 41
[Sci-Am] Contributors to Scientific American’s May 2024 Issu...
Last Post: Scientific American
2024-04-21 13:36
» Replies: 0
» Views: 31
[Sci-Am] A ‘Computer’ Built from DNA Can Find Patterns in Ph...
Last Post: Scientific American
2024-04-20 23:27
» Replies: 0
» Views: 35
[Sci-Am] Unraveling the Secrets of This Weird Beetle’s 48-Ho...
Last Post: Scientific American
2024-04-20 09:17
» Replies: 0
» Views: 38
[Sci-Am] We Are Living in the Pyrocene, the Age of Fire that...
Last Post: Scientific American
2024-04-18 16:45
» Replies: 0
» Views: 90
[Harvard] Hate mosquitoes? Who doesn’t? But maybe we shouldn...
Last Post: Harvard
2024-04-18 03:05
» Replies: 0
» Views: 84
[Sci-Am] Why Some People Always Get Lost—And Others Never Do
Last Post: Scientific American
2024-04-17 13:33
» Replies: 0
» Views: 50
[Sci-Am] U.S. Carbon Removal Needs Have a $100-Billion Price...
Last Post: Scientific American
2024-04-16 23:48
» Replies: 0
» Views: 51
[Sci-Am] New Books Help Parents Explain Climate Disasters to...
Last Post: Scientific American
2024-04-16 10:13
» Replies: 0
» Views: 64
[Sci-Am] Renewable Energy Shatters Records in the U.S.
Last Post: Scientific American
2024-04-15 20:19
» Replies: 0
» Views: 75
[Sci-Am] The Dunning-Kruger Effect Shows that People Don’t K...
Last Post: Scientific American
2024-04-15 06:47
» Replies: 0
» Views: 74
[Sci-Am] AI Chatbots Will Never Stop Hallucinating
Last Post: Scientific American
2024-04-14 17:12
» Replies: 0
» Views: 62
[Sci-Am] How Do Periodical Cicadas Know When to Emerge?
Last Post: Scientific American
2024-04-14 03:11
» Replies: 0
» Views: 51
[Sci-Am] It’s Never Too Late to Take Climate Action
Last Post: Scientific American
2024-04-13 13:43
» Replies: 0
» Views: 62
[Sci-Am] To Ancient Maya, Solar Eclipses Signified Clashing ...
Last Post: Scientific American
2024-04-12 23:09
» Replies: 0
» Views: 63
[Sci-Am] What We Know about Taiwan’s Magnitude 7.4 Earthquak...
Last Post: Scientific American
2024-04-12 09:25
» Replies: 0
» Views: 89
[Sci-Am] Plastic Pollution Is Drowning Earth. A Global Treat...
Last Post: Scientific American
2024-04-11 19:50
» Replies: 0
» Views: 86
[Sci-Am] Eclipses Reveal a Comforting Clockwork in Our Chaot...
Last Post: Scientific American
2024-04-11 06:28
» Replies: 0
» Views: 48
[Harvard] ‘Harvard Thinking’: Climate alignment is no easy t...
Last Post: Harvard
2024-04-11 06:28
» Replies: 0
» Views: 49
[Sci-Am] Men Succumb to Anesthesia More Easily than Women
Last Post: Scientific American
2024-04-09 14:02
» Replies: 0
» Views: 63
[Sci-Am] How to Watch the Total Solar Eclipse Online
Last Post: Scientific American
2024-04-09 00:30
» Replies: 0
» Views: 84
[Sci-Am] Memories Are Made by Breaking DNA — and Fixing It, ...
Last Post: Scientific American
2024-04-08 10:50
» Replies: 0
» Views: 56
[Sci-Am] Ever Larger Cargo Ships Threaten Bridges, Ports and...
Last Post: Scientific American
2024-04-07 21:14
» Replies: 0
» Views: 62
[Sci-Am] Baltimore Bridge Collapse Will Teach Engineers to B...
Last Post: Scientific American
2024-04-07 07:47
» Replies: 0
» Views: 57
[Sci-Am] Pregnancy Increases Biological Age, but Giving Birt...
Last Post: Scientific American
2024-04-06 18:13
» Replies: 0
» Views: 26
[Sci-Am] Understanding Dyscalculia, Dyslexia’s Numeric Count...
Last Post: Scientific American
2024-04-06 04:35
» Replies: 0
» Views: 21
[Sci-Am] Baltimore Bridge Collapse Wreaks Havoc on Coal, Car...
Last Post: Scientific American
2024-04-05 15:14
» Replies: 0
» Views: 23
[Harvard] A playbook for policy change
Last Post: Harvard
2024-04-05 15:14
» Replies: 0
» Views: 24
[Sci-Am] Does Long-Term Benadryl Use Increase Dementia Risk?
Last Post: Scientific American
2024-04-05 01:43
» Replies: 0
» Views: 32