[ABD] TULIP: Tiny User Locator by IP

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.
Locked
User avatar
dpaanlka
Registered User
Posts: 286
Joined: Wed May 10, 2006 6:48 pm
Location: Chicago, USA
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by dpaanlka » Thu Oct 29, 2009 5:43 pm

katib wrote:
dpaanlka wrote:Is that part of phpBB? I can't find that anywhere.
No, but a list of online guests along with theire IPs is availabe for Moderators and admins at:
yoursite.com/viewonline.php?sg=1
Ah yes, thanks for reminding me of that. I'll get to work on this to find a simpler and elegant solution.

I've setup a dev board by the way, at http://www.danpalka.com/phpbb

I'll be trying out edits and stuff there before posting them here.
phpBB user and evangelist since 2005.
My boards: Info-Mac | System 7 Today

User avatar
Marcus Wendel
Registered User
Posts: 534
Joined: Sun Mar 10, 2002 5:58 pm
Location: Sweden
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by Marcus Wendel » Thu Oct 29, 2009 6:05 pm

mtrs wrote:
Marcus Wendel wrote:Thanks but what does need to be changed in it to work within this mod instead of in the memberslist?
Of course, you should prefer only a one time code run and update all users data. Having said that, the code, I gave a link of, is a simple example. It updates an unset IP number once the profile of a user is clicked. Database query is run only once.
I solved it by copying memberlist.php to a new file called ip-fix.php, in that file I added your code and changed the number of results to a suitably large numbers to handle a large number of users at a time.

/Marcus

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [DEV] TULIP: Tiny User Locator by IP

Post by katib » Thu Oct 29, 2009 6:08 pm

Marcus Wendel wrote:I solved it by copying memberlist.php to a new file called ip-fix.php, in that file I added your code and changed the number of results to a suitably large numbers to handle a large number of users at a time.
/Marcus
Please, could you share your edits ?
How to make changes to php and html files?

User avatar
Marcus Wendel
Registered User
Posts: 534
Joined: Sun Mar 10, 2002 5:58 pm
Location: Sweden
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by Marcus Wendel » Thu Oct 29, 2009 6:15 pm

katib wrote:
Marcus Wendel wrote:I solved it by copying memberlist.php to a new file called ip-fix.php, in that file I added your code and changed the number of results to a suitably large numbers to handle a large number of users at a time.
Please, could you share your edits ?
How to make changes to php and html files?
First I added the code posted by mtrs at http://www.phpbb.com/community/viewtopi ... 5#p9474635 and then I changed

Code: Select all

$result = $db->sql_query_limit($sql, $config['topics_per_page'], $start);
to the below, this mean 1000 members will be handled at one time.

Code: Select all

$result = $db->sql_query_limit($sql, '1000', $start);
I use the free Notepad++ as editor, you can download it at http://notepad-plus.sourceforge.net

/Marcus
Last edited by Marcus Wendel on Mon Dec 28, 2009 6:38 pm, edited 1 time in total.

User avatar
Marcus Wendel
Registered User
Posts: 534
Joined: Sun Mar 10, 2002 5:58 pm
Location: Sweden
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by Marcus Wendel » Thu Oct 29, 2009 8:08 pm

Serbian addresses are correctly recognized but no Serbian flag is included.

/Marcus

User avatar
dpaanlka
Registered User
Posts: 286
Joined: Wed May 10, 2006 6:48 pm
Location: Chicago, USA
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by dpaanlka » Thu Oct 29, 2009 8:16 pm

Marcus Wendel wrote:Serbian addresses are correctly recognized but no Serbian flag is included.

/Marcus
Hey sorry about that!

The flags I included with the package were made by someone else. I personally didn't like how they looked, and made my own set for my website. It does include a Serbian flag.

You can download it here: http://www.info-mac.org/flags/SI.gif

I'll make a new package with the better flags right now.
phpBB user and evangelist since 2005.
My boards: Info-Mac | System 7 Today

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

Re: [DEV] TULIP: Tiny User Locator by IP

Post by 3Di » Fri Oct 30, 2009 4:29 pm

