Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Colorize Username 
 
I am trying to put the finishing touches on blending a phpbb mod into icyphoenix.

I am getting this error when trying to colorize a username.

Fatal error: Call to undefined function: colorize_username()

Can someone please tell me where I can find this function at? I've searched the forums and I don't have the functions_color_group.php file.

Thanks in Advance.

Edit

I called the functions_group.php file and now it doesn't show an error but doesnt display the username.

Any help would be much appreciated.
 



 
Last edited by fpscops on Sun 23 Dec, 2007 04:17; edited 1 time in total 
fpscopsSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Colorize Username 
 
hey fpscops,

please tell us, which icy version you use and which MOD you tried to installed...

thanks
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Colorize Username 
 
Thanks for your reply.

Version: 1.1.7.22

The mod is phpbb classifieds. I have everything working 100% with Icy except the usernames color. Being the freak I am it drives me crazy.
 



 
fpscopsSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Colorize Username 
 
hey,

you have to add
Code: [Download] [Hide] [Select]
colorize_username($row['user_id']);
in all files where the username is called...

i dont have the time to send you a step by step guide. but i´m sure you get it by your own.

please note that after the "colorize_username(" the var can also be "$userdata['user_id']"

for the colorize function must must call the user_id  not the username!

hope this helps
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Colorize Username 
 
Thanks for you reply.

I had tried that already and it was giving me an error.

I changed this:

$user_id = $adverts_row['user_id'];

to:

$user_id = colorize_username($adverts_row['user_id']);

and added:

include_once($phpbb_root_path . 'includes/functions_groups.' . $phpEx);

right after session management.

The error I'm getting is a phpbb general error that states "User does not exist."

Again thanks for your help.
 



 
fpscopsSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Colorize Username 
 
fpscops wrote: [View Post]
Thanks for you reply.

I had tried that already and it was giving me an error.

I changed this:

$user_id = $adverts_row['user_id'];

to:

$user_id = colorize_username($adverts_row['user_id']);

and added:

include_once($phpbb_root_path . 'includes/functions_groups.' . $phpEx);

right after session management.

The error I'm getting is a phpbb general error that states "User does not exist."

Again thanks for your help.


hey,

yes the error is correct because this line
Code: [Download] [Hide] [Select]
$user_id = $adverts_row['user_id'];
says that the user id = adverts user id. you cant call there the colorize_username function.

you must stay this line as it is and must call the colorize function in that line, where the "username" written.

if you dont get it working, please attach me the file(s) here where you get this error.
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Colorize Username 
 
I think what's giving me trouble is it's using the get_userdata function.

I've attatched the two files that I'm needing to get changed. I really appreciate any help.

I've modded the phpca mod to satisfy another need. Once I get it fully functional with Icy I upload it here.

dealsmod.zip
Description:  
Download
Filename: dealsmod.zip
Filesize: 7.62 KB
Downloaded: 117 Time(s)

 



 
fpscopsSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron