Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
WanWizard
a.k.a. WanWizard
Discussions
4
Comments
8242
Activity
What is theme and themeinfo?
If you don't need it, don't use it. ;-) The "use_modules" config key does several things. If set to true, it will enable the use of themes folder inside the module folder structure. The use case behind it is: say you have an ap…
Comment by
WanWizard
June 2015
permalink
about FuelPHP
I don't know where you are looking. The codebase for Fuel v1, in the github organisation "Fuel", is virtually frozen at the moment, so you mainly see bugfixes and small improvements. The codebase for Fuel v2, in the github organisat…
Comment by
WanWizard
June 2015
permalink
Donate
I don't know what you mean by "home" project. If you mean that no company controls it, then yes, that is correct. FuelPHP is a community project, which means that "the community" decides on where it will go. You, as part of…
Comment by
WanWizard
June 2015
permalink
about FuelPHP
There is some information in the documentation, and there's a series of tutorials on NetTuts. What there is, is mostly third-party. But as we never "marketed" FuelPHP as a framework for the beginner, we haven't put that much eff…
Comment by
WanWizard
June 2015
permalink
FuelPHP HMVC?
HMVC, and Wiredesignz bolt-on solution, was one of the many reasons for the original FuelPHP team to leave CI (one of them being an Ellislab employee, one was the "Reactor" team leader) and start a new framework. If you want to know what …
Comment by
WanWizard
June 2015
permalink
about FuelPHP
I can't give you advise, there are to many personal factors that are involved. FuelPHP is, compared to the likes of Laravel, not so popular with individual developers, they don't think is new, shiny and cutting edge enough. Same can be sa…
Comment by
WanWizard
June 2015
permalink
Fuelphp two authentification factor with TOTP
Looks good, thanks for letting everyone know!
Comment by
WanWizard
June 2015
permalink
about FuelPHP
Is CI alive again then? It was as good as dead when we left the CI scene to start with FuelPHP back in 2010. If you like to follow the latest hype, if you don't have a problem with selecting a new framework for every project, if you don't…
Comment by
WanWizard
June 2015
permalink
Permissions overriding
Permissions are cumulated, so in this case the user has permissions [1,2,3,4] because of group membership, and [5] because of direct assignment, so the effective permissions for this user are [1,2,3,4,5]. If you don't want that, you need to sp…
Comment by
WanWizard
June 2015
permalink
What is theme and themeinfo?
To start with your last question: themeinfo isn't used anywhere. It is meant to store theme specific config, either for the theme itself, or for theme installers. For example, say you have a theme that is available in 4 colours, then you could…
Comment by
WanWizard
June 2015
permalink
How to update user profile fields?
You can use the update_user() method. Any fields passed that are not user record columns will be added to the profile fields. If you want to do it directly, then for OrmAuth you can use the Model's, profile data is stored in the users meta d…
Comment by
WanWizard
June 2015
permalink
how to include header.php into another php file
All output in FuelPHP is generated through View objects, which in turn use view files, which could be plain php or use a template engine like Smarty or Twig. Please read http://fuelphp.com/docs/general/views.html, it explains exactly what views are…
Comment by
WanWizard
June 2015
permalink
how to include header.php into another php file
There is never a need to use include() in Fuel. I need to know more about what you want to do, where you want to do it, and what this file contains. The name "header.php" suggests it has something to do with HTML output, which means it s…
Comment by
WanWizard
June 2015
permalink
ORM with RESTful API as backend/storage
It's pointless and not very efficient to replicate the API. We implemented a subset mainly for CRUD operations and datatables (paginated lists). I think the API should stay in control of what the client can see and do, if you expose a complet…
Comment by
WanWizard
June 2015
permalink
ORM with RESTful API as backend/storage
Yes, but not in the wild. We use a generic REST API in our application portfolio (which are distributed apps with central management). But I can't give that away I'm afraid.
Comment by
WanWizard
June 2015
permalink
Looking for Users Online package/code
that is not the session table, those are auth tables. "session" is a separate oil task, you run it using "oil refine session"
Comment by
WanWizard
June 2015
permalink
Looking for Users Online package/code
If you have your sessions in your default db, you don't need to specify "database", that is only if you need to share sessions across multiple apps in the same domain. You did create the table (there's an oil task for it, "…
Comment by
WanWizard
June 2015
permalink
Looking for Users Online package/code
No, at the moment there is no relation between sessions and users. If you want that you need to extend the session driver you use (anyone by Cookie), and have it add the current logged-in userid when a session record is saved. And save as 0 if not …
Comment by
WanWizard
June 2015
permalink
My sql database connection
The message is pretty clear I'd say. The username and password you have specified don't give you access to that database, so you need to check your MySQL config. Make sure username and password are ok, and that this user has rights to acc…
Comment by
WanWizard
June 2015
permalink
Sending an email with attachment, with swiftmailer
Fuel's own email package has full support for both attachments and inline images (if you use a HTML message). You seem to connect to Google for mail, then you should not use the transport type "mail", but use SMTP. See http://docs.fu…
Comment by
WanWizard
June 2015
permalink
My sql database connection
There are two different ways of defining the database, and that depends on the type. There is one for legacy drivers, and there is one for PDO. Since your config doesn't specify the type, Fuel will default to PDO, but you have used the legacy …
Comment by
WanWizard
June 2015
permalink
Sending an email with attachment, with swiftmailer
Why not use Fuel's own email package? That doesn't have this problem. For problems with SwiftMailer you will probably have more luck on their forum? But my wild guess would be: you're not passing a FQFN to fromPath() but a relative …
Comment by
WanWizard
June 2015
permalink
My sql database connection
Your configuration is wrong, but you'd probably already figured that. ;) When it comes to configuration, Fuel works with environments, which are defined as folders within the config directory. By default, Fuel runs in the "development&quo…
Comment by
WanWizard
June 2015
permalink
how to load email->bcc from database?
ah, ok. Thanks for clearing that up. :-)
Comment by
WanWizard
June 2015
permalink
how to load email->bcc from database?
For future readers, what was the problem?
Comment by
WanWizard
June 2015
permalink
More Comments
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
About
Username
WanWizard
Joined
January 2011
Visits
2,367
Last Active
8:11AM
Roles
Administrator