Check the below link for details:
http://hardkap.net/pritlog/pmwiki.php?n=Pritlog.Testing
Pritlog 0.412 - First beta available
(33 posts) (4 voices)-
Posted 3 years ago #
-
Thanks Prit !
Uploaded test blog 0.412 at > http://www.enbaires.com/blog2/
update.php worked well.Posted 3 years ago # -
Hi Prit, I posted the list of changes on my 0.412 test blog, its easier to add my comments there during testing.
Posted 3 years ago # -
Thank You Prit!
What a progress in such a short time. I get the impression you didn't get much sleep last week ;)
I made a translation file "dutch-nl.php" and added it to the 'lang'-folder. However, after changing the language to dutch in the admin panel and submitting, all I get is a blank page.
Is there something more to do to activate a new language?
Thanks again!Posted 3 years ago # -
Hey John,
Thanks for testing. I think it would be beneficial for the current users/testers and if anyone wants to see fixes in the future if the testing discussion happens on this forum. It would be great if you can post your comments and feedback on this form itself. Thanks for understanding.
I do agree about your suggestion about the center column. Now that you have all the files, you might want to experiment in creating the 2 column layout.
Also, I tested the about block and language retention and both works. I created a copy of english-us.php to spanish.php. You can find the below test blog link ("password") and see it in action.
http://hardkap.net/labs/Pritlog_0.412/index.php/mainPagePosted 3 years ago # -
Hi Bert,
Thanks for testing. You are right in saying that I didnt get enough sleep last week. My eyes were red due to this and my wife was concerned. Anyway, now that the beta is out, I will get better rest.
Can you make the dutch translation file available for me to download? I will try it out. John reported the same problem. I tried with a dummy language file and it was working.
Posted 3 years ago # -
Hey Bert,
I downloaded your dutch translation file and am using that on my test blog here:
http://hardkap.net/labs/Pritlog_0.412/index.php/mainPageActually, I noticed that in couple of places single quotes were within single quotes in your language file. This caused the script to fail. I changed it to "Pagina's" instead of 'Pagina's'. Changed couple of other variables in the same way. Now it works.
John, can you check if your translation file had some similar stuff?
After I get through the basic feedback from you all, I will start relaxing. :)
Posted 3 years ago # -
Also, John ... for your comment on "heavy"/unresponsive script, I suspect if the "add to any" sharing button script is causing this. Can you delete or comment that part from the script and see if that helps?
Posted 3 years ago # -
1. add to any sharing button
I had the same impression, I commented the button, and now it's much better.
Test blog: http://www.enbaires.com/blog2/2. about block (text change retention)
I discovered that permission of my config_admin.php was 644, I changed it to 755 and now it works.3. forum
Understood, will keep testing discussion on this forum.4. translation
I already made a spanish_es.php Once I double check it I'll post a link.That's all.. for a while
Posted 3 years ago # -
Thanks John. Appreciate it.
Posted 3 years ago # -
Well, I'm gonna be in dispose for a while, planning a trip up north. But, for me I'm gonna have to edit this template first and foremost. It appears that the html is being replaced by php code making the html that much harder at least for me. No big deal off the top of my head other than debian not being able to run a local server for editing and testing.. Something I've done I'm sure. Anyway, I like it so far minus the template being harder to edit.
Posted 3 years ago # -
It would be nice if next version adds a password "remember me" checkbox for admins and authors, to avoid re-entering pass every time.
Posted 3 years ago # -
Hi Prit,
I started to digest v0.412 to get familiar with how everything works now.
I identified a total of 47 functions according to the following list (it might be usefull for anyone looking to customize the code) lines with ## indicate that this function name was present in the previous version -0.411- (but not necessarily with the same code):
01 mainLogic()
02 adminPass()
03 adminPage()
04 adminPageBasic()
05 adminPageBasicSubmit()
06 adminPageAdvanced()
07 adminPageAdvancedSubmit()
08 adminPageAuthors()
09 adminAuthorsAdd()
10 adminAuthorsEdit()
11 readAuthors()
12 readConfig()
13 setConfigDefaults()
14 writeConfig($message=true)
15 createRSS()
16 titleModify($myTitle)
17 ## getPosts()
18 sidebarStats()
19 ## listPosts()
20 ## sidebarListEntries()
21 sidebarPopular()
22 getTitleFromFilename($fileName1)
23 ## sidebarListComments()
24 ## sidebarPageEntries()
25 printTagCloudAgain($tags)
26 loadCategories()
27 ## sidebarCategories()
28 ## sidebarLinks()
29 ## listAllComments()
30 nicEditStuff()
31 newEntryPass()
32 ## newEntryForm()
33 ## newEntrySubmit()
34 ## deleteEntryForm()
35 ## deleteEntrySubmit()
36 deleteEntryComment($entryName)
37 editEntryPass()
38 ## editEntryForm()
39 ## editEntrySubmit()
40 getfileNameFromTitle($fileName1)
41 ## viewEntry()
42 ## sendComment()
43 ## deleteCommentForm()
44 ## deleteCommentSubmit()
45 ## viewArchive()
46 viewArchiveMonth()
47 ## searchPosts()The first I want to say that I'm sure this has taken many hours of hard work, and I realy appreciate your openess to listen to user requests. Thanks Prit, great work !
On the other hand, since my goal is to adapt the script to my own needs on a feature by feature basis, I can see that it has grown quite a bit, mainly due code required to manage admin panel, configuration file, and translation.
So I'll embed myself into this script to learn the new "how is this done & where is that code" :) and selectively "import" the features I like into my already customized 0.411 test blog available at http://www.enbaires.com/blog1/
A draft of my current customization plan:
- no admin panel
- use orig config.php / add new parameters as needed / edit the file manually
- language strings translated directly on script
+ add md5 password encryption
+ add enable / disable comments
+ add multiple authors by simply hardcoding multiple passwords
+ create a dropdown menu to use fixed categories defined by admin
+ maybe to enable a given author to post on certain cat and not in others
+ add pass request before entering form
+ add a pass "remember me" feature
+ add collapsible archiveAs I move forward I'll continue testing of 0.412 I uploaded to http://www.enbaires.com/blog2/ and let you know my feedback.
Thanks to Pritlog I expect to publish several blogs about different subjects pretty soon, using features according to my personal preferences, and the most important: understanding every line of code good enough to introduce modifications at any time.
Posted 3 years ago # -
Thanks John. Hope it will be a good learning exercise for you as was for me.
Would it be too difficult to build your changes over 0.412 or is it just for learning?
I am not using the typical login features like sessions and hence cannot have a password remember feature for now. If I change it to something typical, then I can have this feature. Yeah, I do understand that it makes it much easier with the remember me.
Ken .. are you going to keep your current layout and try to modify 0.412 to suit this?
Posted 3 years ago # -
Hi Prit,
For sure this has and will continue to be a wonderful learning exercise.
Answering your question, I think that in my particular case it will be easier to build on top the customized 0.411 I have. In fact, I'm working to integrate a login system that uses session vars.
But I also understand your interest to support the latest release, and I'll be glad to collaborate with testing as they become available if you want me to help.
As a programmer, you know that there are literally hundreds of variations to accomplish the same thing. In my case what I enjoy the most, is to understand the overall logic of a script, identify the key building blocks, research and test snippets to improve some of its funcionality, and reassemble the puzzle again.
Posted 3 years ago # -
I just posted some information about the features of the new login system I'm curently testing on my v0.411 test blog > http://www.enbaires.com/blog1/
Posted 3 years ago # -
Hi John,
I am sure this would be a good exercise and learning. The below links might be helpful. One of them talks about how to make it more secure.
http://www.serversidemagazine.com/php/session-hijacking
http://oscarm.org/news/detail/1877-avoiding_frustration_with_php_sessions
http://www.evolt.org/node/60384Posted 3 years ago # -
Well, I'd like to stick with what I got atm. I was testing out the new blog & as I siad a lot of the easy html has been replaced by php. And so instead of editing out the links I now have to figure out how to get around that + plus the about stuff & a lot of the other mandatory fields which I have no use of. If I can I'll try to implement the following:
Pretty Urls (Topic instead of file numbers as file names)
Archive has year-month collapsible feature like blogspot
Post Options w/ Teaser + Full Story (using *readmore* in the post)
RSS shorter - summary instead of the whole post? (*readmore* can be used)
md5sum encrypted passwordsYou have done a great job & I'll be posting more as I progress or regress.. :)
Posted 3 years ago # -
Prit: what distro,server are you working on this script ? I finally got a server & php running to where I can get to editing but upon clicking on the adminPage http://127.0.0.1/index.php/adminPage I'm getting: The requested URL /index.php/adminPage was not found on this server. & that goes for all the other links. Or are you testing on a net server & not local ?
the links in the left sidebar & all other local links show up as: http://adminpage/, http://viewarchive/ etc...
Posted 3 years ago # -
Ken ... Do you see any other errors on the top when you do this?
I am currently using windows because I have several softwares required to connect and work on the Mainframe for my daily work that only work here. I use different servers for localhost like xampp, usb webserver.
Maybe one of the PHP standard server variables isnt get the right value for your case.
Posted 3 years ago # -
Prit: you may be right about the php.. I use debian etch/stable & you use windows so that's probably it. I'm on dial-up so uploading, editing, testing to get the template to where I like is a chore...
Posted 3 years ago # -
@Ken,
I will try to get the Pritlog beta to your template and let you know when its done.Posted 3 years ago # -
I am very grateful Prit. Thanks for your hard work & generosity. As well as being unbias, I know my blog is controversial and not everybody holds the views expressed by myself and contributors/
Posted 3 years ago # -
You are welcome Ken. Its my pleasure. Without you all, there would not be a Pritlog 0.412. I do read your blog at times. :)
Posted 3 years ago # -
Prit,
What happened with the performance thread ?
Posted 3 years ago # -
@Ken,
I made changes as much as I could find and uploaded the new index file here
http://hardkap.net/labs/index.zipYou need to run the update.php before using this index. Before this, it is recommended to take a backup posts and comments directories. Let me know if you would like anything changed.
@John,
I just made it a sticky so that it comes on top. Do you want me to change it?Posted 3 years ago # -
On my setup I noticed this: http://www.greenvilleroad.info/index.php/viewEntry/00092/Abraham-Lincoln--39-s---34-Gift--34--to-Georgia--Sherman--39-s-March
When the headline is: Abraham Lincoln's "Gift" to Georgia--Sherman's March
I believe this has to do with the fact that prilog uses: iso-8859-1
" = "
' = 'Posted 3 years ago # -
Thanks for reporting this Ken. The -'s are expected. But 39s - I think one of the transform function might be causing this. I will fix this and post back.
Posted 3 years ago # -
Hi Ken,
I made a small change to the way quotes are handled in the title and now it should look good.
Also, somehow, the visits are not getting counted on your blog. On my servers, they are working just fine. Not sure if I missed something when changing to your template. I will check it out and let you know.
Posted 3 years ago #
Reply »
You must log in to post.