Recent content by Scandal

  1. Scandal

    XF 2.2 Empty error text - can I find where is the problem?

    Hello all! :) I'm building a new payment provider for xF2. I have a strange issue. 1. For User Upgrades it works as expected 2. But for one of my purchasable items (custom), when I POST the form to /purchase/process?request_key=bBwSG2fam0c3dh84C5UZ1C5XS2BYcaGY (example) I get this screen: I...
  2. Scandal

    XF 2 I need help to merge some custom user fields (values)

    First of all I want to notice that I'm a xF2 developer too, so I'm very okay to contact with other developers in "our language" and I know clearly what I need :). I'm doing some rehearsals of merging two of my own xF2 sites, and I have to merge also some (very) common custom user fields and I...
  3. Scandal

    XF 2.2 Admin Panel: data importing - I need a simple example (5 - 10 lines of code) for the Pub

    This would be very helpful to know, since I need to develope some data importers. :) * it is for the Admin controller
  4. Scandal

    XF 2.2 Old [AME] bbcode from vBulletin board: replace it with new [MEDIA]

    ok I found this on the addon's discussion. Problem solved :) +\.youtube\.com/watch\?v=)([a-z0-9_-]{11})(?:(?:.*?(?!"]?)).)?(?:"])(?:.*?(?!\?).)(?:\[/ame])#siu
  5. Scandal

    XF 2.2 Old [AME] bbcode from vBulletin board: replace it with new [MEDIA]

    Thanks! I'm in a good way to achieve what I need. Here is what I enter on the form: Quick find: ]+)\]([^\[]+)\[/ame\]#siU Replacement string: The result: Matched text: [ame=""]tonight i can write the saddest lines - pablo neruda - YouTube Replacement: My question: 1. how could I...
  6. Scandal

    XF 2.1 captcha on search

    bump! Here is my elasticsearch statistics: Documents 2,785,261 (935 MB) Index updates 34,095 Searches 88,969 (5 milliseconds average) Allocated memory 264.4 KB They are not normal based on the traffic of my forum. I see new "searches" every a refresh of the admin page. Maybe a bot / guest...
  7. Scandal

    XF 2.2 Old [AME] bbcode from vBulletin board: replace it with new [MEDIA]

    I'm planning to import a vBulletin 3 board to my xF2.2 site. I have stack on this issue: There are ~9000 posts with the following bbcode from an old vBulletin addon: this is the video title / useless info currently I want to replace / canonicalize it with the new [/CODE] Any idea? I just need a...
  8. Scandal

    XF 2.2 Get post_date of the last post of page X

    Any improvement to the script would be useful! :) Tip: there is the column position on xf_post. If we do position + 1, we get the location of the post on the thread. Maybe if we combine the position, messagesPerPage and thread reply_count info, we can bypass the getScVisiblePostIds query?
  9. Scandal

    XF 2.2 Get post_date of the last post of page X

    Well, I made this solution: 1. Thread getter to get all visible post_ids (since $this->post_id includes also deleted and moderated posts). public function getScVisiblePostIds() { return $this->db()->fetchAllColumn(" SELECT post_id FROM xf_post...
  10. Scandal

    XF 2.2 Get post_date of the last post of page X

    Hello all devs! :) Well, I need to build a getter for XF:Thread entity which do this: for page number $page (of the thread), return the post_date of its (I mean page's) last post. I'm trying to find an efficient way to achive this. Even with a simple query / finder. I think that we will have to...
  11. Scandal

    XF 2.2 Ask google to re-index all URLs of my forum since some updates applied

    Yes, I have both Google Search Console account and submiting sitemaps. Thanks :)
  12. Scandal

    XF 2.2 Progressive Web App (PWA) start screen - icon is very small

    Well, I had been installing PWA on my Android phone (Samsung Note 9 / Chrome). The icon size was "ok" on the start screen. Today I reset my Chrome and re-install the PWA. For an unknown reason, the icon turned to even (very very) smaller and I don't know the reason, since, I didn't have change...
  13. Scandal

    XF 2.2 Ask google to re-index all URLs of my forum since some updates applied

    Recently I changed some parts on my <title> tag of all pages of my forum. What I have to do to ask Google to re-index all my URLs? Could be a good practice to modify sitemap and apply NOW time to <lastmod> xml field? :)
  14. Scandal

    SEO Utilities

    Interesting addon. I'm just bumping the thread for some experiences on this addon :)
  15. Scandal

    XF 2.2 Two questions about xF2 Sitemap generator

    I have two questions in related with sitemap generator of xF :) 1. As I see on the xml file (sitemap), it has the urls of first page from each thread. Is that normal? A thread could have useful replies in other pages (= useful text for someone who using Google Search). I'm just asking. 2. I have...
Top