coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 pnCPG (Coppermine for postNuke/Zikula) => Topic started by: gateway on March 08, 2005, 10:02:09 PM

Title: Removing Continue?
Post by: gateway on March 08, 2005, 10:02:09 PM
IM wondering if its possible to remove the continue each time you go into an area.. for example we are using {pnCPG} as the link, it goes to a page that says
Continue, is there a way to bypass that sort of stuff.. ?

the same thing happens when I click on the picture scroller..

we are using 2.5 of pnCPG and 1.3.2 of cpg..

thoughts?

Title: Re: Removing Continue?
Post by: casNuy on March 09, 2005, 10:58:23 PM
Is a result of simulating the login.
Should be possible to remove, will check it out.

cas
Title: Re: Removing Continue?
Post by: gateway on March 10, 2005, 12:21:07 AM
I dont think its bad in stand alone version but some people are asking me why they have to click continue all the time when they go from the menu to the photo area  ???
Title: Re: Removing Continue?
Post by: Joachim Müller on March 10, 2005, 09:21:54 AM
you could try to set the time the "continue" link is being displayed to "0 seconds". Edit login.php, findpageheader($lang_login_php['login'], "<META http-equiv=\"refresh\" content=\"3;url=$referer\">");and replace withpageheader($lang_login_php['login'], "<META http-equiv=\"refresh\" content=\"0;url=$referer\">");(at least in standalone coppermine this does the trick, not sure though if this applies to pnCPG).

Joachim
Title: Re: Removing Continue?
Post by: casNuy on March 10, 2005, 11:05:43 PM
Unless gateway changed my code, that is exactly what my code looks like.
There is no need to click on it, it should continue automatically and mmediately.

Cas
Title: Re: Removing Continue?
Post by: gateway on March 12, 2005, 12:40:11 AM
hmm that doesnt seem to work for me..

can I ask you what link your are using to link to the CPG dir from your PN dir?

we where using {pnCPG}

I switched it to coppermine/index.php?lang=english&theme=sdwebmasters which seems to work but im not sure if its
skipping the loging or logging in uers.
Title: Re: Removing Continue?
Post by: casNuy on March 13, 2005, 12:15:41 PM
Yes, am using the same link. So you are saying if you do not click continue, the scripts just stops there ?

Cas
Title: Re: Removing Continue?
Post by: gateway on March 14, 2005, 11:21:57 PM
Ok if im logged into my PN site.. and click the link photoblog {pnCPG} that brings me to a page where it shows the menu of CPG and a Continue Link in the middle of the screen. im wondering if I could bypass the users having to click on the continue link in the middle content area before seeing the content..

If i directly link to the coppermine area it goes directly to the main page of gallerires, but then you have to log in again to the CPG system..

I hope thats clear enough..
Title: Re: Removing Continue?
Post by: casNuy on March 15, 2005, 09:49:57 PM
No, it is not. Is there a link available ?
Cas
Title: Re: Removing Continue?
Post by: gateway on March 16, 2005, 07:38:59 PM
you can view our site. http://www.sdwebmasters.com sign up, then click the link on main menu for photoblog.. let me know .
Title: Re: Removing Continue?
Post by: casNuy on March 16, 2005, 09:50:13 PM
see what you mean.
Do the following, open up index_pn.php and change the following :
Quote
pageheader($lang_login_php['login'],"<META http-equiv=\"refresh\" content=\"0;url=$referer\">");
msg_box($lang_login_php['login'], sprintf($lang_login_php['welcome'], $USER_DATA['user_name']), $lang_continue, $referer);
pagefooter();

to :

Quote
pageheader($lang_login_php['login'],"<META http-equiv=\"refresh\" content=\"0;url=$referer\">");
//msg_box($lang_login_php['login'], sprintf($lang_login_php['welcome'], $USER_DATA['user_name']), $lang_continue, $referer);
pagefooter();

This should take out the continue box.

Cas
Title: Re: Removing Continue?
Post by: gateway on March 17, 2005, 10:03:29 PM
Ok I tried that but it didnt work, It did remove the continue which is a start but then just showed me a blank white content area. Ie it didnt refresh into the gallery home section.. ?
Title: Re: Removing Continue?
Post by: casNuy on March 18, 2005, 10:36:40 PM
Sorry, have no clue. Does it also happen if you run it standalone ?

Cas
Title: Re: Removing Continue?
Post by: Thox on March 26, 2005, 01:51:43 PM
Quote from: casNuy on March 16, 2005, 09:50:13 PM
see what you mean.
Do the following, open up index_pn.php and change the following :
Quote
pageheader($lang_login_php['login'],"<META http-equiv=\"refresh\" content=\"0;url=$referer\">");
msg_box($lang_login_php['login'], sprintf($lang_login_php['welcome'], $USER_DATA['user_name']), $lang_continue, $referer);
pagefooter();

to :

Quote
pageheader($lang_login_php['login'],"<META http-equiv=\"refresh\" content=\"0;url=$referer\">");
//msg_box($lang_login_php['login'], sprintf($lang_login_php['welcome'], $USER_DATA['user_name']), $lang_continue, $referer);
pagefooter();

This should take out the continue box.

Cas

Tried this and it worked for me, however found that adding // to this line also improved access

Quote//pagefooter();

Thox