[ABD] Shmoogle Maps MOD

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
BassFace
Registered User
Posts: 783
Joined: Tue Dec 02, 2003 7:10 pm
Location: Aurora, CO

Re: [BETA] Shmoogle Maps MOD

Post by BassFace » Sat Mar 06, 2010 6:11 am

Sorry for the prolonged absence! Patience, dear friends. Work that actually makes me money comes first, and of course family comes before that. So while I am not abandoning Shmoogle, it is on the back burner - way back. ;) My wife had surgery in December, with a one month recovery at home. Trying since then to get some more web dev work that actually pays me for my time, courting some potential customers and maintaining existing ones.

As for the sql issues mentioned above, I wouldn't even bother with the Events module yet, its such a mess. Just deactivate it for now and just use the user map.

Stitch, yer a good man! 8-)

trickoff
Registered User
Posts: 513
Joined: Mon Jan 07, 2008 12:23 am

Re: [BETA] Shmoogle Maps MOD

Post by trickoff » Sat Mar 06, 2010 11:37 am

BassFace wrote:Sorry for the prolonged absence! Patience, dear friends. Work that actually makes me money comes first, and of course family comes before that. So while I am not abandoning Shmoogle, it is on the back burner - way back. ;) My wife had surgery in December, with a one month recovery at home. Trying since then to get some more web dev work that actually pays me for my time, courting some potential customers and maintaining existing ones.

As for the sql issues mentioned above, I wouldn't even bother with the Events module yet, its such a mess. Just deactivate it for now and just use the user map.

Stitch, yer a good man! 8-)
Sorry tho hear about your wife. Take your time, we all highly appreciate your enthusiasm and work that you've put into this!

User avatar
Fundus
Registered User
Posts: 58
Joined: Fri Sep 14, 2007 5:50 pm
Location: Switzerland
Contact:

Re: [BETA] Shmoogle Maps MOD

Post by Fundus » Sun Mar 07, 2010 4:17 pm

BassFace wrote: So while I am not abandoning Shmoogle, it is on the back burner - way back. ;)
Great! Thank you for the Information, Bassface, and Greets to you and your Family! 8-)
Thank you for your help & Greets, Dan

Lucan
Registered User
Posts: 40
Joined: Fri Jun 13, 2008 10:24 pm

Re: [BETA] Shmoogle Maps MOD

Post by Lucan » Sun Mar 07, 2010 6:56 pm

Ive got the problem, that the map is not shown, when its visited from the forum.

It just doesn't seem to be loaded.

At the Admin Interface, the Map is shown.

have a look:

http://www.imagebanana.com/img/agx994cx/1.jpg

http://www.imagebanana.com/img/gjxjk9d4/2.jpg


Thanks for help.


Greetings

User avatar
bilal414
Registered User
Posts: 26
Joined: Sun Feb 21, 2010 3:52 pm
Location: Canada

Re: [BETA] Shmoogle Maps MOD

Post by bilal414 » Thu Mar 11, 2010 11:23 pm

Lucan wrote:Ive got the problem, that the map is not shown, when its visited from the forum.

It just doesn't seem to be loaded.

At the Admin Interface, the Map is shown.

have a look:

http://www.imagebanana.com/img/agx994cx/1.jpg

http://www.imagebanana.com/img/gjxjk9d4/2.jpg


Thanks for help.


Greetings
Hi, Lucan i had face that problem before. This is not the problem in MOd. I think you have some settings problem.
take a look at the image. make you configrations like my.
http://bilalahmed.me/images/smoogle.JPG

if it don't work then you have to Manualy edit the values in SQl through Myphp admin.
But its not a big issue. :D

User avatar
Stitch625
Registered User
Posts: 683
Joined: Wed Jun 20, 2007 3:38 pm
Location: Michigan
Contact:

Re: [BETA] Shmoogle Maps MOD

Post by Stitch625 » Sat Mar 13, 2010 3:16 pm

How can I add a special user marker that is available only to a certain user group? Currently marker 1 and marker 2 are for admin and mods. I want to add a 3rd.

