Hello Guest [ Registration | Log in ]

Main Menu

Login





 


 Log in Problems?
 New User? Sign Up!

Genealogy Quote

Family history: a quilt work of lives.

Stories

Online

There are 0 Members online.

You can log-in or register for a user account here.
search pnForum latest posts Note: Registered users can subscribe to notifications about new posts Note: Registered users can subscribe to notifications about new posts
Reply to: photo issue


Options:




  


:


Author photo issue
Wendel

Posts: 82
The file updates are now part of pnTNG 3.05 for TNG 6.04 in the Downloads section.
 
 
admin
admin
Posts: 6
Can you send me an email at pntng@voigtworld.com with your email address. I'll send you a new version which may help. For some reason, it seems my download section is no longer working. So to move this along, I would like to email you an update.
- Wendel
 
 
Guest
Unregistered User
i tried this and the same issue is happening.
 
 
Guest
Unregistered User
just to add to this as ive been trying to find the issue. when i click on a thumb ill get an url like this

mysite.com//index.php?name=tng&file=showmedia&mediaID=5

that is where the enlarged photo nests and have the double folder issue.

if i use TNG admin and do a test click on media i get the enlarged photo with this as the link

http://mysite.com/modules/tng/showmedia.php?mediaID=5
 
 
Wendel

Posts: 82
I seem to be having issues with my Download section, or I would post a new version. Until then, try updating customconfig.php in your TNG directory to be the following:

Code
<?php
// Values for pnTNG to work without IFRAMEs
// Please copy these lines into your customconfig.php file
// or if you do not use the customconfig.php file for anything else
// then you can just use this file
//$cms[pnTNG] = true;
$this_modulebasename(dirname(realpath(__file__)));
$homepage = ($dot = strrchr($homepage, '.')) ? substr($homepage, 0, -strlen($dot)): $homepage;
if ($cms[pnTNG] == 1) {
    $cms[support]    = "postnuke";
    $cms[module]     = "$this_module";   
    $cms[url]        = "index.php?name=$this_module&file";
    $cms[tngpath]    = "modules/$this_module/";
    $cms[cloaklogin] = "Yes";
    $cms[credits]    = "<!-- pnTNG without frames -->
"
;
    // Fix up file paths
    $homepage = ($dot = strrchr($homepage, '.')) ? substr($homepage, 0, -strlen($dot)): $homepage;// strip .php or .html
    $rootpath        = dirname(dirname(dirname(realpath(__file__)))) . "/";
    $gendexfile      = $cms[tngpath] . $gendexfile ;
    $mediapath       = $cms[tngpath] . $mediapath ;
    $headstonepath   = $cms[tngpath] . $headstonepath ;
    $historypath     = $cms[tngpath] . $historypath ;
    $backuppath      = $cms[tngpath] . $backuppath ;
    $documentpath    = $cms[tngpath] . $documentpath ;
    $photopath       = $cms[tngpath] . $photopath ;
 } elseif ($cms[pnTNG] == 2) {
    $cms[support] = "postnuke";
    $cms[module] = "$this_module";   
    $cms[url] = "";
    $cms[tngpath] = "";
    $cms[cloaklogin] = "Yes";
    $cms[credits] = "<!-- pnTNG with iframes -->
"
;
} else {
    $cms[support] = "";
    $cms[url] = "";
    $cms[tngpath] = "";
    $cms[module] = "";
    $cms[cloaklogin] = "";
    $cms[credits] = "";
}

?>


Please let me know if this solves the problem.
- Wendel
 
 
Guest
Unregistered User
hello wendel and thank you for the support andbuild of pntng.

i have installed tng 604 and pntng 304 and all seems to be working with the code edits that you supplied in previous thread.

i however have one small glitch.

when trying to access photos it doesnt go to the right path. instead i get a modules/tng/modules/tng/ in the properties of the photo. it should just be a single /modules/tng/ in the path of the photo.

my thumbnails work as they look and find the /modules/tng/mypic.jpg correctly.

And my random photos dont work so i am assuming that this is of the same issue

thanks in advance
 
 
Users online:


This list bases on the users active in the last 10 minutes


Powered by pnForum Version 2.6