Disallow links before x posts

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: Disallow links before x posts

Post by tumba25 »

Works with phpBB 3.0.6
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
CMA
Registered User
Posts: 330
Joined: Mon Jun 02, 2003 4:15 pm
Location: Vancouver BC Canada
Contact:

Re: Disallow links before x posts

Post by CMA »

i notice that this mod ( http://www.phpbb.com/community/viewtopic.php?t=464628 ) is similar to this mod... but just different is days...

is that correct?
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: Disallow links before x posts

Post by tumba25 »

No. This MOD is for phpBB 3.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
CMA
Registered User
Posts: 330
Joined: Mon Jun 02, 2003 4:15 pm
Location: Vancouver BC Canada
Contact:

Re: Disallow links before x posts

Post by CMA »

oops... you are right... not blame me... blame mod search engine...
serhij
Registered User
Posts: 9
Joined: Sat Jan 09, 2010 11:40 am

Re: Disallow links before x posts

Post by serhij »

Thanks for the MOD
Please have mine contribution localization to Russian language

language/ru/acp/board.php
Find

Code: Select all

	'TOPICS_PER_PAGE'				=> 'Тем на странице',
Add after

Code: Select all

	'LINKS_AFTER_NUM_POSTS' 		=> 'Мин. кол-во сообщений до вставки ссылок',
	'LINKS_AFTER_NUM_POSTS_EXPLAIN' => 'Количество сообщений перед тем как пользователь сможет применить [URL] BBCode и автоматическое преобразование адресов';
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: Disallow links before x posts

Post by tumba25 »

serhij wrote:Please have mine contribution localization to Russian language
Thanks. Added in my SVN. Will be in the next release.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
Ultima-X97
Registered User
Posts: 157
Joined: Sat Sep 16, 2006 2:49 pm

Re: Disallow links before x posts

Post by Ultima-X97 »

Thank you tumba25 for this revolutionary anti-spam modification. I would like to ask a favor of you that could help significantly better your mod to people like myself:

Could you write me a little code that would return a message to user saying that they need x posts to post links?
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: Disallow links before x posts

Post by tumba25 »

I'll keep that in mind for the next version.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
Ultima-X97
Registered User
Posts: 157
Joined: Sat Sep 16, 2006 2:49 pm

Re: Disallow links before x posts

Post by Ultima-X97 »

If you were to take a shot in the dark, when do you think the newest release will be completed?
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: Disallow links before x posts

Post by tumba25 »

Don't know. Let's see what happens when phpBB 3.0.7 is released.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
Ultima-X97
Registered User
Posts: 157
Joined: Sat Sep 16, 2006 2:49 pm

Re: Disallow links before x posts

Post by Ultima-X97 »

Alright, well thanks anyways. I thought that it was just a few lines of code that you could add to message_parser.php
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: Disallow links before x posts

Post by tumba25 »

Yes, but it would also have to be validated.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
Ultima-X97
Registered User
Posts: 157
Joined: Sat Sep 16, 2006 2:49 pm

Re: Disallow links before x posts

Post by Ultima-X97 »

Not necessarily, all you are doing is giving me a short snippet of code. I will give you a summary on how it works.
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: Disallow links before x posts

Post by tumba25 »

Tested and works with phpBB 3.0.7.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
Ultima-X97
Registered User
Posts: 157
Joined: Sat Sep 16, 2006 2:49 pm

Re: Disallow links before x posts

Post by Ultima-X97 »

Well tumba, I did some coding and would does this make sense to make an error message?

Code: Select all

// Ultima's custom link editing mod
if ($user->data['user_posts'] < $config['links_after_num_posts'])
{
  $message .= "\n\n You must have at least [b]3[/b] posts before you can post links";
}
// End Ultima mod
It doesn't give an error at all though...
Locked

Return to “[3.0.x] MOD Database Releases”

cron