Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 01:04:24 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149637 Posts in 21099 Topics by 7562 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: [1] 2   Go Down
Print
Author Topic: Module Version Checker  (Read 6346 times)
rsmith

Offline Offline

Posts: 194


« on: September 28, 2006, 01:40:25 PM »

Hi all...
I've developed along with Matthias a new Module for WB

Module Version Checker v0.5
A Module to check and compare your version of all installed modules against the www.opensourcebaker y.de server or your own user defined servers

With this module, you can quickly check the versions of all installed modules and see which ones have new versions available.

Features:
+ default checks against www.opensourcebaker y.de
+ user define update servers - allows easy access to check multiple servers you administer

After install, you can find the module, uder Settings, Show Advanced Options, then near the bottom of the page, Module Update Check 

ChangeLog History of Development & screenshots:
http://slink2.no-ip.info:82/wsb/pages/wb-ideas/modules-mods/module-checker.php

Additional Help & Info:
http://slink2.no-ip.info:82/wsb/pages/wb-ideas/modules-mods/module-checker/help.php

Have fun and hope we all come up with more new good ideas

Rob
« Last Edit: September 28, 2006, 02:57:17 PM by rsmith » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« Reply #1 on: September 28, 2006, 02:39:46 PM »

Hi Rob,

found a little issue in tool.php. $updateserver should be $server in the link at the bottom. fixed it. Attached version 0.5a

thanks for this modul

Matthias

Edit:
Newer version some posts below
« Last Edit: September 29, 2006, 07:17:06 AM by ruebenwurzel » Logged
rsmith

Offline Offline

Posts: 194


« Reply #2 on: September 28, 2006, 02:57:48 PM »

Oops.. thanks for the fix... teach me to work at work Wink

Rob
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6820


WWW
« Reply #3 on: September 28, 2006, 04:14:17 PM »

great little module, just tested it this afternoon ... Rob, you rock wink

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

pcwacht
Guest
« Reply #4 on: September 28, 2006, 08:13:02 PM »

Sorry Rob... didn't have time sooner to test..  *bows friendly


I tried this addon (0.5a)
All I got was ascreen where I could edit the server....
No list none what so ever of installed modules so I did check what I had installed Wink
- template_edit, sitemap, manual, bookmarks, show_menu2 and some others

All I get is some text, the dropdown and the edit server button.
Beneath that (the place where the modules should be) nothing.


John
Logged
rsmith

Offline Offline

Posts: 194


« Reply #5 on: September 28, 2006, 08:15:55 PM »

HI...

Can you view the source of the page... if errors fall into the dropdown box they "disappear" into the code.....

There are a few modules that do not have an info.php these are older 2.5.x modules that may cause issues...

Let me know and we can find a fix Smiley

Rob
Logged
rsmith

Offline Offline

Posts: 194


« Reply #6 on: September 29, 2006, 12:19:05 AM »

With John's assistance we figured out what the issue was.

php versions before 4.3 does not have the needed function.

attached version 0.5b will check for this and use an alternate method if needed. (php versions 4.0.2+ should work now)


have fun and please lets hear your comments and ideas Smiley
Rob

edit: found in the repository
« Last Edit: September 29, 2006, 10:46:24 AM by rsmith » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« Reply #7 on: September 29, 2006, 07:18:29 AM »

Hello,

updated the Add-Ons Repository to version 0.5b.

Thanks

Matthias
Logged
dhdesign

Offline Offline

Posts: 35


« Reply #8 on: September 30, 2006, 02:35:26 PM »

Excellent module! Smiley

I have 6 sites running websitebaker, and it was always a pain to check module versions.  Installed your module, and was able to check the versions on all of them in less than 10 minutes. Thank you!! Smiley
Logged
rsmith

Offline Offline

Posts: 194


« Reply #9 on: October 04, 2006, 12:10:13 AM »

Hi
With Matthias's assistance The next version 0.6b is ready for download in the repository.

Change Log
+ can enable disable server mode.
+ display of additional modules on the Update server


Have fun..
Thanks Matthias

Rob
Logged
sierrafix

Offline Offline

Posts: 16


« Reply #10 on: October 04, 2006, 03:27:20 PM »

Hi,

I get  the following error with Module Update Check 0.6b

Fatal error: Call to undefined function curl_init() in /home/sierra/public_html/wb/modules/modcheck/tool.php on line 91

Are there some solutions?

Ralph
Logged
rsmith

Offline Offline

Posts: 194


« Reply #11 on: October 04, 2006, 03:36:46 PM »

Hi Ralph

Did the previous version work for you?

the "Curl Mode" is the second attempt to get the Update server information.
The first attempt is tring via Filesystem Functions, if this fails it goes to "Curl Mode" which supports older versions...

So there would seem to be something on your server stopping this check...

Filesystem Mode needs a few settings to work... (PHP Version 4.3 and above)
http://us3.php.net/manual/en/ref.filesystem.php

Curl functions were added with PHP version 4.0.2 support additional servers wihtout the
I would guess your server needs to have them added.
http://us3.php.net/manual/en/ref.curl.php


If you can check your php.ini for the needed settings.. or contact your Server Host.. they may be able to let you know if these functions are available.

Hope this helps... Smiley
Rob
Logged
sierrafix

Offline Offline

Posts: 16


« Reply #12 on: October 04, 2006, 03:50:39 PM »

Hi,

Did the previous version work for you?
I have not tested it.

the "Curl Mode" is the second attempt to get the Update server information.
The first attempt is tring via Filesystem Functions, if this fails it goes to "Curl Mode" which supports older versions...

So there would seem to be something on your server stopping this check...

Yes, in php.ini I have "allow_url_fopen = Off". After changing it to "On" the Module works great.

