[ABD] Visual Warning Mod

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
vito25
Registered User
Posts: 25
Joined: Tue Aug 21, 2007 9:24 pm

[ABD] Visual Warning Mod

Post by vito25 » Sat Nov 24, 2007 6:00 am

MOD Title: Visual Warning MOD
MOD Description: Publicaly displays the number of warnings a user.
MOD Version:Release 1.0
phpBB Version: 3.0.0
Tested ALL RC

MOD Download: Visual Warning MOD - Release 1.0

Demo Board: http://www.chilebkn.info/viewtopic.php?f=8&t=132


Image
Image


Install:

Open: root/viewtopic.php
Find:

Code: Select all

$postrow = array(
Before Add:

Code: Select all

$warnings = array('POSTER_WARNINGS'	=> $user_cache[$poster_id]['warnings'],);
Find:

Code: Select all

'<a href="' . $viewtopic_url . "&p={$row['post_id']}&view=show#p{$row['post_id']}" . '">', '</a>') : '',
After Add:

Code: Select all

'W_IMG' => '<img src="./styles/prosilver/imageset/warns/warn'.$warnings['POSTER_WARNINGS'].'.jpg" border="0"> ('.($warnings['POSTER_WARNINGS']*100/5).'%)',
Open: root/styles/prosilver/template/viewtopic_body.html
Find:

Code: Select all

<!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->
After Add:

Code: Select all

 <dd><strong>Warnings:</strong> {postrow.W_IMG}</dd>
Remeber Upload all files Images. :arrow:
Last edited by vito25 on Sun Dec 16, 2007 3:52 am, edited 9 times in total.

ghettowboy
Registered User
Posts: 216
Joined: Tue Jun 12, 2007 3:53 pm

Re: [ RC ] Visual Warning Mod

Post by ghettowboy » Sat Nov 24, 2007 11:44 am

just wondering, whats the percentage thing for....... i find that a bit confusing and kinda not making sense(to me anyways)...since warnings are not percentage based.. :?:

vito25
Registered User
Posts: 25
Joined: Tue Aug 21, 2007 9:24 pm

Re: [ RC ] Visual Warning Mod

Post by vito25 » Sat Nov 24, 2007 2:14 pm

1 warn = 20 %
2 warn = 40 %
3 warn = 60 %
4 warn = 80 %
5 warn = 100%

or

You can switch to a number :D

ghettowboy
Registered User
Posts: 216
Joined: Tue Jun 12, 2007 3:53 pm

Re: [ RC ] Visual Warning Mod

Post by ghettowboy » Sat Nov 24, 2007 2:22 pm

i see...... its a different alternative and would give some uniuqeness i suppose..

anyways
well done :D

.:: Chico ::.
Registered User
Posts: 463
Joined: Fri Aug 03, 2007 6:35 am
Location: Rio de Janeiro
Contact:

Re: [ RC ] Visual Warning Mod

Post by .:: Chico ::. » Sat Nov 24, 2007 2:58 pm

really great!
much better!
I'm gonna test it!

thank you a lot!

User avatar
***Blaze***
Registered User
Posts: 53
Joined: Tue May 22, 2007 6:21 am
Location: Dankov, Russia
Name: Aleksej
Contact:

Re: [ RC ] Visual Warning Mod

Post by ***Blaze*** » Sat Nov 24, 2007 6:12 pm

vito25 I need a code to this mod. Can you give it?
My website ublaze.ru

mladen88
Registered User
Posts: 158
Joined: Wed May 30, 2007 9:06 pm

Re: [ RC ] Visual Warning Mod

Post by mladen88 » Sat Nov 24, 2007 9:43 pm

Can you create installation file? because some ppl have already other mods and edited files..pls make install file and type what to edit in those files..

vito25
Registered User
Posts: 25
Joined: Tue Aug 21, 2007 9:24 pm

Re: [ RC ] Visual Warning Mod

Post by vito25 » Sat Nov 24, 2007 9:50 pm

I will create the file install
.

Available Soon

luckyp79
Registered User
Posts: 140
Joined: Sat Nov 10, 2007 1:54 am
Location: Minnesota
Contact:

Re: [ RC ] Visual Warning Mod

Post by luckyp79 » Sat Nov 24, 2007 9:59 pm

Thanks. I will be waiting for that as well.

notsa
Registered User
Posts: 253
Joined: Sat Jul 28, 2007 7:37 pm

Re: [ RC ] Visual Warning Mod

Post by notsa » Sun Nov 25, 2007 2:08 am

ya nice one bro can't wait for n install file. :) :)

.:: Chico ::.
Registered User
Posts: 463
Joined: Fri Aug 03, 2007 6:35 am
Location: Rio de Janeiro
Contact:

Re: [ RC ] Visual Warning Mod

Post by .:: Chico ::. » Tue Nov 27, 2007 4:25 pm

vito25 wrote:I will create the file install
.

Available Soon
Thanks.
Viewtopic is very used in mod installations, just rewrite with yours will crash most of then (mean ALL, haha)

Bye

vito25
Registered User
Posts: 25
Joined: Tue Aug 21, 2007 9:24 pm

Re: [ RC ] Visual Warning Mod

Post by vito25 » Tue Dec 04, 2007 9:23 pm

Done, code Add.

mladen88
Registered User
Posts: 158
Joined: Wed May 30, 2007 9:06 pm

Re: [ RC ] Visual Warning Mod

Post by mladen88 » Sat Dec 08, 2007 7:01 am

i installed and every thing looks fine, but i see just Warnings: (40%) without pics??

vito25
Registered User
Posts: 25
Joined: Tue Aug 21, 2007 9:24 pm

Re: [ RC ] Visual Warning Mod

Post by vito25 » Sat Dec 08, 2007 7:11 am

Hi,

Need upload images and clear cache :D

mladen88
Registered User
Posts: 158
Joined: Wed May 30, 2007 9:06 pm

Re: [ RC ] Visual Warning Mod

Post by mladen88 » Sat Dec 08, 2007 11:46 am

i already do that 10 times but don't work... i look files again if i install corectly and every thing is ok, but visual warning dont show just 10% 20% 30%...

Locked

Return to “[3.0.x] Abandoned MODs”