Removing Continue? Removing Continue?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Removing Continue?

Started by gateway, March 08, 2005, 10:02:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gateway

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?


casNuy

Is a result of simulating the login.
Should be possible to remove, will check it out.

cas

gateway

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  ???

Joachim Müller

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

casNuy

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

gateway

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.

casNuy

Yes, am using the same link. So you are saying if you do not click continue, the scripts just stops there ?

Cas

gateway

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..

casNuy

No, it is not. Is there a link available ?
Cas

gateway

you can view our site. http://www.sdwebmasters.com sign up, then click the link on main menu for photoblog.. let me know .

casNuy

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

gateway

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.. ?

casNuy

Sorry, have no clue. Does it also happen if you run it standalone ?

Cas

Thox

#13
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