Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Ministry Tools > Prayer Connector Extension > Login Requirement Issue
Total Posts: 8 - Pages (1): [1]
user picture Author: Mary Beth Maidment
Posted: Feb 22 2007 - 01:32 PM
Subject: Login Requirement Issue
msn
I am seeing that even though I've checked the box on the Prayer Connector config to require login for posting, the connector is allowing me to post without logging in.

Any suggestions on how to correct this?
Author: Mark Woodger
Posted: Mar 15 2007 - 07:07 PM
Subject: re: Login Requirement Issue
Hi Mary Beth

I had the same problem but put in this quick fix as a work round. Hope it helps.
Bring up the file below to edit:
typo3conf/ext/wec_connector/pi1/class.tx_wecconnector_pi1.php

Around line 400 you will find

// if toggleon/off is in template, then add the ending /div if (strpos($templateMainContent,'###ENTRY_FORM_TOGGLEON') || (strpos($templateMainContent,'###ENTRY_FORM_TOGGLEOFF'))) { $markerArray['###ENTRY_FORM###'] .= "</div>"; }


Paste in the following after it and save

if ($this->config['require_login_for_posting'] && !$this->userID) { $markerArray['###ENTRY_FORM_TOGGLEOFF###'] = 'You must be registered to post although you may delete your name when posting'; $markerArray['###ENTRY_FORM###'] = ""; }


Hope this helps,
Mark
Author: Dave Slayback
Posted: Mar 16 2007 - 10:27 AM
Subject: re: Login Requirement Issue
Hi Mark,

If you download the latest wec_connector, this fix has already been done. You can get the latest by going to Ext Manager->Check for TER2 Updates and then look for WEC (Prayer) Connector. If you do not see it, then click on the "Get version info from online repository" button at the bottom. Then you should see an update, unless you have updated to version 1.6.0 already.

Also, Mark, if you do find a problem with one of our extensions, we would appreciate it if you let us know about it so that we can fix it for everyone. Or if you make updates / improvements, it would be great to share with everyone about them.

-Dave
Author: Mark Woodger
Posted: Mar 16 2007 - 11:20 AM
Subject: re: Login Requirement Issue
Hi Dave

Excellent news. I discovered the bug last night, checked the forum, saw Mary Beth's post and presumed since there was no response it had not been fixed as yet. I therefore set about doing a patch as I had an inappropriate post yesterday. It was either patch it or pull the prayer section. Following this quick fix I posted it for Mary Beth. I'll go and update now, I'm sure your code is tidier than my quick job.

Thanks for all the hard work you do on our behalf.
Every blessing,
Mark
user picture Author: Mary Beth Maidment
Posted: Mar 23 2007 - 12:00 PM
Subject: re: Login Requirement Issue
msn
I did the install of the upgrade and it is now working fine for me as well. Thank you all for your fine work and feedback. The problem came to light for us, as well, when we received an inappropriate post...
Author: Al Mankowski
Posted: Mar 08 2008 - 09:32 PM
Subject: re: Login Requirement Issue
I am having the problem with a logon not being required to post even though the require logon box is checked. I downloaded the latest version of the extension, 1.6.1; however this did not correct the issue. I looked for the patch described in this thread and did not see those lines in the script. I manually added those lines, but the problem still persists.
Author: Dave Slayback
Posted: Mar 08 2008 - 10:54 PM
Subject: re: Login Requirement Issue
Hi Al,

I would recommend to get the 1.6.6 version. I just tried it out and it works fine in my testing. If you see the latest as v1.6.6, what you may want to do is in the Ext Manager, go to Check for TER2 Updates, and then click on Get version Info from Online Repository button at bottom of page. The Check for TER2 Updates may take awhile too, depending on server and connection speed.

If you still run into the problem, if you could post the URL to a website, and if we could get access to the Backend to look at the Flexform config so that we could duplicate it and test and make sure it is a problem with our code, not a configuration issue.

-Dave
Author: Al Mankowski
Posted: Mar 10 2008 - 01:49 PM
Subject: re: re: Login Requirement Issue
Dave,
I do not see a v1.6.6 under the TER2 Updates. The version showing up was v1.6.0 which is now loaded on our system. Our URL is www.longschapel.com. I will send the backend logon info to your email address. Thanks.
Total Posts: 8 - Pages (1): [1]
You must login to post a message to this conference.