Warnings info

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
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.
Else your topic may be ignored or locked!
Locked
User avatar
Oliver
BBCoder III
BBCoder III
Posts: 120
Joined: 07 Mar 2010, 11:55

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]
Attachments
warnings.gif
warnings.gif (1.15 KiB) Viewed 3212 times
Last edited by Oliver on 27 May 2010, 15:25, edited 9 times in total.
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: GOOD SNIPPETS HERE

Post by cisco007 »

Oliver could you please change the topic title!?
User avatar
Oliver
BBCoder III
BBCoder III
Posts: 120
Joined: 07 Mar 2010, 11:55

Re: Warnings info

Post by Oliver »

Ok. Now its Warnings info.
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Warnings info

Post by cisco007 »

so is this a support question? or are you posting a snippet?
User avatar
Oliver
BBCoder III
BBCoder III
Posts: 120
Joined: 07 Mar 2010, 11:55

Re: Warnings info

Post by Oliver »

Im made snippets.. Stoker or you can added to this Snippets area.
User avatar
neptune
BBCoder II
BBCoder II
Posts: 35
Joined: 09 Mar 2010, 12:23

Re: Warnings info

Post by neptune »

how it can be done,that not only admins see the warning?
Image
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 848
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: Warnings info

Post by Steve »

remove from the code:

Code: Select all

U_MCP and
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
Locked