[RC] Country Flag User Edition

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Ideas Centre
User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: [RC] Country Flag User Edition

Post by oddfish » Fri Jan 08, 2010 5:06 am

big-ste wrote:is automod a waste of time because i'm getting erroer all the time with it?
The RC release is accurate using AuotMOD with a vanilla install of phpbb3.0.6. AutoMOD will show errors of this nature with altered code so have a look at your code in memberlist.php around line 155 for this :

Code: Select all

u.user_colour, u.user_rank,
you might find an adjusted line there. You could adjust the xml to the line you have if you are comfortable with making changes to xml files and then try again, or as RMcGirr83 has stated, editing the files works. ;)

cheers,
oddfish.
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net

bshenkd
Registered User
Posts: 36
Joined: Sat Jan 16, 2010 9:53 pm

Re: [RC] Country Flag User Edition

Post by bshenkd » Sun Jan 24, 2010 9:28 pm

Nevermind, I'm retarded. (:

big-ste
Registered User
Posts: 53
Joined: Tue Jan 05, 2010 3:23 pm

Re: [RC] Country Flag User Edition

Post by big-ste » Tue Jan 26, 2010 3:32 pm

does this work right with 3.0.6?

User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: [RC] Country Flag User Edition

Post by oddfish » Wed Jan 27, 2010 4:11 am

big-ste wrote:does this work right with 3.0.6?
it does.
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net

big-ste
Registered User
Posts: 53
Joined: Tue Jan 05, 2010 3:23 pm

Re: [RC] Country Flag User Edition

Post by big-ste » Wed Jan 27, 2010 4:11 pm

oddfish wrote:
big-ste wrote:does this work right with 3.0.6?
it does.
i'm having a little problem understand this

Code: Select all

