Jump to content

Frank Vèssia

Members
  • Posts

    601
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Frank Vèssia

  1. a little improvement to the Pete code..i hope : public function checkUser($forumUser) { // forumUser should be an array of: array('uid' => [integer], 'name' => [string]) $u = wire('users')->get("user_member_id={$forumUser['uid']}, include=all"); if ($u instanceof nullPage) { $u = new User(); $u->name = $forumUser['name']; $u->user_name = $forumUser['name']; $u->user_member_id = $forumUser['uid']; $u->addRole("guest"); $u->save(); } return $u; } Also check this for a well done social implementation class... http://opauth.org/
  2. Maybe i got the problem. I'm displaying the statistic of a new website...so no rows have been created, that's why i can see the notices and warning...but meanwhile i made some visitors and now i can see statistics except the mobile block that is still displaying those notices... You have to manage this case.
  3. mmm after returning to the module page the notices and warnings disappeared...btw i customized the data format into d-m-Y
  4. Nice module, but i got lots of errors, please look at the attachment.
  5. After install i got this notice Notice:Undefined index: cronInterval in/home/public_html/site/modules/SchedulePages.module on line188
  6. Great module. Installed right now. A little suggestion: could be nice to have a tooltip or something like this on the hover action of the info button to read information about the module instead of open the module page.
  7. mmm I don't think this is the solution for my case. I already have some pages and now i want to change the url of this pages into subdomains (also with their subpages), in your module i have to create the page with the same name of the subdomain in the root...
  8. After install i got this: Warning: strpos() [function.strpos]: Empty delimiter in /home/disinibi/public_html/site/modules/Multisite.module on line 40 Notice: Undefined index: subdomains in /home/disinibi/public_html/site/modules/Multisite.module on line 87
  9. @onjergolders: this module is old and it needs an update, some things changed in social websites codes...I'll do it very soon.
  10. Hello guys, is there a way to manage some fakes subdomains like pages in PW? I mean: sub.domain.com => domain.com/folder Maybe via htaccess... Thanks
  11. Great module. What about adding "latest registered users" ?
  12. mmm..I had other 3 fields, one text field , one integer field and one textarea field...no more. I can add that my date field had the european input and output setting (d-m-Y) but i don't think can be this the reason..i will check if i can found more information about that...
  13. Yes, removing the autopopulate option everything was good
  14. Ryan, with "they increase" i mean every time i try to delete one repeater block, i save and now they are 2, delete these 2, save and again they are 3 and so on...
  15. mmm, i have some problem using this field via api.. <? $c=$pages->get("name=$camp"); $c->setOutputFormatting(false); $repeater = $fields->get('stats'); $item = $repeater->type->getBlankRepeaterPage($c, $repeater); $item->day = strtotime(date("d-m-Y")); $item->counter = 1; $item->iplist = $userip."|"; $c->stats->add($item); $c->save(); ?> What i have is a strange behavior in admin. The field looks empty and if I click on "add item" it shows me the fields filled with the data i saved via api, but accessing the field via api it is empty...
  16. Awesome field, i waited months to have something like that, and the result is over my imagination. I found a bug...if you use a date field inside a repeater with the option to automatically fill with today date, this will create empty data inside repeater and if i try to delete them, they increase....removing that option on the date field it works good with no problems.
  17. The error is still there after the installation, but I cannot notice any strange behavior in pw...I will ignore...
  18. Hey there, i love this template but i've found a bug when you are in advanced mode...look at the screenshot.
  19. Hey Ryan i got this error while install Languages Support - Fields. I'm using latest commit. [b]Warning[/b]: Invalid argument supplied for foreach() in [b]/public_html/wire/modules/LanguageSupport/LanguageSupportFields.module[/b] on line [b]82[/b]
×
×
  • Create New...