Martijn (mvdkleijn) posts

Feed 650 posts

Only Full URL works? mysite.com/index.php

  • It this a fresh install of Frog 0.9.4 or 0.9.5 RC1?
  • What PHP version are you using?
  • What DB version are you using?
  • Did you activate .htaccess and did you update the RewriteBase to “/”? (since your site lives in the root)
  • Do other (non-frog) urls on the same subdomain work?
 

Local install 0.9.5 - no errors, no tables?

my apologies, its a typo in config.tmpl which for some reason didn’t trigger the problem on my system… despite me installing from scratch regularly.

the typo has been fixed in SVN

 

Lets get Plugins up to scratch

while I agree some of this would be nice… some concerns I have:

  • who is going to do these quality tests?
  • who decides what is good quality code and what is not?
  • what if a developer decides to provide a different layout for something? (do we punish them? ;-)
  • this approach leaves little room for developers who don’t have a lot of experience but do have willingness to help out.

Apart from those concerns, I personally feel that anyone who wants a certain plugin should write it themselves or be glad there is someone out there that’s willing to do it for free.

My personal estimate is that I’ve donated roughly (probably more) € 14.400,- euros in hours worked to the Frog project over the last 2-3 months.

I don’t do that because someone on the forum wants feature this or feature that… I do it because its fun for me. And an occasional thank you.

One thing I personally will never do is approve or disapprove plugins. That stifles innovation and developer’s willingness to help out the community by writing a plugin and releasing it for everyone to use.

Mind you… all this is just my personal opinion. You can ignore it completely if you want.

:-)

by the way: where do I send the bill for 14.400 euros? ;-)

 

File Manager

URL file-access is disabled in the server configuration

Frog uses URL file-access to check for updates. Your server administrator has dis-allowed this method of working. In Frog 0.9.5 you can turn update checks off by setting CHECK_UPDATES to false in config.php

In Frog 0.9.4 either you allow URL file-access or you will need to manually edit two files:

In ../frog/app/backend/controllers/LoginController.php
Change the line: $this->_checkVersion();
Into: //$this->_checkVersion();

i.e. comment it out.

In ../frog/app/backend/views/setting/index.php

Change: <?php echo Plugin::checkLatest($plugin); ?>
Into: <?php //echo Plugin::checkLatest($plugin); ?>

 

How is a page added programmatically?

Doesn’t main.php handle front end code as opposed to back end?

Depends on which Frog version you’re using.

 

Forum Theme - Froggier

and about all the design and branding of Frog I will have a big help From www.olaisred.com

What’s wrong about the current madebyfrog.com design and branding? I like it. Nice and simple. Though we need a wiki. And we need both the forum and the wiki to be branded like the main site. :-)

 

TinyMCE plugin release 2.0.0 RC1

I’ve just uploaded an RC1 version of my lastest TinyMC plugin. It is a release candidate so backup the database and directory before installing.

  • Disable the current plugin
  • Replace the entire “tinymce” plugin directory with the new stuff.
  • Enable the new plugin

It should automatically detect the old installation and copy over the old settings to the new system.
No manual configuration of files should be necessary. All the settings can be altered from the settings screen assuming you want to use the default setup I provide. (in terms of activated tinymce buttons, etc.)

Get is here: http://www.vanderkleijn.net/frog-cms/frog-downloads.html

edit: almost forgot… this release requires at minimum Frog version 0.9.5 RC1

 

File Manager

have you tried setting DEBUG to true in config.php? What is your setup?

  • Frog version
  • DB type and version
  • OS type
  • Apache version
  • PHP version
 

Page types

Just in case anyone is interested. I am thinking about doing a CCK type plugin once I have a little bit more time. Unless someone beats me to it. (hint, hint!) :-)

 

File Manager

The file manager is a core plugin which is enabled by default. If you had do enable it, something wasn’t quite right on your install anyway. Did you modify your setup in anyway? Did you rename the public directory for example?

 

How do I subscribe to Froggy news?

Best thing is to keep checking the madebyfrog.com blog which is available as an RSS stream.

As for release 1.0 of Frog. I’ll start thinking about that once I’m convinced 0.9.5 is ready and done. If I don’t forget, I’ll post regular news about the release schedule and features.

 

Forum Theme - Froggier

@Philippe – If you’re listening… could you use this stylesheet? I quite like it and it would bring the forum more in line with the main website!

I know you’re out-of-town until tomorrow, so I’ll CC this message to your email just in case.

 

WYSIWYG editor and PHP code

Keep in mind… if you have a page which contains only PHP code, you can “protect” it (see the checkbox on the page) and prevent non-administrator users from editing it.

 

Frog 0.9.5 RC 1 released

@DavidONE – You’re assuming that no one will ever decide (s)he wants a new role. That new role might have some special rights associated with it and might share some rights with for example the current “developer” role.

Generally speaking, “roles” are exactly that: a role which someone executes.

If they would have been mutually exclusive, they wouldn’t be “roles” but “rights”. I.e. something someone is allowed to do.

A good analogy would be a website. There are multiple potential roles like the system admin and the content editor. Both roles would share one right: to edit content. But only one role would have the right to shutdown the system.

In fact, Frog’s default “developer” and “editor” roles share numerous rights.

 

Not made by Frog: new admin theme

Nice, maybe we can use this as the new default :-)

 

WYSIWYG editor and PHP code

