I have a QUESTION ..

Started by Alb, April 28, 2004, 12:10:33 AM

Previous topic - Next topic

Alb

Hi,
How can I get off the post counter under name?


=======
Eni

Newbie
Online

Posts: 9  <<--- how can I get it off  for my forum script?
=======

thanks    :)





Alb

#1
Oh its okey..
Thanks a lot  :)

Owdy

Quote from: Eni on April 28, 2004, 12:10:33 AM
Hi,
How can I get off the post counter under name?


=======
Eni

Newbie
Online

Posts: 9  <<--- how can I get it off  for my forum script?
=======

thanks    :)






In Display.template.php, remove:
// Show how many posts they have made.
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Alb

Quote from: Owdy on April 28, 2004, 12:51:33 AM

In Display.template.php, remove:
// Show how many posts they have made.
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';


Thanks,
Excuse me, Can I have a member registered count?
For example:  Member #4  ( that means this member is the first four members registered in forum).


Thanks a lot, :)


[Unknown]

You can put that in, but change:

', $txt[26], ': ', $message['member']['posts'], '<br />

To:

Member # ', $message['member']['id'], '<br />

-[Unknown]

Alb

Quote from: [Unknown] on April 28, 2004, 04:07:32 AM
You can put that in, but change:

', $txt[26], ': ', $message['member']['posts'], '<br />

To:

Member # ', $message['member']['id'], '<br />

-[Unknown]

I have tried a lot of the ways to make it work, but all have failured.

Owdy

find:
// Show how many posts they have made.
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';


replace:
// Show how many posts they have made.
echo '
Member # ', $message['member']['id'], '<br />
<br />';
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Alb

Am sorry, doesnt work again!!  :(

Owdy

Quote from: Eni on April 28, 2004, 07:06:12 AM
Am sorry, doesnt work again!!  :(
It works in my test board. Are you sure? Are u using own theme or default?
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Alb

Quote from: Owdy on April 28, 2004, 07:09:22 AM
Quote from: Eni on April 28, 2004, 07:06:12 AM
Am sorry, doesnt work again!!  :(
It works in my test board. Are you sure? Are u using own theme or default?

Classic board

Owdy

Umm, this should work. Can i see your Display.template.php?
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Alb

Quote from: Owdy on April 28, 2004, 10:11:14 AM
Umm, this should work. Can i see your Display.template.php?

Did  u get  Display.template.php  ? .. coz I sent u by PM, but am not sure, if u have get it or not.

:)

Owdy

Quote from: Eni on April 28, 2004, 11:03:30 AM
Quote from: Owdy on April 28, 2004, 10:11:14 AM
Umm, this should work. Can i see your Display.template.php?

Did  u get  Display.template.php  ? .. coz I sent u by PM, but am not sure, if u have get it or not.

:)
No, i havent got anything. You cant attach anything in PM*s ;)
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Alb

I sent it by email attach  ;) 

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Alb

I wrote there a same thing:
// Show how many posts they have made.
echo '
Member # ', $message['member']['id'], '<br />
<br />';



but doesnt work again!!! 

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Alb

thnx GOD now is working  ;D

The problem was, that the classic board doesnt support that changes, so,than i maked that changes to default board, worked  :)

Thanks bro


Owdy

Quote from: Eni on April 28, 2004, 12:14:52 PM


The problem was, that the classic board doesnt support that changes,
But... but... it does. I tested that in my test board. But i'm glad it works for you now ;)
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Advertisement: