[ABD] CPF Member Search v.0.0.1

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.
MSliCK
Registered User
Posts: 6
Joined: Mon Aug 22, 2011 10:48 am

Re: [DEV] CPF Member Search v.0.0.1

Post by MSliCK »

hi this the list im using in drop down menu

[Select U.K County]
Aberdeenshire
Alderney
Angus/Forfarshire
Argyllshire
Avon
Ayrshire
Banffshire
Bedfordshire
Berkshire
Berwickshire
Buckinghamshire
Buteshire
Caithness
Cambridgeshire
Cheshire
Clackmannanshire
Clwyd
Cornwall
County Antrim
County Armagh
County Down
County Fermanagh
County Londonderry
County Tyrone
Cumbria
Derbyshire
Devon

(dont show any of these under this in member search but shows fine in profile)
Dorset
Dumbartonshire
Dumfriesshire
Durham
Dyfed
East Lothian
East Sussex
East Yorkshire
Essex
Fair Isle
Fife
Gloucestershire
Greater London
Greater Manchester
Guernsey
Gwent
Gwynedd
Hampshire
Herefordshire
Herm
Hertfordshire
Huntingdonshire
Inner Hebrides
Inverness-shire
Isle of Man
Isle of Wight
Isles of Scilly
Jersey
Kent
Kincardineshire
Kinross-shire
Kirkcudbrightshire
Lanarkshire
Lancashire
Leicestershire
Lincolnshire
Merseyside
Mid Glamorgan
Middlesex
Midlothian/Edinburghshire
Morayshire
Nairnshire
Norfolk
North Yorkshire
Northamptonshire
Northumberland
Nottinghamshire
Orkney
Orkney
Outer Hebrides
Oxfordshire
Peeblesshire
Perthshire
Powys
Renfrewshire
Ross-shire
Roxburghshire
Rutland
Sark
Selkirkshire
Shetland
Shetland
Shropshire
Somerset
South Glamorgan
South Yorkshire
Staffordshire
Stirlingshire
Suffolk
Surrey
Sutherland
Tyne and Wear
Warwickshire
West Glamorgan
West Lothian/Linlithgowshire
West Midlands
West Sussex
West Yorkshire
Wigtownshire
Wiltshire
Worcestershire

but last one it displays is devon
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] CPF Member Search v.0.0.1

Post by 4_seven »

hm, no clue. i test it out by bring in exact these fields in my testforum.
but, if all works ok on my board, i need a testuser (admin) and ftp-access to help you further.
Current Mods | Mod Base | php(BB) programming | No help via PM
MSliCK
Registered User
Posts: 6
Joined: Mon Aug 22, 2011 10:48 am

Re: [DEV] CPF Member Search v.0.0.1

Post by MSliCK »

ok if u can pm or email me if it dont work then ill can give u them details as i cant use pm on here
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] CPF Member Search v.0.0.1

Post by 4_seven »

wow. seems you find a bug . can you switch debug mode in config.php to on and post the error-result?
on my boards it shows 86 entrys (till Selkirkshire), for each more it gives one more error: Undefined offset: number+1.
wired, never enter so much entrys for testing before ;)
have you setup all single fields for dropdown in acp > cpf using genuine phpbb3 cpf?
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] CPF Member Search v.0.0.1

Post by 4_seven »

get it :geek:

it was a 1024 signs sql concat limitation*,
so all signs and words after this limit are cut away.
also the further index is missing, so the error Undefined offset: number+1 toses ;)
Info wrote:* http://dev.mysql.com/doc/refman/5.0/en/ ... tions.html
The result is truncated to the maximum length that is given by the group_concat_max_len system variable, which has a default value of 1024. The value can be set higher, although the effective maximum length of the return value is constrained by the value of max_allowed_packet. The syntax to change the value of group_concat_max_len at runtime is as follows, where val is an unsigned integer:

Code: Select all

SET [GLOBAL | SESSION] group_concat_max_len = val;
open

memberlist.php

find

Code: Select all

        $sql = SELECT field_name, field_ident, GROUP_CONCAT(lang_value) as lang_value, 
before add (in a new line before)

Code: Select all

        $sql = 'SET SESSION group_concat_max_len= 4096';
        $db->sql_query($sql);     
this is enough for ~ 428 entrys
currently you have 107 (normally 106, but one is doubled)

proof: http://4seven.kilu.de/phpbb3/memberlist ... searchuser

after some more tests package will be updated..
Current Mods | Mod Base | php(BB) programming | No help via PM
MSliCK
Registered User
Posts: 6
Joined: Mon Aug 22, 2011 10:48 am

Re: [DEV] CPF Member Search v.0.0.1

Post by MSliCK »

Hi mate great job works now great job i have tested it and checked in with all my U.S countys as well and both working good now so thank you
MSliCK
Registered User
Posts: 6
Joined: Mon Aug 22, 2011 10:48 am

Re: [DEV] CPF Member Search v.0.0.1

Post by MSliCK »

and i tryed to join your site but cant as what ever secret answer i put don't work
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] CPF Member Search v.0.0.1

Post by 4_seven »

you have pm.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
trigger_error
I've Been Banned!
Posts: 200
Joined: Mon Feb 21, 2011 1:27 pm

Re: [DEV] CPF Member Search v.0.0.1

Post by trigger_error »

Thank you for the fix :D
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] CPF Member Search v.0.0.1

Post by 4_seven »

Due my data loss in the near past i've re-pack and re-upload main mod and addition#1 with all available fixes. Both codings works well in productive areas. Until a new demo is out, you have screens in first post.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
trigger_error
I've Been Banned!
Posts: 200
Joined: Mon Feb 21, 2011 1:27 pm

Re: [DEV] CPF Member Search v.0.0.1

Post by trigger_error »

Thanks for your effort, 4_seven. I use this for several month now and my user love it :D
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] CPF Member Search v.0.0.1

Post by 4_seven »

thx trigger,
i've add new demo for main mod and addition#1
see first post for further details
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
Zaishen
Registered User
Posts: 199
Joined: Sat Dec 18, 2010 6:08 am

Re: [DEV] CPF Member Search v.0.0.1

Post by Zaishen »

i think is good mod, but i hate to see 10000000000000 options when i search,

would be nice to be simple, one small window on the midle o the page where to type your word/nick etc and thats all, always when u try to search in phpbb u are tired and sick because apears 10k options..

dont take this like a blame or whateva, no, this is my opinion

and good job because is good one

for example i was trying to remember my old phpbb usernmae here and there were no user search on the forum :roll: :oops:
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] CPF Member Search v.0.0.1

Post by 4_seven »

Zaishen wrote:i think is good mod, but i hate to see 10000000000000 options when i search
which options? shure, you are on the right mod? there is only a search field per cpf
http://www.4seven.de/forum/media/member ... searchuser
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
Zaishen
Registered User
Posts: 199
Joined: Sat Dec 18, 2010 6:08 am

Re: [DEV] CPF Member Search v.0.0.1

Post by Zaishen »

4_seven wrote:
Zaishen wrote:i think is good mod, but i hate to see 10000000000000 options when i search
which options? shure, you are on the right mod? there is only a search field per cpf
http://www.4seven.de/forum/media/member ... searchuser
This mod is to search users on the forum right?

Image


No only options, i mean..., you have to many small windows, names of things , and down the list of the usernames, etc, i think will be more original to hide all that things and make it something like this:

http://rapid-search-engine.com/

thats one example, one space to search your things, 2/3 options and you are done

But this is my personal opinion, im sure that there are ppl who like to see 20 de options and links etc

Return to “[3.0.x] Abandoned MODs”