Page 1 of 1

Warnings info

Posted: 18 May 2010, 12:25
by Oliver
Warnings info

Stoker may be added to this Snippets.

Warnings appear below the avatar.
Only administrators will see the number of warnings and information.

1. save picture Image

Open. Prosilver viewtopic_body.html

Find:

Code: Select all

		<!-- BEGIN custom_fields -->
			<dd><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
		<!-- END custom_fields -->
Add after:

Code: Select all

<!-- IF U_MCP and postrow.POSTER_WARNINGS neq 0 --><br><br><dd><img src="IMAGE ADRESS HERE">&nbsp;&nbsp;<span><b>{L_WARNINGS} {postrow.POSTER_WARNINGS}</b></span></dd><br><br>&bull; YOUR TEXT1<br>&bull; YOUR TEXT2<!-- ENDIF -->

I have put the following information.

YOUR TEXT1 = how long one last warning.
YOUR TEXT2 = how many warnings should be banned.


Example:

[hsimg]http://img692.imageshack.us/img692/2816/furious.jpg[/hsimg]

Re: GOOD SNIPPETS HERE

Posted: 18 May 2010, 13:19
by cisco007
Oliver could you please change the topic title!?

Re: Warnings info

Posted: 18 May 2010, 14:41
by Oliver
Ok. Now its Warnings info.

Re: Warnings info

Posted: 18 May 2010, 15:12
by cisco007
so is this a support question? or are you posting a snippet?

Re: Warnings info

Posted: 18 May 2010, 15:33
by Oliver
Im made snippets.. Stoker or you can added to this Snippets area.

Re: Warnings info

Posted: 14 Aug 2010, 16:17
by neptune
how it can be done,that not only admins see the warning?

Re: Warnings info

Posted: 14 Aug 2010, 16:27
by Steve
remove from the code:

Code: Select all

U_MCP and