Raised This Month: $ Target: $400
 0% 

[BETA] [PHP] SourceMod Plugin Updater


Post New Thread Reply   
 
Thread Tools Display Modes
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 08-26-2010 , 18:55   Re: [BETA] [PHP] SourceMod Plugin Updater
Reply With Quote #11

Quote:
Originally Posted by HSFighter View Post
It's would be nice if your script watch the new plugins to...
Quote:
Originally Posted by Doggie52 View Post
... (since, AFAIK, it only returns approved plugins. If it can return unapproved plugins, please let me know how this would be done!)...
I mean new plugins, not unapproved plugins.
Code:
<img src="images/new3.gif" alt="New" title="New">
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 08-26-2010 at 19:13.
HSFighter is offline
Send a message via ICQ to HSFighter
Doggie52
Senior Member
Join Date: Jul 2007
Location: Sweden
Old 08-29-2010 , 15:12   Re: [BETA] [PHP] SourceMod Plugin Updater
Reply With Quote #12

UPDATE: The structure of the configuration has moved around a bit. When downloading the new archive, please make sure to fully overwrite all files. After that, edit the `config.php` file to configure the script.

The user can now choose to use MySQL as the database back-end instead of SQLite. If you're using SQLite and want to switch to MySQL (by editing the `config.php` file), make sure you run `install.php` again so the appropriate table is created.

Thanks for the heads-up, HSFighter! I was not aware the "New"-tag existed, but the script now searches for those plugins as well.
__________________
Quote:
Originally Posted by Iltafragit View Post
4kg ram i5 processor
Doggie52 is offline
Xp3r7
SourceMod Donor
Join Date: Jul 2006
Old 08-29-2010 , 16:09   Re: [BETA] [PHP] SourceMod Plugin Updater
Reply With Quote #13

Can we use this on multiple servers and what version of PHP do we need?
__________________
Xp3r7 is offline
Send a message via MSN to Xp3r7
Doggie52
Senior Member
Join Date: Jul 2007
Location: Sweden
Old 08-29-2010 , 16:52   Re: [BETA] [PHP] SourceMod Plugin Updater
Reply With Quote #14

You most likely need a PHP version that is above 5. You can use this on as many servers as you would like - all you need to do is extract one instance of the configuration file for each server (perhaps config2.php, config3.php, config4.php?) and configure it accordingly. The script, when run, looks only for config.php, so make sure to have the configuration file for the server you would like to update renamed to config.php.

Also, if you have a revision of the script below revision 10 - please update immediately to the latest revision. There was a bug in revision 9 which prevented MySQL users from manually entering a forum URL for a plugin.
__________________
Quote:
Originally Posted by Iltafragit View Post
4kg ram i5 processor
Doggie52 is offline
DarkEnergy
SourceMod Donor
Join Date: Apr 2008
Location: Georgia Tech, MSECE
Old 08-31-2010 , 15:11   Re: [BETA] [PHP] SourceMod Plugin Updater
Reply With Quote #15

so this is a version checker between your own plugins and the plugins listed on approved plugins page?

you have to have your own apache because php sockets are not enabled on most commercial webservers?
__________________
War3:Source Developer
"Your CPU is just a bunch of Muxes"
DarkEnergy is offline
Doggie52
Senior Member
Join Date: Jul 2007
Location: Sweden
Old 08-31-2010 , 16:03   Re: [BETA] [PHP] SourceMod Plugin Updater
Reply With Quote #16

Quote:
Originally Posted by DarkEnergy View Post
so this is a version checker between your own plugins and the plugins listed on approved plugins page?
True, the script queries the forum page for the plugin and determines whether it is the latest version.
Quote:
Originally Posted by DarkEnergy View Post
you have to have your own apache because php sockets are not enabled on most commercial webservers?
I've explicitly mentioned to NOT use the script on publicly available sites as this compromises the security of the server. If people do choose to do this anyway it is their own responsibility. I'm assuming you want to point something out to me here; indeed, commercial webservers don't usually allow PHP sockets but that shouldn't be a problem since people shouldn't be using this script on live servers ;) .
__________________
Quote:
Originally Posted by Iltafragit View Post
4kg ram i5 processor
Doggie52 is offline
Doggie52
Senior Member
Join Date: Jul 2007
Location: Sweden
Old 09-16-2010 , 16:51   Re: [BETA] [PHP] SourceMod Plugin Updater
Reply With Quote #17

I believe it would be sad for this thread to die out, I still believe this tool is useful to server admins. Please, if you do have further feedback I'd be delighted to here this and respond to it!
__________________
Quote:
Originally Posted by Iltafragit View Post
4kg ram i5 processor
Doggie52 is offline
Doggie52
Senior Member
Join Date: Jul 2007
Location: Sweden
Old 03-18-2012 , 17:34   Re: [BETA] [PHP] SourceMod Plugin Updater
Reply With Quote #18

Almost two years later, 150 downloads (haha) and no comments? I'd love to hear some input guys. What about the talks of a built-in plugin updater in SourceMod -- did they get anywhere?
__________________
Quote:
Originally Posted by Iltafragit View Post
4kg ram i5 processor
Doggie52 is offline
MyWarthog
Senior Member
Join Date: Feb 2013
Old 04-07-2013 , 10:54   Re: [BETA] [PHP] SourceMod Plugin Updater
Reply With Quote #19

Tried the plugin, and got a greeting of errors. :/

Code:
Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\tfsvupdater\class.php on line 189

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\tfsvupdater\class.php on line 189

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\tfsvupdater\class.php on line 189

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\tfsvupdater\class.php on line 189

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\tfsvupdater\class.php on line 189

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\tfsvupdater\class.php on line 189

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\tfsvupdater\class.php on line 189

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\tfsvupdater\class.php on line 189

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\tfsvupdater\class.php on line 189

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\tfsvupdater\class.php on line 189

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200

Notice: Undefined offset: 0 in C:\xampp\htdocs\tfsvupdater\plugins.php on line 200
It was picking up the Undefined Offsets every few plugins that it found.

Other than that, it does find the plugins, but it seems to have a hard time finding the URLs, and the version numbers are not found on some of them.

Example:
Code:
Be the Robot	newest version is older than yours' - an oversight might be necessary (1.3 > )	yes

Last edited by MyWarthog; 04-07-2013 at 11:14.
MyWarthog is offline
Doggie52
Senior Member
Join Date: Jul 2007
Location: Sweden
Old 04-10-2013 , 12:33   Re: [BETA] [PHP] SourceMod Plugin Updater
Reply With Quote #20

MyWarthog -- I'm not sure why this error is happening. Can you please PM me with your PHP version and perhaps output from phpinfo()?

About your other error, I'm sure this is because the layout of the AlliedModders pages has changed. I'll need to look into fixing this, but it may take some time.

Can you also save (CTRL+S) the page of output the script gives you and send this to me, so that I can see what URLs it does and does not find?
__________________
Quote:
Originally Posted by Iltafragit View Post
4kg ram i5 processor
Doggie52 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode