PDA

View Full Version : Warning Level cant be seen


arek
04-16-2005, 11:23 AM
Hello,

at first thx for that gread hack. Sry 4 my bad english cause im from germany :)

I installed your hack but i can not see the level warning when for example the user x which has the warning level 1 post a thread, i can not see his warning status at his sig, like yours

YOURS
https://vborg.vbsupport.ru/attachment.php?attachmentid=21862

ME
http://www.rinb.de/ME1.jpg
http://www.rinb.de/ME2.jpg

sv1cec
04-16-2005, 01:09 PM
For the first image, if user test has some warning points and you can't see them, make sure you have changed the postbit_legacy template. Probably you changed postbit, but forgot the postbit_legacy one.

As for the second, check the changes you have made in MEMBERINFO template, the red lines for Warnings and Warning Points should be under the User ID. You probably missed a <br> there.

Let me know if you got it.

arek
04-16-2005, 02:17 PM
Ok. I checked the postbit and the postbit_legacy, i chaned in bothe templates the things. I dont know why it dont works.

Here are the bothe templates in .txt. I hope u can finde the bug :)

sv1cec
04-16-2005, 04:39 PM
As I expected, check your postbit_legacy, you have forgotten the part which shows the alerts, warnings, warning points and bans numbers.

It's this part:


<if condition="$showpoints==1">
<if condition="$post[alerts]>0">
<font color="#ff0000">
<BR>Alerts: $post[alerts]
<font color="#000000">
</if>
<if condition="$post[warnings]>0">
<font color="#ff0000">
<BR>Warnings: $post[warnings]
<font color="#000000">
</if>
<if condition="$post[warning_level]>0">
<font color="#ff0000">
<BR>Warnings Level: $post[warning_level]
<font color="#000000">
</if>
<if condition="$post[warning_bans]>0">
<font color="#ff0000">
<BR>Number of bans: $post[warning_bans]
<font color="#000000">
</if>
</if>


Add the above, after the phrase:


<if condition="$show['reputation']">$post[reputationdisplay]</if>


Rgds

arek
04-16-2005, 06:59 PM
I did it, but i still see it not

sv1cec
04-16-2005, 07:09 PM
Have you applied the modifications in functions_showthread? Check that they are done properly there.

Oh yes, and remove the template txt files from there, if the moderators see that, they'll ... warn you!
LoL

Rgds

arek
04-16-2005, 07:25 PM
Ok. I checked the functions_showthread, and u are right, i forgot these. but after doing it it also dont work :(

sv1cec
04-17-2005, 04:26 AM
And what it does now? It still doesn't work doesn't help me much. Any differences? Or is it that it still does not show in postbit?

arek
04-18-2005, 11:53 AM
It still does not show in postbit. It is the same like before.

sv1cec
04-18-2005, 02:48 PM
Well, then something is not right in showthread.php, functions_showthread.php or the postbit/postbit_legacy templates.

arek
04-18-2005, 02:49 PM
Could it depend on my skin?

sv1cec
04-18-2005, 03:06 PM
If you are using more than one skin, you need to copy the templates to all your skins. There is a sticky thread about this in the Forum.

Rgds

arek
04-18-2005, 03:10 PM
i read already these thread about copy, i have only the standard skin + 1, and i chose the standard skin with the copierer but it didnt show files to copy only when i chose the other skin it shows files to copy.

sv1cec
04-19-2005, 04:41 AM
Arek,

I can't help you on that. I have no idea how that hack works. However, you should make sure that the new templates are added in every skin you are using and that the existing templates are changed in every skin you are using.

Rgds