This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Admin Name Color Change?
#1

Is it possible to have a special color for your Admin name? like the name of the admin user is different then the normal users when you comment? if there is a way to do this please post how , im sure its a quick edit in the CSS file
Reply
#2

Hi,

Open /comments/includes/functions/comments.php, find this (lines 192-194):
PHP Code:
<?php 
$box
.= "<span class='name_without_website_text'>";
$box .= $name;
$box .= "</span>";

Replace with this:
PHP Code:
<?php 
if ($is_admin) {
$box .= "<span class='admin_name_without_website_text'>";
} else {
$box .= "<span class='name_without_website_text'>";
}
$box .= $name;
$box .= "</span>";

Then add this somewhere in your stylesheet (/comments/css/stylesheet.css):
Code:
.admin_name_without_website_text {
font-weight: bold;
text-decoration: none;
color: green;
}

Have you completed the interview?
Reply
#3



Hell yeah! thank you steven

did you make commentics all by yourself?

that is alot of work , how did you do that? =D

You're so damn proffesional to
Reply
#4

Yes I wrote it myself, with the exception of a few small parts like the Captcha.

I started it a few years ago and just did a little each day.

Check out the online Beta. It's going to be released in a few days.
http://www.commentics.org/beta.php

Have you completed the interview?
Reply
#5

Impressive! that is alot of work, it is the best full featured open source script on the internet!

damn that beta looks great , video integration and everything
how did you get your picture there? how do gravitars work

that video feature works so good!
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
21-Feb-2019, 09:02 AM
Last Post by boonie67
08-Sep-2018, 03:05 PM
Last Post by Vaiolet12
14-Sep-2017, 11:44 AM
Last Post by besric
03-Mar-2016, 10:22 PM
Last Post by mariank
30-Dec-2013, 11:34 AM
Last Post by fatfreddy
10-Sep-2013, 03:21 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)