Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter flemmingbjerke

    (@flemmingbjerke)

    Thank you very much, Matty. It helped.

    But, now the width in of each line is app. 50 character. Has this something to do with how wordpress produces excerpts to subscribe2? This 50 line limit should be removed before the wordwrap to 80 chars is used. Else, the excerpt becomes really ugly.

    I have made some changes to make the excerpts nicer. This is of course a matter of taste … except that the headline is not emphasised, which makes it more difficult to spot the headline.

    I am using plaintext notifications, therefore, to underline the headline, I changed line 3795 to:
    $message_post .= $post_title . "\n=====================================================";
    And the same for the following line. Similar may be done for html.

    In order to retain double new lines, I have changed ‘|\s+|’ in line 703, 704, 3868 and 3869 to ‘ +’. E.g. line 703:
    $excerpt = preg_replace(' +', ' ', $excerpt);
    Particularly, the original lines 3868 and 3869 make it impossible to tweak the format of the excerpts in a nice way because all double new lines is removed. Also when inserted in the settings new post text area! I think another solution to this should be figured out.

    Thinking about it, I think the best would be to split up the excerpt so that {POST} gives the excerpt text only. (And stop using {POSTTIME}). Then, the user must find out how to place and format {TITLE},{TIME},{PERMALINK}, etc. That would give optimal opportunities for formatting the excerpts in the settings’ new post text area. (If line 3868 and 3869 is changed.)

    Subscribe2 is great ??

    Outdated? How is it outdated?

    Solution

    First, I renamed the register directory in S&S so that the default registering was used instead of that of S&S. It worked, and I realised that I was wrong again: It suffices that the user is in the network administer’s user list when multisite user manager plugin is used.

    Second, I missed the specific Buddypress fields, which I was keen to have. Therefore, I copied the% registration folder from the default bb theme into S&S:

    cp -pr wp-content/plugins/buddypress/bp-themes/bp-default/registration/
    wp-content/themes/sense-and-sensibility-bp/

    It worked!!!

    To conclude, there is a bug in S&S registration! But, it is easy solved! And indeed, S&S is very nice.

    S&S = Sense and Sensibility theme.

    By the way, point 1. wasn’t right. Actually, the sign up was completed. But, the activation link from the mail resulted in:

    There was an error activating your account, please try again.
    Activate your Account

    Please provide a valid activation key.
    Activation Key:

    Nevertheless, the user turned up among the networsadministrator’s users, but not among the site administrators’ users. Inserting the activation code did not change this. The activation error page just returned with a blank input field.

    Unfortunately, multi-site-user does not solve the problem. I am setting up a mainsite which is blog, and a second site which is a buddypress site. At both sites, I use S&S. When a user register, she fills in the form incl. the passwords, and she will have an activation code mailed. But, three problems:

    1. The registration form will not finish itself, but will turn up again with empty password fields.

    2. If the user uses the activation link from the mail, nothing seems to happen.

    3. If the user tries to register again, she will be told that login and mail as well are in use.

    The explanation is that the user is registred in the network administration part only. None of the two sites know of the user, though an admin manually may transfer the user to the two sites. And then the user may realise that login and password as well were retained.

    It looks like your registration page overrules other registration functions, such as multisite-user. I have also tried to use other registration plugins, but they seem to be overruled as well.

    Incidentally, your theme is very nice and well-functioning.

    Please, take a look at hyldebjerg.dk

Viewing 5 replies - 1 through 5 (of 5 total)