Hiding the ip of superadmin in online list and one other thing.
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: Hiding the ip of superadmin in online list and one other thing.
(08-20-2010 03:26 AM)tonoshi Wrote:  Thank you for your answer. I tried it but it didnt work. Can you please tell me if I can use an if conditional at the online.php file to hide the ip of superadmin?
You weren't clear on what you asked.  I assumed you wanted to hide the IPs of all admins.
You can only use conditionals in templates with PHP in Templates plugin.  I'm not editing the online.php file (and the code isn't there anyway, it's in inc/functions_online.php)
Haven't tried, perhaps use something like this:

HTML Code
<if !is_super_admin($user['uid']) then>{$user_ip}</if>


(08-20-2010 03:26 AM)tonoshi Wrote:  What about not allowing links only in signature, is that possible? Even with core edits. Sorry for my many questions.
Sorry, I forgot to answer this one.
This is probably relatively difficult to do.
Perhaps you could set up a <div> around your signatures, with a certain class, then have some CSS in your theme, such as:

Code:
div.signatures a { display: none; }

However, note that this just hides links - they aren't actually removed from the signature.


My Blog
(This post was last modified: 08-20-2010 08:59 AM by ZiNgA BuRgA.)
08-20-2010 08:59 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Hiding the ip of superadmin in online list and one other thing. - ZiNgA BuRgA - 08-20-2010 08:59 AM

 Standard Tools
Forum Jump: