[SOLVED]Include number of yellow cards beside users post

In fact this as a Image Image Image Image Red/yellow/Green and blue mod, also known as the ban user / repport post to moderator system

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Postby fareway on Mon 28. Feb, 2005 23:10

If the how-to is the install file then why isnt it in there? :roll:

And if you wait a few weeks to post a reply then people will start "crying" :evil:
fareway
Poster
Poster
 
Posts: 21
Joined: Thu 03. Feb, 2005 18:02

Postby fareway2 on Fri 04. Mar, 2005 05:13

So you do find the time to ban me but not to answer the question... yeah, you're very mature :roll:
fareway2
Poster
Poster
 
Posts: 4
Joined: Fri 04. Mar, 2005 05:11

Postby Blisk on Wed 16. Mar, 2005 09:38

kooky wrote:
fareway wrote:
And where is the how-to?
how to is the install.txt :?
stop crying in the shoutbox, it's not a positive attitude to have support by any user :wink:


I didn't find that in install.txt
I like to know too, where can someone see how many yellow cards he have!
Blisk
Poster
Poster
 
Posts: 128
Joined: Wed 20. Aug, 2003 14:14

Postby ChrisIsBored on Sun 08. May, 2005 18:28

Blisk wrote:I didn't find that in install.txt
I like to know too, where can someone see how many yellow cards he have!


This is how it looks: [click me to view]

This is how my current viewtopic_body.tpl looks:
Code: Select all
<tr>
          <td>
            <span class="postdetails"> {postrow.CARD_IMG}<br /> {postrow.POSTER_AVATAR}<br /><br />
            {postrow.POSTER_RANK}<br />
            {postrow.RANK_IMAGE}<span nowrap="nowrap">{postrow.POSTER_JOINED}</span><br />
            {postrow.POSTER_POSTS}<br />
            {postrow.POSTER_FROM}<br />
            {postrow.POSTER_STATUS}</span>
            <!-- <img src="templates/{T_THEME_NAME}/images/spacer.gif" alt="" width="150" height="1" /> -->
          </td>
        </tr>



/language/lang_english/lang_main.php has the following little entry that you may or may not want to edit:

$lang['Warnings'] = 'Warnings: %d'; //shown beside users post, if any warnings given to the user


viewtopic.php

$card_img = ($user_warnings) ? '<img src="'.(( $user_warnings < $board_config['max_user_bancard']) ?
$images['icon_yr_card'] . '" alt="'. sprintf($lang['Warnings'], $user_warnings) .'">' . '<br />' . sprintf($lang['Warnings'],$user_warnings):
$images['icon_rr_card'] . '" alt="'. $lang['Banned'] .'">') : '';



You'll have to forgive the absense of any sort of notation towards current code lines, as i'm running this mod on PNphpBB. Needless to say things are not all quite the same. ;)

Hope that helps someone.

~Chris ;)
ChrisIsBored
Poster
Poster
 
Posts: 1
Joined: Sun 08. May, 2005 18:14

Previous

Return to Yellow card [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron