BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 3,011 through 3,020 (of 15,332 total)
  • Author
    Posts
  • in reply to: shortcode no longer working #431608
    Steven Zahm
    Keymaster

    @ chris

    Yes, I was able to duplicate, but only after enabling the “Use advanced image finder” option in NextScripts: Social Networks Auto-Poster on the admin settings page under their Settings tab.

    With the “Use advanced image finder” option enabled, if I select the “Do not add Open Graph Tags” option in the in the “Open Graph” Tags section of the settings the pages load fine. So, there is something going on with those two settings.

    The way the Open Graph tags are coded to be added to the page puzzles me. It seems they cache the entire page to simply output a few meta tags in the page head. I’m sure they must have a reason but I think it is this that is causing the trouble because I think PHP is getting confused or something with the multiple output buffers being open and cached which is resulting in this error. Another item I find very odd is that this is coded to happen based on if a select bot or browser visits the page. For example, the page will load fine when using IE 11 or Firefox but not Chrome or Edge.

    At this point, I’m do not think Connections is the source of the conflict. I’m leaning towards their implementation of output buffering the entire page content as the source. It certainly could be a bug in Connections, but I just do not see how at the moment. I would suggest pointing this out to their support of you are a Pro user of their plugin.

    Hope this helps!

    in reply to: Backup before upgrade #431602
    Steven Zahm
    Keymaster

    @ Jacquie

    Connections is not a backup solution. I would recommend a plugin like BackupBuddy or Duplicator. Honestly, I suspect most users do not bother.

    Hope that helps!

    in reply to: Own custom template not working as expected #431596
    Steven Zahm
    Keymaster

    @ Patrick

    The error message might not be showing the complete path but if it is, the path that is being generated by WP is ./class.customizer.php (according to the error message. Technically this is correct, but I would expect the full absolute path rather the the relative path.

    Add the following line above the require_once line. Save and upload the file and then click the Customize button.

    var_dump( plugin_dir_path( FILE ) . 'class.customizer.php' );

    What is the message it outputs? It should be the full absolute path to the customizer file.

    If it is the absolute path then there is something with the permissions of the file which is not permitting it to be read. There is nothing I can really do about that. If that is the case and you are not able to resolve the permissions issue the just add // at the beginning of the reuire_once line or delete it. It is not necessary for the template to function as it simply adds a few more customize options.

    Hope this helps!

    Steven Zahm
    Keymaster

    @ Linda

    I’m not able to see the page you shared the link to because it requires a login to view…

    Sorry, there is not a way to group entries by category automatically. If your directory has a small number of entries, you could use the Connections shortcode on the page once for each category using the category shortcode option to create the groups.

    If you have the settings to allow the user to click thru to the single entry, with this setup, you find that you’ll have a bunch of duplicate entries listed instead of just the one. The entry will be listed for each category group you created. This can be worked around by creating a second page which contains only the [connections] once with no options. Then adding the home_id shortcode option to each category group shortcode on the original page.

    If you directory is larger, let say more than a 100, this will not work well and I would recommend against it (unless you create a separate page for each category group).

    Hope this helps!

    in reply to: Link to conact #431588
    Steven Zahm
    Keymaster

    @ mark

    I’m guessing you are suing the Slim Plus template. Is that correct? The Slim Plus template does not have a detail/profile view.

    What you could do is enable the Single Entry Template option and then on the Connections Templates admin page activate the Default Card template for both the Individual and Organization template types.

    Now, navigate to the Connections : Manage admin page, you can copy the URL from the View link under each entry to paste into their class to their member profile. When the students click that link, instead of displaying the entry using the Slim Plus template, it be displayed with the Default Card template which displays most of all info by default. This should more or less achieve your goal.

    Hope that helps!

    in reply to: Fatal Error: Allowd Momery #431502
    Steven Zahm
    Keymaster

    @ Joe

    The value you set in the wp-config.php file is incorrect. Set it to 256M. See this page I found which has good instructions.

    https://serverpilot.io/community/articles/how-to-increase-the-wordpress-memory-limit.html

    Hope this helps. Let me know.

    in reply to: Invalid license #431364
    Steven Zahm
    Keymaster

    @ Paul

    RE: Is there a way to do this in one step.

    Sorry, no, there is not. Though I can see why it’s confusing for your users. With this page: http://kcbusinessforum.com/directory/

    The big “Register Here” button does not do anything. I would expect clicking it would take me to the registration page.

    On the Connections : Settings admin page under the Display tab you enable the “Login Form” Content Block to be shown on the result list. Even though this is possible, I recommend not to because it causes it to display on every entry on the page. If you want a login form, I would suggest to enable it in the Single Entry Content Block section so it is only shown when viewing the entry profile page. What I suggest is to use neither and use the Login Widget in the theme’s sidebar instead.

    Also, you have the “why and how to be listed in the directory” pitch on the directory page. I would suggest using a separate page otherwise the pitch will be at the top of every single entry in the directory because Connections uses the same page to display the list and profile views of the directory.

    RE: the Google maps is not working.

    Open the page in Chrome, hit the F12 key and then click the Console tab. Google is reporting this error: InvalidKeyMapError. Here’s their documentation on what the error means. The short version, the Google Maps Key entered on the Connections : Settings admin page under the Advanced tab for the browser is not correct. Here’s a link to a tutorial on how to create a browser and server Google Maps API key.

    Hope this helps!

    in reply to: Own custom template not working as expected #431360
    Steven Zahm
    Keymaster

    @ Patrick

    I just went thru the process myself, but used the core Profile template instead of Card (I already had a plugin duplicated of Card):

    • Move the profile folder from ../connections/templates/ to ../wp-content/plugins/
    • Change the folder name from profile to connections-profile. (Not necessary)
    • Open the profile.php file and renamed all instances of the CN_Profile_Template class to myCN_Profile_Template.
    • Change the slug from profile to myprofile.
    • Activated the template on the Plugins admin page.
    • Navigated to the Connections Template page and tested the Customizer. It worked as expected.
    • Because I moved the profile folder originally, the original Profile was no longer running at the same time so I copied a duplicate of the original back to the templates folder so both Profile templates exists.
    • I tested Customizer on both instances of Profile and they functioned independently of each other as they should.

    So, I guess my advice would be to take a step back. Archive your duplicate and make sure the original Card template is in fact original with no changes (that’s important) and that is in in the ../connections/templates/ folder.

    Then, follow my steps above which are basically the same as the tutorial. I need to add the instruction to change the slug.

    The only other thing you’ll have to do which I did not is change the Customizer line from require_once CN_PATH . 'templates/card/class.customizer.php'; to require_once plugin_dir_path( FILE ) . 'class.customizer.php'; The next update to Connections will include that change so it will no longer be necessary.

    Hope this helps, let me know how it goes.

    in reply to: Member Update #431359
    Steven Zahm
    Keymaster

    @ Donnie

    Yes, export from Connections and update that CSV file. Be aware of one item. If you add two or more of one address type only one will be exported and when you update the one that was not exported will be removed. Example, adding two “Home” addresses to an entry, only one will export and the other will be deleted on update. It is fine to add one “Home” address and one “Work” address and one “School” address and so on. The same goes for the other repeatable fields in Connections such as phone, email, social media and so on.

    Hope that makes sense and answers your question thoroughly!

    in reply to: shortcode no longer working #431358
    Steven Zahm
    Keymaster

    @ chris

    My first suggestion is to run thru the theme and plugin conflict checks:

    Let me know what you learn.

Viewing 10 posts - 3,011 through 3,020 (of 15,332 total)