Copy: root/umil/*.* 
To: umil/*.* 
Copy: root/images/flags/*.* 
To: images/flags/*.* 
what does *.* mean is it moving the all of the folder?

big-ste
Registered User
Posts: 53
Joined: Tue Jan 05, 2010 3:23 pm

Re: [RC] Country Flag User Edition

Post by big-ste » Thu Jan 28, 2010 12:55 am

sorry about double posting on here :P i got it work without a big problem :lol: but i have found a little problem you dont have a england, wales, scotland and n. ireland on it :P how do you add your own flags?

User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: [RC] Country Flag User Edition

Post by oddfish » Thu Jan 28, 2010 5:58 am

big-ste wrote:sorry about double posting on here :P i got it work without a big problem :lol: but i have found a little problem you dont have a england, wales, scotland and n. ireland on it :P how do you add your own flags?
correct - iso standard is a United Kingdom flag only lol -- there are a few more that are not standard also but easily added in the Manage country flags section in ACP...MODs. You'll find the add new country flag down the bottom of that page.
you can get these individual flags from anywhere but try these and resize as per default flags in your flag directory : http://globalgenealogy.com/flags/uk.htm. name them accordingly (i.e en.png for England, wa.png Wales, sd.png Scotland (or S1.png and S2.png for old and new flags), ie.png Ireland, etc) .. check that the names do not conflict with the default names.

that should get you there, but do tell if a problem.
oddfish.
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net

User avatar
Frogmen
Registered User
Posts: 101
Joined: Fri Dec 28, 2007 11:48 pm
Location: Palma De Mallorca. Spain

Re: [RC] Country Flag User Edition

Post by Frogmen » Mon Feb 01, 2010 12:39 am

Hello, I install time ago the Country Flag MOD, the old one. And never work to me, now I want to work that MOD again and I proceed as fellow:

:arrow: I uninstall the Group feature according to your instructions.
:arrow: I'm checking all my files according to your instructions for installing the MOD and everything was working fine till I arrive nearly at the end in styles/prosilver/template/memberlist_leaders.html:

Code: Select all

Find
Tip: This may be a partial find and not the whole line.

Code:Select all
		<td colspan="3"><strong>{L_NO_ADMINISTRATORS}</strong></td>
Replace with
Tip: Replace the preceding line(s) to find with the following lines.

Code:Select all
		<td colspan="4"><strong>{L_NO_ADMINISTRATORS}</strong></td>
The problem is that I do not have the line:

<td colspan="3"><strong>{L_NO_ADMINISTRATORS}</strong></td>

This is all my file styles/prosilver/template/memberlist_leaders.html:

Code: Select all

<!-- INCLUDE overall_header.html -->

<h2 class="solo">{PAGE_TITLE}</h2>

<form method="post" action="{S_MODE_ACTION}">

<div class="forumbg">
	<div class="inner"><span class="corners-top"><span></span></span>

	<table class="table1" cellspacing="1">
	<thead>
	<tr>
		<th class="name"><span class="rank-img">{L_RANK}&nbsp;</span>{L_ADMINISTRATORS}</th>
		<th nowrap="nowrap">{L_COUNTRY}</th>
		<th class="info">{L_PRIMARY_GROUP}</th>
		<th class="info">{L_FORUMS}</th>
	</tr>
	</thead>
	<tbody>
<!-- BEGIN admin -->
	<tr class="<!-- IF admin.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
		<td><!-- IF admin.RANK_IMG --><span class="rank-img">{admin.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{admin.RANK_TITLE}</span><!-- ENDIF -->{admin.USERNAME_FULL}</td>
		<td align="center" nowrap="nowrap"><!-- IF admin.FLAG_IMG -->{admin.FLAG_IMG}<!-- ELSE -->{admin.FLAG_COUNTRY} ({admin.FLAG_CODE})<!-- ENDIF --></td>
		<td class="info"><!-- IF admin.U_GROUP -->
			<a<!-- IF admin.GROUP_COLOR --> style="font-weight: bold; color:#{admin.GROUP_COLOR}"<!-- ENDIF --> href="{admin.U_GROUP}">{admin.GROUP_NAME}</a>
			<!-- ELSE -->
				{admin.GROUP_NAME}
			<!-- ENDIF --></td>
		<td class="info">-</td>
	</tr>
<!-- BEGINELSE -->
	<tr class="bg1">
		<td colspan="4"><strong>{L_NO_MEMBERS}</strong></td>
	</tr>
<!-- END admin -->
	</tbody>
	</table>
	
	<span class="corners-bottom"><span></span></span></div>
</div>

<div class="forumbg">
	<div class="inner"><span class="corners-top"><span></span></span>
	 
	<table class="table1" cellspacing="1">
	<thead>
	<tr>
		<th class="name">{L_MODERATORS}</th>
		<th nowrap="nowrap">{L_COUNTRY}</th>
		<th class="info">&nbsp;</th>
		<th class="info">&nbsp;</th>
	</tr>
	</thead>
	<tbody>
<!-- BEGIN mod -->
	<tr class="<!-- IF mod.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
		<td><!-- IF mod.RANK_IMG --><span class="rank-img">{mod.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{mod.RANK_TITLE}</span><!-- ENDIF -->{mod.USERNAME_FULL}</td>
		<td align="center" nowrap="nowrap"><!-- IF mod.FLAG_IMG -->{mod.FLAG_IMG}<!-- ELSE -->{mod.FLAG_COUNTRY} ({mod.FLAG_CODE})<!-- ENDIF --></td>
		<td class="info"><!-- IF mod.U_GROUP -->
			<a<!-- IF mod.GROUP_COLOR --> style="font-weight: bold; color:#{mod.GROUP_COLOR}"<!-- ENDIF --> href="{mod.U_GROUP}">{mod.GROUP_NAME}</a>
			<!-- ELSE -->
				{mod.GROUP_NAME}
			<!-- ENDIF --></td>
		<td class="info"><!-- IF not mod.FORUMS -->{L_ALL_FORUMS}<!-- ELSE --><select style="width: 100%;">{mod.FORUMS}</select><!-- ENDIF --></td>
	</tr>
<!-- BEGINELSE -->
	<tr class="bg1">
		<td colspan="4"><strong>{L_NO_MEMBERS}</strong></td>
	</tr>
<!-- END mod -->
	</tbody>
	</table>
	
	<span class="corners-bottom"><span></span></span></div>
</div>
	
</form>

<!-- INCLUDE jumpbox.html -->
<!-- INCLUDE overall_footer.html -->
I'm on PHPBB 3.0.4

Thks for your help.
Frogmen

User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: [RC] Country Flag User Edition

Post by oddfish » Mon Feb 01, 2010 6:46 am

where you have

Code: Select all

<!-- BEGINELSE -->
   <tr class="bg1">
      <td colspan="4"><strong>{L_NO_MEMBERS}</strong></td>
   </tr>
<!-- END admin -->
   </tbody>
   </table>
3.0.4 code should be

Code: Select all

<!-- BEGINELSE -->
	<tr class="bg1">
		<td colspan="3"><strong>{L_NO_ADMINISTRATORS}</strong></td>
	</tr>
<!-- END admin -->
	</tbody>
	</table>
also, is this remnant from the previous install??

Code: Select all

<td align="center" nowrap="nowrap"><!-- IF admin.FLAG_IMG -->{admin.FLAG_IMG}<!-- ELSE -->{admin.FLAG_COUNTRY} ({admin.FLAG_CODE})<!-- ENDIF --></td>
Think about updating to 3.0.6 as this current release is designed for it.

cheers,
oddfish.
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net

User avatar
Frogmen
Registered User
Posts: 101
Joined: Fri Dec 28, 2007 11:48 pm
Location: Palma De Mallorca. Spain

Re: [RC] Country Flag User Edition

Post by Frogmen » Mon Feb 01, 2010 10:03 am

Thks for your help, so I need to deleted?:

Code: Select all

<td align="center" nowrap="nowrap"><!-- IF admin.FLAG_IMG -->{admin.FLAG_IMG}<!-- ELSE -->{admin.FLAG_COUNTRY} ({admin.FLAG_CODE})<!-- ENDIF --></td>
rgds
Frogmen

User avatar
Frogmen
Registered User
Posts: 101
Joined: Fri Dec 28, 2007 11:48 pm
Location: Palma De Mallorca. Spain

Re: [RC] Country Flag User Edition

Post by Frogmen » Mon Feb 01, 2010 10:06 am

Sorry to fast aswering your msg, now I see in the instructions. Thks for you help, I'll upgrade to 3.0.6 as soon as I finish with this.

rgds
Frogmen

User avatar
Frogmen
Registered User
Posts: 101
Joined: Fri Dec 28, 2007 11:48 pm
Location: Palma De Mallorca. Spain

Re: [RC] Country Flag User Edition

Post by Frogmen » Mon Feb 01, 2010 11:56 am

So, I finish with the installation and everything is working fine, thks for your help. Now for tonight 3.0.6 installation, fingers cross. ;)

rgds
Frogmen

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [RC] Country Flag User Edition

Post by Gremlinn » Fri Feb 05, 2010 3:01 pm

RELEASE: Yeah! The mod team approved the release.

http://www.phpbb.com/community/viewtopi ... &t=1972535

Locked

Return to “[3.0.x] MODs in Development”