BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 1,841 through 1,850 (of 15,332 total)
  • Author
    Posts
  • in reply to: deleting problem #459639
    Steven Zahm
    Keymaster

    @ Jerry

    Edit the entry that you have added an image to and wish to remove. When on the edit page, scroll down to the photo or logo and select the remove option and save the entry.

    Hope that helps! Let me know.

    in reply to: City visible on excerpt listing #459612
    Steven Zahm
    Keymaster

    @ Erika

    That is the code to register the custom field, you should not be adding that to the card.php file. You should add that coide using the Code Snippets plugin as described in the developer documentation link from my previous reply.

    The code that should be placed in the custom template override file is in the section right before the “Export the Field” section.

    As for where you put the override file itself… well, that depends entirely on your setup. If you have a parent and child theme, then yes, that folder would be a correct folder. However if you do not have a child theme that that would be the wrong folder because there is no child theme. When I do custom work, I place the files in this folder:

    ../wp-content/connections-templates/circled/

    in reply to: City visible on excerpt listing #459607
    Steven Zahm
    Keymaster

    @ Erika

    Here’s the link to the developer documentation for a custom text field. It covers the code necessary to display the field within a template file. Perhaps I should add a subhead… the relevant section is the last few paragraphs before the “Export the Field” subhead.

    in reply to: City visible on excerpt listing #459605
    Steven Zahm
    Keymaster

    @ Erika

    You will have to edit one of the template’s PHP file. The card.php file to be exact. You will like have to add some CSS too to account for the addition. Here’s the link to the developer documentation on how to add a custom template override file.

    in reply to: $img_path variable #459603
    Steven Zahm
    Keymaster

    @ Erika

    RE: The logo still will not show, however – and no error message that i can see. Yes, i can upload media library files just fine.

    When you add a logo, and then after you save the entry — can you see the logo when you edit the entry again? I suspect you can if you can upload a photo to an entry.

    I see you are using the Circled template — if you are talking about seeing the logo there, the template supports displaying the photo or the logo, not both. If you want more images for the entry, I suggest adding them to the bio.

    RE: when i go to view my sample entry under the dashboard manager, it takes me to this URL but I only see the content for the main directory page which i have set up to go to sub directory pages.

    That is because you have the Directory Home page set to that page. Since you are going to manually break the directory apart into many pages the admin links are not going to be valid as it simple is not possible to know which page the entry should be linked.

    Keep in mind what you are doing is possible, obviously, but there will be some limitations such as this. Also some extension work based off the directory home page settings such as the widgets in the Widget Pack.

    You can mitigate some/many of this minor issues by using this installing this addon for Connections:

    https://github.com/Connections-Business-Directory/Entry-Homepage

    This addon allows you to define the directory home page per entry overriding the global directory home page setting. Even though the usage of this addon is fairly straightforward it is considered an advanced addon, eg, you’ll have to know how to download and install it from Github in order to use it.

    in reply to: $img_path variable #459592
    Steven Zahm
    Keymaster

    @ Erika

    Yes, as the WP documentation states, you need to use the full URL when setting the WP_CONTENT_URL constant.

    Setting it to /wp-content is wrong will cause issues in WP such as returning the incorrect content URL when plugins such as Connections for it.

    in reply to: $img_path variable #459526
    Steven Zahm
    Keymaster

    @ Erika

    No, you need use the full URL, not the relative URL that you are trying to use. Example:

    define('WP_CONTENT_URL', 'http://domain-name.com/wp-content');
    

    Here is the link to the WP docs about the constants:

    https://codex.wordpress.org/Determining_Plugin_and_Content_Directories#Constants

    Hope this helps!

    in reply to: NEW FEATURE PLEASE – LINK #459524
    Steven Zahm
    Keymaster

    @ Ben

    RE: The user creates themselves as a member though another plugin and then they click on Add Listing (to create a directory entry).

    This other plugin to allow the user to register themselves… does it auto log the user in? If they are not logged in when you direct the user to the Add Entry page, it will in fact not be linked to them because they are not actually logged in.

    I’d have to have more detail on your user registration process flow in order to understand why the entry they add are not being linked.

    RE: A quick tool to create a link or break a link would be great!!!

    I do agree. Then I go to sleep that night and have nightmares about admins trying to use the tool to link multiple users to the same entry or visa versa, maybe even both. Then filling my inbox on why it does not work.

    No, on more serious note… I really have thought about this. The best solution I think I can come up with is adding an option on the User Profile page with a drop down to allow an admin to choose and entry to link to. AND on the Entry Edit page add a new box with a drop down with all WP Users for the admin to choose to link the entry to.

    What’s stopped from from actually adding this is select dropdowns do not scale well so it would not work for admin who have hundreds of users and hundreds, or more, of entries. With scaling in mind this means I need some sort of ajax process that can return a list of user/entries based on search as the user types (I guess). It is a tough nut to crack… even the Gutenberg team is going in round in circles looking for a solution. If you do not know, Gutenberg is the new editor coming in the next WP major release. Perhaps when they settle on a solution, I’ll be able to piggyback off it.

    in reply to: Advanced Search #459522
    Steven Zahm
    Keymaster

    @ Richard

    I’m sorry but I think I may have somehow confused you with my previous answers. I’ll try to rephrase…

    It is not possible using the shortcode to split the shortcode output of the result list view and the detail view into separate Divi columns.

    in reply to: Advanced Search #459510
    Steven Zahm
    Keymaster

    @ Richard

    Sorry, no, you will not be able to “split” up the initial results view and the detail view within separate Divi columns.

Viewing 10 posts - 1,841 through 1,850 (of 15,332 total)