[MODDB] Mods Database 1.0.6a

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Ideas Centre
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: [BETA] Mods Database 0.0.1

Post by lefty74 »

saaiberke wrote:That sounds great :)

I have some suggestions for further development though ;)

1) The possibility to enter the mod authors e-mail address in ACP view (If they added it in the mod instructions)and make it mailto: clickable, so only accessible by admins and not by users.
2) In the ACP manage screen also have an add mod button at the top of the screen (don't have to scroll down all the time to add new mod).

Grtz,

Nic
good ideas, :) i was thinking about the comment to have a date installed field in there but thought that this could easily be done via the comments field, what do you think?
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [BETA] Mods Database 0.0.1

Post by saaiberke »

I like the idea of having a possibility to add the installation date, if possible in a seperate box because I know that I will always forget to enter the dat in the comment field ;)

Grtz,

Nic

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: [BETA] Mods Database 0.1.0

Post by lefty74 »

updated to version 0.1.0
added mod detail page, see screenshot in first post for more info.

To upgrade

Code: Select all

#
#-----[ COPY ]------------------------------------------
#
root/adm/style/acp_modsdb.html to adm/style/acp_modsdb.html
root/modsdb.php to modsdb.php
root/includes/acp/acp_modsdb.php to includes/acp/acp_modsdb.php
root/language/en/mods_db.php to language/en/mods_db.php
root/language/en/acp/modsdb.php to language/en/acp/modsdb.php
root/styles/prosilver/template/modsdb_body.html to styles/prosilver/template/modsdb_body.html
root/styles/prosilver/template/modsdb_body_detail.html to styles/prosilver/template/modsdb_body_detail.html
root/styles/subsilver2/template/modsdb_body.html to styles/subsilver2/template/modsdb_body.html
root/styles/subsilver2/template/modsdb_body_detail.html to styles/subsilver2/template/modsdb_body_detail.html

#
#-----[ SQL ]------------------------------------------
#
ALTER TABLE `phpbb_mods_database` ADD `mod_phpbb_version` varchar (10) NOT NULL ;
ALTER TABLE `phpbb_mods_database` ADD `mod_comments` TEXT NOT NULL ;
ALTER TABLE `phpbb_mods_database` ADD `mod_author_email` varchar (30) NOT NULL ;
ALTER TABLE `phpbb_mods_database` ADD `mod_install_date` int(11) NOT NULL ;
#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#


Don't forget to clear your cache and refresh your templates.

lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [BETA] Mods Database 0.1.0

Post by saaiberke »

Great, just made the upgrade and everything is working fine.

I have a Dutch translation if you're interested:

for language/nl/mods_db.php

Code: Select all

<?php
/**
*
* acp_modsdb [Dutch]
*
* @package language
* @version $Id:modsdb.php,v 1.0 2007/08/20 lefty74 Exp $
* @copyright (c) 2007 lefty74
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* DO NOT CHANGE
*/
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

// Bot settings
$lang = array_merge($lang, array(
	'MODS_DATABASE_DETAIL'		=> 'Mods Database - Mod Detail',
	'MODS_DATABASE'				=> 'Mods Database',
	'MODS_DATABASE_EXPLAIN'		=> 'Hier kan je je Mods database beheren. Mods toevoegen, wijzigen of verwijderen naar en uit de database.',

	'MOD_ADD'			=> 'Mod toevoegen',
	'MOD_ADDED'			=> 'Nieuwe Mod is succesvol toegevoegd.',
	'MOD_DELETED'		=> 'Mod is succesvol verwijderd.',
	'MOD_DETAIL'		=> 'Mod Details',
	'MOD_EDIT'			=> 'Wijzig Mods',
	'MOD_EDIT_EXPLAIN'	=> 'Here you can add or edit an existing Mod entry. The Title and version number are required. You will also be able to enter details of where the Mod can be downloaded from and where the Mod itself can be found.',
	'BOT_NAME'			=> 'Bot naam',
	'BOT_NAME_EXPLAIN'	=> 'Enkel in gebruik voor je eigen informatie.',
	'MOD_NAME_TAKEN'	=> 'Deze titel is reeds aanwezig in de database en kan dus niet opnieuw gebruikt worden.',
	'MOD_UPDATED'		=> 'Existing Mod updated successfully.',

	'ERR_MOD_NO_MATCHES'		=> 'You must supply at least the Mod Title and Mod Version for this Mod entry.',

	'NO_MOD'					=> 'Geen Mod teruggevonden met het opgegeven ID.',

	'MOD_INSTALL_DATE'			=>	'Installatiedatum van de Mod',
	'MOD_TITLE'					=>	'Mod Titel',
	'MOD_COMMENTS'				=>	'Commentaren',
	'MOD_PHPBB_VERSION'			=>	'phpbb Versie',
	'MOD_VERSION'				=>	'Versie',
	'MOD_VERSION_TYPE'			=>	'Versie Type',
	'MOD_VERSION_TYPE_EXPLAIN'	=>	'Beta, Alpha, Dev or RC*',
	'MOD_DESC'					=>	'Beschrijving',
	'MOD_AUTHOR'				=>	'Auteur',
	'MOD_URL'					=>	'Locatie',
	'VISIT_WEBSITE'				=>	'URL Link waar de Mod uitgebracht werd',
	'DOWNLOAD_MOD'				=>	'URL Link waar de Mod kan gedownload worden',
	'LIST_MOD'					=>  '1 Mod ge&iuml;nstalleerd',
	'LIST_MODS'					=>  '%s Mods ge&iuml;nstalleerd',
	'SORT_MOD_TITLE'			=>  'SORT_MOD_TITLE',
	'SORT_MOD_VERSION'			=>  'SORT_MOD_VERSION',
	'SORT_MOD_VERSION'			=>  'SORT_MOD_VERSION',
	'SORT_MOD_AUTHOR'			=>  'SORT_MOD_AUTHOR',
	'WWW'						=>  'Website',
	'DOWNLOAD'					=>  'Download',

));

