[RC13] IP Country Flag 2.9.6b full (2008-03-20)

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! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
User avatar
3Di
Registered User
Posts: 12533
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC13] IP Country Flag 2.9.6a (2007-06-18)

Post by 3Di » Sat Jun 23, 2007 10:48 am

Murano_Nissan wrote:Hi man, i aplied 3 fixed and is the same, ip addres on registration from flag, dont change and flag in registration, only i see zz.png, i check file user cp register around 4 times, and i take backup and install again whit 3 fixed but dont change....... if you have 1 min you can see my user cp register? i dont know what to do :cry: thx man....
Please PM me a link to the board you're running with this MOD, I would like to check it out first. Thanks.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
bum63
Registered User
Posts: 262
Joined: Tue Oct 10, 2006 8:36 pm

Re: [RC13] IP Country Flag 2.9.6a (2007-06-18)

Post by bum63 » Sat Jun 23, 2007 12:45 pm

3Di wrote:@bum63, this should solve your probs. Edit the page_header.php file you sent me with the following changes:

FIND (just find it and continue with the next step)

Code: Select all

				if ( $row['user_allow_viewonline'] )
				{
FIND (into a longer line..)

Code: Select all

$lang['IP2Country'][$row['session_cf_iso3661_1']] . '" /> 
REPLACE WITH

Code: Select all

$lang['IP2Country'][$row['session_cf_iso3661_1']] . '" />&nbsp;' . $row['username'] . '</a>';
FIND (just find it and continue with the next step)

Code: Select all

					$logged_visible_online++;
				}
				else
				{
FIND (into a longer line..)

Code: Select all

$lang['IP2Country'][$row['session_cf_iso3661_1']] . '" />&nbsp
REPLACE WITH

Code: Select all

$lang['IP2Country'][$row['session_cf_iso3661_1']] . '" />&nbsp;' . $row['username'] . '</i></a>';
END (save & close)
Thanks 3Di
this fix did the trick

User avatar
3Di
Registered User
Posts: 12533
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC13] IP Country Flag 2.9.6a (2007-06-18)

Post by 3Di » Sat Jun 23, 2007 4:14 pm

bum63 wrote:Thanks 3Di
this fix did the trick
Fine :) Thank you.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
3Di
Registered User
Posts: 12533
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC13] IP Country Flag 2.9.6a (2007-06-18)

Post by 3Di » Sat Jun 23, 2007 4:21 pm

@ Murano_Nissan:
the following
IP Country Flag 2.9.4 © 2005, 2007 - 3Di (aka 3D)
indicates you are not running the latest IP CF 2.9.6a version. Anyway I did register at your board and I saw it is a little bit screwed up by other MODs (like gender).. I'm not assuming those MODs screwed it up but for sure there is something wrong, (templates speak books to me).

I saw, anyway, your IP on Reg Flag doesn't work as expected, you could try to PM me your files related to it, indeed.

I just want you to know, anyway, I have not so much time to catch other installations errors, not for free.

All of this being said, please PM me the files related to IP on REG Flag, I'll be more than glad to check them out.

Regards.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
3Di
Registered User
Posts: 12533
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC13] IP Country Flag 2.9.6a (2007-06-18)

Post by 3Di » Sun Jun 24, 2007 12:57 pm

3Di wrote:@ Murano_Nissan:
It seems to me you misplaced the related VALUES for the SQL in includes/usercp_register.php, the one you sent me.

IN-LINE FIND (inside your line #720)

Code: Select all

" . sprintf('%02d%02d%04d',$bday_month,$bday_day,$bday_year) . ", '" . $userdata['session_ip']. "', '" . str_replace("\'", "''", $icq) . "'
IN-LINE REPLACE WITH

Code: Select all

'" . $userdata['session_ip']. "', '" . str_replace("\'", "''", $icq) . "', " . sprintf('%02d%02d%04d',$bday_month,$bday_day,$bday_year) . "
SAVE & CLOSE

This should solve your issue.
Regards
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

Murano_Nissan
Registered User
Posts: 5
Joined: Thu May 24, 2007 6:40 am

Re: [RC13] IP Country Flag 2.9.6a (2007-06-18)

Post by Murano_Nissan » Mon Jun 25, 2007 5:56 am

Ok.... thanks You RoX :D

User avatar
3Di
Registered User
Posts: 12533
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC13] IP Country Flag 2.9.6a (2007-06-18)

Post by 3Di » Mon Jun 25, 2007 9:08 pm

Murano_Nissan wrote:Ok.... thanks You RoX :D
And now probably also your BDays MOD works as expected.. ;)
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

Murano_Nissan
Registered User
Posts: 5
Joined: Thu May 24, 2007 6:40 am

Re: [RC13] IP Country Flag 2.9.6a (2007-06-18)

