|
|
|
Ponygallery does not allow guests to view details
|
|
Date: 2007/05/08 10:26
|
By: ltmwalter
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 2 |   | |
|
Hi, I installed ponygallery ML and the ponygallery plugin for CB. The uploading and gallery work. But when not logged in it doesnt want to show the picture details and asks to log in. I know you can turn this on or off with: Show Detail Page.
However I already gave:"Show Detail Page" the value YES but STILL it doesnt want to show the details page????
Im really in the dark about this. Can anybody help me out here??
Many thanks in advance
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Ponygallery does not allow guests to view details
|
|
Date: 2007/05/08 10:34
|
By: ltmwalter
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 2 |   | |
|
|
ok it gets even weirder. Even when Im logged in I still get the message???!
|
|
The administrator has disabled public write access. |
|
|
|
Re:Ponygallery does not allow guests to view detai
|
|
Date: 2008/03/07 16:50
|
By: scanhead25
|
Status: User
|
|
|
Karma: 2  
|
|
Fresh Joomlapolitan  | Posts: 19 |   | |
|
i got a solution to our problem follow the steps carefully.
1. open your /components/com_ponygallery/ponygallery.php
2. look for this code:
case 'detail': if ( $my->gid==0 && $ag_showdetailpage==0) { echo '<script> alert("'._PONYGALLERY_NO_DETAILS_ALERT.'"); </script>'; // mosRedirect(sefRelToAbs("index.php?option=com_ponygallery&Itemid=".$Itemid), _PONYGALLERY_NO_DETAILS); die(); } elseif($ag_detailpic_open!=0) {
echo '<script> alert("'._PONYGALLERY_NO_DETAILS_ALERT.'"); </script>'; // mosRedirect(sefRelToAbs("index.php?option=com_ponygallery&Itemid=".$Itemid), _PONYGALLERY_NO_DETAILS); die(); } else { GalleryHeader(); include( _PONY_FRONTEND_PATH . '/sub_viewdetails.php' ); } break;
3. Replace the codes in red with these:
GalleryHeader(); include( _PONY_FRONTEND_PATH . '/sub_viewdetails.php' );
----------------------------- hope you got it my friend: email me for concerns: scanhead25@yahoo.com
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Ponygallery does not allow guests to view detai
|
|
Date: 2008/03/09 16:44
|
By: jelero1
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 1 |   | |
|
it works fine. so fare so good.
i think it would be nicer to open in new window....but i don“t knwo how
Anybody knows how it works and what to do?
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Ponygallery does not allow guests to view detai
|
|
Date: 2008/04/29 06:09
|
By: Keithejr
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 3 |   | |
|
i'm having this same problem, even as admin i cannot see the detailed mode.
pony gallery 2.5ml community builder 1.1 joomla 1.03 i have gallery tab and pony gallery tab installed i have random image installed
Does anyone konw??? the fix below worked but brought it to a popup that looked horrible and had errors on it
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Ponygallery does not allow guests to view detai
|
|
Date: 2008/04/29 06:42
|
By: Keithejr
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 3 |   | |
|
ok, i messed around for a bit, really my first time ever editing a php file.
The edit below will allow visitors to see a misformated page but allow register users to view the real page. Not what i wanted at all.
This edit will not allow visitors (if you define it that way in pony gallery) and allow only registered members to see the real thing. Which was my intention in the first place. Replace the portion of your file described below with this:
case 'detail': if ( $my->gid==0 && $ag_showdetailpage==0) { echo '<script> alert("'._PONYGALLERY_NO_DETAILS_ALERT.'"); </script>'; // mosRedirect(sefRelToAbs("index.php?option=com_ponygallery&Itemid=".$Itemid), _PONYGALLERY_NO_DETAILS); die(); } elseif($ag_detailpic_open!=0) { GalleryHeader(); include( _PONY_FRONTEND_PATH . '/sub_viewdetails.php' ); } break;
|
|
The administrator has disabled public write access. |
|
|