All Site Activity

  • Ukr Programmer replied on the discussion topic The Coppa Plugin in the group Elgg Technical Support
    I see that the coppa plugin is a supported plugin for 1.5 as it is available for download from the main downloads page of this site or at least I assume its a supported plugin for 1.5 But my question is this: Where is the data stored? For instance...
    • nope ;-)

      All Elgg manipulation is handled via the c*lasses and *methods provided by ELgg

      From your comments - I think you're thinking "add a field here, there.." -- cannot do that in Elgg

      To help get you started in getting Elgg wrapped arround your head.. ;-) for example -- read thru these pieces of code which relates to "send a message"

      /mod/messages/actions/send.php

      line -
      $result = messages_send ($title, $message_contents,$send_to,0,$reply);
      calls the actual message send rotuine

      /mod/messages/start.php
      code from// Initialise a new ElggObject
      thru ==
      $success = $message_to->save();

      triggers the actual database write method

      engine/lib/objects.php

      public function save()
      {
      // Save generic stuff
      if (!parent::save())
          return false;
          // Now save specific stuff
          return create_object_entity($this->get('guid'), $this->get('title'), $this->get('description'), $this->get('container_guid'));
      }

      create_object_entity
      is about the final call after which your data has been written to database
      - no sql call to write involved for you.

      I have some fair amount of my time preparing these notes for you to help yourself guide yourself,

      I hope you spend some fair time too ;-)

      cheers.

       

    • Ok I think I understand most of your example above.  I see the function that writes it to the database. Now the ? is do I need to manually create a new field in the database before trying to write something to that field?  I think that is where I am still confused.

      So for the example of saving the coppa data to teh database. I think I know how to have the function write it to the database but if there is no exisiting field in the database what happens when the command  to write the coppa data is called ?

      Thank you for your examples above. That is something that I have been needing.

    • read the source, David ;-)

      Some really interesting reading --

      Read these over and over.. once you have a grip on the ELgg DataModel, you'll  forget php's mySql_xxx calls

       

  • The Father replied on the discussion topic The Coppa Plugin in the group Elgg Technical Support
    I see that the coppa plugin is a supported plugin for 1.5 as it is available for download from the main downloads page of this site or at least I assume its a supported plugin for 1.5 But my question is this: Where is the data stored? For instance...
    • nope ;-)

      All Elgg manipulation is handled via the c*lasses and *methods provided by ELgg

      From your comments - I think you're thinking "add a field here, there.." -- cannot do that in Elgg

      To help get you started in getting Elgg wrapped arround your head.. ;-) for example -- read thru these pieces of code which relates to "send a message"

      /mod/messages/actions/send.php

      line -
      $result = messages_send ($title, $message_contents,$send_to,0,$reply);
      calls the actual message send rotuine

      /mod/messages/start.php
      code from// Initialise a new ElggObject
      thru ==
      $success = $message_to->save();

      triggers the actual database write method

      engine/lib/objects.php

      public function save()
      {
      // Save generic stuff
      if (!parent::save())
          return false;
          // Now save specific stuff
          return create_object_entity($this->get('guid'), $this->get('title'), $this->get('description'), $this->get('container_guid'));
      }

      create_object_entity
      is about the final call after which your data has been written to database
      - no sql call to write involved for you.

      I have some fair amount of my time preparing these notes for you to help yourself guide yourself,

      I hope you spend some fair time too ;-)

      cheers.

       

    • Ok I think I understand most of your example above.  I see the function that writes it to the database. Now the ? is do I need to manually create a new field in the database before trying to write something to that field?  I think that is where I am still confused.

      So for the example of saving the coppa data to teh database. I think I know how to have the function write it to the database but if there is no exisiting field in the database what happens when the command  to write the coppa data is called ?

      Thank you for your examples above. That is something that I have been needing.

    • read the source, David ;-)

      Some really interesting reading --

      Read these over and over.. once you have a grip on the ELgg DataModel, you'll  forget php's mySql_xxx calls

       

  • Is there a way for admin or group owner to close a discussion so that people cant give comment anymore. I think its a must for a discussion system. I also didnt notice that there's a "next page" feature in discussion.. can we imagine hundreds if...
  • DhrupDeScoop replied on the discussion topic The Coppa Plugin in the group Elgg Technical Support
    I see that the coppa plugin is a supported plugin for 1.5 as it is available for download from the main downloads page of this site or at least I assume its a supported plugin for 1.5 But my question is this: Where is the data stored? For instance...
    • nope ;-)

      All Elgg manipulation is handled via the c*lasses and *methods provided by ELgg

      From your comments - I think you're thinking "add a field here, there.." -- cannot do that in Elgg

      To help get you started in getting Elgg wrapped arround your head.. ;-) for example -- read thru these pieces of code which relates to "send a message"

      /mod/messages/actions/send.php

      line -
      $result = messages_send ($title, $message_contents,$send_to,0,$reply);
      calls the actual message send rotuine

      /mod/messages/start.php
      code from// Initialise a new ElggObject
      thru ==
      $success = $message_to->save();

      triggers the actual database write method

      engine/lib/objects.php

      public function save()
      {
      // Save generic stuff
      if (!parent::save())
          return false;
          // Now save specific stuff
          return create_object_entity($this->get('guid'), $this->get('title'), $this->get('description'), $this->get('container_guid'));
      }

      create_object_entity
      is about the final call after which your data has been written to database
      - no sql call to write involved for you.

      I have some fair amount of my time preparing these notes for you to help yourself guide yourself,

      I hope you spend some fair time too ;-)

      cheers.

       

    • Ok I think I understand most of your example above.  I see the function that writes it to the database. Now the ? is do I need to manually create a new field in the database before trying to write something to that field?  I think that is where I am still confused.

      So for the example of saving the coppa data to teh database. I think I know how to have the function write it to the database but if there is no exisiting field in the database what happens when the command  to write the coppa data is called ?

      Thank you for your examples above. That is something that I have been needing.

    • read the source, David ;-)

      Some really interesting reading --

      Read these over and over.. once you have a grip on the ELgg DataModel, you'll  forget php's mySql_xxx calls

       

  • Ukr Programmer replied on the discussion topic The Coppa Plugin in the group Elgg Technical Support
    I see that the coppa plugin is a supported plugin for 1.5 as it is available for download from the main downloads page of this site or at least I assume its a supported plugin for 1.5 But my question is this: Where is the data stored? For instance...
    • nope ;-)

      All Elgg manipulation is handled via the c*lasses and *methods provided by ELgg

      From your comments - I think you're thinking "add a field here, there.." -- cannot do that in Elgg

      To help get you started in getting Elgg wrapped arround your head.. ;-) for example -- read thru these pieces of code which relates to "send a message"

      /mod/messages/actions/send.php

      line -
      $result = messages_send ($title, $message_contents,$send_to,0,$reply);
      calls the actual message send rotuine

      /mod/messages/start.php
      code from// Initialise a new ElggObject
      thru ==
      $success = $message_to->save();

      triggers the actual database write method

      engine/lib/objects.php

      public function save()
      {
      // Save generic stuff
      if (!parent::save())
          return false;
          // Now save specific stuff
          return create_object_entity($this->get('guid'), $this->get('title'), $this->get('description'), $this->get('container_guid'));
      }

      create_object_entity
      is about the final call after which your data has been written to database
      - no sql call to write involved for you.

      I have some fair amount of my time preparing these notes for you to help yourself guide yourself,

      I hope you spend some fair time too ;-)

      cheers.

       

    • Ok I think I understand most of your example above.  I see the function that writes it to the database. Now the ? is do I need to manually create a new field in the database before trying to write something to that field?  I think that is where I am still confused.

      So for the example of saving the coppa data to teh database. I think I know how to have the function write it to the database but if there is no exisiting field in the database what happens when the command  to write the coppa data is called ?

      Thank you for your examples above. That is something that I have been needing.

    • read the source, David ;-)

      Some really interesting reading --

      Read these over and over.. once you have a grip on the ELgg DataModel, you'll  forget php's mySql_xxx calls

       

  • Vadim joined the group Plugin Development
  • DhrupDeScoop replied on the discussion topic The Coppa Plugin in the group Elgg Technical Support
    I see that the coppa plugin is a supported plugin for 1.5 as it is available for download from the main downloads page of this site or at least I assume its a supported plugin for 1.5 But my question is this: Where is the data stored? For instance...
    • nope ;-)

      All Elgg manipulation is handled via the c*lasses and *methods provided by ELgg

      From your comments - I think you're thinking "add a field here, there.." -- cannot do that in Elgg

      To help get you started in getting Elgg wrapped arround your head.. ;-) for example -- read thru these pieces of code which relates to "send a message"

      /mod/messages/actions/send.php

      line -
      $result = messages_send ($title, $message_contents,$send_to,0,$reply);
      calls the actual message send rotuine

      /mod/messages/start.php
      code from// Initialise a new ElggObject
      thru ==
      $success = $message_to->save();

      triggers the actual database write method

      engine/lib/objects.php

      public function save()
      {
      // Save generic stuff
      if (!parent::save())
          return false;
          // Now save specific stuff
          return create_object_entity($this->get('guid'), $this->get('title'), $this->get('description'), $this->get('container_guid'));
      }

      create_object_entity
      is about the final call after which your data has been written to database
      - no sql call to write involved for you.

      I have some fair amount of my time preparing these notes for you to help yourself guide yourself,

      I hope you spend some fair time too ;-)

      cheers.

       

    • Ok I think I understand most of your example above.  I see the function that writes it to the database. Now the ? is do I need to manually create a new field in the database before trying to write something to that field?  I think that is where I am still confused.

      So for the example of saving the coppa data to teh database. I think I know how to have the function write it to the database but if there is no exisiting field in the database what happens when the command  to write the coppa data is called ?

      Thank you for your examples above. That is something that I have been needing.

    • read the source, David ;-)

      Some really interesting reading --

      Read these over and over.. once you have a grip on the ELgg DataModel, you'll  forget php's mySql_xxx calls

       

  • Andy Dennis SocialTrak added a new discussion topic openDD in the group Elgg Technical Support
    Hi there, Sorry I'm looking round the site and wondered ifthere is any documentation with regards to openDD running in Elgg 1.5? Thanks    
  • DhrupDeScoop replied on the discussion topic Message board missing in the group Elgg Technical Support
    It seems that in the v1.5 the group message board is missing. is it purposefully done. My community members are using the message board. how can i include it when i upgrade to v1.5? Thank you
  • Is there a way for admin or group owner to close a discussion so that people cant give comment anymore. I think its a must for a discussion system. I also didnt notice that there's a "next page" feature in discussion.. can we imagine hundreds if...
  • The Father added a new discussion topic The Coppa Plugin in the group Elgg Technical Support
    I see that the coppa plugin is a supported plugin for 1.5 as it is available for download from the main downloads page of this site or at least I assume its a supported plugin for 1.5 But my question is this: Where is the data stored? For instance...
    • nope ;-)

      All Elgg manipulation is handled via the c*lasses and *methods provided by ELgg

      From your comments - I think you're thinking "add a field here, there.." -- cannot do that in Elgg

      To help get you started in getting Elgg wrapped arround your head.. ;-) for example -- read thru these pieces of code which relates to "send a message"

      /mod/messages/actions/send.php

      line -
      $result = messages_send ($title, $message_contents,$send_to,0,$reply);
      calls the actual message send rotuine

      /mod/messages/start.php
      code from// Initialise a new ElggObject
      thru ==
      $success = $message_to->save();

      triggers the actual database write method

      engine/lib/objects.php

      public function save()
      {
      // Save generic stuff
      if (!parent::save())
          return false;
          // Now save specific stuff
          return create_object_entity($this->get('guid'), $this->get('title'), $this->get('description'), $this->get('container_guid'));
      }

      create_object_entity
      is about the final call after which your data has been written to database
      - no sql call to write involved for you.

      I have some fair amount of my time preparing these notes for you to help yourself guide yourself,

      I hope you spend some fair time too ;-)

      cheers.

       

    • Ok I think I understand most of your example above.  I see the function that writes it to the database. Now the ? is do I need to manually create a new field in the database before trying to write something to that field?  I think that is where I am still confused.

      So for the example of saving the coppa data to teh database. I think I know how to have the function write it to the database but if there is no exisiting field in the database what happens when the command  to write the coppa data is called ?

      Thank you for your examples above. That is something that I have been needing.

    • read the source, David ;-)

      Some really interesting reading --

      Read these over and over.. once you have a grip on the ELgg DataModel, you'll  forget php's mySql_xxx calls

       

  • Cash replied on the discussion topic Group Discussion. Close discussion or comment. (not delete it) in the group Elgg Technical Support
    Is there a way for admin or group owner to close a discussion so that people cant give comment anymore. I think its a must for a discussion system. I also didnt notice that there's a "next page" feature in discussion.. can we imagine hundreds if...
  • ElggTurkiye.com has updated their profile
  • ElggTurkiye.com has a new avatar
    ElggTurkiye.com
  • Fabrice replied on the discussion topic Multisite with elgg 1.5rc in the group Plugin Development
    I start working on multisite on elgg 1.5rc You can see it running on the demo site The points are : - multisite is not compatible with simple cache, that mean that you have to disable simple cache. I made a trac about that, but the elgg team...
    • Hi Vinithia, sorry but a made a response to your post this morning and i cant see it now ... i surely did something wrong ....

      So

      1) do you use the multisite 2.0 (just to be sure :)) ?

      So you have to use admin->community->init multisite menu to set up your domain name. The plugin setting is not use any more, i just realize that i forgot to remove it, sorry

      Please try this and let me know what happens :)

      Fabrice

       

    • Hi Fabrice,

      Thanks for the reply .

      I have tried  the multisite 2.0 with the elgg1.5 .It seems to be working correctly :)

      Thanks a lot for the great work  :)

       

      vinitha