New Plugin: QProfEmailTemplater
Hello All,
Before I proceed please how do I get (automatically) the full URL to pages in my application e.g. http://localshop/myapp/page1.php
If I can at least get the "http://localshop" part alone, I can finish the job. Please help.
Now to the main thing:
Please I just finished a plugin I used for one of my projects. I call it QProfEmailTemplater. It works like the email component in CakePHP, allowing you to specify HTML and Text Template files with placeholder variables that gets replaced before the email is actually sent. This plugin does the replacing and then returns the TEXT or HTML string for use with QEmailMessage and QEmailServer. A sample is also ready.
I believe we all know about what I'm talking about. Please can you tell me how to publish my plugin for sharing, correction and further development? Thank you.

You can use $_SERVER['PHP_SELF'] to get the path to the current page. I also use the global variables setup in the configuration file: __SUBDIRECTORY__ AND __VIRTUAL_DIRECTORY__.
Can't help you on publishing a plugin though.
Thanks kpirbhai. I didn't want to rely on $_SERVER['PHP_SELF'] as it is not guaranteed to be always available.
profnotime - i'm excited about your plugin! It sounds pretty awesome! Can you please follow the steps in this tutorial (http://examples.qcu.be/assets/_core/php/examples/plugins/packaging.php) to package your plugin? Once you're done, please create a Ticket and upload your plugin .zip file there. We'll all do a code review and help you finish it up!
Thanks!
-Alex
profnotime - can my suggestion to cmarza about migration on a different web server address your avaibility doubts about the URL info.
http://qcu.be/content/migrating-sites-different-server
As you can see I suggested a modified $PathInfo that can survive to different server implementation.
Hope this help you. Gianni
Waoh, this is sad and I think very bad. @Alex, is there a way you can implement this forum such that replies to people's posts get emailed to them or @least the notification that there has been a reply? I never saw your comment as well as Grossini's for almost a year!
I am very sorry about this. I also completed another piece of useful stuff today. A friend of mine needed to implement QFileAsset control to upload videos, I wrote a new control extending it and allowing it upload video files. Simple as it may sound, its still a useful one as I see it, though I've only tested it on 1.1.1
Cheers.
profnotime, we had an issue with email notifications from the forum system at the end of the last year. It should be all fine now - hopefully you get notified of this reply :)
I'm looking forward to seeing your new plugin! Please open a ticket and attach your files to it, we'd be happy to review/ comment!
Thanks,
Alex
Hey Alex, I tried to create a ticket but I was asked to authenticate myself. I don't have a username / password for this, how do I obtain one please?
You should be able to authenticate using the same credentials that you use on the Qcubed forum.
Okay, thanks Alex, I have accessed it and created two tickets. Its my first time so please forgive my mistakes. One ticket has the Plugin, the other the New Control I talked about. I await your response then. Cheers.