Thanks

waltj
Registered User
Posts: 2
Joined: Fri Jan 29, 2010 5:00 am

Re: [BETA] Shmoogle Maps MOD

Post by waltj » Mon Mar 22, 2010 11:26 pm

Awesome MOD!!

has anyone played around with subsilver edits?

User avatar
wintstar
Registered User
Posts: 280
Joined: Sat Mar 07, 2009 12:39 pm

Re: [BETA] Shmoogle Maps MOD

Post by wintstar » Tue Mar 23, 2010 11:06 am

bilal414 wrote:
Lucan wrote:Ive got the problem, that the map is not shown, when its visited from the forum.

It just doesn't seem to be loaded.

At the Admin Interface, the Map is shown.

have a look:

http://www.imagebanana.com/img/agx994cx/1.jpg

http://www.imagebanana.com/img/gjxjk9d4/2.jpg


Thanks for help.


Greetings
Hi, Lucan i had face that problem before. This is not the problem in MOd. I think you have some settings problem.
take a look at the image. make you configrations like my.
http://bilalahmed.me/images/smoogle.JPG


if it don't work then you have to Manualy edit the values in SQl through Myphp admin.
But its not a big issue. :D
Lock of the Code of overallheader.html of your Style

wintstar

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17090
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [BETA] Shmoogle Maps MOD

Post by DavidIQ » Wed Mar 24, 2010 8:48 am

So a client of mine requested this MOD to be installed on their subsilver2-based forum (ouch) as a replacement for the now defunct Frappr map.

After much fighting with the style I was able to get it to work and integrate it into the index page (the link still goes to the full page with the full credit still in place). As you can see I had to move some stuff around and eliminate some others. I still used the schmoogle.php script but with some code changes which I am attaching.

schmoogle_body.html didn't need a lot of changes but the changes done were needed because of the integration with the index page. That will need refinement but should give you an idea of how to approach it (would need to feed the template something like S_ON_INDEX set to true from the index page and then check that variable instead of SCRIPT_NAME). To easily include it on the index page this was all that I needed to add to index.php:

Code: Select all

define('SHMOOGLE_ON_INDEX', true);
include($phpbb_root_path . 'shmoogle.' . $phpEx);
I placed that just before:

Code: Select all

// Assign index specific vars
Also in index_body.html right after:

Code: Select all

<!-- INCLUDE breadcrumbs.html -->
I added this:

Code: Select all

<br clear="all" />

<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<td class="cat" colspan="2"><h4><a href="{U_SHMOOGLE}">{L_SHMOOGLE_LINK_TEXT}</a></h4></td>
</tr>
<tr>
	<td class="row1" align="center"><!-- INCLUDE shmoogle_body.html --></td>
</tr>
</table>
(This is all a little different than what I actually did since the style on the site is based on subsilver2 but is not totally subsilver2)

The big whopper was ucp_shmoogle_shmoogle.html which needed to be completely redone in order for it to look and work right. Then after I was done I started having some issues with the javascript which had to be remedied by editing ucp_shmoogle.php and changing a bit of the javascript by changing all of these:

Code: Select all

document.postform.user_shmoogle_map_center
to:

Code: Select all

document.getElementById("user_shmoogle_map_center")
This change is ABSOLUTELY necessary if the template files I am attaching are used. This still allows the prosilver template files to work fine with a minor tweak, also attached. Would recommend making this change permanent in a future release.

In any case I want to share with everyone else the work I've done in case they want to integrate to their index page, use subsilver2, or both:

[The extension zip has been deactivated and can no longer be displayed.]


@BassFace: Good job on his so far although I'm sure you're aware but your MOD is still a ways away from passing MOD pre-validation for the MODDB ;) I would suggest that upon clicking of the markers the bubble be shown instead of when clicking on their names on the list.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
D¡cky
Former Team Member
Posts: 11812
Joined: Tue Jan 25, 2005 8:38 pm
Location: New Hampshire, USA
Name: Richard Foote
Contact:

Re: [BETA] Shmoogle Maps MOD