Post by Murano_Nissan » Tue Jun 26, 2007 2:24 am

I will see, now i am transporting old data base of my old forum........ thx :mrgreen:

User avatar
3Di
Registered User
Posts: 12533
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC13] IP Country Flag 2.9.6a (2007-06-18)

Post by 3Di » Tue Jun 26, 2007 4:46 pm

Murano_Nissan wrote:I will see (snip)....... thx :mrgreen:
You will. :ugeek:
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

niru
Registered User
Posts: 18
Joined: Sun Mar 25, 2007 4:34 am

Re: [RC12] IP Country Flag 2.9.4 (2007-04-08)

Post by niru » Mon Jul 30, 2007 10:29 am

3Di wrote:Let's say we are starting a personal war against SPAM, here we go with this small improvement (just to start ;)).. let's see how many spammers we'll get after this, please report. In the meantime I'm coding a little surprise to add to this. 8)

The User Flag Selection it is now mandatory on registration (not in Editing profile though), being a drop-down menu (and also because all the spammers I got at my board didn't care about it) probably it is a good start.

Code: Select all

#
# Improvement of IP CF 2.9.4 #1
# It's an add-on, not a FIX
# we are starting our personal war against spam, stay tuned ^_^
#
# 2007/05/10 by 3Di
#
#-----[ OPEN ]------------------------------------------------
#
includes/usercp_register.php
#
#-----[ FIND ]------------------------------------------------
#
			// Get current date
			//
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : IP Country Flag II ----------------------------------------------
// New anti-spam thinghy for IP CF 2.9.6
			if ( $user_flag_iso == 'zzpng' )
			{
				message_die(GENERAL_MESSAGE, $lang['Provide_secondary_flag']);
			}
//-- end mod : IP Country Flag II ------------------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
language/lang_english/lang_extend_ip_cf.php
#
#-----[ FIND ]------------------------------------------------
#
$lang['Bots_Manager']											= 'Bots manager';
#
#-----[ AFTER, ADD ]------------------------------------------
#
// New for IP CF 2.9.6, a kind of anti-spam thinghy.. let's check it.
$lang['Provide_secondary_flag']									= 'In order to get registered at this board we need you to select also your <b>Country of choice\'s Flag</b> <i>(AKA User Flag)</i>. <br /><br />Use the <b>Back</b> button of your browser and try again, please.';
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/profile_add_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
	  <td class="row1"><span class="gen">{L_FLAG}:</span></td>
#
#-----[ REPLACE WITH ]----------------------------------------
#
	  <td class="row1"><span class="gen">{L_FLAG}: *</span></td>
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
Hi dude! I'm back after a short break!!
Thanks for those new additions! ;)
One question!!
Is there any changes in the codes to upgrade to IP Country Flag 2.9.6a (2007-06-18)
Btw, My site address is changed to http://www.FunLokam.Com :D

User avatar
3Di
Registered User
Posts: 12533
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC13] IP Country Flag 2.9.6a (2007-06-18)

Post by 3Di » Tue Jul 31, 2007 4:27 pm

Which version are you currently running, sorry?
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

Peter77sx
Registered User
Posts: 3247
Joined: Wed Nov 09, 2005 2:51 pm

Re: [RC13] IP Country Flag 2.9.6a (2007-06-18)

Post by Peter77sx » Wed Aug 01, 2007 11:14 pm

Hello, 3Di.. if I had to install IP Country flag to UOT MOD ( manually ), how would I be able to do that? I am attempting to port the mod over to mxbb's 'who is online' block for one of my boards. Hopefully I can find some hints from your response.

thanks!

User avatar
3Di
Registered User
Posts: 12533
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC13] IP Country Flag 2.9.6a (2007-06-18)

Post by 3Di » Sun Aug 05, 2007 3:22 pm

Hi, unfortunately I don't recall the way that MOD works, I checked it a long time ago. But yes it could be possible if you will adapt its code to IP Country Flag AFAIR. Check it out first with a test board IMHO. :)

Regards
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

Peter77sx
Registered User
Posts: 3247
Joined: Wed Nov 09, 2005 2:51 pm

Re: [RC13] IP Country Flag 2.9.6a (2007-06-18)

Post by Peter77sx » Tue Aug 07, 2007 8:21 pm

Oh... I thought that's what you used for this MOD. The MOD that logs in who visited?

Thanks, I'll keep trying.

User avatar
3Di
Registered User
Posts: 12533
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC13] IP Country Flag 2.9.6a (2007-06-18)

Post by 3Di » Thu Aug 09, 2007 4:09 pm

Nope, I'm using some old reddog's code for that, credits are well stated somewhere in the script/code, though. :)

In order you to use the code you want to, instead of mine, you should first remove mine.
Not so hard, feel free to ask in case.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

Locked

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

Who is online

Users browsing this forum: No registered users and 12 guests