For more security I turn this now off again and install curl.

Thanks Ralph
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« Reply #13 on: December 04, 2006, 10:18:47 PM »

Hello,

since we are back from the mirror (opensourcebakery.de) to addons.websitebaker .org this should also be the updateserver. So i updated the module version checker with the new updates server adress.

You don't need to install the new version of this modul because there are no other changes as the updateserver. This you also can add manually. Go to the settings of this tool and add the new Updateserver "http://addons.websitebaker.org" and made him activ. Delete the server "http://www.opensourcebakery.de". Thats all.

If you don't wanna do this changes, download the latest version of Modul version checker from the Addons Repository, uninstall the old version and reeinstall the new version, thats all. Upgrading (installing the new over the old) didn't work, because no upgrade script is included in the modul and the default server is set to the database only during install.

Have fun

Matthias
« Last Edit: December 04, 2006, 11:16:52 PM by ruebenwurzel » Logged
YeShakka

Offline Offline

Posts: 146



« Reply #14 on: January 21, 2007, 05:02:10 PM »

Hi!

I am getting the same error as described by John

Does this module require special PHP-setting?

Thanks!
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« Reply #15 on: January 21, 2007, 05:09:41 PM »

Hello,

did you use the latest version from the addons Page?

What about your server config? Is it IIS or apache? Wich php version? A little bit mor information is always helpfull.

Matthias

Logged
YeShakka

Offline Offline

Posts: 146



« Reply #16 on: January 21, 2007, 05:27:41 PM »

  • PHP Version 5.2.0-8
  • Server: Linux
  • Module version 0.7

Thanks for your help!
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« Reply #17 on: January 21, 2007, 06:26:18 PM »

Hello,

the tables are created?

Matthias
Logged
YeShakka

Offline Offline

Posts: 146



« Reply #18 on: January 21, 2007, 07:47:42 PM »

Yes, they are in the db.

When I install the same site on my localhost I can check the modules and everything works. So I suppose that it has to do with the remote server's PHP setting.

I checked but haven't found any unusual function in
tool.php

I will check that issue with the server admin during the week.
Logged
rsmith

Offline Offline

Posts: 194


« Reply #19 on: January 21, 2007, 07:58:42 PM »

The module needs to be able to get files from a remote location...

it tries this by 2 different methods using file_get_contents and curl
the file functions are disabled by some hosts... this can be checked with phpinfo()
the setting in the php.ini is: allow_url_fopen = on

if you are not getting a list of modules at all.... then its getting stopped at the file/curl section of code... is there any error messages?.. errors turned on?.. previous version work?....

hope this helps..
Rob

Logged
DGEC

Offline Offline

Posts: 386


WWW
« Reply #20 on: March 01, 2007, 09:30:17 PM »

I love this module!

One thing that would make it even better is to put the link (that's at the very, very bottom of the page) up on the top of the screen.  I never even noticed it there until today!

Hmm.... in fact... why not put an actual hyper-link to any of the modules if there is a newer version instead of just printing the version number?

Eventually, imagine RSS feeds notifying you of updates (or maybe the website does this already?) or even a function similar to the MS Update! Any time you log as admin, you could get a list of new or updated modules, review, click "install selected" and you're done!  (and have a "never tell me

On a new version of WB, this could be built into the Page panel. E.g., you're looking at your page list and there's a "new version" indicator flashing beside your Gallery or News-type page.

Maybe an RSS feed built into the Administration panels: a WB News window at the top of the page!
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« Reply #21 on: March 02, 2007, 07:11:45 AM »

Hello,

nice ideas, feel free to write it wthout to overload WB and keep the simplicisity of WB wink

I think the only thing what can easily be realized is to add a download link to every modul. Got a PM from one of our main developpers that he works on this.

Matthias
Logged
YeShakka

Offline Offline

Posts: 146



« Reply #22 on: March 02, 2007, 12:08:54 PM »

I love this module!

One thing that would make it even better is to put the link (that's at the very, very bottom of the page) up on the top of the screen.  I never even noticed it there until today!

Hmm.... in fact... why not put an actual hyper-link to any of the modules if there is a newer version instead of just printing the version number?

Eventually, imagine RSS feeds notifying you of updates (or maybe the website does this already?) or even a function similar to the MS Update! Any time you log as admin, you could get a list of new or updated modules, review, click "install selected" and you're done!  (and have a "never tell me

On a new version of WB, this could be built into the Page panel. E.g., you're looking at your page list and there's a "new version" indicator flashing beside your Gallery or News-type page.

Maybe an RSS feed built into the Administration panels: a WB News window at the top of the page!

I'd welcome very much a RSS version of this module.

The current module needs the following PHP option:
allow_url_fopen   On
this is considered as a security hole.
With some RSS and coding we could get this module working for those who don't want to have this PHP option on:

We generate a table of all installed Modules and then compare them with the versions on the upgrade server:

Website module nameinstalled versionAddons site module nameAddons site versionRecommendation
Guestbook1.5Guestbook2.5Update!

The data for the website modules will be fetched from the database and the remote version would be taken from a RSS-feed.

OKI, this is just a idea to get around the fopen issue...
Logged
sporrencense

Offline Offline

Posts: 34


« Reply #23 on: February 19, 2008, 06:23:53 PM »

Hi,

I liked this module and it seemed to work well. But the opensourcebakery.de site which was used to compare against seems to no longer be in use and the module therefore fails to check.

Is there a new module version checker / update server?

Thanks
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« Reply #24 on: February 19, 2008, 06:30:34 PM »

Hello,

please download the latest Version from our addons page. Uninstall the old one and then install the latest version. Then you are back online again.

Matthias
Logged
Pages: [1] 2   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!