Is Possible Allow An Image On Users Message Amount? »  Show posts from    to     

Icy Phoenix


Old Support Topics - Is Possible Allow An Image On Users Message Amount?



Corporacion-Umbrella [ Sun 30 Sep, 2007 21:54 ]
Post subject: Is Possible Allow An Image On Users Message Amount?
Dear supporters, only i want to know if is possible change the Amount user Messages (Ej: Messages: 1540) for an image.

The example is:

Messages: infinito

I hope that you can help me or talk me some about this question.

Bye


Zuker [ Mon 01 Oct, 2007 00:42 ]
Post subject: Re: Is Possible Allow An Image On Users Message Amount?
You can use ranks, and delete the amount of messages from templates


Corporacion-Umbrella [ Mon 01 Oct, 2007 09:20 ]
Post subject: Re: Is Possible Allow An Image On Users Message Amount?
But i want to know that in the Webmaster account, no at all users.

I hope that you can help me.


Zuker [ Mon 01 Oct, 2007 17:36 ]
Post subject: Re: Is Possible Allow An Image On Users Message Amount?
what?


Corporacion-Umbrella [ Mon 01 Oct, 2007 17:39 ]
Post subject: Re: Is Possible Allow An Image On Users Message Amount?
I try explain you better:

I only want change the Amount (Number of Post) of Messages of Webmaster for an image. (But only of the Webmaster)

It is that possible?

You say me that change the User Messages for one field of Ranks, and i can do it. But that, will affect to all users, and i only want to that for Webmaster account.

Thanks for your help Zuker.


Zuker [ Mon 01 Oct, 2007 23:41 ]
Post subject: Re: Is Possible Allow An Image On Users Message Amount?
Nope, i don't have time to code this


Corporacion-Umbrella [ Tue 02 Oct, 2007 10:00 ]
Post subject: Re: Is Possible Allow An Image On Users Message Amount?
Zuker wrote: [View Post]
Nope, i don't have time to code this


Don't worry, is not important, i thought that was easy do that.

Well, see you dear helper.


Zuker [ Tue 02 Oct, 2007 16:55 ]
Post subject: Re: Is Possible Allow An Image On Users Message Amount?
well, i think it wasn't so hard to code

inside viewopic.php

find

Code: [Hide] [Select]
$poster_posts = ( $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Posts'] . ': ' . $postrow[$i]['user_posts'] : '';


afer, add

Code: [Hide] [Select]
if ($userdata['user_level'] == ADMIN)
{
$poster_posts = $lang['Posts'] . ': ' . '<img src="">';
}


Put the image location inside the '<img src="">'


Corporacion-Umbrella [ Tue 02 Oct, 2007 17:21 ]
Post subject: Re: Is Possible Allow An Image On Users Message Amount?
Work fine, but all users have affected with the change.

But is that, is only put that the Webmaster have only that image.

CU Friend, and thanks for your time and collaboration.


Zuker [ Tue 02 Oct, 2007 20:14 ]
Post subject: Re: Is Possible Allow An Image On Users Message Amount?
My mistake

change

Code: [Hide] [Select]
($userdata['user_level'] == ADMIN)


with

Code: [Hide] [Select]
($postrow[$i]['user_level'] == ADMIN)


Corporacion-Umbrella [ Tue 02 Oct, 2007 20:21 ]
Post subject: Re: Is Possible Allow An Image On Users Message Amount?
Thanks Zuker, so many thanks.

Have a great day dear supporter.


Zuker [ Tue 02 Oct, 2007 21:04 ]
Post subject: Re: Is Possible Allow An Image On Users Message Amount?
i have to fix a problem on my site and i dunno how to do it




Powered by Icy Phoenix