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.
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 »

vlh1217 wrote:
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.
You have installed the mod incorrectly. The find in acp_board is a partial find, it is not the entire line in the file. Once you do that find, you insert the code onto a new blank line after the line of that find.

Knowledge Base - How to Install MODs

Ahri89, that's perfect and thank you for the translation!! :)
Last edited by RMcGirr83 on Fri Aug 14, 2009 10:28 am, edited 1 time in total.
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: 518
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: Signature Image Check

Post by Ahri89 »

Thank you RMcGirr83 for the mod :D
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

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

Re: Signature Image Check

Post by vlh1217 »

ok thanks for the help a break away from it and was able to find my mistakes great mod was much needed.

lararefaeli
Registered User
Posts: 3
Joined: Tue Aug 25, 2009 10:23 am

Re: Signature Image Check

Post by lararefaeli »

Hi Robot

I had tried it twice but I was unsuccessful to download it. Finally I get success third time. You have made a very cool mod. It looks awesome also. I am feeling lucky because I have a phpBB 3.0.5 version now.

Durbatuluk
Registered User
Posts: 106
Joined: Thu Dec 29, 2005 8:22 pm

Re: Signature Image Check

Post by Durbatuluk »

Size of signatures are already implemented at least in 3.0.6 can you extraxt only numbers allowed in it for phpbb 3.0.6?

Durbatuluk
Registered User
Posts: 106
Joined: Thu Dec 29, 2005 8:22 pm

Re: Signature Image Check

Post by Durbatuluk »

Working in 3.0.6 as intended thank you :-)

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 »

Size of signatures are already implemented at least in 3.0.6 can you extraxt only numbers allowed in it for phpbb 3.0.6?
I'm not seeing this setting, then again I could be missing it.

Concerning your other question, I haven't tried installing it on 3.0.6. Guess I will have to one of these days.
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
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 »

Durbatuluk wrote:Working in 3.0.6 as intended thank you :-)
Uhmmm, actually as the mod stands now, no it is not 100% compatible with 3.0.6. At least not the board settings part (you will see the words "Array" where you should be able to enter a number for the max size). To fix

OPEN

includes/acp/acp_board.php

FIND

Code: Select all

// BEGIN MOD signature image check
        function max_sig_img_size($value, $key = '')
        {
                // Determine size var and adjust the value accordingly
                $size_var = ($value >= 1048576) ? 'mb' : (($value >= 1024) ? 'kb' : 'b');
                $value = get_formatted_filesize($value, false);

                return '<input type="text" id="' . $key . '" size="8" maxlength="15" name="config[' . $key . ']" value="' . $value . '" /> <select name="' . $key . '">' . size_select_options($size_var) . '</select>';
        }
// END MOD signature image check
REPLACE WITH

Code: Select all

// BEGIN MOD signature image check
        function max_sig_img_size($value, $key = '')
        {
                // Determine size var and adjust the value accordingly
                $filesize = get_formatted_filesize($value, false, array('mb', 'kb', 'b'));
                $size_var = $filesize['si_identifier'];
                $value = $filesize['value'];

                return '<input type="text" id="' . $key . '" size="8" maxlength="15" name="config[' . $key . ']" value="' . $value . '" /> <select name="' . $key . '">' . size_select_options($size_var) . '</select>';
        }
// END MOD signature image check
..and then the mod works as intended 100%.

Update to mod has been submitted to MODDB.
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

isNumB
Registered User
Posts: 86
Joined: Thu Aug 06, 2009 7:59 am

Re: Signature Image Check

Post by isNumB »

only height can be changed????

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 »

This mod does not have a height check (that is part of phpBB default). If you can only change your height, then you need to check the edits to includes/acp/acp_board.php...pay particular attention to the very last edit specifically.
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

thunderboyx
Registered User
Posts: 3
Joined: Tue Dec 29, 2009 1:23 am

Re: Signature Image Check

Post by thunderboyx »

I get this error

Code: Select all

SQL ERROR [ mysqli ]

Duplicate entry 'max_sig_img_count' for key 1 [1062]

SQL

INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('max_sig_img_count', 0, 0)

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/functions.php
LINE: 157
CALL: dbal_mysqli->sql_query()

FILE: includes/acp/acp_board.php
LINE: 479
CALL: set_config()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_board->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
How do you fix it

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 »

Just return to the page you were on. This is fixed in the next version.
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

thunderboyx
Registered User
Posts: 3
Joined: Tue Dec 29, 2009 1:23 am

Re: Signature Image Check

Post by thunderboyx »

ok thank you

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

Signature Image Check

Post by DavidIQ »

MOD Updated to version 1.0.1
See first post for Download Link
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
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: Signature Image Check

Post by kber »

Arabic Translation
Attachments

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

Hello All

Locked

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