Vagsiarom

About me: I am new to elgg. I want to learn how to update old plugins. Below is my social network.
Email: vomorais@hotmail.com

Pages

No pages created yet

Blogs

No blog posts

Send private message

You must be logged in to send a private message.

Activity

  • Vagsiarom replied on the discussion topic change URL...
      Thank you iionly. completing, after that I updated the network http://sua_rede.com/upgrade.php view reply
  • Vagsiarom replied on the discussion topic change URL...
      I got it sorted out. get hint, open PHPMYADMIN and look for the elggmq_sites_entity table. Change the URL to what it was before, adding in my case http: //. view reply
  • Vagsiarom added a new discussion topic change URL... in the group Elgg Technical Support
    Hi guys, I've done something wrong in my network. Can you help me please. In the administrator configuration of my network, I went in advanced configuration. There, I took "http: //" from my network URL and saved it. Conclusion, it...
  • Vagsiarom added a new discussion topic Passo minha rede Elgg com muitos membros in the group Elgg Brasil
    Olá galera, sem tempo para administrar minha rede.  Muitos membros e muita atividade. www.chocolateswing.com.br  Se alguem tiver interesse manda email. vomorais@hotmail.com e conversamos mais.
  • Vagsiarom commented on the plugin Event Manager
      When I click on participate or stop participating in the event, the error below appears. Can anyone help?       Call to a member function getType() on null Error Object ( [message:protected] =>...
  • Vagsiarom replied on the discussion topic Calling a file to execute
    Thank you Master Iionly for the help. I broke my head but I did it. $ Result. = '<Table width = "100%">'; $ Result. = Print '</ table>'; Thank you very much! Learning more and more! view reply
  • Vagsiarom replied on the discussion topic Calling a file to execute
    Trying to master but nothing yet. I want to call plugin celebration on my main page, just like I called blogs, events ... except that in these plugins I was able to identify type and subtype. Today's birthday I can not call. Below is the format... view reply
  • Vagsiarom replied on the discussion topic Calling a file to execute
    Thank you Master iionly for the tip. But then I need to put the whole line of code below for the third parameter. How to associate this whole line in a variable? In case it would be $ body Because that code below would be the third... view reply
  • Vagsiarom added a new discussion topic Calling a file to execute in the group Beginning Developers
    elgg_push_context('widgets');   $title = elgg_view('output/url', array( 'href' => "/celebrations/celebrations", 'text' => elgg_echo('Aniversariantes'), 'is_trusted'...
    • Trying to master but nothing yet. I want to call plugin celebration on my main page, just like I called blogs, events ... except that in these plugins I was able to identify type and subtype. Today's birthday I can not call. Below is the format I call blogs, events ...
      
      $ Options = array (
      'Type' => 'birthdate',
      // 'subtype' => 'birthdate',
      'Full_view' => false,
      'Pagination' => false,
      'Subtitle' => $ date,
      'Limit' => $ num,
      'List_type' => 'gallery',
      );
      
      
      $ Row_celebrations = elgg_get_entities ($ options);
      
      Up $ row_celebrations would be the third parameter. But in celebrations this method does not work.
      this method does not work.
    • The Celebrations plugin needs some custom code to retrieve the celebration entities, so the way it works for other entities won't work. Also, listing is done in a custom way.

      Assuming you use Elgg 1.8 (as newer releases of the Celebrations plugin no longer use the "print" command) the code would be

      $body = '<div class="user_settings"><p style="text-align:right">'.elgg_echo('today_celebrations:today').' <strong>'.printcelebrationsdate(1, time()).'</strong></p>';
      
      $row_celebrations = user_celebrations(0,'next', 0);
      
      // list of celebrations
      if (!empty($row_celebrations)) {
          $body .= '<table width="100%">';
      
          foreach($row_celebrations as $key => $val) {
              $sendcelebrationsmessage = '';
              if (($val['type'] != 'dieday') && ($val['id'] != elgg_get_logged_in_user_guid())) {
                  $sendcelebrationsmessage = '<a class="privatemessages" href="'.elgg_get_site_url().'messages/compose?send_to='.$val['id'].'" >&nbsp;</a>';
              }
              if ((elgg_get_plugin_setting("replaceage","celebrations") == 'yes') && ($val['type'] == 'birthdate')){
                  $age = showage($val['date']).' '.elgg_echo('celebrations:age');
              } else {
                  $age = '';
              }
              $even_odd = ( 'F3F3F3' != $even_odd ) ? 'F3F3F3' : 'FFFFFF';
              echo "<tr bgcolor=\"#{$even_odd}\">";
              $body .= '<td><img class="user_mini_avatar" src="'.$val['icon'].'"> <a href="'.$val['url'].'" title="'.$val['fullname'].'">'.$val['name'].'</a></td><td align="right">'.elgg_echo('today_celebrations:'.$val['type']).'</td><td align="right">'.$age.'</td><td align="right">'.$sendcelebrationsmessage.'</td></tr>';
          }
          $body .= '</table>';
      } else {
          $body .= "<p>".elgg_echo('today_celebrations:nocelebrations')."</p>";
      }
      $body .= '</div>';
      
      echo elgg_view_module('featured', elgg_echo('today_celebrations:title'), $body);

      That's the code also used in mod/celebrations/views/default/widgets/index_today_celebrations/content.php (which offers an index page widget if the Widget Manager plugin is installed). The only changes necessary are the points I already outlined in my previous postings.

    • Thank you Master Iionly for the help. I broke my head but I did it. $ Result. = '<Table width = "100%">';
      $ Result. = Print '</ table>'; Thank you very much! Learning more and more!
  • Thank you Master Iiionly. Problem solved. Once again I am grateful for your help.     view reply
  • Master iionly, I managed to make public the page of albúns and photos of a specific user without problems. I have decided that only some users will have their albúsn and photos public. I'm just having a problem. Do not load the... view reply
  • Yes master, "a" minuscule. I'm messing with tidypics now. One hour I can. I think I've done everything I needed in the required plugin. Now all you need to do is play tidypics.         view reply
  • Thank you Master Iionly. I'm trying these tips but so far nothing. $ Add = 'photos /.*'; $ Allow = 'photos /.*'; When I get something I'll post it here.     view reply
  • Master Iionly, I tried $add[] = 'photos/.*'; in plugin login requirid start.php. But did not get the result. The message "This content has been removed or you do not have permission to view." Is there anything you can... view reply
  • Thank you Master Iionly. I'll try "pages of the public Tidypics ($ add [] '/.*' 'photos); - which would result in all albums / images commenting" public "access being visible when... view reply
  • Hello, would anyone have a tip to make the tydipics photo pages public? I have tydipics and I have login required. I took the tydipics start.php line of code: elgg_register_plugin_hook_handler ('public_pages', 'walled_garden',...
    • Master iionly, I managed to make public the page of albúns and photos of a specific user without problems. I have decided that only some users will have their albúsn and photos public. I'm just having a problem. Do not load the photo in larger size when I click on the thumbnail. Would you have any tips? Below I put what I put in the required plugin code: 
      $add[] = 'photos / album / 6363 / july';
      $Add[] = 'photos / album / 6687 /pamela-rivers';
      $Add[] = 'photos / image /.*';
      $Add[] = 'photos / owner / MaiteBotticelli';
      $allow[] = 'photos/album/6363/july';
      $allow[] = 'photos/album/6687/pamela-rios';
      $allow[] = 'photos/image/.*';
      $allow[] = 'photos/owner/MaiteBotticelli';

       

      $add[] = 'photos/album/6363/july';   
      $add[] = 'photos/album/6687/pamela-rios';
      $add[] = 'photos/image/.*';
      $add[] = 'photos/owner/MaiteBotticel

       

    • $add[] = 'photos/thumbnail/.*';

    • Thank you Master Iiionly. Problem solved. Once again I am grateful for your help.
       
      
       
  • Vagsiarom commented on the plugin Disable Right Click
    Thanks cim, I upgraded my elgg to 2.3.3 and its plugin now works perfectly. I do not know if it caused any collateral problem but so far so good. Thank you.    
  • Vagsiarom replied on the discussion topic change password is failing in elgg 2.1.3
    Thank you Master Iionly. Everything's solved. I believe it was PHP / MTA configuration on the server. Everything works.     view reply
  • Vagsiarom commented on the plugin Elgg Cookieconsent
    Hello Dries, I had installed your plugin. And also had installed the plugin login redirector. This plugin causes interference to the redirector plugin. When I make the first login customizable, for example: edit profile or any other option, it does...
  • Vagsiarom commented on the plugin Login Redirector
    Thank you Master Iiomly and Jeroen for your attention on this topic. The problem was solved. It was not the elggzone theme the problem. It was the Elggcookieconsent plugin (2.1). This plugin prevented the redirect on the first login when redirected...

Group membership