Forum Replies Created

Viewing 15 replies - 1 through 15 (of 35 total)
  • I didn’t mention that I had added a line in relevanssi_light_database_alteration_action to deliberately print a response. The request never reaches this function.

    Anyway, if that’s the only way for now, I’ll make necessary edits on my own. I can run the alter table queries directly on admin_init and make other necessary adjustments.

    Thanks again.

    Hi Mikko,

    As Michael pointed out earlier, we have different setups for our local. I am using mysql 5.7.34.

    To add-on, it’s not only the index that is not being added, the new column ‘relevanssi_light_data’ isn’t added to posts table either.

    What you said about asynchronous ajax action failiing sometimes for mysterious reasons might be true here. I checked a little and found out that call to ‘wp_remote_post’ inside ‘relevanssi_light_launch_ajax_action’ returns an empty response. I can manually run the alter table queries on local but we make it a rule to never touch proudction database manually and will like to avoid that if possible.

    Thanks much for your contribution.

    Thread Starter ckchaudhary

    (@ckchaudhary)

    Sounds good. I can close this thread here.

    About the steps taken to clone site to your localhost:
    in the last step of ‘updating db tables to point to loalshot, not external site’, you probably did a simple search and replace of https://website.com to https://localhost/wordpress. If so, you need to be careful there. Many of those strings are serialized data and when you do a plain search-and-replace, serialized data becomes invalid resulting in ‘broken’ website. You should instead use a tool like SRDB to perform this.

    Now, about the second issue, if you dont have admin access to the site, you can simply edit the password of any existing admin user by directly editing the database. On you local, you obviously have access to the database. You can open users table, find a potential admin user and edit its password to a password of your choice. However, the password is not saved in plain text and must be converted to md5 before saving. E.g: apple is 1f3870be274f6c49b3e31a0c6728957f. Now you know the username and password and can login.

    Hi @fantasmo,
    If i understand your question correctly, WC Vendors might be what you are looking for. This is a full blown multi-vendor e-commerce solution. Works with woocommerce.
    You, as an admin, can make some members as vendors. Those vendors can then create and sell their products and you can setup a commission per sale, etc.

    When you click on category filters, only the filtered items remain and rest are HIDDEN. they are just hidden, but are still there on the page. Pagination is not recalculated. And hence you get the weird counts. I believe this is how your theme authors have deveoloped it to be.
    You should contact the theme authors.

    You can take the help of a programmer to develop a custom widget for you.
    If you dont want to do it with custom coding, here’s what i can suggest:
    1) Drag a ‘Text’ widget into your sidebar
    2) Enter the follwing html in there

    <ul>
    
    <li><a href='https://mydomain.com/a-post-about-orange/'>A post about Orange</a></li>
    
    <li><a href='https://mydomain.com/a-post-about-apples/'>A post about apples</a></li>
    
    </ul>

    This involves some html, but nothing scary. Just be careful with single quotes and angular brackets. Each <li>....</li> is one item. You’ll obviously need to replace these dummy urls and titles with actual urls and titles of your posts.

    3) Hit save

    • This reply was modified 8 years, 2 months ago by ckchaudhary.

    Hi Valerie,
    Yes it is possible. We are talking about a network of multisites, which is already built into wordpress core, kind of.
    So, ‘second-site’ becomes a multisite itself having ‘en’ and ‘fr’ as independent blogs inside it. Similarly, ‘third-site’ becomes a multisite with ‘en’ and ‘fr’ as blogs and so on.
    And then the main domain master-site.com becomes the parent network which houses all these multisites.

    Here’s the plugin which gives you a UI in network admin to achieve this: https://www.ads-software.com/plugins/wp-multi-network/

    And you should read this article here to know the details: https://premium.wpmudev.org/blog/network-of-multisite-networks/

    Sure. here it is : https://healothers.com/library/

    I am using ‘post indexer’ and ‘global site search’ plugins by wpmudev to maintain and display a global listing of all blog posts added across all blogs in the network, with small adjustments.
    If you are comfortable with php, you should find a workaround to show blogs as categories.

    Another option that might wanna try:

    Hi,

    I’ll take the other route, of pulling data from main site.
    On the main site, where the plugin is active, you can setup some sort of api, which accepts variables and generates filtered data( i.e filtered listings ) accordingly.
    Then on the other 2 sites, you can call the api, and display the output.

    That’s my programmer self talking. I am not sure if it helps you much.

    Plugin Author ckchaudhary

    (@ckchaudhary)

    Hi Cindy. This plugin doesn’t have anything to do with autocomplete. I am sure there is some other plugin/theme which is interfering with the autocomplete script, causing a javascript error. And that error is breaking the attachment plugin functionality too.
    I might take a look, if you can paste your site url here.

    Hi.
    I have this issue too.
    I investigated and found a possible bug.

    Class BP_Group_Extension passes group_id to the ‘display’ function as argument.
    $this->display( $this->group_id );

    But BP_Groups_Hierarchy_Extension class’ display method assumes this as ‘page number’. I think that is not correct.
    If i uncomment plugins/bp-group-heirarchy/extension.php line number 370
    'page' => $page
    then it works. But obviously it breaks pagination.

    Can you please look into it.
    And thank you so much for the plugin. Its great!

    Plugin Author ckchaudhary

    (@ckchaudhary)

    Hi Carl,
    Adding the attachments ui to any form will require you to do 2 things:

    1. Enqueue plugin’s js files. By default plugin loads its script, styles only on buddypress’ default compose message screen. You can copy code from function add_css_js in wp-content\plugins\buddypress-message-attachment\includes\actions.php line #48
    2. Add attachment’s ui to your form – Plugin has a filter specifically for this purpose. Define a custom action call in your form and add that action name in the list of actions at wp-content\plugins\buddypress-message-attachment\includes\actions.php line #38 using the filter defined there.

    That should be all you need to do. I understand it’ll be difficult to implement for non-programmers. I’ll soon write a blog post about this in detail.

    Plugin Author ckchaudhary

    (@ckchaudhary)

    1. About the broken file, I am not sure why is that happening. Let me run few tests with large image files and get back to you.
    2. About the preview instead of download – Thanks for the suggestion. I’ll add that option in next release of plugin.

Viewing 15 replies - 1 through 15 (of 35 total)