[ABD] Approve Mod

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! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
frdom
Registered User
Posts: 14
Joined: Thu Jul 24, 2003 12:46 pm

Post by frdom »

:D I've found ! :D

The problem comes from ./language/lang_french/lang_main.php

I've done a quick translation indeed, so it looks like your code doesn't like foreign stuff.

When I replaced (for instance)

Code: Select all

$lang['var'] = 'L\'administration';
with

Code: Select all

$lang['var'] = 'L administration';
The email on posting is sent without error message.

Great :P

But if you could something for foreign guys, could be greater :)

thanks a lot.
AceMan
Registered User
Posts: 337
Joined: Thu Nov 15, 2001 6:47 am
Contact:

Post by AceMan »

i'll have to see where the escaped character would possibly cause a problem, and then release a patch for it.
AceMan
Registered User
Posts: 337
Joined: Thu Nov 15, 2001 6:47 am
Contact:

Post by AceMan »

k, looks like i forgot to account for special characters on my lang vars & it's breaking SQL queries & variable assignments.

i'm gonna patch this all & release 1.0.7 & re-update my mod submission. as far as I can tell, this should be the last major bug. thanks again for the find frdom, glad i got it fixed before the mod was validated :)
frdom
Registered User
Posts: 14
Joined: Thu Jul 24, 2003 12:46 pm

Post by frdom »

many thanks to you, the work you've done is incredible and very important for lot of us. And it's well done.
thank you very much.
teste87
Registered User
Posts: 74
Joined: Tue Mar 18, 2003 11:30 pm

Post by teste87 »

How can I update from 1.0.0 version? :cry:
User avatar
elim
Registered User
Posts: 77
Joined: Fri Jul 25, 2003 2:28 pm
Location: Colorado
Contact:

Config a forum so that it require approval on replies

Post by elim »

Thanks Aceman so much for the great mod.

I've tried it and it work great for the new topic posting but don't
know how to config the forum to require approval on replies.

I tried the Aceman' demo forum. The functionality seems there
already. So I guess it just a matter of setup details. Am I right?

Thanks in advance,

Elim
AceMan
Registered User
Posts: 337
Joined: Thu Nov 15, 2001 6:47 am
Contact:

Post by AceMan »

new posts = replies
new topics = topics


maybe i should change wording?
teste87
Registered User
Posts: 74
Joined: Tue Mar 18, 2003 11:30 pm

Post by teste87 »

AceMan, how do I split languages variables to a new file (lang_approve.php). I've already created a new file, but I don't know which changes should I make.

PS.: I'm doing this because its recommended to split lang variables into a new file when it has more than 10 lines :wink:
AceMan
Registered User
Posts: 337
Joined: Thu Nov 15, 2001 6:47 am
Contact:

Post by AceMan »

at the beginning of the first approve_mod code segment for each page that uses approve_mod lang vars, include your created lang page.
seti
Registered User
Posts: 5
Joined: Fri Jul 11, 2003 2:06 pm

Post by seti »

I'm new to the phpBB administration process so I may be missing the obvious.

I can't find the MOD in the mod database. Am I looking for it in the wrong place?
AceMan
Registered User
Posts: 337
Joined: Thu Nov 15, 2001 6:47 am
Contact:

Post by AceMan »

it's not available yet;
it hasn't been approved ( and for good reason, there's still bugs to be patched, they'll be completed soon though )
User avatar
elim
Registered User
Posts: 77
Joined: Fri Jul 25, 2003 2:28 pm
Location: Colorado
Contact:

Approve_Mod: Just a suggestion.

Post by elim »

Hide(or add an option at forum config page for hidding) unapproved
posts from the post list for non moderators?
AceMan
Registered User
Posts: 337
Joined: Thu Nov 15, 2001 6:47 am
Contact:

Post by AceMan »

yes, i like the idea of that feature, and will investigate it for 1.0.7. If it's a large modification though, it'll have to wait and be released as a seperate patch.
AceMan
Registered User
Posts: 337
Joined: Thu Nov 15, 2001 6:47 am
Contact:

Post by AceMan »

that feature was easy to add, so I included it in this release..

1.0.8, i'd like everyone to grab the 'option 2' that includes the phpBB 2.0.6 files and overwrite your default install of your test forums ( after backing up of course ), and test the crap outta this :)

i need you to test this FAST FAST FAST

it's ready for approval by the MODs team, they're just waiting for my update. i'll submit my update as soon as I'm sure there's no more bugs to be worked out.

thanks again to everyone's who contributed thus far!
AceMan
Registered User
Posts: 337
Joined: Thu Nov 15, 2001 6:47 am
Contact:

Post by AceMan »

also, this version does a database change, so run this SQL:

Code: Select all

DROP TABLE IF EXISTS phpbb_approve_forums;
CREATE TABLE phpbb_approve_forums (
  forum_id smallint(5) unsigned NOT NULL default '0',
  enabled tinyint(1) NOT NULL default '0',
  approve_posts tinyint(1) NOT NULL default '0',
  approve_topics tinyint(1) NOT NULL default '0',
  approve_users tinyint(1) NOT NULL default '0',
  approve_poste tinyint(1) NOT NULL default '0',
  approve_topice tinyint(1) NOT NULL default '0',
  approve_notify tinyint(1) NOT NULL default '0',
  approve_notify_approval tinyint(1) NOT NULL default '0',
  approve_notify_type tinyint(1) NOT NULL default '0',
  approve_notify_message tinyint(1) NOT NULL default '0',
  approve_notify_message_len smallint(5) NOT NULL default '500',
  approve_moderators varchar(255) NOT NULL default '0',
  approve_notify_posts tinyint(1) NOT NULL default '0',
  approve_notify_poste tinyint(1) NOT NULL default '0',
  approve_notify_topics tinyint(1) NOT NULL default '0',
  approve_notify_topice tinyint(1) NOT NULL default '0',
  forum_hide_unapproved_topics tinyint(1) NOT NULL default '0',
  forum_hide_unapproved_posts tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (forum_id)
) TYPE=MyISAM;
Locked

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