Kunena Menu
Espace réservé aux bonne idées et suggestions pour Joomlack.
Module to run a PHP script
- trogladyte
- Topic Author
- Offline
- Platinum Member
-
9 months 2 weeks ago #75966
by trogladyte
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Module to run a PHP script was created by trogladyte
Hi Ced
A while back, you were good enough to update the Ajo Copyright plugin to remove an error in it. Thank you again!! It's still working perfectly.
I have one site that uses 2 different modules to run PHP scripts on my site santapaulaairport.com - Blank Module, and Compag Blank Module. The devs who did these no longer around. I tried replacing them using RegularLabs Sourcerer, but all I got was raw code output.
Is this something you'd be interested in reviving? No idea what time it would take or if there would be a market for it. You're welcome to quote on doing the job for me too, then you could still market it through JED if you wanted. I couldn't find the original mod install files, so I just zipped up the complete folder of each and attached them.
Cheers
A while back, you were good enough to update the Ajo Copyright plugin to remove an error in it. Thank you again!! It's still working perfectly.
I have one site that uses 2 different modules to run PHP scripts on my site santapaulaairport.com - Blank Module, and Compag Blank Module. The devs who did these no longer around. I tried replacing them using RegularLabs Sourcerer, but all I got was raw code output.
Is this something you'd be interested in reviving? No idea what time it would take or if there would be a market for it. You're welcome to quote on doing the job for me too, then you could still market it through JED if you wanted. I couldn't find the original mod install files, so I just zipped up the complete folder of each and attached them.
Cheers
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Please Log in or Create an account to join the conversation.
9 months 2 weeks ago #75967
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Module to run a PHP script
Hi
interesting idea
But:
- you have sent me 2 times the cmp_blank, but not the other (if I understand there are 2 different modules)
- then please explain what they are supposed to do and how they work (a simple example would help)
I had a look at the code and it seems quite simple
CEd
interesting idea
But:
- you have sent me 2 times the cmp_blank, but not the other (if I understand there are 2 different modules)
- then please explain what they are supposed to do and how they work (a simple example would help)
I had a look at the code and it seems quite simple
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- trogladyte
- Topic Author
- Offline
- Platinum Member
-
9 months 2 weeks ago #75968
by trogladyte
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Replied by trogladyte on topic Module to run a PHP script
Sorry, thought I'd attached both. I see that the other one is too big to attach (a little under 300k). You can grab it at
www.ckdev.info/mod_blank250.zip
.
The job of the module is simple. It allows the developer to add PHP code to their site by pasting it into the relevant field. It also supports HTML, custom Head tags, script (I assume that means JS), and CSS.
I did try inserting PHP (sample in use at the moment below) via the Code element in PB, but it failed. However, I just had a thought now, as I read this under Soucerer's documentation. In their troubleshooting docs they said that if the PHP was just coming out raw, then one reason may be that you're just adding the PHP code and not the <?php...?> around it. I just tried this using PB and the code element, and it works! This is typical of someone knowing enough to be dangerous!! LOL.
Therefore, the only advantage these modules had over PB was that the user didn't need to know anything! Just add the code, and the module did the "extras" like adding the opening code in the case of PHP and JS. Had I realized that I could get PB to do it I would have converted these years ago! So, it seems nothing is needed unless you can see a good reason for not using PB like I have.
Cheers
The job of the module is simple. It allows the developer to add PHP code to their site by pasting it into the relevant field. It also supports HTML, custom Head tags, script (I assume that means JS), and CSS.
I did try inserting PHP (sample in use at the moment below) via the Code element in PB, but it failed. However, I just had a thought now, as I read this under Soucerer's documentation. In their troubleshooting docs they said that if the PHP was just coming out raw, then one reason may be that you're just adding the PHP code and not the <?php...?> around it. I just tried this using PB and the code element, and it works! This is typical of someone knowing enough to be dangerous!! LOL.
Therefore, the only advantage these modules had over PB was that the user didn't need to know anything! Just add the code, and the module did the "extras" like adding the opening code in the case of PHP and JS. Had I realized that I could get PB to do it I would have converted these years ago! So, it seems nothing is needed unless you can see a good reason for not using PB like I have.
Cheers
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Please Log in or Create an account to join the conversation.
8 months 5 days ago #76175
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Module to run a PHP script
Hi
after some time, I finally had taken 20 minutes to convert your modules.
You can find the version for J6 here :
www.dropbox.com/scl/fi/ilf9o9m3qlfdj6uut...ne1xe4s9zgwnx0b&dl=0
www.dropbox.com/scl/fi/a7nn9uik6trjpym1x...o5t4lfshfewd8qa&dl=0
They are not tested fully, and the language files are missing
But the module is enabled and works in admin and front.
CEd
after some time, I finally had taken 20 minutes to convert your modules.
You can find the version for J6 here :
www.dropbox.com/scl/fi/ilf9o9m3qlfdj6uut...ne1xe4s9zgwnx0b&dl=0
www.dropbox.com/scl/fi/a7nn9uik6trjpym1x...o5t4lfshfewd8qa&dl=0
They are not tested fully, and the language files are missing
But the module is enabled and works in admin and front.
CEd
Joomlack Webmaster and Developer
The following user(s) said Thank You: trogladyte
Please Log in or Create an account to join the conversation.
- trogladyte
- Topic Author
- Offline
- Platinum Member
-
8 months 5 days ago #76176
by trogladyte
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Replied by trogladyte on topic Module to run a PHP script
Thanks, Ced, as always!!
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Please Log in or Create an account to join the conversation.
Time to create page: 0.202 seconds