dpaanlka wrote:
3Di wrote:
dpaanlka wrote:Is that part of phpBB? I can't find that anywhere.
It is a part of my MOD: http://gold.io3di.com/index.php ;)
I'm assuming phpBB maintains a list of the last IPs to have visited the board in the past however many minutes? If so this shouldn't be that hard to implement.
Nope, wrong assumption. :)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

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

Re: [DEV] TULIP: Tiny User Locator by IP

Post by 3Di » Fri Oct 30, 2009 4:32 pm

katib wrote:
3Di wrote: It is a part of my MOD: http://gold.io3di.com/index.php ;)
Yes you are right
However you did say here:
http://gold.io3di.com/viewtopic.php?p=684#p684
This version has been tested and runs only on phpBB 3.0.4 though.
So I wonder, is there any one still using 3.0.4 ?
By the way, Your board looks very nice ;)
the IPCF for phpBB 3.0.6 RC3 version has been fixed right of today. Isn't public till phpBB 3.0.6 will be released though. ;)

Anyway: @ the Author of this MOD that belongs of this topic... keep up the good work and sorry for the intrusions. And a suggestion: what about if the server it is down? Will your MOD stand on that delay or?

Regards.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

User avatar
Neuropass
Registered User
Posts: 1158
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: [DEV] TULIP: Tiny User Locator by IP

Post by Neuropass » Fri Oct 30, 2009 4:41 pm

any screen shot? i'm not sure i understood this mod.... :oops:

User avatar
dpaanlka
Registered User
Posts: 286
Joined: Wed May 10, 2006 6:48 pm
Location: Chicago, USA
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by dpaanlka » Fri Oct 30, 2009 5:16 pm

3Di wrote:Nope, wrong assumption. :)
Then how do you explain all the guest IP addresses in viewtopic.php?
3Di wrote:And a suggestion: what about if the server it is down? Will your MOD stand on that delay or?
This mod doesn't rely on any remote server.
Neuropass wrote:any screen shot? i'm not sure i understood this mod.... :oops:
Image
phpBB user and evangelist since 2005.
My boards: Info-Mac | System 7 Today

User avatar
Marcus Wendel
Registered User
Posts: 534
Joined: Sun Mar 10, 2002 5:58 pm
Location: Sweden
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by Marcus Wendel » Fri Oct 30, 2009 7:50 pm

The Guernsey flag is also missing.

/Marcus

User avatar
dpaanlka
Registered User
Posts: 286
Joined: Wed May 10, 2006 6:48 pm
Location: Chicago, USA
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by dpaanlka » Fri Oct 30, 2009 8:02 pm

Updated the zip file to include 22 new missing flags.

http://www.danpalka.com/phpbb/download/file.php?id=8
phpBB user and evangelist since 2005.
My boards: Info-Mac | System 7 Today

User avatar
Marcus Wendel
Registered User
Posts: 534
Joined: Sun Mar 10, 2002 5:58 pm
Location: Sweden
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by Marcus Wendel » Sun Nov 01, 2009 10:01 am

dpaanlka wrote:Updated the zip file to include 22 new missing flags.

http://www.danpalka.com/phpbb/download/file.php?id=8
You might want to check the size of the Nauru flag :-)

I also recommend that you remove the Mac-related files that have no part in the actual mod.

/Marcus

User avatar
Marcus Wendel
Registered User
Posts: 534
Joined: Sun Mar 10, 2002 5:58 pm
Location: Sweden
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by Marcus Wendel » Sun Nov 01, 2009 10:02 am

So far this mod has been running fine in my forums, both in the small ones with low traffic and the biggest one with a lot of traffic, I'm very pleased with it.

/Marcus

User avatar
dpaanlka
Registered User
Posts: 286
Joined: Wed May 10, 2006 6:48 pm
Location: Chicago, USA
Contact:

Re: [DEV] TULIP: Tiny User Locator by IP

Post by dpaanlka » Sun Nov 01, 2009 9:17 pm

Marcus Wendel wrote:
You might want to check the size of the Nauru flag :-)
Thanks... fixed.
phpBB user and evangelist since 2005.
My boards: Info-Mac | System 7 Today

Locked

Return to “[3.0.x] Abandoned MODs”