Guest directed to forum login

17 years 6 months ago #21848 by stevebor1
Guest directed to forum login was created by stevebor1
when a guest views the forum and tries to post or enter a registered user topic/board, they are directed to the phpBB login. I noticed this on the cbconnector.com forum too.

is there a fix to this?

Post edited by: stevebor1, at: 2006/10/02 07:09

Karma Me Up!
File Attachment:


FITcommunity
Joomla! 1.0.12 - Community Builder 1.0.2 - Joomlaboard 1.1.2
Own Mods Featured Profile Mod
My Real Day Job
File Attachment:

Mobile Wallet and Social Lending, Anywhere!

Please Log in to join the conversation.

17 years 6 months ago #21866 by geeffland
Replied by geeffland on topic Re:Guest directed to forum login
had not thought of that one yet... I will double check and see what needs modified...

Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

17 years 6 months ago #21917 by stevebor1
Replied by stevebor1 on topic Re:Guest directed to forum login
I made some modifcations, 2 individual hacks.

login_body.tpl uses the existing forum login but now posts form to log you in as if you were loging into CB_login

and

login.php redirects to a given URL instead of taking the user to the forum login.

check em out, use either one. let me know if it helps anyone.


This breaks the admin login. Back to the drawing board...

Post edited by: stevebor1, at: 2006/10/11 08:37

Karma Me Up!
File Attachment:


FITcommunity
Joomla! 1.0.12 - Community Builder 1.0.2 - Joomlaboard 1.1.2
Own Mods Featured Profile Mod
My Real Day Job
File Attachment:

Mobile Wallet and Social Lending, Anywhere!
Attachments:

Please Log in to join the conversation.

17 years 6 months ago #22931 by geeffland
Replied by geeffland on topic Re:Guest directed to forum login
Steve,

just took a quick look... when replying or posting a new topic and you are not logged in (and the topic requires it)... then on line 363 of posting.php is the line that redirects them to the forum login...

You can modify that line to point to the Joomla/CB login... the only thing I don't know is that I am not currently sure how to have the login redirect the user to the forum reply/post after logging in???

Also can't remember if it was you or someone else... but the URL that is sent in e-mail notifications for "watched topics" is on line 660 of functions_post.php... make sure and leave the [code:1]'U_TOPIC' =>[/code:1] code still in tact though.

Thought this might help a little though...
Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

Moderators: beatnantgeefflandmartijn189krileon
Time to create page: 0.198 seconds

Facebook Twitter LinkedIn