Memberpages_XH 3.4 beta released

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Memberpages_XH 3.4 beta released

Post by cmb » Wed Oct 02, 2013 12:03 pm

Gert wrote:For an independent login for subsites and second languages you can use $sn in cookie names and session variables
Using $sn in a cookie name violates RFC 2965 section 3.1. At least the separators should be filtered out or mangled. However, that might lead to ambiguities.
Christoph M. Becker – Plugins for CMSimple_XH

svasti
Posts: 1659
Joined: Wed Dec 17, 2008 5:08 pm

Re: Memberpages_XH 3.4 beta released

Post by svasti » Thu Oct 10, 2013 10:56 pm

Memberpages 3.4 is out.

I understand that Gert has an interest to have plugins that fully take advantage of the subsite feature. This site which Craig has made with CMSimple 4 and 11 subsites is quite impressive, looks like something having a big fat CMS behind it. I think he is still working on it. I suggested that he try out if Memberpages or MembersAreas work better for him.

svasti

oldnema
Posts: 265
Joined: Wed Jan 21, 2009 5:15 pm
Location: Czech Republic
Contact:

Re: Memberpages_XH 3.4 beta released

Post by oldnema » Tue Dec 17, 2013 8:32 pm

Hi Frank, I have an issue with MemberPages. I wanted to set an expiration date in the administration of membership, but the input field is "grayed out" and inactive.
When you manually add the date to file members.csv and the date will appear and you can then edit it.

But when I add a new user, expiration date field is again a "gray" and inactive. Am I doing something wrong?

Memberspages 3.4

Thanks for any advice.
Josef
Nobody knows how much time he has left ...
http://oldnema.compsys.cz/en/?Demo_templates

svasti
Posts: 1659
Joined: Wed Dec 17, 2008 5:08 pm

Re: Memberpages_XH 3.4 beta released

Post by svasti » Tue Dec 17, 2013 10:09 pm

Hallo Josef,
oldnema wrote:but the input field is "grayed out" and inactive
strange, I have never seen that and could not reproduce it here.
Maybe something with writing permissions?
Can you send me per PM or email the URL and a password, so that I can see for myself?
Or do you have it only on your computer?
Could you send me the config.php?
Is "store expiration date of membership (no entry = perpetual)" on?
What happens when you save the config? Any change?
What version of CMSimple_XH? can you reproduce it on a clean CMSimple_XH?

Very strange...
Frank aka svasti

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Memberpages_XH 3.4 beta released

Post by cmb » Wed Dec 18, 2013 12:53 am

svasti wrote:
oldnema wrote:but the input field is "grayed out" and inactive
strange, I have never seen that and could not reproduce it here.
Perhaps a misinterpretation? This fields seems to be grayed out -- but that is not the case. The "yyyy-mm-dd" is a placeholder which signals the user what to type into this field, and this is displayed in gray color by many browsers. However, one can simply focus the field and enter the desired value. The same behavior can be seen in the search box on Wikipedia.

Maybe it's useful to clarify the placeholder text, e.g. "Enter a date in the format yyyy-mm-dd"?
Christoph M. Becker – Plugins for CMSimple_XH

oldnema
Posts: 265
Joined: Wed Jan 21, 2009 5:15 pm
Location: Czech Republic
Contact:

Re: Memberpages_XH 3.4 beta released

Post by oldnema » Wed Dec 18, 2013 9:40 am

Sorry for the unnecessary panic - but would do anything to set your, today I'm no longer works. :oops:
The problem was most likely the keyboard, some keys stop working.

Thanks Josef
Nobody knows how much time he has left ...
http://oldnema.compsys.cz/en/?Demo_templates

Ulrich

Re: Memberpages_XH 3.4 beta released

Post by Ulrich » Thu Dec 19, 2013 8:16 am

Hi,

when changing from CSV file to php the plugin gives an error:

Fehler: Mitgliederliste fehlt. (Versuchen Sie: "Änderungen speichern")
Nicht schreibbar: Datei
plugins/memberpages/data/memberslist.php


All file attributes are set correct. Of course the php file is empty. When switching back to CSV the members are still in the file and the plugin works as expected.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Memberpages_XH 3.4 beta released

Post by cmb » Thu Dec 19, 2013 7:04 pm

After switching to PHP file storage, you have to go to the members list and save it once. After that everything should work fine.
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Memberpages_XH 3.4 beta released

Post by Tata » Mon Mar 06, 2017 5:57 pm

Now, that I have installed and activated the plugin on one a webpage, I miss one feature, which works e.g. with Register plugin. If I assign a Page to a memberspage and set it hidden, nobody knows that it exist. So nobody will try to register. (A notice may be included somewhere in the content.)
If the page is not hidden, it won't open. That's OK. As a visitor and as the admin as well, I would prefere the warning - e.g.:
You are trying to enter a page with restricted access. Please login or register at first.
[Login] [Register]
There would be required to include an ACCESS_ERROR_MESSAGE. So the titles of all pages will be visible, but at unauthorized acces the message would appear.
I have ade small modification to the index.php

Code: Select all

       $actives .= '<br><span class="now-active">' . $plugin_tx['memberpages']['notice_active_members'] . ': '. memberlist(true) . '</span>'; 
Added the <span> with new class, to make the active member name smaller and stylable.
and

Code: Select all

   return $oneline
        ? '<div class="membp_oneline">'
            . $loggedinnotice . ' '
            . $controlpanel
            . $logoff 
            . $autologin
            . $warning
            . ' '
            . $actives
            . '</div>'
        : '<div class="membp_oneline">'
            .$loggedinnotice
            . $autologin
            . $warning
            . $actives
            . $logoff
            . $controlpanel
            . ' '
            . $actives
            . '</div>'; 
enclosed the "$loogedinnotice part into the same type of <div> to style the notice the same way like other returned notices.
In stylesheet added on the end (just for not modifying the original classes - you may remove them if averything works fine):

Code: Select all

.membp_memberspanel td input[type="submit"],
.membp_memberspanel td button, .membp_not_clicked, .membp_oneline button, .membp_small_button {
    background: #444;
    color: #fff;
    padding:.2rem;
    margin: 0 .1rem;
    cursor: pointer;    
}
.membp_memberspanel td input[type="submit"]:hover,
.membp_memberspanel td button:hover, .membp_not_clicked:hover, .membp_oneline button:hover, .membp_small_button:hover {
    background: #666;
    color: orange;
    padding:.2rem;
    margin: 0 .1rem;
    cursor: pointer;    
} 
To make the buttons better stylable and looking the same way.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply