TAGMOOD

  •  ·  Standard
  • 4 friends
  • 4 followers
  • 1663 views
Add new...
 
 
·
Added a discussion

What I understood is that using the Pages Module at /studio/builder_page.php I can add/remove/edit page blocks.

But, how can I add custom code to the page?

Here an example:

I added the field "Meta description" to the Post form. Now, how to add the following code the page?

<meta name="description" content="[VALUE OF THE META DESCRIPTION FIELD FOR THE SPECIFIC POST]">

Thank you

  • 1572
·
Added a discussion

Hi,

all caches are enabled.

I just enabled the Profiler module to debug the performances and, as not logged user, it is the debug infos for /page/view-persons-profile?id=1

Time: 0.296 sec Memory: 4M of 128M allowed PHP:7.2.19-0 ubuntu0.18.04.2S API: fpm-fcgi OS: Linux

Menus:7 menus (0.141 sec)+

Pages:4 (0.001 sec)Templates Cached:39 (0.076 sec)Templates Not Cached:24 (0.033 sec)+

Injections:4 injection (0.002 sec)+

Pages Blocks:8 (0.075 sec)Not Cached:8 (0.075 sec)Empty:4 (0.022 sec)Not Empty:4 (0.053 sec)+

SQL:1121 queries (0.096 sec)+

Modules:5 modules loadedModules Queries:13 modules queries (0.099 sec)

As logged user, the same page generates 190 queries.

I hope these values are wrong because in this way a community of 1M+ users cannot be served by UNA.

What am I not considering?

Thanks

  • 1605
·
Added a discussion

Hi,

is there any way to extend an existing Module creating a child-module or similar?

For example, if I want develop an extra-feature for the Post module (adding a custom field to show on the template), how to do it without cloning the module?

Thank you

  • 1692

Hi, we are from Italy and we are evaluating UNA and its competitors for moving a big project to a social platform. Hoping to finding in UNA the best solution ☺️

We are testing UNA in a low cost droplet by DigitalOcean, it seems to working fine with some little exceptions that we are going to ask on Discussions.

  • 1392
  • 1
·
Added a discussion

We need an access log for each member account, with date and IP address of registration, login, password recovery, ecc.

Is this feature available? 

  • 1608
·
Added a discussion

Hi,

when I click on the "Upload & Crop" or "Multiple Upload" buttons, the request to the page /storage_uploader.php?uo=bx_persons_picture_crop&so=bx_persons_pictures&uid=2363Msa7&a=show_uploader_form&m=0&c=1&p=0&_t=Sat%20Aug%2017%202019%2017%3A00%3A42%20GMT+0200%20%28Ora%20legale%20dell%u2019Europa%20centrale%29 returns a 403 error, so the uploader module does not work.

I tried both with Local and S3 storages, without success.

PathCurrent statusDesired status
cacheWritableWritable
cache_publicWritableWritable
logsWritableWritable
tmpWritableWritable
storageWritableWritable
plugins/ffmpeg/ffmpeg.exeExecutableExecutable

PHP:

  • version = 7.2.19-0ubuntu0.18.04.2 - UNDEFINED (value checking failed)
  • allow_url_fopen = On - OK
  • allow_url_include = Off - OK
  • magic_quotes_gpc = Off - OK
  • memory_limit = 134217728 - OK
  • post_max_size = 8388608 - OK
  • upload_max_filesize = 2097152 - OK
  • register_globals = Off - OK
  • safe_mode = Off - OK
  • disable_functions = opcache_get_status - OK
  • php module: curl = curl - OK
  • php module: gd = gd - OK
  • php module: mbstring = mbstring - OK
  • php module: json = json - OK
  • php module: fileinfo = fileinfo - OK
  • php module: zip = zip - OK
  • php module: openssl = openssl - OK
  • php module: exif = exif - OK

MySQL:

  • version = 5.5.5 - OK

Web-server: Apache

  • rewrite_module - FAIL (you will need to install rewrite_module for Apache)

OS:

  • Linux lp-unaio-dev.local 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64

Hardware:

  • Hardware requirements can not be determined automatically - manual server audit may be required.

Site setup

  • UNA version = 10.0.0-RC1 - OK
  • Files and folders permissions - please click here to find out if permissions are correct.
  • ffmpeg -

    ffmpeg version 4.0.2-static Copyright (c) 2000-2018 the FFmpeg developers  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg  libavutil      56. 14.100 / 56. 14.100  libavcodec     58. 18.100 / 58. 18.100  libavformat    58. 12.100 / 58. 12.100  libavdevice    58.  3.100 / 58.  3.100  libavfilter     7. 16.100 /  7. 16.100  libswscale      5.  1.100 /  5.  1.100  libswresample   3.  1.100 /  3.  1.100  libpostproc    55.  1.100 / 55.  1.100 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
    Use -h to get full help or, even better, run 'man ffmpeg'

    if you don't know if output is correct then manual server audit may be required.
  • Mail sending - click here to send test email
  • Cron jobs -

    no crontab for xxxx

    if you are unsure if output is correct then manual server audit may be required
  • Last cron jobs execution - None

Site optimization

PHP:

  • PHP accelerator = ZendOPcache - OK
  • PHP setup = fpm-fcgi - OK

MySQL:

  • key_buffer_size = 16777216 - OK
  • query_cache_limit = 1048576 - OK
  • query_cache_size = 16777216 - OK
  • query_cache_type = ON - OK
  • max_heap_table_size = 16777216 - OK
  • tmp_table_size = 16777216 - OK
  • thread_cache_size = 8 - OK

Web-server:

  • User-side caching for static content - click here to check it in Google Page Speed
    If it is not enabled then please consider implement this optimization, since it improve perceived site speed and save the bandwidth, refer to this tutorial on how to do this.
    To apply this optimization you need to have expires_module - Array
  • Server-side content compression - can be checked manually or in "Page Speed" tool build-in into browser.
    If it is not enabled then please consider implement this optimization, since it improve perceived site speed and save the bandwidth, refer to this tutorial on how to do this.
    To apply this optimization you need to have deflate_module - Array

UNA:

  • DB cache = On (File based cache engine) - OK
  • Pages cache = On (File based cache engine) - OK
  • Page blocks cache = On (File based cache engine) - OK
  • Templates Cache = On (FileHtml based cache engine) - OK
  • CSS files cache = On - OK
  • JS files cache = On - OK
  • Compression for CSS/JS cache = On - OK

Thank you

  • 1176
TAGMOOD Discussions
How to add custom code to pages?
Too many SQL queries
How-to extend an existing Module
Is access log available?
403 error on image upload