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?
Is a result of simulating the login.
Should be possible to remove, will check it out.
cas
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 ???
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
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
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.
Yes, am using the same link. So you are saying if you do not click continue, the scripts just stops there ?
Cas
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..
No, it is not. Is there a link available ?
Cas
you can view our site. http://www.sdwebmasters.com sign up, then click the link on main menu for photoblog.. let me know .
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
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.. ?
Sorry, have no clue. Does it also happen if you run it standalone ?
Cas
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