[SOLVED] Change Warnings Images To Text.


Subject: [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
Profile PM  
Subject: Re: Warnings Text??
yes... but there lot's of changes to do in viewtopic.php i think

Subject: 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!

Profile PM  
Subject: 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;';

Subject: Re: Warnings Text??
thats my darling!!!

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

Profile PM  
Subject: Re: Warnings Text??
cyber, it works ;)
i've test it yesterday

Subject: 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

Profile PM  
Subject: 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 ;)

Subject: Re: Warnings Text??
Yeah!! I forgot to clear cache!

It works like charm! :)

Profile PM  
Subject: 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!!

Profile PM  
Subject: Re: [SOLVED] Change Warnings Images To Text.
Why u have got this spam account?

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

Subject: 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! :shock:

Profile PM  
Subject: Re: [SOLVED] Change Warnings Images To Text.
it was registered using the same ip adress of your account

Subject: 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).

Subject: 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...

Profile PM  

Page 1 of 2


  
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

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0723s (PHP: 29% SQL: 71%)
SQL queries: 10 - Debug Off - GZIP Enabled