EasyMod 0.0.10a automatic database work!!!
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
EasyMod 0.0.10a automatic database work!!!
On my computer... i have added this. But... it has still bugs(yes, bugs... so like it also displays the SQL-command at unprocessed commands but is processed...) I will make a official mod or something from this... Till now and next week...
What do you think i am using for my forum? phpBB, as you already guessed...
- GPHemsley
- Registered User
- Posts: 1617
- Joined: Fri Apr 18, 2003 4:01 am
- Location: Long Beach, NY
- Contact:
Re: EasyMod 0.0.10a automatic database work!!!
I'm sure some people will appreciate it, but this feature will be in the next EM version, IIRC. 8)
Gordon P. Hemsley
The GP Factory
EasyMOD Support Rant
My MODs: Topic Type MOD | View Topic Title While Posting MOD
The GP Factory
EasyMOD Support Rant
My MODs: Topic Type MOD | View Topic Title While Posting MOD
Re: EasyMod 0.0.10a automatic database work!!!
Yes... but i can't wait for the next version
That mod is not that official but i will post a link to the mod... Just a function-change for me.
That mod is not that official but i will post a link to the mod... Just a function-change for me.
What do you think i am using for my forum? phpBB, as you already guessed...
Re: EasyMod 0.0.10a automatic database work!!!
The mod is available on:
http://members.home.nl/famde.jong/em0010a-mod-db.mod
Don't install it with EasyMOD, install it manually!!!!
I don't know if this will work on MOD-type...
http://members.home.nl/famde.jong/em0010a-mod-db.mod
Don't install it with EasyMOD, install it manually!!!!
I don't know if this will work on MOD-type...
What do you think i am using for my forum? phpBB, as you already guessed...
- GPHemsley
- Registered User
- Posts: 1617
- Joined: Fri Apr 18, 2003 4:01 am
- Location: Long Beach, NY
- Contact:
Re: EasyMod 0.0.10a automatic database work!!!
Wait... How exactly does this work? What does it do?
Gordon P. Hemsley
The GP Factory
EasyMOD Support Rant
My MODs: Topic Type MOD | View Topic Title While Posting MOD
The GP Factory
EasyMOD Support Rant
My MODs: Topic Type MOD | View Topic Title While Posting MOD
Re: EasyMod 0.0.10a automatic database work!!!
Okay, it goes to the piece
in admin_easymod.php
After this we replace this:
with
And after that, we add:
This is the complete but simple (and buggy) hack in EasyMOD. I had installed the Favorites Mod on 2.0.6 and only had to edit some other files but not the database... And it worked!!!!!
Code: Select all
if ( $commands[$i]['command'] == 'SQL' )
{
After this we replace this:
Code: Select all
$display_sql_warning = true ;
Code: Select all
$display_sql_warning = false ;
Code: Select all
$query = "" ;
for ($j=0; $j<count($body[$i]); $j++)
{
$query .= $body[$i][$j] ;
}
$db->sql_query($query);
What do you think i am using for my forum? phpBB, as you already guessed...
Re: EasyMod 0.0.10a automatic database work!!!
If you use it and want to say something about it you can reply...
What do you think i am using for my forum? phpBB, as you already guessed...
- GPHemsley
- Registered User
- Posts: 1617
- Joined: Fri Apr 18, 2003 4:01 am
- Location: Long Beach, NY
- Contact:
Re: EasyMod 0.0.10a automatic database work!!!
Oh, I get it now. I didn't realize that it used the phpBB database query function. Yeah, this would probably work... at least on MySQL.
Gordon P. Hemsley
The GP Factory
EasyMOD Support Rant
My MODs: Topic Type MOD | View Topic Title While Posting MOD
The GP Factory
EasyMOD Support Rant
My MODs: Topic Type MOD | View Topic Title While Posting MOD
Re: EasyMod 0.0.10a automatic database work!!!
Quite tedious : you don't consider neither other sql engines, nor other prefixes than phpbb_, which can be quite dangerous. It is a very specifical tool, so not really in the way easymod wants to walk I think.
- GPHemsley
- Registered User
- Posts: 1617
- Joined: Fri Apr 18, 2003 4:01 am
- Location: Long Beach, NY
- Contact:
Re: EasyMod 0.0.10a automatic database work!!!
Wow... this does work.. at least on MySQL.... I used this: http://www.phpbb.com/phpBB/viewtopic.php?t=108421" target="_blank to test it.
And also, if you delete the second FIND (since it's the same line), you can install it with EasyMOD.
And also, if you delete the second FIND (since it's the same line), you can install it with EasyMOD.
Gordon P. Hemsley
The GP Factory
EasyMOD Support Rant
My MODs: Topic Type MOD | View Topic Title While Posting MOD
The GP Factory
EasyMOD Support Rant
My MODs: Topic Type MOD | View Topic Title While Posting MOD