Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Your complete CB-based Community site up and running in minutes!
Joomlapolis Forums  


<< Start < Prev 1 2 Next > End >>
Ponygallery does not allow guests to view details
Date: 2007/05/08 10:26 By: ltmwalter Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 2
graphgraph
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
Click here to see the profile of this user 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
graphgraph
ok it gets even weirder. Even when Im logged in I still get the message???!
Click here to see the profile of this user 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: 17
graphgraph
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
Click here to see the profile of this user 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: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 1
graphgraph
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?
Click here to see the profile of this user 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
graphgraph
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
Click here to see the profile of this user 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
graphgraph
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;
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 Next > End >>

CBSubs 1.0

CBSubs 1.0.1 released!

Find out more about the revolutionary new Joomla subscription system:

Info on CBSubs

CB 1.2 Documentation

Thank you bonus:

ProfileBook (+Blog) 1.2RC
ProfileGallery 1.2RC2
CB Privacy 1.0RC

What? Why? Where?

Click here for a yearly subscription: subscribe now

CB 1.2.1 Download

Community Builder 1.2.1 Stable
native for:
Joomla 1.5 & 1.0 & Mambo
You need to be a registered member to download.

Installation doc for CB 1.2:
(first 34 pages of full doc):

Full 181 pages CB 1.2 documentation:
You need to be a CB doc subscriber to download.

CB Login