[ABD] jQ User Map api3 v.0.0.3

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.
mj1985
Registered User
Posts: 79
Joined: Sun Oct 18, 2009 9:11 pm

Re: [DEV] jQ User Map api3

Post by mj1985 »

And another great mod by 4_seven ... I'm really looking forward to this mod (and to replace my shmoogle-mod) :mrgreen:
www.drhouse-forum.de - House MD Forum
recovery20
Registered User
Posts: 19
Joined: Sun Nov 27, 2011 4:34 am
Location: sussex, uk

Re: [DEV] jQ User Map api3

Post by recovery20 »

looks like this is going to be a great mod :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] jQ User Map api3

Post by 4_seven »

thanks to all..
[DEV] Info
  • In the next 1-2 days v.0.0.1 releases
  • Who wants to have a fast start with the mod,
    can enter the needed CPF fields before v.0.0.1 release
Basic Instruction for jQ User Map api3
http://www.4seven.de/forum/6test/viewto ... p=282#p282
  • Latest [DEV] News
  • optimizing code again
  • optimizing load balancing php/client
  • updating demo to v.0.0.1
  • removing all hardcoded entrys
  • making language entrys
  • building modx
Note: This mod comes out at the same time as jQ User Weather v.0.0.1
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] jQ User Map api3 v.0.0.1

Post by 4_seven »

v.0.0.1 released

see first post for further details..
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
VOLKERMORD
Registered User
Posts: 119
Joined: Thu Jul 23, 2009 1:20 pm
Location: Dacia (Wolf land)

Re: [DEV] jQ User Map api3 v.0.0.1

Post by VOLKERMORD »

4_seven wrote:v.0.0.1 released

see first post for further details..
Very nice work mate, thx a lot :D
Har tios tintoninos insus tiko is dakon kand sia til kogaion ilmaton hlioylo pleiste naktoilo
bubsy
Registered User
Posts: 6
Joined: Sun Dec 07, 2008 11:10 am

Re: [DEV] jQ User Map api3 v.0.0.1

Post by bubsy »

hello 4_seven

I have an error , in root /includes/functions_user_map.php is missing
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] jQ User Map api3 v.0.0.1

Post by 4_seven »

Thanks for reporting

The missing file is in package and modx is corrected,
so download the new package and check install again.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [DEV] jQ User Map api3 v.0.0.1

Post by javiexin »

Hello 4_seven,

Thanks for the mod...

Another possible error: the edit in viewonline seems wrong to me. Would you be so kind to check it?

Thanks,
-javiexin
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] jQ User Map api3 v.0.0.1

Post by 4_seven »

the modx is tested and the find

Code: Select all

		case 'report':
			$location = $user->lang['REPORTING_POST'];
			$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
		break;
is present in viewonline.php

here a more great view to this part in viewonline.php

Code: Select all

		case 'download/file':
			$location = $user->lang['DOWNLOADING_FILE'];
			$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
		break;

		case 'report':
			$location = $user->lang['REPORTING_POST'];
			$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
		break;

		default:
			$location = $user->lang['INDEX'];
			$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
		break;
	}

	$template->assign_block_vars('user_row', array(
		'USERNAME' 			=> $row['username'],
may you have 3.0.7 - 3.0.9 running

than put it just before

Code: Select all

		default:
			$location = $user->lang['INDEX'];
			$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
		break;
if

Code: Select all

		case 'report':
			$location = $user->lang['REPORTING_POST'];
			$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
		break;
is not present

-----------------------

anyway, i changed modx now

(may another dont have the report site in viewonline (but its genuine viewonline part))

so find

Code: Select all

		default:
			$location = $user->lang['INDEX'];
			$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
		break;
before add

Code: Select all

		case 'user_weather/user_map':
			$location = $user->lang['U_M_VIEW_MAP'];
			$location_url = append_sid("{$phpbb_root_path}user_weather/user_map.$phpEx");
		break;	
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [DEV] jQ User Map api3 v.0.0.1

Post by javiexin »

Sorry 4_seven if I was not too precise in the first place.

I was not referring to the find, but to the replace. Specifically:

Code: Select all

      case 'user_weather/user_map':
         $location = $user->lang['U_M_VIEW_MAP'];
         $location_url = append_sid("{$phpbb_root_path}user_weather/user_map.$phpEx");
      break;   
It seemed wrong to have user_weather/user_map alltogether... I guessed each one would be for each of your newly published mods, but not together...

But reviewing the structure of your code, in fact it is correct, and I was wrong when pointing it. I just didn't expect one php file from this mod to be sitting in a directory for the other mod... My apologies.

Best regards,
-javiexin
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] jQ User Map api3 v.0.0.1

Post by 4_seven »

shure. its bcs. of sister mod and the intention for my needs was to coalesce these both mods on my own forums. thats bcs. the name, so you can change the path-part and name, if you never want to mix both.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
VOLKERMORD
Registered User
Posts: 119
Joined: Thu Jul 23, 2009 1:20 pm
Location: Dacia (Wolf land)

Re: [DEV] jQ User Map api3 v.0.0.1

Post by VOLKERMORD »

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions.php on line 4639: Undefined variable: config_user_map_weather
Har tios tintoninos insus tiko is dakon kand sia til kogaion ilmaton hlioylo pleiste naktoilo
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] jQ User Map api3 v.0.0.1

Post by 4_seven »

sorry, i forget these edit in function.php

find

Code: Select all

	// The following assigns all _common_ variables that may be used at any point in a template.
	$template->assign_vars(array(
before add

Code: Select all

	// jQ User Map api3  / 4seven / 2012
	if(isset($config['user_map_weather']))
	{
	$config_user_map_weather = $config['user_map_weather'];
	}
	else
	{
	$config_user_map_weather = 1;	
	}
	// jQ User Map api3  / 4seven / 2012
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] jQ User Map api3 v.0.0.1

Post by 4_seven »

thanks for reporting -> package is updated.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
VOLKERMORD
Registered User
Posts: 119
Joined: Thu Jul 23, 2009 1:20 pm
Location: Dacia (Wolf land)

Re: [DEV] jQ User Map api3 v.0.0.1

Post by VOLKERMORD »

in user_weather/user_map.php

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/user_weather/user_map.php on line 59: Undefined variable: user_id_array
Har tios tintoninos insus tiko is dakon kand sia til kogaion ilmaton hlioylo pleiste naktoilo
Locked

Return to “[3.0.x] Abandoned MODs”