Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post [SOLVED] Change Warnings Images To Text. 
 
Is there any way to change the warning images to just like "Warnings: 1" etc ???
 



 
Last edited by cyber on Sun 29 Apr, 2007 13:50; edited 1 time in total 
cyberSend 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: Warnings Text?? 
 
yes... but there lot's of changes to do in viewtopic.php i think
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Warnings Text?? 
 
Can you help me do the changes?

Maybe you can post a How to in the How to forum!


Looking forward to this!
 



 
cyberSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Warnings Text?? 
 
Try this on viewtopic.php

FIND
Code: [Download] [Hide] [Select]
                $card_img .= ($user_warnings) ? '<img src="'.(( $user_warnings < $board_config['max_user_bancard']) ?
                $images['icon_y_cards'] . '" alt="'. sprintf($lang['Warnings'], $user_warnings) .'" title="'. sprintf($lang['Warnings'], $user_warnings) .'" />' :
                $images['icon_r_cards'] . '" alt="'. $lang['Banned'] .'" title="'. $lang['Banned'] .'" />') : '';
                $card_img .= '&nbsp;';


REPLACE WITH

Code: [Download] [Hide] [Select]
                $card_img .= ($user_warnings) ? (( $user_warnings < $board_config['max_user_bancard']) ? sprintf($lang['Warnings'], $user_warnings) :
                $images['icon_r_cards'] . '" alt="'. $lang['Banned'] .'" title="'. $lang['Banned'] .'" />') : '';
                $card_img .= '&nbsp;';

 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Warnings Text?? 
 
thats my darling!!!

thank you so much.... but first let me try if it works or not!
 



 
cyberSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Warnings Text?? 
 
cyber, it works
i've test it yesterday
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Warnings Text?? 
 
Zuker wrote: [View Post]
cyber, it works
i've test it yesterday



no still doesnt work....the images show up!

i dont want the images to show up....i want it to be like the original mod like in text Warnings: 1
 



 
cyberSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Warnings Text?? 
 
Check this topic

http://www.superzuker.com.ar/icy/viewtopic.php?p=62#p62

See the test user?

It says Warnings: 1

It's working
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Warnings Text?? 
 
Yeah!! I forgot to clear cache!

It works like charm!  
 



 
cyberSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] Change Warnings Images To Text. 
 
I tried this code on my test board....

but the problem is it shows

Warnings 1  for 1 warning ------  ok thats correct

but for 2 warnings it shows this thing twice!

Warnings:2 Warnings: 2   and so on...


whats wrng here?  

And how about if i dont want the red card to show if the user reaches the max warnings....when he/she does...it should show the no. of warnings.

Please help Zuker!!
 



 
toledoSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] Change Warnings Images To Text. 
 
Why u have got this spam account?

http://www.icyphoenix.com/profile.php?mode=viewprofile&u=1393#
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] Change Warnings Images To Text. 
 
Zuker wrote: [View Post]
Why u have got this spam account?

http://www.icyphoenix.com/profile.php?mode=viewprofile&u=1393#


Was that for me? Then you are wrong...i dont know any spam account  neither i know how to create one!  
 



 
toledoSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] Change Warnings Images To Text. 
 
it was registered using the same ip adress of your account
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] Change Warnings Images To Text. 
 
Zuker wrote: [View Post]
it was registered using the same ip adress of your account



so the same person has unknown OS and unknown browser as has Win XP and FF2, (and that's just public info).
 




____________
CivUnited
 
tonyf12Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] Change Warnings Images To Text. 
 
Zuker wrote: [View Post]
it was registered using the same ip adress of your account


I dont know....i live in a university...all pc's have same public IP's. I dont have time to use my own account...how can u expect me to make other?!?

Any ways....this little patch u gave doesnt work and i have that problem which i wrote in my post above.

Please try that on your test board....I really need this thing working...
 



 
toledoSend private message  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 2
Goto page 1, 2  Next


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