Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
areamike
Newbie
Newbie



Joined: Apr 14, 2007
Posts: 6

PostPosted: Sat Apr 14, 2007 7:25 pm Reply with quote

I have Gallery from menalto running on my site that recently added the Shortlinks hack to. Every thing seems to work fine in the gallery except uploads.
When I click the drop down to Add Photos, it pops up the add photo box as it normally did before, however, it loads my index of my site in the add photo pop up box.

Is this a known issue? If not, it is now Smile
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Sat Apr 14, 2007 8:05 pm Reply with quote

And with ShortLinks turned off, it works just fine? Sorry to have to ask, but this is odd behavour as I provide no taps for Gallery, so not sure why any of it would be tapped.

If it works with ShortLinks turned off, post back here the href that is used to not only pop up the add photo box, but the URL of the page that actually loads. I want to see the links as they are without ShortLinks turned on.

Thanks.

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
areamike
Newbie
Newbie



Joined: Apr 14, 2007
Posts: 6

PostPosted: Sat Apr 14, 2007 9:42 pm Reply with quote

Yes with SL turned off, it works fine. It's not tapping Gallery, it is just "somehow" affecting it. Weird.

Here is the URL of the page with the drop down menu to select "Add Photos"
http://www.NAMEOFMYSITE.com/modules.php?set_albumName=album08&op=modload&name=gallery&file=index&include=view_album.php

Here is the URL of the Pop-Up.
http://www.NAMEOFMYSITE.com/modules.php?mode=form&type=popup&op=modload&name=gallery&file=index&include=add_photos.php
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Sun Apr 15, 2007 11:08 am Reply with quote

Definitely weird. Ok, can you post the same URL's with SL turned on? Thanks.
 
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Sun Apr 15, 2007 11:16 am Reply with quote

Actually, another thing to try. Rename ShortLinks/GTZ-PageTap.php to something else.

BTW, I just tried this on one of my sites and the Add Photo pop-up works just fine with SL. You might also want to try it using different browsers.
 
View user's profile Send private message Visit poster's website
areamike
Newbie
Newbie



Joined: Apr 14, 2007
Posts: 6

PostPosted: Sun Apr 15, 2007 4:02 pm Reply with quote

montego wrote:
Actually, another thing to try. Rename ShortLinks/GTZ-PageTap.php to something else.

BTW, I just tried this on one of my sites and the Add Photo pop-up works just fine with SL. You might also want to try it using different browsers.


hmm...renaming the GTZ-PageTap.php worked!

what why who? what for? Smile
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Mon Apr 16, 2007 7:58 am Reply with quote

Ok, if you don't mind posting the contents of your just renamed GTZ-PageTap.php here, I'll take a look at it. Otherwise, send to me via email to montego {{AT__ montegoscripts DOT com.
 
View user's profile Send private message Visit poster's website
areamike
Newbie
Newbie



Joined: Apr 14, 2007
Posts: 6

PostPosted: Mon Apr 16, 2007 8:18 am Reply with quote

My contents of that file are the default. I changed nothing in that file.

Code:
<?php
/******************************************************************************
* Script:     TegoNuke(tm) ShortLinks "Page Tap" for the overall page to handle
*             header menu options and other misc "taps" (such as Messages)
*             rather than having to place these in each of the module tap files.
* Version:    1.0
* Author:     Rob Herder (aka: montego) of montegoscripts.com
* Contact:    montego@montegoscripts.com
* Copyright:  Copyright © 2006 by Montego Scripts
* License:    GNU/GPL (see provided LICENSE.txt file)
******************************************************************************/

$urlin = array(
'"(?<!/)modules.php\?name=Downloads(?!&)"',
'"(?<!/)modules.php\?name=Your_Account&amp;op=logout(?!&)"',
'"(?<!/)modules.php\?name=Forums(?!&)"',
'"(?<!/)modules.php\?name=Your_Account(?!&)"'
);

$urlout = array(
'downloads.html',
'account-logout.html',
'forums.html',
'account.html'
);

?>
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Mon Apr 16, 2007 8:56 am Reply with quote

Ok, we're getting closer. I will need to see what the URL's (the two mentioned above) when they are tapped.
 
View user's profile Send private message Visit poster's website
areamike
Newbie
Newbie



Joined: Apr 14, 2007
Posts: 6

PostPosted: Mon Apr 16, 2007 9:01 am Reply with quote

I don't use the downloads module.
next ones are:

http://www.MYSITE.com/account-logout.html
http://www.MYSITE.com/forums.html
http://www.MYSITE.com/account.html
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Mon Apr 16, 2007 9:15 am Reply with quote

areamike wrote:
Yes with SL turned off, it works fine. It's not tapping Gallery, it is just "somehow" affecting it. Weird.

Here is the URL of the page with the drop down menu to select "Add Photos"
http://www.NAMEOFMYSITE.com/modules.php?set_albumName=album08&op=modload&name=gallery&file=index&include=view_album.php

Here is the URL of the Pop-Up.
http://www.NAMEOFMYSITE.com/modules.php?mode=form&type=popup&op=modload&name=gallery&file=index&include=add_photos.php


Sorry, it is the above that I need to see what the equivalent shortened links for as I, too, cannot figure out why that PageTap is causing this.
 
View user's profile Send private message Visit poster's website
areamike
Newbie
Newbie



Joined: Apr 14, 2007
Posts: 6

PostPosted: Mon Apr 16, 2007 9:20 am Reply with quote

My Gallery is NOT tapped. I have no shortlinks for it. So there are no shortened URL's in my gallery.

Also, I cannot give you the exact URL of the drop down menu links before I rename that file because it loads my index in the pop up, so there is no way for me to see the pop up url. And actually, NONE of the items in the drop down on the album page work with that file named as it's original.

Hmm..I just had a premonition. I wonder if this part of the links is the culprit?
Code:
file=index
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Mon Apr 16, 2007 9:31 am Reply with quote

Actually, you can, but you have to view the source and find that specific drop down (<option>) set of values. There will be one for "Add Photo" and a link being passed somehow.

The other alternative is somehow giving me access to where I can take a look myself. Your call. Just PM me the details if you wish me to look at it, but when you do, please make sure ShortLinks is turned on.

BTW, I will not be able to look at it until tomorrow morning around 8am EDT U.S.
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunchlinear-bunchlinear-bunch