[-]
Who's Online
There are currently 2722 online users. [Complete List]
» 2 Member(s) | 2720 Guest(s)
AvatarAvatar

[-]
Latest Threads
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 15
» Views: 9725
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 36
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 124
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13590
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4227
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 77
» Views: 33625
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 89
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2072
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22274
ZH960-MB-V3.1
Last Post: Giankyworld81
2023-11-01 19:35
» Replies: 21
» Views: 15399
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 5287
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8804
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1384
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4796
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 3
» Views: 1308
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 183
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 5149
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 323
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 4478
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12385
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5027
[Movie Suggestion] Automata with Antonio...
Last Post: GottaGetX
2023-09-07 09:19
» Replies: 3
» Views: 4098
Suggest a movie thread
Last Post: GottaGetX
2023-09-07 09:17
» Replies: 5
» Views: 8784





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
[Sci-Am] We Are Living in the Pyrocene, the Age of Fire that...
Last Post: Scientific American
Yesterday 16:45
» Replies: 0
» Views: 35
[Harvard] Hate mosquitoes? Who doesn’t? But maybe we shouldn...
Last Post: Harvard
Yesterday 03:05
» Replies: 0
» Views: 50
[Sci-Am] Why Some People Always Get Lost—And Others Never Do
Last Post: Scientific American
2024-04-17 13:33
» Replies: 0
» Views: 36
[Sci-Am] U.S. Carbon Removal Needs Have a $100-Billion Price...
Last Post: Scientific American
2024-04-16 23:48
» Replies: 0
» Views: 39
[Sci-Am] New Books Help Parents Explain Climate Disasters to...
Last Post: Scientific American
2024-04-16 10:13
» Replies: 0
» Views: 54
[Sci-Am] Renewable Energy Shatters Records in the U.S.
Last Post: Scientific American
2024-04-15 20:19
» Replies: 0
» Views: 65
[Sci-Am] The Dunning-Kruger Effect Shows that People Don’t K...
Last Post: Scientific American
2024-04-15 06:47
» Replies: 0
» Views: 65
[Sci-Am] AI Chatbots Will Never Stop Hallucinating
Last Post: Scientific American
2024-04-14 17:12
» Replies: 0
» Views: 54
[Sci-Am] How Do Periodical Cicadas Know When to Emerge?
Last Post: Scientific American
2024-04-14 03:11
» Replies: 0
» Views: 44
[Sci-Am] It’s Never Too Late to Take Climate Action
Last Post: Scientific American
2024-04-13 13:43
» Replies: 0
» Views: 54
[Sci-Am] To Ancient Maya, Solar Eclipses Signified Clashing ...
Last Post: Scientific American
2024-04-12 23:09
» Replies: 0
» Views: 55
[Sci-Am] What We Know about Taiwan’s Magnitude 7.4 Earthquak...
Last Post: Scientific American
2024-04-12 09:25
» Replies: 0
» Views: 75
[Sci-Am] Plastic Pollution Is Drowning Earth. A Global Treat...
Last Post: Scientific American
2024-04-11 19:50
» Replies: 0
» Views: 76
[Sci-Am] Eclipses Reveal a Comforting Clockwork in Our Chaot...
Last Post: Scientific American
2024-04-11 06:28
» Replies: 0
» Views: 42
[Harvard] ‘Harvard Thinking’: Climate alignment is no easy t...
Last Post: Harvard
2024-04-11 06:28
» Replies: 0
» Views: 41
[Sci-Am] Men Succumb to Anesthesia More Easily than Women
Last Post: Scientific American
2024-04-09 14:02
» Replies: 0
» Views: 57
[Sci-Am] How to Watch the Total Solar Eclipse Online
Last Post: Scientific American
2024-04-09 00:30
» Replies: 0
» Views: 72
[Sci-Am] Memories Are Made by Breaking DNA — and Fixing It, ...
Last Post: Scientific American
2024-04-08 10:50
» Replies: 0
» Views: 51
[Sci-Am] Ever Larger Cargo Ships Threaten Bridges, Ports and...
Last Post: Scientific American
2024-04-07 21:14
» Replies: 0
» Views: 56
[Sci-Am] Baltimore Bridge Collapse Will Teach Engineers to B...
Last Post: Scientific American
2024-04-07 07:47
» Replies: 0
» Views: 50
[Sci-Am] Pregnancy Increases Biological Age, but Giving Birt...
Last Post: Scientific American
2024-04-06 18:13
» Replies: 0
» Views: 19
[Sci-Am] Understanding Dyscalculia, Dyslexia’s Numeric Count...
Last Post: Scientific American
2024-04-06 04:35
» Replies: 0
» Views: 13
[Sci-Am] Baltimore Bridge Collapse Wreaks Havoc on Coal, Car...
Last Post: Scientific American
2024-04-05 15:14
» Replies: 0
» Views: 13
[Harvard] A playbook for policy change
Last Post: Harvard
2024-04-05 15:14
» Replies: 0
» Views: 14
[Sci-Am] Does Long-Term Benadryl Use Increase Dementia Risk?
Last Post: Scientific American
2024-04-05 01:43
» Replies: 0
» Views: 22
[Sci-Am] How Visually Impaired People Can Experience Solar E...
Last Post: Scientific American
2024-04-04 11:44
» Replies: 0
» Views: 18
[Harvard] Under pressure
Last Post: Harvard
2024-04-04 11:44
» Replies: 0
» Views: 37
[Sci-Am] Wild Birds Gesture ‘After You’ to Insist Their Mate...
Last Post: Scientific American
2024-04-03 08:12
» Replies: 0
» Views: 90
[Harvard] Glimpse into how mind may affect healing
Last Post: Harvard
2024-04-03 08:12
» Replies: 0
» Views: 53
[Sci-Am] The Future of Driving in the U.S. Is Electric—Sort ...
Last Post: Scientific American
2024-04-02 18:49
» Replies: 0
» Views: 24
[Sci-Am] What Climate Change Means for Your Garden
Last Post: Scientific American
2024-04-02 05:13
» Replies: 0
» Views: 48
[Sci-Am] Banning TikTok Would Do Basically Nothing to Protec...
Last Post: Scientific American
2024-04-01 15:15
» Replies: 0
» Views: 52
[Sci-Am] Can AI Replace Human Research Participants? These S...
Last Post: Scientific American
2024-04-01 01:16
» Replies: 0
» Views: 60
[Sci-Am] We Need a Public Service Internet to Free Us from B...
Last Post: Scientific American
2024-03-31 10:31
» Replies: 0
» Views: 71
[Sci-Am] How Do Babies Realize They Can Influence the World?
Last Post: Scientific American
2024-03-30 19:18
» Replies: 0
» Views: 65
[Sci-Am] Earth Has More Than One Moon
Last Post: Scientific American
2024-03-30 05:26
» Replies: 0
» Views: 66
[Sci-Am] Kitten Season Is Out of Control. Are Warmer Winters...
Last Post: Scientific American
2024-03-29 15:41
» Replies: 0
» Views: 55