[RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

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!
Scam Warning
ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by ostridm »

i see 'Advanced BBcode Box 3' what is it?
mrludvigg
Registered User
Posts: 23
Joined: Tue Apr 09, 2013 6:26 pm

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by mrludvigg »

Hi

That is a mod i installed.
https://www.phpbb.com/customise/db/mod/ ... ode_box_3/

Ludvigg
mrludvigg
Registered User
Posts: 23
Joined: Tue Apr 09, 2013 6:26 pm

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by mrludvigg »

Hi

I also wonder how to change from this:
http://bildr.no/image/1627709.jpeg

To this. As standard. Users have difficult to navigate and find the Google button.. :)
http://bildr.no/image/1627707.jpeg


Thx

Ludvig
ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by ostridm »

hi mrludvigg

to change this to that...

find than open ymsm/ucp_ymsm.html for edit

inside find

Code: Select all

	<!-- IF S_YMSM_UCP_USERMARK -->
		<p>{L_YMSM_UCP_USERMARK_EXPLAIN}</p>
		<!-- INCLUDE ymsm/newedit_body.html -->
	<!-- ENDIF -->
replace with

Code: Select all

	<!-- IF S_YMSM_UCP_USERMARK -->
		<p>{L_YMSM_UCP_USERMARK_EXPLAIN}</p>
		<!-- INCLUDE ymsm/newedit_body.html -->
		<script type='text/javascript'>
			$(document).ready(function(){
				
				ymsm_show_finder('{U_POSITION_FINDER_GOOGLE}', document.forms['{YMSM_FORM}'].ymsm_point.value);
			});
		</script>
	<!-- ENDIF -->
bbcode issue still not solved by the moment
mrludvigg
Registered User
Posts: 23
Joined: Tue Apr 09, 2013 6:26 pm

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by mrludvigg »

Hi

Thx for the solution. That was much better. :)
Is there a possibility to add these function i describe in this post?

viewtopic.php?f=72&t=2186341

i really like your map mod.
This is the only thing i need to be 100% satisfied..

Thx Again
Ludvigg
ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by ostridm »

hi,
every user is able to track his own locations with his private maps.
mrludvigg
Registered User
Posts: 23
Joined: Tue Apr 09, 2013 6:26 pm

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by mrludvigg »

Thx again.

Ludvigg
Crocodile442
Registered User
Posts: 57
Joined: Sun Jul 09, 2006 1:49 pm
Location: Joplin, Missouri
Name: Paul Stallibrass
Contact:

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by Crocodile442 »

Hey folks, I have been working with this mod on my backup site and get the following error when I try to upload a geotagged image. Can you point me in the right direction for a fix. Thanks.

Code: Select all

General Error
SQL ERROR [ mysqli ]

Out of range value for column 'ymsm_icon_id' at row 1 [1264]

SQL

INSERT INTO phpbb_ymsm_objects (ymsm_id, post_id, ymsm_o_type, ymsm_o_pin, ymsm_o_lon, ymsm_o_lat, ymsm_title, ymsm_balloon, ymsm_checksum, ymsm_bbcode_bitfield, ymsm_bbcode_uid, ymsm_enable_bbcode, ymsm_enable_smiles, ymsm_enable_urls, ymsm_insert, ymsm_update, ymsm_icon_id, ymsm_user_id, ymsm_public) VALUES (0, '5', 2, 1, -963774222.22222, 340362166.66667, 'Attachment image test', 'Test image', '7c76684779eeaa9c3d0f305efb610684', '', '', 0, 0, 0, 1376588623, 1376588623, -1, '2', 1)

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysqli.php
LINE: 182
CALL: dbal->sql_error()

FILE: [ROOT]/includes/ymsm/entities.php
LINE: 79
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/includes/ymsm/entities.php
LINE: 109
CALL: phpbb_ymsm_entities->db_store_impl()

FILE: [ROOT]/includes/ymsm/entities.php
LINE: 127
CALL: phpbb_ymsm_entities->db_store()

FILE: [ROOT]/includes/ymsm/posting.php
LINE: 176
CALL: phpbb_ymsm_entities->update()

FILE: [ROOT]/includes/ymsm/posting.php
LINE: 101
CALL: phpbb_ymsm_posting::pre_commit_logic()

FILE: [ROOT]/includes/functions_posting.php
LINE: 2515
CALL: phpbb_ymsm_posting::pre_commit()

FILE: [ROOT]/posting.php
LINE: 1242
CALL: submit_post()
User avatar
ViolaF
I've Been Banned!
Posts: 1609
Joined: Tue Aug 14, 2012 11:52 pm

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by ViolaF »

What for a type have the column ymsm_icon_id, when you look at it with phpmyadmin?
I mean INT_TEXT oder TEXT or?
ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by ostridm »

it seems mod cannot create thumbnail for the image that is why ymsm_icon_id is negative (-1)
try to create 'ymsm' directory inside your 'forum/cache' and than play with its access mask starting from 777 than 755 an so on

ViolaF
column type should be positive integer
User avatar
ViolaF
I've Been Banned!
Posts: 1609
Joined: Tue Aug 14, 2012 11:52 pm

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by ViolaF »

thx 4 the hint ;)
Crocodile442
Registered User
Posts: 57
Joined: Sun Jul 09, 2006 1:49 pm
Location: Joplin, Missouri
Name: Paul Stallibrass
Contact:

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by Crocodile442 »

ViolaF wrote:What for a type have the column ymsm_icon_id, when you look at it with phpmyadmin?
I mean INT_TEXT oder TEXT or?
I cannot find ymsm_icon_id in my database??? I have phpbb_icon_id but that's as close as it gets. I have reinstalled the mod and nothing has changed, I still get the same error. I used automod to install.

I upload a geotagged image and can preview the post but when I submit I get the same error, if I back up and try to resubmit I get the following.

Code: Select all

General Error
You are not allowed to access this file.

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/message_parser.php
LINE: 1663
CALL: trigger_error()

FILE: [ROOT]/posting.php
LINE: 436
CALL: parse_message->get_submitted_attachment_data()
Above the page header I have the following?

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/includes/ymsm/image.php on line 304: imagepng() [function.imagepng]: Unable to open './cache/ymsm/marker/2_692d437302d0b576680e5b49a5bbda77.png' for writing: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/ymsm/image.php on line 304: imagepng() [function.imagepng]: Unable to open './cache/ymsm/thumb/2_692d437302d0b576680e5b49a5bbda77.png' for writing: No such file or directory

Warning: Cannot modify header information - headers already sent by (output started at /home/watcher/public_html/work/includes/functions.php:3872) in /home/watcher/public_html/work/includes/functions.php on line 2726
Return to the index p
ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by ostridm »

You need to adjust access rights to filesystem
Crocodile442
Registered User
Posts: 57
Joined: Sun Jul 09, 2006 1:49 pm
Location: Joplin, Missouri
Name: Paul Stallibrass
Contact:

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by Crocodile442 »

Done and done ... and it works.

I don't like having the folder in the cache file however ... how can I change the location of that file to put it somewhere else, in the image file for example?
ostridm
Registered User
Posts: 116
Joined: Tue Sep 25, 2012 9:02 am
Contact:

Re: [RC] phpBB Geo Topics 1.4.3 - AJAX maps OSM GOOGLE BING

Post by ostridm »

hi

please find includes/ymsm/image.php than open for edit than make replacement for

Code: Select all

cache/ymsm
entries across the file with the desired path considering

Code: Select all

cache/ymsm
is relative to board root.
Locked

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