?>
and for language/nl/acp/modsdb.php

Code: Select all

<?php
/**
*
* acp_modsdb [Dutch]
*
* @package language
* @version $Id:modsdb.php,v 1.0 2007/08/20 lefty74 Exp $
* @copyright (c) 2007 lefty74
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* DO NOT CHANGE
*/
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

// Bot settings
$lang = array_merge($lang, array(
	'MODS_DATABASE'				=> 	'Beheer Mods Database',
	'MODS_DATABASE_EXPLAIN'		=> 	'Hier kan je je Mods Database beheren. Mods toevoegen, wijzigen of verwijderen in/uit de database.',
	'MOD_ADD'					=> 	'Mod toevoegen',
	'MOD_ADDED'					=> 	'Nieuwe Mod succesvol toegevoegd.',
	'MOD_COMMENTS'				=>	'Commentaren',
	'MOD_COMMENTS_EXPLAIN'		=>	'Hier kan je extra informatie, zoals eigen aanpassingen, omtrent de Mod invoeren, etc.',
	'MOD_DELETED'				=> 	'Mod succesvol verwijderd.',
	'MOD_EDIT'					=> 	'Wijzig Mods',
	'MOD_ADD_INFO'				=> 	'Bijkomende informatie',
	'MOD_EDIT_EXPLAIN'			=> 	'Hier kan je (aan) de bestaande Modinformatie toevoegingen of wijzigingen aanbrengen. De titel en versienummer zijn verplichte velden. Je kan ook detailinformatie ingeven van de downloadlocatie en waar ontwikkelingsinformatie kan gevonden worden.',

	'MOD_INSTALL_DATE'			=> 	'Installatiedatum',
	'MOD_INSTALL_DATE_EXPLAIN'	=> 	'De installatiedatum van de Mod (Nota: gedeeltelijke invoering van datum zal niet bewaard worden)',

	'MOD_NAME_TAKEN'			=> 	'Deze titel is reeds in gebruik in the Mods Database en kan <strong>niet</strong> opnieuw gebruikt worden.',
	'MOD_UPDATED'				=> 	'Existing Mod updated successfully.',
	'MOD_PHPBB_VERSION'			=>	'phpbb Versie',
	'MOD_PHPBB_VERSION_EXPLAIN'	=>	'Geef hier de phpBB versie in waarvoor deze versie geschreven werd bv. 3.0 RC5',

	'ERR_MOD_NO_MATCHES'		=> 	'Je moet minstens een Mod Titel en Modversie invoeren voor deze Mod ingave.',

	'NO_MOD'					=> 	'Er werd geen Mod gevonden met het opgegeven ID.',

	'MOD_TITLE'					=>	'Mod Titel',
	'MOD_VERSION'				=>	'Versie',
	'MOD_VERSION_TYPE'			=>	'Versie Type',
	'MOD_VERSION_TYPE_EXPLAIN'	=>	'Beta, Alpha, Dev or RC*',
	'MOD_DESC'					=>	'Beschrijving',
	'MOD_AUTHOR'				=>	'Auteur',
	'MOD_AUTHOR_EMAIL'			=>	'Emailadres van de auteur',
	'MOD_AUTHOR_EMAIL_EXPLAIN'	=>	'Indien aangegeven in de Mod instructie kan je hier het emailadres van de auteur invoeren (Dit maakt de naam van de auteur \'mailtto:\' aanklikbaar)',
	'MOD_URL'					=>	'URL',
	'MOD_DOWNLOAD'				=>	'Download',

));

?>
In the English version of the last file I found a little typo:

Code: Select all

'MOD_AUTHOR_EMAIL_EXPLAIN'	=>	'Include the author\'s email if available (makes the author\'s name mailtto: clickable)',
must be

Code: Select all

'MOD_AUTHOR_EMAIL_EXPLAIN'	=>	'Include the author\'s email if available (makes the author\'s name mailto: clickable)',
In one of the language files there is this mention:

Code: Select all

'MOD_NAME_TAKEN'			=> 	'The Title is already in use in the Mods Database and can\'t be used again.',
but I managed to add 2 mods with the same title in my database. Maybe this function isn't implemented yet?


But I really like this mod, now I can keep track of my installed mods without having to search for the mod's info. Great mod Lefty74!

Grtz,

Nic
Last edited by saaiberke on Fri Sep 14, 2007 11:20 am, edited 1 time in total.

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: [BETA] Mods Database 0.1.0

Post by lefty74 »

thanks for the translation :)

and finding the spelling mistake, it was late when i did that ;)
In one of the language files there is this mention:

Code: Select all

'MOD_NAME_TAKEN'         =>    'The Title is already in use in the Mods Database and can\'t be used again.',
but I managed to add 2 mods with the same title in my database. Maybe this function isn't implemented yet?
you are right, the file is based on the acp_bots.php file and i had taken out the check function. i must admit i forgot to take it out of the language file. i was going to leave it out since everyone would know whether a mod had been entered before (plus a little difference in spelling would allow it to be saved anyway.)

i will have a think whether to take it out of the language file or include it back in the acp file...

thanks for noticing though :)
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [BETA] Mods Database 0.1.0

Post by saaiberke »

I suggest to keep the check because I saw it by accident that I added the same mod twice and I think it will happen again :)

But I'm happy with wathever you decide, so happy with this fantastic mod..... :)

Oh yes, I noticed an error in your instructions XML file, when I open it I see:

Code: Select all

End tag 'mod' does not match the start tag 'action-group'. Error processing resource 'file:///C:/Mods_Database_0_1_0/Mods_D...

</mod>  'U_MODS_DB'    => append_sid("{$phpbb_root_path}modsdb.$phpEx"), //lefty74
Nic

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: [BETA] Mods Database 0.1.0

Post by lefty74 »

thanks nic, i better stop doing things last thing at night ... :?
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: [BETA] Mods Database 0.1.1

Post by lefty74 »

upgraded to v.0.1.1

- fixed bug when checking whether at least mod title and version are completed
- corrected spelling mistake
- fixed install file
- added check to avoid duplicate mod titles

to upgrade all you need to do is

Code: Select all

Copy: root/inlcudes/acp/acp_modsdb.php
    To: inlcudes/acp/acp_modsdb.php

Copy: root/language/en/acp/modsdb.php
    To: language/en/acp/modsdb.php
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

murnauvsbuñuel
Registered User
Posts: 177
Joined: Mon Jun 20, 2005 9:49 am

Re: [BETA] Mods Database 0.1.1

Post by murnauvsbuñuel »

gret work

i have a idea.

request: :?: could this mod do that when the admin check the mods they have installed in their forum this verify automatically if the version that he has installed is really the last vesion made for that mod, date according to the phpBB MODDB or website mod author?

any function similar to this mod to phpBB2 MOD Version Checker and the same option of eXtreme Styles mod to phpBB2
sorry for my bad english i am spanish.
ImagemxBB Portal the best portal to phpBB2

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: [BETA] Mods Database 0.1.1

Post by lefty74 »

thanks for the idea. i like it but want this to stay simple plus i have no idea how to do it :|
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

User avatar
mara7
Registered User
Posts: 139
Joined: Wed May 11, 2005 5:59 pm

Re: [BETA] Mods Database 0.1.1

Post by mara7 »

ummmmmmmm ..

very nice mod

I have a small idea :idea: ..

is it possible to put the mods in different categories ?

:mrgreen:

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: [BETA] Mods Database 0.1.1

Post by lefty74 »

what do you have in mind exactly?

bear in mind though that this is supposed to be merely a database of the mods that are installed on a board instead of a mods database like here or as on other boards. ;)
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

Tom@S
Registered User
Posts: 96
Joined: Thu Jul 12, 2007 7:33 pm
Location: SVK
Contact:

Re: [BETA] Mods Database 0.1.1

Post by Tom@S »

hi lefty,
i think this is great mod on wich i am waitging for but i wont istall it until it will have another two features:
1.some categories like mods,translate,styles,buttons or somethink like that because i cant put all translate,styles and other thinks in one databaze
2.some search engine in there or maybe if will be categorized it woundt be important.
anyway great work and pls continue because i have support for phpbb and it is very important mod

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: [BETA] Mods Database 0.1.1

Post by lefty74 »

hi,
thanks for your suggestion. if i find time and go further with this i keep it in mind, right now this is something i wanted for myself and in the end put it out for others if they were interested ;)
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

Tom@S
Registered User
Posts: 96
Joined: Thu Jul 12, 2007 7:33 pm
Location: SVK
Contact:

Re: [BETA] Mods Database 0.1.1

Post by Tom@S »

ok great,i will wait for it and again great work whit this mod it looks really nice and easy to use Image

Locked

Return to “[3.0.x] MODs in Development”