Post by D¡cky » Wed Mar 24, 2010 1:10 pm

DavidIQ wrote:@BassFace: Good job on his so far although I'm sure you're aware but your MOD is still a ways away from passing MOD pre-validation for the MODDB ;) I would suggest that upon clicking of the markers the bubble be shown instead of when clicking on their names on the list.
On my board the bubble does come up when clicking on a marker. Hovering over the marker shows the user name and a single left click brings up the bubble.
Have you hugged someone today?

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17090
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [BETA] Shmoogle Maps MOD

Post by DavidIQ » Wed Mar 24, 2010 2:24 pm

You're right...looks like it's something I might have done. Guess I'll have to investigate further and see what's up.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17090
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [BETA] Shmoogle Maps MOD

Post by DavidIQ » Fri Mar 26, 2010 1:02 am

Ah...figured out what the problem is. For subSilver2 there is no onload_functions or onunload_functions arrays so this edit for prosilver's overall_header.html (modified to work with index):

Code: Select all

<!-- IF SCRIPT_NAME == 'shmoogle' or S_IN_UCP or SCRIPT_NAME == 'index' -->
<link href="{T_THEME_PATH}/shmoogle_print.css" rel="stylesheet" type="text/css" media="print" />
<link href="{T_THEME_PATH}/shmoogle.css" rel="stylesheet" type="text/css" media="screen, projection" />
<script type="text/javascript">
onload_functions.push('showmap()');
onunload_functions.push('GUnload()');
</script>
<!-- ENDIF -->
should be this in subsilver2's overall_header.html:

Code: Select all

<!-- IF SCRIPT_NAME == 'shmoogle' or S_IN_UCP or SCRIPT_NAME == 'index' -->
<link href="{T_THEME_PATH}/shmoogle_print.css" rel="stylesheet" type="text/css" media="print" />
<link href="{T_THEME_PATH}/shmoogle.css" rel="stylesheet" type="text/css" media="screen, projection" />
<script type="text/javascript">
// <![CDATA[
	window.onload = function()
	{
		showmap();
	}

	window.onunload = function()
	{
		GUnload();
	}
// ]]>
</script>
<!-- ENDIF -->
That now has the clicking on the pegs working as it should. Thanks for pointing out that it sould have been working Dicky. :)
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

flacon030
Registered User
Posts: 7
Joined: Wed Jul 26, 2006 2:20 pm

Re: [BETA] Shmoogle Maps MOD

Post by flacon030 » Sat Mar 27, 2010 7:33 am

flacon030 wrote:
BassFace wrote:
flacon030 wrote:Hello

A version of your mod's is expected to PHPBB3 3.0.6?
because my card is appearing in the ACP but not on the page "shmoogle.php "?
Could you post a link to your site?
http://forum-ford-rs.fr/
user : test
password : killer
Hello
I still have the same problem.
My map does not appear on the page shmoogle.php "

But it appears both in the ACP


can you help me thank you

brett05
Registered User
Posts: 93
Joined: Fri Jun 05, 2009 2:16 pm
Contact:

Re: [BETA] Shmoogle Maps MOD

Post by brett05 » Sun Mar 28, 2010 2:16 am

Just having an issue with user registration now after trying to remove this MOD. When users are registering, we are getting the following error:-

General Error

SQL ERROR [ mysql4 ]

Field 'user_shmoogle_comment' doesn't have a default value [1364]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
Please notify the board administrator or webmaster: support@bertiestreet.com


We have rolled back all the files with our backups and cleared entries out of the SQL database.

What could be causing this error?

User avatar
D¡cky
Former Team Member
Posts: 11812
Joined: Tue Jan 25, 2005 8:38 pm
Location: New Hampshire, USA
Name: Richard Foote
Contact:

Re: [BETA] Shmoogle Maps MOD

Post by D¡cky » Sun Mar 28, 2010 3:50 am

brett05,

Remove the user_shmoogle_comment field from the users table.
Have you hugged someone today?

Locked

Return to “[3.0.x] Abandoned MODs”