xoops forums

Forum Index


Board index » All Posts (black_beard)




black_beard

Just popping in
Posted on: 2015/9/27 6:53
black_beard
black_beard (Show more)
Just popping in
Posts: 59
Since: 2012/6/24
#1

Re: What version of PHP are you using? Dropping PHP 5.3 support!

I agree with this decision.
The modules that I make are all optimized for PHP 5.5.x


black_beard

Just popping in
Posted on: 2014/11/18 0:25
black_beard
black_beard (Show more)
Just popping in
Posts: 59
Since: 2012/6/24
#2

Re: i'm working an a standard module skeleton

Hi,
The use of a dynamic system (class, variable, function) above allows me to quickly create a module in the shortest lines.
In terms of resources, the module is not very greedy (except some parts which demand to be optimized). The biggest module I wrote for a client, contains 42 MySQL tables, it is a module of ERP for automotive dealerships. And in addition I can easily clone the module. The only real job is to change the language files, the file instaalation MySQL and add the files to add the necessary options.
I'll try to explain how the basic module:
in the file for the web page called:
"$entree" table contains all the fields for the page.
"$class" table contains all the class to load
 
In the "class" matching file:
$table_item, MySQL columns


The idea is:
- To create a fully clonable module (without further manipulation as copy / paste / rename the module directory)
- Creation of "class" generic for basic functions (read / write BDD form, security ...)
- Quick Add feature (by copy / paste) so each function, class must be completely modular.
- Cache system for dynamic class already generated.
- Quickly Adding fields in a file.
- The page loads only what it needs for its operation.

I am to create simple modules, secure, requires very little hardware resources, fast, functional and easy to modify (even for a novice)

If I understand, you want to use smarty to generate (or simulate) a module.
I haven't explored this track, I don't know if it's a good idea.
We don't have the same approach, I try to keep a (speed RAM, PIC, size,) hardware and ergonomic approach to the user. To estimate a module, I look at the lines of code (graphics rendering happens at the end)
It's good to have multiple approaches.


black_beard

Just popping in
Posted on: 2014/11/16 19:14
black_beard
black_beard (Show more)
Just popping in
Posts: 59
Since: 2012/6/24
#3

Re: i'm working an a standard module skeleton

hi,
Too bad the name of "class" are written in hard. It should take all the files and rename hand.
I have used variables, classes and functions dynamic
Look at my old modules which I use as starting skeleton.

http://sourceforge.net/projects/chgxo ... Modules/vide.zip/download

Nothing to rename, just a copy / paste (except for MySQL file) for an operational base module and not conflict with other modules.

This module is not perfect and is not yet the standard of practice but XOOPS 2.6 to start and especially for cloning.

Viewing:
./include/install_function.php
./class/class_class.php


black_beard

Just popping in
Posted on: 2013/1/16 15:25
black_beard
black_beard (Show more)
Just popping in
Posts: 59
Since: 2012/6/24
#4

Re: SimpleNewsletter 2.32 Beta 1 released for testing

Reporting a bug :
A conflict between the module 'simplenewsletter' and module 'tag'.

the bug happens by activating a block and when I return to my home page
I have this message :
Quote:

Fatal error: Call to a member function getVar () on a non-object in / home/www/xxxxxxxxxxxxxxxxxxxx/web/modules / tag / include / functions.ini.php on line 54



black_beard

Just popping in
Posted on: 2012/12/26 20:26
black_beard
black_beard (Show more)
Just popping in
Posts: 59
Since: 2012/6/24
#5

Module "backpack"

module "backpack" 1.02 has been updated and is available here.

This module allows you to backup or restore your database.
The original author is: Yoshi Sakai.

Minimum required :
PHP 5.2 or 5.3
MySQL 5.1 min.
Xoops 2.5.x
ModuleAdmin 1.1

Here are the main features:
- Backup your database Xoops
- Backup specific tables
- Backup module tables
- Optimize your database

Thank you for the return bug stating your version of PHP and MySQL


black_beard

Just popping in
Posted on: 2012/10/6 8:03
black_beard
black_beard (Show more)
Just popping in
Posts: 59
Since: 2012/6/24
#6

Re: New version for tcpdf_for_xoops is available