My general opinion is that any not able to use stuff like markdown or textile has no business programming PHP. :-)

I know.. probably doesn’t help you. But hopefully makes you think. If they’re so bad at textile/markdown, how bad are their PHP programming skills? They can potentially wreck your site with a single mistake.

If they do know how to program PHP… they’re just being lazy? :-p

 

Frog 0.9.5 RC 1 released

Just to reply…

- default theme is still blue

Offcourse, since we didn’t have a good, tested new theme. (And there was no issue for it in the issue list.)

- default page status is still draft

But you can easily change the default in the admin screen.

- roles are checkboxes instead of radios

And they always will be. Its a feature, not a bug. Roles are not mutually exclusive. (nor will they be)

- what does ‘protected’ checkbox next to login dropdown do?

Not new in this release.. it prevents non-administrator users from altering the page.

- help hyperlink to user role documentation would be nice (on new user page)

Add a feature request here

- front end urls do not work (all showing same page) if mod_rewrite option is not on

Works on my system. Please retest and add an issue here in case it still doesn’t work. Please add all information about your system and error messages you see.

- pages that require login redirect to the login page

Works as designed. Once logged in, you’re redirected back to the page you tried to access.

- no user registration feature

Correct. Won’t be implemented either. Login stuff in Frog Core will remain light. User registration will require a plugin. (which a user is working on)

- success/error messages not only fade out but disappear from the dom—very jumpy, not nice!

I personally liked it because it makes for a more professional look and doesn’t make it jumpy in my opinion. Anyway, if enough people don’t like it, I’ll remove it again. You can remove it again yourself by editing the “backend” layout.

- as before, no success message when enabling/disabling plugins

Again, add an enhancement request if you want it.

It is very difficult and time consuming for me to keep track of everyone’s wishes/desires/lusts/feature requests/issues/bugs/patches in the forum.

 

Frog 0.9.5 RC 1 released

I just uploaded Frog 0.9.5 RC 1 to the site. See this blog post

Please be aware that I do not recommend switching your production system to this version. There have been a number of relatively minor database changes but some major changes on the files and file structure. Also be aware that user contributed plugins will need to be updated due to some path changes. This change is minor and concerns the path with which views are called. (”../../../xyz” should become “../../xyz”)

Do install a fresh copy of this release and let us know what you think.

 

Administrator, Developer, Editor permissions

We have the site which has its own feel, a forum which is independent, an SVN server through google interface and we are now proposing a Wiki based on another system… something feels wrong here and I think it is because of the hard work that people are putting in (especially Martijn) to allow development of more user orientated experience.

I’m not quite sure how to take that… :-)

I would welcome anyone who wants to write a wiki plugin for Frog so we could place that on the madebyfrog.com site. From personal experience with developing a wiki system, I can say its no mean feat to get right. I certainly don’t have the time (right now) to do it.

As long as the DokuWiki is integrated into the madebyfrog.com site in terms of look-and-feel and (preferably) also make use of the same user ids, I’m fine with that. I don’t want it to become more or less a seperate entity (in terms of look-and-feel) like this forum.

My intention would be to keep the Google Code stuff for developers and have it contain Frog Core development information only. Apart from the issue tracker though.. :-)

 

Anyone give me a hand? Please?

The error message is due to the fact that your attempt to $this->find() some page didn’t work. Check if the find() action returned an actual object before trying to access its children() funtion.

Mind you… you don’t actually need to find the page since $this already refers to the current page. You can also use childrenCount() to check the number of children a page has.

i.e. try something like:

<div class=“submenu”>
  <ul>
  <?php
  $children = $this->children();
  <?php foreach($children as $menu): ?>  <li><?php echo $menu->link(); ?></li>  <?php endforeach; ?>  </ul>
</div>
 

Administrator, Developer, Editor permissions

@DavidONE – Agreed. I think we already asked Philippe once to add DokuWiki to the site.. I’ll ask him again though since you, I and David (and I think many others) would welcome a decent wiki integrated into the site.

 

Admin Login Error 405 - Cannot display

Ah okay :-)

Are you sure its a 405 then? Because the message “page cannot be displayed” is not something I’d associate with a 405. Then again… are you using IE? If so.. you’d be best of turning off “Show friendly HTTP error messages” in the Internet options -> Advanced tab. (really nasty thing that..)

 

Administrator, Developer, Editor permissions

I have no problem with users contributing, nor do I have any problems with a wiki. I do feel however that the Google Code based wiki (though nice) is unsuitable for end-user documentation. (I think it is more suited to the project devs)

That may be a personal preference though.

Personnaly, I’d like to see DokuWiki get installed on the madebyfrog.com site.

@David… I’d like to point out that having a community and having users contribute to Frog is not the same as having them become “core team” members. Most open source projects have a core team with only a few members and a large community of contributing users.

That they are not part of the “core team” does not mean they or their contributions are less valuable. (Far from it.)

 

Another TINYMCE installation problem... yeah yeah it's boring yet... ;-)

This error is not related to the tinymce plugin. Frog is confused about its paths it seems.

The path to the tinymce plugin directory should be something like this, assuming your frog installation lives at the root of the site:

/home/your_home/public_html/frog/plugins/tinymce

Are other plugins working? Did you install Frog 0.9.4 from the download link on the site or did you install Frog from SVN?

 

Tinymce and PHP

The Frog TinyMCE plugin has all TinyMCE intitialization settings in tiny_init.js