https://www.icyphoenix.com/viewtopic.php?f=35&t=1505 ----------------------------------- cyber Thu 05 Apr, 2007 12:18 [SOLVED] Change Warnings Images To Text. ----------------------------------- Is there any way to change the warning images to just like "Warnings: 1" etc ??? ----------------------------------- Zuker Thu 05 Apr, 2007 13:49 Re: Warnings Text?? ----------------------------------- yes... but there lot's of changes to do in viewtopic.php i think ----------------------------------- cyber Wed 25 Apr, 2007 22:06 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! ----------------------------------- Zuker Wed 25 Apr, 2007 22:25 Re: Warnings Text?? ----------------------------------- Try this on viewtopic.php FIND [code linenumbers=false] $card_img .= ($user_warnings) ? ''. sprintf($lang['Warnings'], $user_warnings) .'' : $images['icon_r_cards'] . '" alt="'. $lang['Banned'] .'" title="'. $lang['Banned'] .'" />') : ''; $card_img .= ' ';[/code] REPLACE WITH [code linenumbers=false] $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 .= ' ';[/code] ----------------------------------- cyber Thu 26 Apr, 2007 13:04 Re: Warnings Text?? ----------------------------------- thats my darling!!! thank you so much.... but first let me try if it works or not! ----------------------------------- Zuker Thu 26 Apr, 2007 15:10 Re: Warnings Text?? ----------------------------------- [b]cyber[/b], it works ;) i've test it yesterday ----------------------------------- cyber Fri 27 Apr, 2007 13:36 Re: Warnings Text?? ----------------------------------- [quote user="Zuker" post="12856"][b]cyber[/b], it works ;) i've test it yesterday[/quote] 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 ----------------------------------- Zuker Fri 27 Apr, 2007 13:54 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 ;) ----------------------------------- cyber Sun 29 Apr, 2007 13:49 Re: Warnings Text?? ----------------------------------- Yeah!! I forgot to clear cache! It works like charm! :) ----------------------------------- toledo Wed 23 May, 2007 13:51 Re: [SOLVED] Change Warnings Images To Text. ----------------------------------- I tried this code on my test board.... but the problem is it shows [b]Warnings 1[/b] for 1 warning ------ ok thats correct but for 2 warnings it shows this thing twice! [b]Warnings:2 Warnings: 2[/b] 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!! ----------------------------------- Zuker Wed 23 May, 2007 16:56 Re: [SOLVED] Change Warnings Images To Text. ----------------------------------- Why u have got this spam account? http://www.icyphoenix.com/profile.php?mode=viewprofile&u=1393# ----------------------------------- toledo Wed 23 May, 2007 21:30 Re: [SOLVED] Change Warnings Images To Text. ----------------------------------- [quote user="Zuker" post="14817"]Why u have got this spam account? http://www.icyphoenix.com/profile.php?mode=viewprofile&u=1393#[/quote] Was that for me? Then you are wrong...i dont know any spam account neither i know how to create one! :shock: ----------------------------------- Zuker Wed 23 May, 2007 23:44 Re: [SOLVED] Change Warnings Images To Text. ----------------------------------- it was registered using the same ip adress of your account ----------------------------------- tonyf12 Thu 24 May, 2007 20:04 Re: [SOLVED] Change Warnings Images To Text. ----------------------------------- [quote user="Zuker" post="14875"]it was registered using the same ip adress of your account[/quote] so the same person has unknown OS and unknown browser as has Win XP and FF2, (and that's just public info). ----------------------------------- toledo Fri 25 May, 2007 13:56 Re: [SOLVED] Change Warnings Images To Text. ----------------------------------- [quote user="Zuker" post="14875"]it was registered using the same ip adress of your account[/quote] 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... ----------------------------------- Zuker Fri 25 May, 2007 15:01 Re: [SOLVED] Change Warnings Images To Text. ----------------------------------- OPEN VIEWTOPIC.PHP FIND [code linenumbers=false]$card_img .= '' . sprintf($lang['Warnings'], $user_warnings) . ' ';[/code] REPLACE WITH [code linenumbers=false] $card_img = sprintf($lang['Warnings'], $user_warnings);[/code] ----------------------------------- toledo Fri 25 May, 2007 19:27 Re: [SOLVED] Change Warnings Images To Text. ----------------------------------- Thanks Zuker but i cant find that anywhere! I have this somewhere near that: [code linenumbers=false]$card_img = ($user_warnings >= $board_config['max_user_bancard']) ? ''. $lang['Banned'] .'' : ''; for ($n=0 ; $n<$user_warnings && $user_warnings < $board_config['max_user_bancard'];$n++) { $card_img .= ($user_warnings) ? ''. sprintf($lang['Warnings'], $user_warnings) .'' : $images['icon_r_cards'] . '" alt="'. $lang['Banned'] .'" title="'. $lang['Banned'] .'" />') : ''; $card_img .= ' '; }[/code] ----------------------------------- Zuker Fri 25 May, 2007 19:33 Re: [SOLVED] Change Warnings Images To Text. ----------------------------------- Arround line 2065 on viewtopic.php of last version of icy ----------------------------------- toledo Fri 25 May, 2007 22:41 Re: [SOLVED] Change Warnings Images To Text. ----------------------------------- [quote user="Zuker" post="15126"]Arround line 2065 on viewtopic.php of last version of icy[/quote] Er..sorry Zuker but im using ICY 1.0.11.11....i didnt upgrade because i modified this one so much that i dont have time to do it all over again. But i will upgrade later during my holidays next month. So what to do for IP 1.0.11.11 ? PS: You guys are the best in giving support here! I love ICY PHOENIX!! ----------------------------------- Zuker Fri 25 May, 2007 23:26 Re: [SOLVED] Change Warnings Images To Text. ----------------------------------- You will have to upgrade to last version. I'm sorry There are lots of things fixed ----------------------------------- toledo Sat 26 May, 2007 18:53 Re: [SOLVED] Change Warnings Images To Text. ----------------------------------- [quote user="Zuker" post="15145"]You will have to upgrade to last version. I'm sorry There are lots of things fixed[/quote] Thanx anyways Zuker. But if you have free time please tell me how to do this 1.0.11.11 It will be a month for me to upgrade to latest IP. ----------------------------------- Zuker Sat 26 May, 2007 19:05 Re: [SOLVED] Change Warnings Images To Text. ----------------------------------- There is no support for previous versions of release. Only for upgrading