[-]
Who's Online
There are currently no members online.

[-]
Latest Threads
User What is the effect of food intake o...
Last Post: fildena150as
2024-03-13 16:37
» Replies: 0
» Views: 13
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 12
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 61
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13517
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4180
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 77
» Views: 33562
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 64
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2032
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22259
ZH960-MB-V3.1
Last Post: Giankyworld81
2023-11-01 19:35
» Replies: 21
» Views: 15339
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 4986
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8787
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1374
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4783
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 3
» Views: 1288
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 160
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 4858
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 297
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 4437
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12373
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5016
[Movie Suggestion] Automata with Antonio...
Last Post: GottaGetX
2023-09-07 09:19
» Replies: 3
» Views: 4079
Suggest a movie thread
Last Post: GottaGetX
2023-09-07 09:17
» Replies: 5
» Views: 8775





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] How the Seven Bridges of Königsberg Spawned New Mat...
Last Post: Scientific American
Today 04:51
» Replies: 0
» Views: 7
[Sci-Am] Biden’s State of the Union Promises Big Job Gains f...
Last Post: Scientific American
Yesterday 14:15
» Replies: 0
» Views: 20
[Sci-Am] Paying Attention to Sensations Can Help Reset the M...
Last Post: Scientific American
Yesterday 00:26
» Replies: 0
» Views: 25
[Sci-Am] How Arguments that Embryos Are People Pose a Threat...
Last Post: Scientific American
2024-03-17 10:12
» Replies: 0
» Views: 30
[Sci-Am] NASA’s Hopes for Space Solar Power Are Looking Dim
Last Post: Scientific American
2024-03-16 19:58
» Replies: 0
» Views: 31
[Sci-Am] Deepwater Sharks Are Threatened by Demand for Liver...
Last Post: Scientific American
2024-03-16 06:21
» Replies: 0
» Views: 34
[Sci-Am] The Amazing Aerial Adventures of the 'Flying Femini...
Last Post: Scientific American
2024-03-15 16:28
» Replies: 0
» Views: 44
[Sci-Am] We Need Small Astronomy as Much as Big Astronomy
Last Post: Scientific American
2024-03-15 02:13
» Replies: 0
» Views: 37
[Sci-Am] Two Giant U.S. Telescopes Are Threatened by Federal...
Last Post: Scientific American
2024-03-14 11:57
» Replies: 0
» Views: 11
[Harvard] Did fermented foods fuel brain growth?
Last Post: Harvard
2024-03-14 11:57
» Replies: 0
» Views: 22
[Sci-Am] What Are the Benefits of Sleeping Alone?
Last Post: Scientific American
2024-03-13 22:27
» Replies: 0
» Views: 3
[Sci-Am] Is Raw Milk Cheese Safe to Eat?
Last Post: Scientific American
2024-03-13 08:41
» Replies: 0
» Views: 2
[Sci-Am] Why Do So Many Mental Illnesses Overlap?
Last Post: Scientific American
2024-03-12 17:56
» Replies: 0
» Views: 3
[Sci-Am] Sora Is OpenAI’s New Text-to-Video Generator. Here’...
Last Post: Scientific American
2024-03-12 03:40
» Replies: 0
» Views: 9
[Sci-Am] Is This the Earliest Evidence of Human Cannibalism?
Last Post: Scientific American
2024-03-11 13:29
» Replies: 0
» Views: 10
[Sci-Am] This New Antivenom Defangs the Toxins of Cobras, Bl...
Last Post: Scientific American
2024-03-10 09:19
» Replies: 0
» Views: 20
[Sci-Am] Florida Surgeon General Risks Making a Dangerous Me...
Last Post: Scientific American
2024-03-09 19:15
» Replies: 0
» Views: 18
[Sci-Am] A Sexbot Gains Sentience in an Eerie New Novel
Last Post: Scientific American
2024-03-08 16:14
» Replies: 0
» Views: 34
[Sci-Am] A Solar Eclipse, Cancer Treatments and Robots with ...
Last Post: Scientific American
2024-03-08 01:32
» Replies: 0
» Views: 49
[Sci-Am] By Preserving Resources, We’re Protecting People, T...
Last Post: Scientific American
2024-03-07 10:49
» Replies: 0
» Views: 41
[Sci-Am] Even 'Twilight Zone' Coral Reefs Aren't Safe from B...
Last Post: Scientific American
2024-03-06 20:41
» Replies: 0
» Views: 51
[Sci-Am] The Life and Gruesome Death of a Bog Man Revealed a...
Last Post: Scientific American
2024-03-06 06:39
» Replies: 0
» Views: 23
[Harvard] ‘Radcliffe Wave’ is waving
Last Post: Harvard
2024-03-06 06:39
» Replies: 0
» Views: 47
[Sci-Am] Stunning Comet Could Photobomb This April's Total S...
Last Post: Scientific American
2024-03-05 16:23
» Replies: 0
» Views: 27
[Sci-Am] The Industrial Designer behind the N95 Mask
Last Post: Scientific American
2024-03-05 01:03
» Replies: 0
» Views: 50
[Sci-Am] Asexuality Research Has Reached New Heights. What A...
Last Post: Scientific American
2024-03-03 20:21
» Replies: 0
» Views: 29
[Sci-Am] Russia's War on Ukraine Chills Arctic Climate Scien...
Last Post: Scientific American
2024-03-03 06:58
» Replies: 0
» Views: 5
[Harvard] Aramont Fellows bring cutting-edge scientific inno...
Last Post: Harvard
2024-03-03 06:58
» Replies: 0
» Views: 3
[Sci-Am] JWST Is Tracking Down the Cosmic Origins of Earth's...
Last Post: Scientific American
2024-03-02 16:02
» Replies: 0
» Views: 14
[Harvard] What shapes your dog’s personality
Last Post: Harvard
2024-03-02 16:02
» Replies: 0
» Views: 14
[Sci-Am] Flimsy Antiabortion Studies Cited in Case to Ban Mi...
Last Post: Scientific American
2024-03-02 01:37
» Replies: 0
» Views: 13
[Harvard] Deep in the Amazon, SEAS team tracks a mobile elem...
Last Post: Harvard
2024-03-02 01:37
» Replies: 0
» Views: 14
[Sci-Am] Why Writing by Hand Is Better for Memory and Learni...
Last Post: Scientific American
2024-03-01 11:16
» Replies: 0
» Views: 11
[Sci-Am] Shifting to EVs Could Prevent Millions of Childhood...
Last Post: Scientific American
2024-02-29 21:47
» Replies: 0
» Views: 39
How to increase likes and followers on Facebook
Last Post: vigreen
2024-02-28 18:02
» Replies: 0
» Views: 89
[Sci-Am] How to Close the 'Orgasm Gap' for Heterosexual Coup...
Last Post: Scientific American
2024-02-28 17:23
» Replies: 0
» Views: 57
[Sci-Am] Sculptures about to Land on the Moon Join a Long Hi...
Last Post: Scientific American
2024-02-28 04:01
» Replies: 0
» Views: 39