Page 12 of 15

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

Posted: Wed May 29, 2013 7:56 am
by ostridm
i see 'Advanced BBcode Box 3' what is it?

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

Posted: Wed May 29, 2013 8:24 am
by mrludvigg
Hi

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

Ludvigg

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

Posted: Wed May 29, 2013 11:56 am
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

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

Posted: Mon Jun 03, 2013 2:29 pm
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

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

Posted: Mon Jun 17, 2013 10:30 am
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

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

Posted: Mon Jun 17, 2013 11:20 am
by ostridm
hi,
every user is able to track his own locations with his private maps.

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

Posted: Mon Jun 17, 2013 11:40 am
by mrludvigg
Thx again.

Ludvigg

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

Posted: Thu Aug 15, 2013 5:46 pm
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()

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

Posted: Thu Aug 15, 2013 6:35 pm
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?

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

Posted: Thu Aug 15, 2013 6:57 pm
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

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

Posted: Thu Aug 15, 2013 7:04 pm
by ViolaF
thx 4 the hint ;)

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

Posted: Fri Aug 16, 2013 12:09 am
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

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

Posted: Fri Aug 16, 2013 1:28 pm
by ostridm
You need to adjust access rights to filesystem

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

Posted: Sat Aug 17, 2013 6:56 am
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?

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

Posted: Sat Aug 17, 2013 12:07 pm
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.