Group activity

  • M1K3 added a new discussion topic Pull each user's cover image via a link/code
    Need help pulling an uploaded cover photo from amap_coverphoto plugin, there code listed to use the plugin but I am not sure where to input it and what the dependencies are. I can see the preview but no idea how to add it to users...
    • Can anyone find the problem here and how I could go about fixing it?

       

      Fatal Error.
      Too few arguments to function get_uploaded_coverphoto_timeline_file(), 0 passed in C:\inetpub\websites\MY-SITE\mod\timeline_avatar\lib\timelinefilestore.php on line 374 and exactly 1 expected
       
      Log at time 1506227607 may have more data.
       
      ArgumentCountError Object
      (
      [message:protected] => Too few arguments to function get_uploaded_coverphoto_timeline_file(), 0 passed in C:\inetpub\websites\MY-SITE\mod\timeline_avatar\lib\timelinefilestore.php on line 374 and exactly 1 expected
      [string:Error:private] => ArgumentCountError: Too few arguments to function get_uploaded_coverphoto_timeline_file(), 0 passed in C:\inetpub\websites\MY-SITE\mod\timeline_avatar\lib\timelinefilestore.php on line 374 and exactly 1 expected in C:\inetpub\websites\MY-SITE\mod\timeline_avatar\lib\timelinefilestore.php:233
      Stack trace:
      #0 C:\inetpub\websites\MY-SITE\mod\timeline_avatar\lib\timelinefilestore.php(374): get_uploaded_coverphoto_timeline_file()
      #1 C:\inetpub\websites\MY-SITE\mod\timeline_avatar\actions\timelineavatar\upload.php(85): get_resized_image_from_uploaded_timeline_file('timlineavatar')
      #2 C:\inetpub\websites\MY-SITE\vendor\elgg\elgg\engine\classes\Elgg\Includer.php(18): include('C:\\inetpub\\webs...')
      #3 C:\inetpub\websites\MY-SITE\vendor\elgg\elgg\engine\classes\Elgg\ActionsService.php(176): Elgg\Includer::includeFile('C:/inetpub/webs...')
      #4 C:\inetpub\websites\MY-SITE\vendor\elgg\elgg\engine\lib\actions.php(22): Elgg\ActionsService->execute('timlineavatar/u...')
      #5 [internal function]: _elgg_action_handler(Array, 'action')
      #6 C:\inetpub\websites\MY-SITE\vendor\elgg\elgg\engine\classes\Elgg\Router.php(100): call_user_func('_elgg_action_ha...', Array, 'action')
      #7 C:\inetpub\websites\MY-SITE\vendor\elgg\elgg\engine\classes\Elgg\Application.php(436): Elgg\Router->route(Object(Elgg\Http\Request))
      #8 C:\inetpub\websites\MY-SITE\vendor\elgg\elgg\engine\classes\Elgg\Application.php(384): Elgg\Application->run()
      #9 C:\inetpub\websites\MY-SITE\index.php(8): Elgg\Application::index()
      #10 {main}
      [code:protected] => 0
      [file:protected] => C:\inetpub\websites\MY-SITE\mod\timeline_avatar\lib\timelinefilestore.php
      [line:protected] => 233
      [trace:Error:private] => Array
      (
      [0] => Array
      (
      [file] => C:\inetpub\websites\MY-SITE\mod\timeline_avatar\lib\timelinefilestore.php
      [line] => 374
      [function] => get_uploaded_coverphoto_timeline_file
      [args] => Array
      (
      )
       
      )
       
      [1] => Array
      (
      [file] => C:\inetpub\websites\MY-SITE\mod\timeline_avatar\actions\timelineavatar\upload.php
      [line] => 85
      [function] => get_resized_image_from_uploaded_timeline_file
      [args] => Array
      (
      [0] => timlineavatar
      )
       
      )
       
      [2] => Array
      (
      [file] => C:\inetpub\websites\MY-SITE\vendor\elgg\elgg\engine\classes\Elgg\Includer.php
      [line] => 18
      [args] => Array
      (
      [0] => C:\inetpub\websites\MY-SITE\mod\timeline_avatar\actions\timelineavatar\upload.php
      )
       
      [function] => include
      )
       
      [3] => Array
      (
      [file] => C:\inetpub\websites\MY-SITE\vendor\elgg\elgg\engine\classes\Elgg\ActionsService.php
      [line] => 176
      [function] => includeFile
      [class] => Elgg\Includer
      [type] => ::
      [args] => Array
      (
      [0] => C:/inetpub/websites/MY-SITE/mod/timeline_avatar/actions/timelineavatar/upload.php
      )
       
      )
       
      [4] => Array
      (
      [file] => C:\inetpub\websites\MY-SITE\vendor\elgg\elgg\engine\lib\actions.php
      [line] => 22
      [function] => execute
      [class] => Elgg\ActionsService
      [type] => ->
      [args] => Array
      (
      [0] => timlineavatar/upload
      )
       
      )
       
      [5] => Array
      (
      [function] => _elgg_action_handler
      [args] => Array
      (
      [0] => Array
      (
      [0] => timlineavatar
      [1] => upload
      )
       
      [1] => action
      )
       
      )
       
      [6] => Array
      (
      [file] => C:\inetpub\websites\MY-SITE\vendor\elgg\elgg\engine\classes\Elgg\Router.php
      [line] => 100
      [function] => call_user_func
      [args] => Array
      (
      [0] => _elgg_action_handler
      [1] => Array
      (
      [0] => timlineavatar
      [1] => upload
      )
       
      [2] => action
      )
       
      )
       
      [7] => Array
      (
      [file] => C:\inetpub\websites\MY-SITE\vendor\elgg\elgg\engine\classes\Elgg\Application.php
      [line] => 436
      [function] => route
      [class] => Elgg\Router
      [type] => ->
      [args] => Array
      (
      [0] => Elgg\Http\Request Object
      (
      [attributes] => Symfony\Component\HttpFoundation\ParameterBag Object
      (
      [parameters:protected] => Array
      (
      )
       
      )
       
      [request] => Symfony\Component\HttpFoundation\ParameterBag Object
      (
      [parameters:protected] => Array
      (
      [__elgg_token] => L7dSGXmbTVa2-mM0c3VRqQ
      [__elgg_ts] => 1506227597
      [guid] => 36
      )
       
      )
       
      [query] => Symfony\Component\HttpFoundation\ParameterBag Object
      (
      [parameters:protected] => Array
      (
      [__elgg_uri] => /action/timlineavatar/upload
      )
       
      )
       
      [MY-SERVER] => Symfony\Component\HttpFoundation\MY-SERVERBag Object
      (
      [parameters:protected] => Array
      (
      [_FCGI_X_PIPE_] => \\.\pipe\IISFCGI-8e9471ce-edae-48a4-bb8a-2ee3e407e915
      [PHPRC] => C:\snapcatphp\php\
      [PHP_FCGI_MAX_REQUESTS] => 10000
      [ALLUSERSPROFILE] => C:\ProgramData
      [APPDATA] => C:\Windows\system32\config\systemprofile\AppData\Roaming
      [APP_POOL_CONFIG] => C:\inetpub\temp\apppools\SnapCat\SnapCat.config
      [APP_POOL_ID] => SnapCat
      [CommonProgramFiles] => C:\Program Files\Common Files
      [CommonProgramFiles(x86)] => C:\Program Files (x86)\Common Files
      [CommonProgramW6432] => C:\Program Files\Common Files
      [COMPUTERNAME] => MY-SERVER
      [ComSpec] => C:\Windows\system32\cmd.exe
      [FP_NO_HOST_CHECK] => NO
      [LOCALAPPDATA] => C:\Windows\system32\config\systemprofile\AppData\Local
      [NUMBER_OF_PROCESSORS] => 2
      [OS] => Windows_NT
      [Path] => C:\php\v7.1;C:\snapcatphp\php\v7.1;C:\Windows\system32\inetsrv;C:\inetpub\ImageMagick-7.0.5-Q16;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\php;C:\snapcatphp\php;
      [PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
      [PROCESSOR_ARCHITECTURE] => AMD64
      [PROCESSOR_IDENTIFIER] => Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
      [PROCESSOR_LEVEL] => 6
      [PROCESSOR_REVISION] => 170a
      [ProgramData] => C:\ProgramData
      [ProgramFiles] => C:\Program Files
      [ProgramFiles(x86)] => C:\Program Files (x86)
      [ProgramW6432] => C:\Program Files
      [PSModulePath] => C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
      [PUBLIC] => C:\Users\Public
      [SystemDrive] => C:
      [SystemRoot] => C:\Windows
      [TEMP] => C:\Windows\TEMP
      [TMP] => C:\Windows\TEMP
      [USERDOMAIN] => MY-DOMAIN
      [USERNAME] => MY-SERVER$
      [USERPROFILE] => C:\Windows\system32\config\systemprofile
      [windir] => C:\Windows
      [ORIG_PATH_INFO] => /index.php
      [URL] => /index.php
      [MY-SERVER_SOFTWARE] => Microsoft-IIS/8.5
      [MY-SERVER_PROTOCOL] => HTTP/1.1
      [MY-SERVER_PORT_SECURE] => 0
      [MY-SERVER_PORT] => 80
      [MY-SERVER_NAME] => MY-SITE
      [SCRIPT_NAME] => /index.php
      [SCRIPT_FILENAME] => C:\inetpub\websites\MY-SITE\index.php
      [REQUEST_URI] => /action/timlineavatar/upload
      [REQUEST_METHOD] => POST
      [REMOTE_USER] => 
      [REMOTE_PORT] => 51101
      [REMOTE_HOST] => 192.168.0.1
      [REMOTE_ADDR] => 192.168.0.1
      [QUERY_STRING] => __elgg_uri=action/timlineavatar/upload
      [PATH_TRANSLATED] => C:\inetpub\websites\MY-SITE\index.php
      [LOGON_USER] => 
      [LOCAL_ADDR] => 192.168.0.123
      [INSTANCE_META_PATH] => /LM/W3SVC/8
      [INSTANCE_NAME] => MY-SITE
      [INSTANCE_ID] => 8
      [HTTPS_MY-SERVER_SUBJECT] => 
      [HTTPS_MY-SERVER_ISSUER] => 
      [HTTPS_SECRETKEYSIZE] => 
      [HTTPS_KEYSIZE] => 
      [HTTPS] => off
      [GATEWAY_INTERFACE] => CGI/1.1
      [DOCUMENT_ROOT] => C:\inetpub\websites\MY-SITE
      [CONTENT_TYPE] => multipart/form-data; boundary=----WebKitFormBoundaryyVl4E40VKaKHFhdf
      [CONTENT_LENGTH] => 56925
      [CERT_SUBJECT] => 
      [CERT_SERIALNUMBER] => 
      [CERT_ISSUER] => 
      [CERT_FLAGS] => 
      [CERT_COOKIE] => 
      [AUTH_USER] => 
      [AUTH_PASSWORD] => 
      [AUTH_TYPE] => 
      [APPL_PHYSICAL_PATH] => C:\inetpub\websites\MY-SITE\
      [APPL_MD_PATH] => /LM/W3SVC/8/ROOT
      [IIS_UrlRewriteModule] => 7.1.1952.0
      [HTTP_DNT] => 1
      [HTTP_UPGRADE_INSECURE_REQUESTS] => 1
      [HTTP_ORIGIN] => http://MY-SITE
      [HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3218.0 Safari/537.36
      [HTTP_HOST] => MY-SITE
      [HTTP_COOKIE] => raygun4js-userid=950caec7-5248-010d-9619-31cb168b0be0; Elgg=rnsq896f2243jnqmia6r85i29q; elggchat_toolbar_minimized=true
      [HTTP_ACCEPT_LANGUAGE] => en
      [HTTP_ACCEPT_ENCODING] => gzip, deflate
      [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
      [HTTP_CONTENT_TYPE] => multipart/form-data; boundary=----WebKitFormBoundaryyVl4E40VKaKHFhdf
      [HTTP_CONTENT_LENGTH] => 56925
      [HTTP_CONNECTION] => keep-alive
      [HTTP_CACHE_CONTROL] => max-age=0
      [FCGI_ROLE] => RESPONDER
      [PHP_SELF] => /index.php
      [REQUEST_TIME_FLOAT] => 1506227607.2754
      [REQUEST_TIME] => 1506227607
      )
       
      )
       
      [files] => Symfony\Component\HttpFoundation\FileBag Object
      (
      [parameters:protected] => Array
      (
      [timlineavatar] => Symfony\Component\HttpFoundation\File\UploadedFile Object
      (
      [test:Symfony\Component\HttpFoundation\File\UploadedFile:private] => 
      [originalName:Symfony\Component\HttpFoundation\File\UploadedFile:private] => bipolar (1).jpg
      [mimeType:Symfony\Component\HttpFoundation\File\UploadedFile:private] => image/jpeg
      [size:Symfony\Component\HttpFoundation\File\UploadedFile:private] => 56407
      [error:Symfony\Component\HttpFoundation\File\UploadedFile:private] => 0
      [pathName:SplFileInfo:private] => C:\Windows\Temp\php212A.tmp
      [fileName:SplFileInfo:private] => php212A.tmp
      )
       
      )
       
      )
       
      [cookies] => Symfony\Component\HttpFoundation\ParameterBag Object
      (
      [parameters:protected] => Array
      (
      [raygun4js-userid] => 950caec7-5248-010d-9619-31cb168b0be0
      [Elgg] => rnsq896f2243jnqmia6r85i29q
      [elggchat_toolbar_minimized] => true
      )
       
      )
       
      [headers] => Symfony\Component\HttpFoundation\HeaderBag Object
      (
      [headers:protected] => Array
      (
      [content-type] => Array
      (
      [0] => multipart/form-data; boundary=----WebKitFormBoundaryyVl4E40VKaKHFhdf
      )
       
      [content-length] => Array
      (
      [0] => 56925
      )
       
      [dnt] => Array
      (
      [0] => 1
      )
       
      [upgrade-insecure-requests] => Array
      (
      [0] => 1
      )
       
      [origin] => Array
      (
      )
       
      [user-agent] => Array
      (
      [0] => Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3218.0 Safari/537.36
      )
       
      [referer] => Array
      (
      )
       
      [host] => Array
      (
      [0] => MY-SITE
      )
       
      [cookie] => Array
      (
      [0] => raygun4js-userid=950caec7-5248-010d-9619-31cb168b0be0; Elgg=rnsq896f2243jnqmia6r85i29q; elggchat_toolbar_minimized=true
      )
       
      [accept-language] => Array
      (
      [0] => en
      )
       
      [accept-encoding] => Array
      (
      [0] => gzip, deflate
      )
       
      [accept] => Array
      (
      [0] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
      )
       
      [connection] => Array
      (
      [0] => keep-alive
      )
       
      [cache-control] => Array
      (
      [0] => max-age=0
      )
       
      )
       
      [cacheControl:protected] => Array
      (
      [max-age] => 0
      )
       
      )
       
      [content:protected] => 
      [languages:protected] => 
      [charsets:protected] => 
      [encodings:protected] => 
      [acceptableContentTypes:protected] => 
      [pathInfo:protected] => 
      [requestUri:protected] => /action/timlineavatar/upload
      [baseUrl:protected] => 
      [basePath:protected] => 
      [method:protected] => 
      [format:protected] => 
      [session:protected] => 
      [locale:protected] => 
      [defaultLocale:protected] => en
      [isForwardedValid:Symfony\Component\HttpFoundation\Request:private] => 1
      )
       
      )
       
      )
       
      [8] => Array
      (
      [file] => C:\inetpub\websites\MY-SITE\vendor\elgg\elgg\engine\classes\Elgg\Application.php
      [line] => 384
      [function] => run
      [class] => Elgg\Application
      [type] => ->
      [args] => Array
      (
      )
       
      )
       
      [9] => Array
      (
      [file] => C:\inetpub\websites\MY-SITE\index.php
      [line] => 8
      [function] => index
      [class] => Elgg\Application
      [type] => ::
      [args] => Array
      (
      )
       
      )
       
      )
       
      [previous:Error:private] => 
      )
    • Ah, finally an answer, I was believing it was an error with my setup. Any chance you'll be updating it sometime/soon?, I installed 1.8 after much difficulty, not liking 1.8, and as I have much work gone into the design of 2.3.3, going to anything lower would force me to lose most I have made over the past year, lose many mods and security features in which I rely on. I'm, a low budget but willing to give a few dollars for your work, I'll pay lil more if you could include a few options for it(i.e. make it compatible with profile_x's cover(all themes) so it can replace the Imgur feature! That alone needs addressing). I'm not looking for anything too fancy, would like for animated GIF's to be an option as well, but just a basic cover app for 2.3 would be very good!

    • I am new here and don't know squat, but I think what M1K3 is asking is where do you put this and in which php file. I understand to make the image appear where you want it you have to place that somewhere. Can of wondering the same think. Thanks

      if ($entity->covertime) {                    
          echo elgg_view('output/img', array(
              'src' => amap_cp_getCoverIconUrl($entity, 'large'),
              'alt' => elgg_echo('cover'),
          ));
      }
  • foka_patrick replied on the discussion topic NT - Social network for travelers
    can you cantact me view reply
  • Carol added a new discussion topic NT - Social network for travelers
    Need a freelancer to help me customize Elgg for traveling purposes. I want to change the profiles, the pages form and the blog, adding features as search by location, add pictures field to pages, among other things. Message or e-mail me for...
  • senf added a new discussion topic NC-Like Tracker
    I'm looking for someone to make me a plugin that will let me see how many likes each one of my individual members have in total(adding together all of their posts) and if possible what percent of the total likes they hold.(So if a user has 50 likes...
  • Cim replied on the discussion topic Need unique Theme/Design
    PM me your budget   view reply
  • Tom replied on the discussion topic Need unique Theme/Design
    @ Tanjeria, The power of Elgg Engine gives you freedom to build any theme possible on Earth. First, what type of business do you want to use elgg with. For example you can build a shop, Church community, Law farm site, Construction, Daycare,... view reply
  • Tanjeria added a new discussion topic Need unique Theme/Design
    Hello everyone, I am new to elgg and I chose this engine because I saw the possibilities in creating my very own Social Network. I chose the 2.3.3 version of elgg and I tried a few design templates and designs, but nothing really fits my vision...
    • @ Tanjeria, The power of Elgg Engine gives you freedom to build any theme possible on Earth.

      First, what type of business do you want to use elgg with. For example you can build a shop, Church community, Law farm site, Construction, Daycare, Veterinarian, Charity, Health Care, Technology, Wedding, Resume, Photography, Classic Shop or Modern Shop, Landing Product, Gym, Café, Tech, Hosting, Architecture, Hotel, Lifestyle, Travel, Agency, Dating, Fashion site and the list goes on and on.

      First identify the niche of market you would like to serve, build, or target then you can decide what kind of theme will likely serve your customers better. This is why Facebook has realized too late that most people even though they are on Facebook, they are still longing to belong to certain communities outside Facebook main site and that why Elgg based sites are likely to grow in coming years.

      The themes that are here on Elgg community are just a starting point for a new web designers. You can hire a theme developer on Elgg community to design a unique theme for your site.

    • PM me your budget  

  • praxmatrix added a new discussion topic Need programmer: customise widget/file tools. Urgent
    I need an experienced Elgg programmer to carry out some urgent work (within the next 5 days) - not a big job. Customisation of the way that file tools and widget manager work. Currently, when the groups File Folder widget is opened it shows...
  • Chào mọi người, Có ai biết làm thế nào để chỉ hiển thị một phần nội dung bên trong hộp đèn? Tôi đã thêm một lớp "lightbox" vào nút, nhưng nó có...
  • For heavens sake, then use the Categories plugin. Period! And if the Categories plugin doesn't do exactly what you want then you need at least say what's missing. It doesn't help at all if you just repeat again and again the same... view reply
  • And sorry for the inconvenience view reply
  • I want to create Article Categories view reply
  • Sorry. But what do you expect? It's now the 3rd time you ask the same. The first 2 times you got the recommendation to try the Categories plugin. Do you think it will be different now? You should have realized by now that there seems no... view reply
  • I want help in how to add a rating to the content published in the blog For example during add blog post Defines the section where the topic is covered such as news / entertainment / technology  
  • Nikolai Shcherbin replied on the discussion topic How do I add sections within the site blog?
    Activate 'Categories' Go to Configure -> Settings -> Categories Add your categories (like as tags, separate with commas) Add new blog post: in adding post choose your category view reply
  • Abdulaziz replied on the discussion topic How do I add sections within the site blog?
    oky How do I configure settings? view reply
  • Nikolai Shcherbin replied on the discussion topic How do I add sections within the site blog?
    Use categories for it view reply
  • Abdulaziz replied on the discussion topic How do I add sections within the site blog?
    That's not what I want Let me explain more Oud divide the code into sections where you can publish in each section, for example, the Rose Bryce you can divide it and add topics within the sections view reply
  • Nikolai Shcherbin replied on the discussion topic How do I add sections within the site blog?
    Just do it: This plugin's directory must be renamed to "categories" view reply
Professional Services

Professional Services

Get / offer professional help on Elgg; like customization, design, development, setup, hosting... Illegal trades are not allowed.