Home pcDTR Forum
If you like the work i do, you know what to do.
Welcome, Guest
Please Login or Register.    Lost Password?

Version 3.1.6
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Version 3.1.6
#197
Version 3.1.6 5 Months, 3 Weeks ago Karma: 2
With this version i started everything from scratch, to try and speed things up.

Example of time to render the example page with "option resample rate 4"
Time total: 9.9857sec. Time Parse: 0.413sec. Time img: 9.5556sec

And with "resample rate 1"
Time total: 1.564sec. Time Parse: 0.3932sec. Time img: 1.1529sec

And with cache enabled.
Time total: 0.4957sec. Time Parse: 0.4772sec. Time img: 0.0014sec

My server isn't the fastest in the world. Crapy virtual esx machine.

Main changes:
* Speed improvements
* Removed the "cache folder" option and replaced it with default dir path cache/pcDTR. So we can use joomlas build in clean cache.
* Better handling of "br" and "a" tags in free text. Check out example 6.
* No more case-sensitive font names in "font-family". Just write what you want now.
* Added a timer to the end of body on each pages to see how fast the script works.
* Css is added to the header instead of direct into the body. For xhtml compatibility.

And more that i don't remember.

Changes 3.1.0 -> 3.1.1
* fixed all error notices.
Changes 3.1.1 -> 3.1.2
* fixed css.php path and upgrade method thx to mattaulds.
Changes 3.1.2 -> 3.1.3
* fixed skip class in config didn't work

Changes 3.1.3 -> 3.1.6
* fixed bug where :hover didn't work as it should
flowman
Admin
Posts: 110
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/05/09 06:39 By flowman.
The administrator has disabled public write access.
 
#200
Re:Version 3.1.0 5 Months, 3 Weeks ago Karma: 0
Just installed this version and its thrown a mass of errors I'm afraid. Initially it choked displaying: Fatal error: Class 'JFile' not found. Once I added a jimport line it processed but has a huge list of errors that appear to be default values not loading. The images are loading but mushed on top of each other.

It's a shame. I've only just found this plugin and I think you've done an excellent job. Looks like there are some issues with this release though...

Attached the errors and a screenshot.

File Attachment:
File Name: errors.txt
File Size: 15375
mattaulds
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#201
Re:Version 3.1.0 5 Months, 3 Weeks ago Karma: 2
Oh fun fun. Love it i allways have error report notice off when i code. Maybe i should turn it on. And fix all index errors.

So fixed all error notices from your error file. Hope it works better now. Test with 3.1.1
flowman
Admin
Posts: 110
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/13 15:44 By flowman.
The administrator has disabled public write access.
 
#202
Re:Version 3.1.0 5 Months, 3 Weeks ago Karma: 0
Excellent. Just one little error that made the background image sit over the text and not be aligned properly - pcdtr/css.php not getting added cos of a missing '/'. So line 57 should read:

$document->addStyleSheet(JURI::base(true).'/plugins/system/pcdtr/css.php','text/css',"screen");

instead of:

$document->addStyleSheet(JURI::base(true).'plugins/system/pcdtr/css.php','text/css',"screen");

I'll now test more thoroughly. I have some interesting problems with a few fonts with things like capitals being used instead of lower case letters - particularly with I instead of i. Eg Typing is PCDTR'd into TypIng. Might be a font problem though...
mattaulds
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/14 00:57 By mattaulds.
The administrator has disabled public write access.
 
#203
Re:Version 3.1.0 5 Months, 3 Weeks ago Karma: 0
Ok, tested on another server. Still getting the Fatal Error: Class JFile... This seems to be due to not properly set default parameters as simply opening the admin backend and clicking Apply got rid of the error. I think you will need to test on a system that has never had PCDTR on it to see this error.

I've also found a problem with the uri of the background images - they were relative to each page so when I was using a different template - e.g. component - the browser was looking along a non-existant path. I've changed line 125 to have a relative uri that is relative to Joomla base.

From:

$outPath = substr(JPATH_CACHE, strlen(JPATH_BASE)+1).'/'.'pcDTR'.'/';

to:

$outPath = JURI::base(true).DS.substr(JPATH_CACHE, strlen(JPATH_BASE)+1).DS.'pcDTR'.DS;


Presumptuous but attached 3.1.2 with changes and also moved to Joomla upgrade method so in future don't have to uninstall to upgrade. Makes me happy... Hope you don't mind.

File Attachment:
File Name: plg_pcdtr_J1-20100314-2.zip
File Size: 55065
mattaulds
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/14 00:36 By mattaulds.
The administrator has disabled public write access.
 
Go to topPage: 1
Banner
Copyright © 2010 pcDTR. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.