I simply followed the changes TCPDF project.
If, I can make changes to the script to accommodate PHP 5.2 (I know where the command line specific to 5.3)
but in the future, we could make a more "copy / paste", see her


black_beard

Just popping in
Posted on: 2012/10/5 5:29
black_beard
black_beard (Show more)
Just popping in
Posts: 59
Since: 2012/6/24
#7

Re: New version for tcpdf_for_xoops is available

In the next version (1.07), the system autoload to (composer) will be fully active. I still have some adjustments to do


black_beard

Just popping in
Posted on: 2012/10/5 5:22
black_beard
black_beard (Show more)
Just popping in
Posts: 59
Since: 2012/6/24
#8

New version for tcpdf_for_xoops is available

Hi,

TCPDF_for_xoops version 1.06 is available for download here.

Minimum required : PHP 5.3 & Xoops 2.5

tcpdf_for_xoops Frameworks for XOOPS is to generate PDF files from the pages of your site. This version is based on version 5.9.193 of project tcpdf.org.
The Frameworks comes without makepdf.php files, you can consult the dedicated section to find the file you need makepdf.php.

Changelog
Quote:

=======================
Version 1.06 2012-10-04
=======================
- PHP TCPDF class has been updated (5.9.180 => 5.9.193)
* composer.json file was added
* Subset feature was extended to include the first 256 characters.
* bug fix related to cached images and a new composer file.
* bug fix related to font names
* bug fix related "Infinite loop in Write() method"
* bug fix related to EAN barcodes
* bug fix related datamatrix barcode
* bug fix related "ini_get safe_mode error"
* buf fix related to Image() method.
* includes support for named destinations on HTML links.


Installation : Simply copy the directory "tcpdf" in "./Frameworks"

Update : Just overwrite the files and directories with the new versions.

Additional fonts are available here (TChinese, schinese, Japanese, Arabic, etc ...)

You can find the documentaion on this page


black_beard

Just popping in
Posted on: 2012/9/27 8:20
black_beard
black_beard (Show more)
Just popping in
Posts: 59
Since: 2012/6/24
#9

Re: XOOPS on Softpedia

Cool


black_beard

Just popping in
Posted on: 2012/9/25 9:21
black_beard
black_beard (Show more)
Just popping in
Posts: 59
Since: 2012/6/24
#10

new version of tcpdf is available

Hi,

TCPDF_for_xoops version 1.05 is available for download here.

Minimum required : PHP 5.2 & Xoops 2.5

tcpdf_for_xoops Frameworks for XOOPS is to generate PDF files from the pages of your site. This version is based on version 5.9.180 of project tcpdf.org.
The Frameworks comes without makepdf.php files, you can consult the dedicated section to find the file you need makepdf.php.

Quote:

Main features
- all standard page formats, custom page formats, custom margins and units of measure.
- UTF-8 Unicode and Right-To-Left languages.
- methods to publish some XHTML + CSS code, Javascript and Forms.
- images, graphic (geometric figures) and transformation methods.
- supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2,
GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via
ImagMagick (http: www.imagemagick.org/www/formats.html).
- 1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93,
Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention,
EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code),
CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode,
Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS,
Datamatrix ECC200, QR-Code, PDF417.
- ICC Color Profiles, Grayscale, RGB, CMYK, Spot Colors and Transparencies.
- automatic page header and footer management.
- document encryption up to 256 bit and digital signature certifications.
- transactions to UNDO commands
- PDF annotations, including links, text and file attachments.
- text rendering modes (fill, stroke and clipping).
- multiple columns mode.
- no-write page regions.
- bookmarks and table of content.
- text hyphenation.
- text stretching and spacing (tracking/kerning).
- automatic page break, line break and text alignments including justification.
- automatic page numbering and page groups.
- move and delete pages.
- page compression (requires php-zlib extension).
- XOBject templates.
- PDF/A-1b (ISO 19005-1:2005) support.


Installation : Simply copy the directory "tcpdf" in "./Frameworks"

Update : Just overwrite the files and directories with the new versions.

Additional fonts are available here (TChinese, schinese, Japanese, Arabic, etc ...)

You can find the documentaion on this page



TopTop
(1) 2 3 4 5 »