Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#41 2014-12-23 12:58:16

From: Canberra, Australia
Registered: 2004-08-04
Posts: 342

Re: mck_login

Since then, I’ve made a number of changes to the plugin code so that it (hopefully) better works with what I’m trying to do. Do you want me to send you the details of those? I’ll admit that I can’t remember why I made every change but I’ve got an idea for most of them.


#42 2014-12-23 16:32:23

Plugin Author
From: Como
Registered: 2006-10-17
Posts: 248

Re: mck_login

Yes, sure. So, if ! have some time free I can take a look at your code. Did you have comment your mods?


#43 2017-09-16 12:20:31

From: Afghanistan
Registered: 2012-10-02
Posts: 59

Re: mck_login

I’ve installed this plugin to txp 4.6.2
when the form of register submited, the following error appear:

Tag error: <txp:mck_register_form> -> Textpattern Error: Table 'website_web.txp_discuss_ipban' doesn't exist while parsing form None on page English

Note: the user will be added to the users list on txp, but the user doesn’t receive the email !

Last edited by bashirnoori (2017-09-16 12:36:11)


#44 2017-09-16 13:37:54

From: Afghanistan
Registered: 2012-10-02
Posts: 59

Re: mck_login

is it possible to config with SMTP the email setting ?
because the email on gmail goes to the spam and for hotmail, outlook is not receiving


#45 2017-09-17 16:05:41

From: Germany
Registered: 2005-01-20
Posts: 4,036

Re: mck_login

I really don’t know, but might SMTP envelope sender address on the Preferences » Admin panel help?

TXP Builders – finely-crafted code, design and txp


#46 2021-01-02 17:32:00

From: Italy
Registered: 2017-01-10
Posts: 34

Re: mck_login

If it’s of any use for somebody, I applied a couple of very small fixes to make the plugin compatible with 4.8 and repacked the .php with metadata and docs in textile format.

It’s not fully working (the reset forgotten password procedure is broken, as far as I can see), but you can register a new user with the desired privs level and change the password while logged in.
Combined with the functionality of cbe_frontauth (+cbe_members) and rah_privileges I managed to create a private blog where friends can self register to see the blog articles and manage their password.


  • It works ;)

Cons (to be fixed):

  • email subject and body are hardcoded for both mck_login and cbe_frontauth => need more flexibility
  • new random created password is sent in plain text to the user => need to implement a confirmation request > set your new secret password procedure

Repos on github:

  • mck_login
  • cbe_frontauth
    • include_once( txplib_admin.php ); for compatibility with 4.8; the repo includes cbe_members repacked in .php


#47 2021-01-03 08:23:04

New Member
Registered: 2021-01-03
Posts: 1

Re: mck_login

Thanks Kirito,

unfortunately i get the following error-message when i activate this plugin mck_login_v0.1.1

Parse error: syntax error, unexpected ‘<’, expecting end of file in /home/u295562650/domains/klartext.jetzt/public_html/textpattern/plugins/mck_login_v0.1.1/mck_login_v0.1.1.php on line 2

What do i do wrong?
I pasted the downloaded .php-file, but it looked like html only…. I tried also to copy the raw-php-code to the plugin field, bus same error…
I don’t get it.
Can someone help, please?


#48 2021-01-03 08:48:40

From: Leeds, UK
Registered: 2006-01-29
Posts: 9,996

Re: mck_login

Cryptoniq wrote #327982:

Parse error: syntax error, unexpected ‘<’, expecting end of file in

Hi and welcome to the forum. You’ll get this if you paste in any of the <?php or ?> field marks into the plugin code boxes. Assuming you are running a recent (Txp 4.7 or higher) version you should either:

  1. Download the compiled .txt version of the plugin from the above repo and paste its contents into the Install plugin box.
  2. Download the .php version of the plugin and use the Upload plugin field’s browse… button to locate the file to install it.
  3. Locate the existing plugin in your Textpattern installation, click to edit it, and then copy and paste just the new code from the repo and paste it into the Code box. In other words, the chunk between (and not including) the BEGIN and END PLUGIN CODE markers.

Either of those routes will get the plugin installed. Hope that helps.

EDIT: We’re unifying the plugin experience in Textpattern 4.9 but we’re not quite there yet.

Last edited by Bloke (2021-01-03 08:50:35)

The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp


Board footer

Powered by FluxBB