Search results

  1. Improvs

    XF 2.1 Memcached how to set and get?

    Hi, trying to figure out how to set and get key-value with memcached. For example, I have the PHP function which return some different counters (total ids, answers, questions, filters). For this and similar cases l would like to use lifetime cache. As I understand, memcached PHP extention...
  2. Improvs

    XF 2.1 Send header params globaly

    Need advice. What is a better way to send some header params for all pages with specific $_GET? For example: header ('X-Robots-Tag: noindex, follow'); I thought about APP class, but this class is not extendable.
  3. Improvs

    XF 2.1 Callback - how to return true or false in template?

    I'm using callback inside xenforo template. I need to pass there some params: true or false. That is what I got bellow: PreEscaped {#341 ▼ +value: """ \n 1\n """ +escapeType: "html" } Now i have true data inside value (1) or false (''). But i can't use xenforo conditional...
  4. Improvs

    XF 2.1 How can I hide threads by user criteria?

    I'm trying to figure out how to hide special threads from users who didn't reached at least 10 messages. Can you advice me, which function i need to looking for? And where?
  5. Improvs

    XF 2.0 Config.php externalDataPath not readable

    Hello! Sorry for my bad language, i need your advice. I have two forums working with one DB and i have encountered with the next issue. When i trying to indicate externalDataPath in config.php MyExample: $config['externalDataPath'] = '/home/s/user/domain.com/public_html/data'; During...
  6. Improvs

    XF 2.0 How to transfer variable from one template to other?

    Hello, i have a template inside header: "my_header". I need to get $user variable from (member_view) template inside "my_header" template. So, is it possible to transfer $user variable in that way?
  7. Improvs

    XF 2.0 Help to format query post_date

    Hi, can someone help me to figure out how can I change data from Thread "post_date" table in such format as XF have: 1 day ago, 1 minut ago, 1 our ago, Monday etc. $db = \XF::db(); $threads = $db->fetchAll('SELECT * FROM xf_thread ORDER BY `last_post_date` DESC'); foreach ($threads as...
  8. Improvs

    Need help with add-on dev

    Hello, i'm new member here and can create such topic only here. Sorry for this. I'm looking for people who can create add-on. I'm ready to pay for this work. I'd like to get next add-on: 1. I need ability for some user groups to upload graphic-nickname instead text-nickname 2. Fixed size of...
Top