Warnings info

Support for PhpBB3.
Post here to get help with any phpBB3 related issue
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
If not your topic may be ignored or locked!

Warnings info

Post 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]
You do not have the required permissions to view the files attached to this post.
Last edited by Oliver on 27 May 2010, 13:25, edited 9 times in total.

Re: GOOD SNIPPETS HERE

Post by cisco007 »

Oliver could you please change the topic title!?

Re: Warnings info

Post by Oliver »

Ok. Now its Warnings info.

Re: Warnings info

Post by cisco007 »

so is this a support question? or are you posting a snippet?

Re: Warnings info

Post by Oliver »

Im made snippets.. Stoker or you can added to this Snippets area.

Re: Warnings info

Post by neptune »

how it can be done,that not only admins see the warning?

Re: Warnings info

Post by Steve »

remove from the code:

Code: Select all

U_MCP and