Signature Image Check

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.
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28022
Joined: Sat Aug 16, 2003 7:36 am

Signature Image Check

Post by Extensions Robot » Wed Jul 22, 2009 4:44 am

Modification name: Signature Image Check
Author: RMcGirr83
Modification description: Will allow an Admin to set the number and sizes of images posted as bbcode in user signatures.
Modification version: 1.0.2
Tested on phpBB version: 3.0.6

Download file: sig_image_check.zip
File size: 37.33 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extensions Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Mar 27, 2017 3:09 pm, edited 13 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17087
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Signature Image Check

Post by DavidIQ » Wed Jul 22, 2009 4:44 am

Modification validated/released

Notes:
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Signature Image Check

Post by RMcGirr83 » Wed Jul 22, 2009 4:44 am

Thanks David!!

Screenies
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

thesecret
Registered User
Posts: 270
Joined: Mon Sep 29, 2008 12:13 pm

Re: Signature Image Check

Post by thesecret » Wed Jul 22, 2009 10:10 pm

nice one

User avatar
Sr X
Registered User
Posts: 202
Joined: Wed Feb 07, 2007 9:25 am

Re: Signature Image Check

Post by Sr X » Thu Jul 23, 2009 9:54 am

usefull to me, great! thanks.

WastedJoker
Registered User
Posts: 74
Joined: Mon Nov 17, 2008 10:20 pm

Re: Signature Image Check

Post by WastedJoker » Wed Aug 05, 2009 11:27 am

How does this differ from default method? Thought you could control smilies from ACP without a mod?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Signature Image Check

Post by RMcGirr83 » Wed Aug 05, 2009 1:46 pm

Uhmmm, where does it state it controls smilies?

Read the description of the mod please.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

Shadow21
Registered User
Posts: 6
Joined: Sat Aug 08, 2009 8:13 am

Re: Signature Image Check

Post by Shadow21 » Sun Aug 09, 2009 1:36 am

What's suppose to happen when you run db_install.php? When I run it the only thing that happens is it brings me to my forum again but the theme doesn't load.

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Signature Image Check

Post by RMcGirr83 » Sun Aug 09, 2009 6:54 am

It updates the database placing max_sig_img_count and max_sig_img_size into the config table of the database. When completed will state that the database was updated correctly or not.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

vlh1217
Registered User
Posts: 7
Joined: Sat Nov 01, 2008 4:21 am

Re: Signature Image Check

Post by vlh1217 » Thu Aug 13, 2009 7:03 pm

I installed this mod cleared cache and it's not showing up in acp under signiture settings any idea what is going on files were copied to correct directory and as far as I can tell the page edits were done correctly

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Signature Image Check

Post by RMcGirr83 » Thu Aug 13, 2009 7:10 pm

Are you absolutely positive you uploaded the edited acp files and purged the cache in the ACP itself?
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

vlh1217
Registered User
Posts: 7
Joined: Sat Nov 01, 2008 4:21 am

Re: Signature Image Check

Post by vlh1217 » Thu Aug 13, 2009 7:24 pm

RMcGirr83 wrote:Are you absolutely positive you uploaded the edited acp files and purged the cache in the ACP itself?
yep just re checked and uploaded files again and purged cache and still nothing first time i've ever had a problem with a mod.

User avatar
Ahri89
Registered User
Posts: 516
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: Signature Image Check

Post by Ahri89 » Thu Aug 13, 2009 7:57 pm

I have this 3 times:

Code: Select all

		if (!$update_this_message)
		{
			unset($this->message);
I need help to install this mod.
MODs translated to Spanish: ACP Add User MOD, ACP Announcement Centre, Advertisement Management, Custom Profile Fields, Update Reminder, Flood time setting per forum, MOD Version Check, Posting template, Prune Log, Simple Trash Bin, TinyPic Plugin, User Reminder, View Profile, View your topics, and more...

Sorry for my bad english xD

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Signature Image Check

Post by RMcGirr83 » Thu Aug 13, 2009 8:12 pm

Ahri89 wrote:I have this 3 times:

Code: Select all

		if (!$update_this_message)
		{
			unset($this->message);
I need help to install this mod.
Follow the mod install instructions in order and you will see which one is correct.
vlh1217 wrote:
yep just re checked and uploaded files again and purged cache and still nothing first time i've ever had a problem with a mod.
Zip up the ACP files this mod has you edit and attach them and I will have a look.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Ahri89
Registered User
Posts: 516
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: Signature Image Check

Post by Ahri89 » Thu Aug 13, 2009 8:50 pm

RMcGirr83 wrote:
Ahri89 wrote:I have this 3 times:

Code: Select all

		if (!$update_this_message)
		{
			unset($this->message);
I need help to install this mod.
Follow the mod install instructions in order and you will see which one is correct.
mmm i use the fisrt result and add after of ( // Check number of links):

Code: Select all

		// Check number of links
		if ($config['max_' . $mode . '_urls'] && $num_urls > $config['max_' . $mode . '_urls'])
		{
			$this->warn_msg[] = sprintf($user->lang['TOO_MANY_URLS'], $config['max_' . $mode . '_urls']);
			return (!$update_this_message) ? $return_message : $this->warn_msg;
		}

// BEGIN MOD signature image check
		if($config['max_sig_img_count'] && $this->mode == 'sig' && strpos($this->message, '[') !== false)
		{
			$user->add_lang('mods/sig_image_check');
			$num_imgs = 0;
			$num_imgs += $this->parsed_items['img'];
			
			// check the number of images in the sig
			if ($num_imgs > $config['max_sig_img_count'])
			{
				$num_over = $num_imgs - $config['max_sig_img_count'];
				
				if($config['max_sig_img_count'] > 1)
				{
					$this->warn_msg[] = sprintf($user->lang['MAX_IMGS_COUNT_EXCEEDED'], $config['max_sig_img_count'], $num_over);
					return (!$update_this_message) ? $return_message : $this->warn_msg;
				}
				else
				{
					$this->warn_msg[] = sprintf($user->lang['MAX_IMG_COUNT_EXCEEDED'], $config['max_sig_img_count'] , $num_over);
					return (!$update_this_message) ? $return_message : $this->warn_msg;
				}
			}
		}
// END MOD signature image check
		
		if (!$update_this_message)
		{
			unset($this->message);
			$this->message = $tmp_message;
			return $return_message;
		}
Here my spanish translation:

[The extension zip has been deactivated and can no longer be displayed.]

MODs translated to Spanish: ACP Add User MOD, ACP Announcement Centre, Advertisement Management, Custom Profile Fields, Update Reminder, Flood time setting per forum, MOD Version Check, Posting template, Prune Log, Simple Trash Bin, TinyPic Plugin, User Reminder, View Profile, View your topics, and more...

Sorry for my bad english xD

Locked

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