View next topic
View previous topic
Post new topic   Reply to topic
Author Message
cozmicshredder




Joined: Nov 10, 2008
Posts: 4
Location: MI, USA.

PostPosted: Sat Jul 18, 2009 8:12 am
Reply with quote

I been looking where to add the AUC .UsernameColor(). not sure if its possible seeing lots of this code is written in Java?

I'll hopefully get this sorted out soon if nobody here beats me too it!


An Example line from user information would be:
Code:
$who_online_now .= " <a '.urinfo_help($tit)." href=\"modules.php?name=Your_Account&op=userinfo&username=".$session['uname']."\">".UsernameColor($session['uname'])."</a>";
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
hawklen




Joined: Aug 06, 2009
Posts: 5

PostPosted: Thu Aug 06, 2009 8:43 pm
Reply with quote

I hope you get it! I'd like for user colors to show up in the chatbox. hehe
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 326

PostPosted: Mon Aug 10, 2009 1:24 am
Reply with quote

AUC is a mod for the forums so the UsernameColor() function and the $session['uname'] variable is only available within the forums and those modules that require Forums to work like the PM module and Memberlist module..

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
cozmicshredder




Joined: Nov 10, 2008
Posts: 4
Location: MI, USA.

PostPosted: Tue Aug 11, 2009 3:59 am
Reply with quote

Actually it works with anything with Nuke Evolution I just could't figure our why with Live chat. I have it working with any block that tracks members on the website.

I mean anywhere a member name is displayed it can show name color.

We have it working with our shout box as well which is java based but for the life of me I cannot see how to get it with live chat. I tried but it mess's up live chat but it does show user name color it just won't let the chat refresh.
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Guardian




Joined: Dec 09, 2006
Posts: 326

PostPosted: Tue Aug 11, 2009 5:15 am
Reply with quote

It sounds like the UsernameColor() function is the one that sets the variable $session['uname'] so the first thing to do would be to echo out $session['uname'] to see if it holds a value for that user. If it doesn't, you might simply need to add $session['uname'] to the global statement in livechat for it to work

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
hawklen




Joined: Aug 06, 2009
Posts: 5

PostPosted: Wed Aug 12, 2009 8:12 pm
Reply with quote

Any luck with this?
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours