Jump to content

bfarber

Clients
  • Posts

    163,911
  • Joined

  • Days Won

    346

Reputation Activity

  1. Like
    bfarber got a reaction from Rhett in Purge all members   
    You could search for all members in a group and then choose to delete all of those users. It would take some time for this to happen via the background tasks but I would strongly discourage you from trying to do this in the database directly (there are tons and tons of tables that would need to be considered).
    Just search for all users in the "Members" group and choose to delete the results. Repeat for each group except admins, and then delete any admin accounts except yours one by one.
  2. Like
    bfarber got a reaction from Joel R in Purge all members   
    You're misunderstanding my suggestion. Yeah you definitely don't want to delete each member one by one. I'm suggesting you use the "mass" tools available for managing accounts.
    Do this:
    Log in to the AdminCP Visit Members > Groups Click the number next to the "Members" group. You will see a list of members. Then click the link to prune all of the results found as seen in this screenshot
     
    Repeat those steps for each group, except for admins which you'll delete one by one because you'll need to preserve your own account (there shouldn't be that many admins so this shouldn't be a problem).
  3. Like
    bfarber got a reaction from SC36DC in The Promote Button   
    As I recall (I don't work on that area very much) you have to get approved by Facebook manually and it can be a challenging process. I'm not 100% certain on that off the top of my head though.
  4. Thanks
    bfarber got a reaction from VaBeach_Guy in Purge all members   
    You're misunderstanding my suggestion. Yeah you definitely don't want to delete each member one by one. I'm suggesting you use the "mass" tools available for managing accounts.
    Do this:
    Log in to the AdminCP Visit Members > Groups Click the number next to the "Members" group. You will see a list of members. Then click the link to prune all of the results found as seen in this screenshot
     
    Repeat those steps for each group, except for admins which you'll delete one by one because you'll need to preserve your own account (there shouldn't be that many admins so this shouldn't be a problem).
  5. Like
    bfarber got a reaction from SC36DC in Purge/delete old accounts pending activation   
    If you are not using email validation why do you have accounts pending validation that you want to delete? Those should, in theory, be accounts pending admin validation and you should go through them to either validate or deny the registration.
  6. Like
    bfarber got a reaction from SC36DC in The Promote Button   
    Facebook changes things on their end practically weekly (at least it feels that way sometimes) so it is challenging to keep the guide up to date.
  7. Like
    bfarber got a reaction from Daniel F in need help about this error   
    Did you remove Downloads by chance? It seems like you are attempting to view a purchase of a file in Downloads but the templates can't be found.
  8. Like
    bfarber reacted to Rhett in Javascript on every page   
    This is a built in item,  In your admincp live search, search for analytics, open the link of "Enable analytics tracking code" select "other" and paste in your code.
     
     
  9. Thanks
    bfarber reacted to Sonya* in Pagination in Articles in Pages   
    Go to your AdminCP -> Editor -> Toolbars Find a button for Page in the buttons that are not on toolbar  Drag the button into your toolbar Visit the website, open an article and add a page break with this button into your article.
  10. Like
    bfarber got a reaction from sobrenome in Instagram embedding doesn't work here and on my site   
    Do you have an example URL that you want to embed which doesn't automatically embed?
  11. Thanks
    bfarber got a reaction from Sheffielder in StrangeProblem - Topics/Posts not belonging to any category   
    If you made a new forum (not category) to place them in, you could run the following database query to move your existing orphaned topics to the new forum (make sure you take a full database backup first in case anything goes wrong).
    update forums_topics set forum_id=X where forum_id not in(select id from forums_forums); Replace 'X' with the new forum id you just created, and add any database table prefix you may have to the two table names.
  12. Like
    bfarber got a reaction from sobrenome in Instagram embedding doesn't work here and on my site   
    We use Instagram's oembed endpoint. You can test their URLs yourself here:
    https://api.instagram.com/oembed/?url=https://www.instagram.com/coryrichards/
    ^ Doesn't work
    Example working URL: https://api.instagram.com/oembed/?url=http://instagr.am/p/fA9uwTtkSN/
    We don't control which Instagram URLs Instagram will support with their oembed endpoint I'm afraid.
  13. Like
    bfarber got a reaction from sobrenome in Instagram embedding doesn't work here and on my site   
    I'm not sure I know how to answer that.
    For the editor, when you paste a link in that we know an oembed endpoint can handle, we send it to that endpoint, and then generally embed the content that the endpoint returns. Look at the "html" property of this JSON object for instance - it has the full HTML to embed:
    https://api.instagram.com/oembed/?url=http://instagr.am/p/fA9uwTtkSN/
  14. Thanks
    bfarber got a reaction from TheWorldNewsMedia.org in Blog RSS feed URL 'missing feed Title'? Is there a workaroun   
    It's not an issue.
    I can't reproduce the title issue testing locally, so it may have been fixed already for 4.5.
    We produce an RSS feed, not an ATOM feed, so the notice about atom:link can be ignored.
    I don't see any instance of ipsnoembed in the HTML you copied, but that is going to come down to the fact that descriptions accept WYSIWYG content which we are outputting without modifying (the same as the warning about using HTML in descriptions). It is my opinion this can be safely ignored.
  15. Thanks
    bfarber got a reaction from Sheffielder in Sign In With Apple   
    Per our blog entries regarding the mobile app, we are building out one app that communities can utilize first, and will explore white-label options (that is, allowing individual communities to have their "own" version of the app just for their community) later.
  16. Like
    bfarber got a reaction from The Old Man in Can't edit my default theme   
    Most of the time this is due to mod_security on the server, or a similar "firewall" or security protection.
  17. Haha
    bfarber reacted to Adriano Faria in Error 2S100/6: requested_route_404   
    Oh I had the brilliant idea of add a hidden field name 'module'.
    Thank you! 👍
  18. Thanks
    bfarber got a reaction from Nicholas Schuester in Error When Deleting Member   
    Yeah, you're missing a database table.
    You can run the support tool in the AdminCP if you're able to access it, but otherwise I'd recommend a support ticket.
  19. Like
    bfarber got a reaction from AtariAge in Elasticsearch Version 7 & IPB?   
    Elasticsearch will provide vastly superior search results, however it is a remote service so your community will need to make HTTP requests to it in order to index the content, and to fetch the search results. That said, the searching is faster than MySQL particularly for larger data sets.
    Generally speaking, if you get to a million or two posts, you should probably switch over to ElasticSearch. Before that point, you would really just need to try it out and see if you prefer it or not. If you have a really fast server and a relatively smaller site, you may find that local MySQL searches are sufficient, and perform faster, than a remote service.
  20. Like
    bfarber got a reaction from ASTRAPI in Help needed to analyse the MySQL slow queries   
    So the first thing I want to say is that it is normal to have some queries not using indexes. For instance, we load all forums up into memory, and when you select all rows from a table no particular index is used (since there is no filtering occurring). You can't solve all of those types of queries.
    /*IPS\Patterns\hook543::load:17*/ SELECT * FROM `membersshop_points` WHERE `member_id`=10282; You have a member shop application or plugin installed which needs an index on membershop_points.member_id column.
    /*IPS\Http\Url\cms_hook_FriendlyUrl::createFriendlyUrlFromComponents:55*/ SELECT store_current_id FROM `cms_url_store` WHERE store_type='page' and store_path='fbclid=IwAR16ELYSJqeQ0TjcQoAaPOQFNEZDw6C2zfGHKAtHwPCToBE5SILpAsvUtWI'; This has already been addressed for 4.5, though it's unlikely to be slow for most communities regardless.
    /*IPS\Theme\Cache\class_membersshop_front_widgets::mostpoints:61*/ SELECT * FROM `core_members` ORDER BY core_members.shop_points DESC LIMIT 6; Again, your member shop application. You may get some performance by adding an index on core_members.shop_points and/or the query may need to be adjusted.
    /*IPS\featuredcontent\_Slider::fromCustom:638*/ SELECT * FROM `featuredcontent_contents` WHERE fcc_slider=70 ORDER BY RAND() LIMIT 0,20; Order by RAND() is always going to be horrible. This should be changed by the plugin author. We have a pseudo-random approach when we order "randomly".
  21. Thanks
    bfarber got a reaction from Gauravk in Server Management - Best Practises   
    In phpmyadmin it's as simple as changing the table type.
    That said, you should ensure your webhost has optimized your MySQL configuration for InnoDB first.
  22. Thanks
    bfarber got a reaction from LaCollision in IPS MultipleRedirect and HTML   
    No, there is no way to go back to the previous method.
    We ran into an issue in our own code using HTML with this new method, which we've since addressed. It seems unlikely we will be returning to the older method for the MR output.
  23. Like
    bfarber got a reaction from sobrenome in Using custom fonts   
    You should visit Customization > Themes in the AdminCP, click the dropdown next to your theme and go to Manage Resources. Upload the font here, and then take the replacement tag (which generates the URL) and use that in your custom.css.
    Your solution is fine and will work, but the above method will benefit from using our storage handling system properly. i.e. if you move your theme resources to S3 for performance reasons, your font would be moved as well, and the CSS file would automatically update to reflect the new URL.
  24. Thanks
    bfarber got a reaction from Sheffielder in Search index 4.8 gig, reputation index 1.1 gig - too big?   
    For the search index if the size is a concern, you can configure your site to only store the last X days in the search index (e.g. you could limit to the last 365 days of data, but note that you won't be able to search for content older than this if you do).
  25. Like
    bfarber got a reaction from Makoto in Search index 4.8 gig, reputation index 1.1 gig - too big?   
    For the search index if the size is a concern, you can configure your site to only store the last X days in the search index (e.g. you could limit to the last 365 days of data, but note that you won't be able to search for content older than this if you do).
×
×
  • Create New...