Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 28 2019 13:35

    UserApplePie on master

    Update README.md (compare)

  • Jul 28 2019 13:28

    UserApplePie on master

    Update README.md (compare)

  • Jul 24 2019 20:18

    davarravad on v4.3.0

    (compare)

  • Jul 24 2019 20:16

    davarravad on master

    Update Header.php Lost the the… Merge pull request #155 from Us… (compare)

  • Jul 24 2019 20:16
    davarravad closed #155
  • Jul 24 2019 20:16
    davarravad opened #155
  • Jul 24 2019 20:11

    davarravad on staging

    Update Header.php Lost the the… (compare)

  • Jul 23 2019 23:51

    UserApplePie on 4.3.0

    (compare)

  • Jul 23 2019 02:55
    davarravad closed #138
  • Jul 23 2019 02:54

    davarravad on master

    Additions and Updates Added Te… Merge pull request #154 from Us… (compare)

  • Jul 23 2019 02:54
    davarravad closed #154
  • Jul 23 2019 02:54
    davarravad opened #154
  • Jul 23 2019 02:54

    davarravad on staging

    Additions and Updates Added Te… (compare)

  • Jul 21 2019 02:08
    davarravad closed #102
  • Jul 21 2019 02:08
    davarravad closed #136
  • Jul 21 2019 02:08

    davarravad on master

    Updates Added Auto Friend feat… Merge pull request #153 from Us… (compare)

  • Jul 21 2019 02:08
    davarravad closed #153
  • Jul 21 2019 02:07
    davarravad opened #153
  • Jul 21 2019 02:07

    davarravad on staging

    Updates Added Auto Friend feat… (compare)

  • Jul 19 2019 16:19

    davarravad on master

    Site Routes URL fix Setup Site… Merge pull request #152 from Us… (compare)

Tiago Lauletta Modesto
@TiagoLaMo
I tried to post this on bugs or erros, but it didn't show up. So I will post here to, just to be sure.

Hi DaVaR,
First of all, thank you for the really good job you have done with userapplepie!
I am developing a website and don't have to worry to create all user functionalities really save me tons of time.
One thing that took me some time was adding dictionary/language for all user pages, the framework support it, but you didn't used. Since my website is not in english I had to change all hard coded sentences for dictionary/language calls. But that is ok, maybe would be nice to add it in the future.
Ok, now let's talk about bug. It seams to work ok in your site, but in my development environment I had a bad time with recaptcha. Some times the widget showed fine and some times it didn't show at all. After some digging and some test I figure it out why.

In googles developer website it says:
"Note: your onload callback function must be defined before the reCAPTCHA API loads. To ensure there are no race conditions:"

In Auth@register you have:
$data['ownjs'] = array(
"<script src='https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit' async defer></script>",
"<script type='text/javascript'>
var onloadCallback = function() {
grecaptcha.render('html_element', {'sitekey' : '".RECAP_PUBLIC_KEY."'});
};
</script>");

So it loads google api first and the onloadCallback later, I don't now why in your web site this works fine, but in my development environment it is unstable, sometime it loads the widget and sometimes not. Change the order did the trick and it always loads the widget.
I hope this can be useful for someone else, because it almost let me crazy.
Once again, nice work and if I find any problem or have a tip to give I will enter in touch.
Best Regards,
Tiago

DaVaR
@davarravad
@TiagoLaMo Thank You for using UAP.
I have yet to really do anything with the Lang files. Most of them are from Nova Framework. I do plan to start working them into the site more in the future. But for now I am focused on improving styles and features.
Not sure why you post did not make it to the forum but I will look into that.
Also will look into the recaptcha bug. What version of php are you using?
DaVaR
@davarravad
I have updated the fix for the reCAPTCHA bug for next release. Pushing to github.
Tiago Lauletta Modesto
@TiagoLaMo
Nice. Good to know that you already fix it. My PHP Version is 7.0.6.
DaVaR
@davarravad
Oh OK. I am still running php 5. Have not yet updated.
Also started with the language goods.
Tiago Lauletta Modesto
@TiagoLaMo
Cool.
Just tried to make another post in the forum and worked.
I don't know my first attempt didn't.
Just because I am curious, I would like to post here to: DaVaR, I am quite new with HTML and PHP.
I tried to search on the web but couldn't find out how my html rootfolder goes from uap/public (where my index.php are) to uap/public/../app. I know this magically happens because all resources loaded from html code consider that it is inside app folder as been the rootfolder, right?
DaVaR
@davarravad
Are you trying to use a sub dir?
If so make sure you edit the .htaccess file from / to /subfolder/
Same in config.php
Oh and I need to update the forum post. It cut out some code.
DaVaR
@davarravad
@TiagoLaMo I updated the forum post about using UAP in a sub directory. http://www.userapplepie.com/Topic/45
Tiago Lauletta Modesto
@TiagoLaMo
I saw. But I might have posted my question in the wrong thread. I did install the uap in the root folder of the virtual host. My config is:

<VirtualHost 127.0.0.1:80>

<Directory "/Applications/AMPPS/www/userapplepie.local/public">

however what I didn't understand is how my root folder for the html code is the ../userapplepie.local/public/../app
I don't know how this happens.
Is there any place that redirect the html root folder tor app folder?
DaVaR
@davarravad
oh ok...
should not be. The app folder should not bee above the public folder
can you send me a screen shot? just drag and drop into gitter
Tiago Lauletta Modesto
@TiagoLaMo
hum, what exactly should I screen shot?
I let the folder organisation as the original
DaVaR
@davarravad
The browser window...
Tiago Lauletta Modesto
@TiagoLaMo
/Users/tiagolamo/Desktop/Screen Shot 2016-06-08 at 10.53.16 PM.png
DaVaR
@davarravad
is the site loading?
Tiago Lauletta Modesto
@TiagoLaMo
nope
DaVaR
@davarravad
the image did not load
any errors?
Tiago Lauletta Modesto
@TiagoLaMo
Ok. let me try to explain again.
DaVaR
@davarravad
sure
Tiago Lauletta Modesto
@TiagoLaMo
Everything works fine
the site loads fine
DaVaR
@davarravad
oh ok
are you talking about the index.html file that is in most of the folders?
Tiago Lauletta Modesto
@TiagoLaMo
nope
I am talking about the index.php that it is inside uap/public
this should be the root folder, right?
DaVaR
@davarravad
yes
according to Apache yes
Tiago Lauletta Modesto
@TiagoLaMo
ok. but when I right any html code considering that this is my root folder and try to load a resource from app folder, I should say ../app/Templates/Default/Assets/css for example.
however if I try to do that, it fails to reach the file.
DaVaR
@davarravad
oh ok
I see