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: 29232
Joined: Sat Aug 16, 2003 7:36 am

Signature Image Check

Post by Extensions Robot »

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 Extension Customisations Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Sep 19, 2022 7:33 pm, edited 16 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: 18316
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Signature Image Check

Post by DavidIQ »

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
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Signature Image Check

Post by RMcGirr83 »

Thanks David!!

Screenies
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
thesecret
Registered User
Posts: 270
Joined: Mon Sep 29, 2008 12:13 pm

Re: Signature Image Check

Post by thesecret »

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 »

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 »

How does this differ from default method? Thought you could control smilies from ACP without a mod?
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Signature Image Check

Post by RMcGirr83 »

Uhmmm, where does it state it controls smilies?

Read the description of the mod please.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
Shadow21
Registered User
Posts: 6
Joined: Sat Aug 08, 2009 8:13 am

Re: Signature Image Check

Post by Shadow21 »

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
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Signature Image Check

Post by RMcGirr83 »

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.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
vlh1217
Registered User
Posts: 7
Joined: Sat Nov 01, 2008 4:21 am

Re: Signature Image Check

Post by vlh1217 »

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
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Signature Image Check

Post by RMcGirr83 »

Are you absolutely positive you uploaded the edited acp files and purged the cache in the ACP itself?
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
vlh1217
Registered User
Posts: 7
Joined: Sat Nov 01, 2008 4:21 am

Re: Signature Image Check

Post by vlh1217 »

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: 525
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: Signature Image Check

Post by Ahri89 »

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
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Signature Image Check

Post by RMcGirr83 »

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.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
Ahri89
Registered User
Posts: 525
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: Signature Image Check

Post by Ahri89 »

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”