Page 1 of 3

[ABD] Group Icons 1.0.4

Posted: Sun May 23, 2010 8:12 am
by autinhyeu
Modification Name: Group Icons.
Author: Modification Description:: Set the funny icon for groups in your board. The group icon will be display beside the username link on all pages.
Modification Version:: 1.0.4

Screenshots:
Index:
Image
View forum:
Image

View topic:
Image

View online:
Image

ACP page:
Image

Demo URL: http://www.autinhyeu.com/forum/
Demo Username: tester
Demo Password: 123456

Modification Download: http://www.autinhyeu.com/download/phpbb ... _1.0.4.zip

MOD history:
2010-05-23 - Version1.0.4
  • Compatible with phpBB 3.0.7-PL1.
  • Fixed: shown icon with latest registered users (thanks to kida7).
  • AutoMod support

Re: [RC] Group Icons 1.0.4

Posted: Sun May 23, 2010 2:10 pm
by apnaitaly
thanksssss autinhyeu ,, i was searching this mod but that was dead ,,

btw thanks ,,

can you please tell me from where i can get move better images for group ,

Re: [RC] Group Icons 1.0.4

Posted: Mon May 24, 2010 5:17 am
by hongoctrien

Code: Select all

[phpBB Debug] PHP Notice: in file /index.php on line 85: implode() [function.implode]: Invalid arguments passed
Problem on index

Re: [RC] Group Icons 1.0.4

Posted: Mon May 24, 2010 6:00 am
by autinhyeu
apnaitaly wrote:thanksssss autinhyeu ,, i was searching this mod but that was dead ,,

btw thanks ,,

can you please tell me from where i can get move better images for group ,
You're welcome :D
To get another images for group, you can using google with function search icon :lol:
hongoctrien wrote:

Code: Select all

[phpBB Debug] PHP Notice: in file /index.php on line 85: implode() [function.implode]: Invalid arguments passed
Problem on index
What is around line 85? Pls post it at here...

Re: [RC] Group Icons 1.0.4

Posted: Fri Sep 03, 2010 12:27 am
by Anyasha
When adding a new group, upon submitting I get this error:
[phpBB Debug] PHP Notice: in file /includes/acp/acp_groups.php on line 399: Undefined index: group_icon
Line 399 is the first line of this:

Code: Select all

					if (isset($submit_ary['icon']) && $submit_ary['icon'] != $group_row['group_icon'])
					{
						$cache->destroy('_group_icons');
					}

You also have 3 errors in your install file.
  1. Code: Select all

    <file from="root/images/group_icons/*" to="images/group_icons/*"/>
    should be

    Code: Select all

    <file from="root/images/group_icons/" to="images/group_icons/*.*" />
  2. The "finds" in functions_user.php are reversed; the find for

    Code: Select all

    $user_attribute_ary
    should be first because it comes before

    Code: Select all

    'group_rank'			=> 'int',
    in the file.
  3. The find for

    Code: Select all

    $user_attribute_ary
    is not good for AutoMOD and will produce errors for users installing your mod that way. Try a full find with an inline find like so:

    Code: Select all

    			<edit>
    				<find><![CDATA[	$user_attribute_ary = array('group_colour', 'group_rank', 'group_avatar', 'group_avatar_type', 'group_avatar_width', 'group_avatar_height');]]></find>
    				<inline-edit>
    					<inline-find><![CDATA['group_avatar_height']]></inline-find>
    					<inline-action type="after-add"><![CDATA[, 'group_icon']]></inline-action>
    				</inline-edit>
    			</edit>

Re: [RC] Group Icons 1.0.4

Posted: Fri Sep 03, 2010 12:38 am
by darkonia
is it the same like the old mod or what for changes you made?

Re: [RC] Group Icons 1.0.4

Posted: Fri Sep 03, 2010 1:10 am
by Anyasha
I tested out the first one and from what I can tell they're the same!

Re: [RC] Group Icons 1.0.4

Posted: Wed Sep 08, 2010 1:07 pm
by dbjs2009
Can anyone please just show me how to install it and where to put the files??

Re: [RC] Group Icons 1.0.4

Posted: Wed Sep 08, 2010 5:47 pm
by Anyasha
How to Install MODs
How to install a MODX Modification

And since this mod is in development, it's not supposed to be installed on a live board, only a test board that you do not use.

Re: [RC] Group Icons 1.0.4

Posted: Wed Sep 08, 2010 5:55 pm
by dbjs2009
Actually I have posted all the codes in each php and html file as the directions of the Xml I found with the Zip
but when I'm done the site didn't work because of errors (General Errors!) can anyone help me with these codes please?

Re: [RC] Group Icons 1.0.4

Posted: Wed Sep 08, 2010 6:10 pm
by Anyasha
Well we can't help you if you don't tell us what the errors said. A GENERAL error is pretty general! ;)

Re: [RC] Group Icons 1.0.4

Posted: Thu Sep 09, 2010 8:56 am
by dbjs2009
[*]This is the error on the index page
Image

[*]This is the one in the viewonline list
Image

[*]And There's more errors I'll post later but I have to solve these first

Oh wait a minute does anyone has this Mod working perfectly??

Re: [RC] Group Icons 1.0.4

Posted: Thu Sep 09, 2010 2:43 pm
by Anyasha
Looks like you didn't run the SQL. Read #11 again in the "how to install mods" link above. And yes I have the mod running on a test board just fine minus the ACP groups page error I posted above.

Re: [RC] Group Icons 1.0.4

Posted: Thu Sep 09, 2010 5:10 pm
by dbjs2009
It's just I don't understand, how and what to do with these codes of the SQL can you please help me with these?

Code: Select all

INSERT INTO phpbb_config (config_name, config_value) VALUES ('group_icons_path', 'images/group_icons');
ALTER TABLE phpbb_users ADD user_icon varchar(255) DEFAULT '' NOT NULL;
ALTER TABLE phpbb_groups ADD group_icon varchar(255) DEFAULT '' NOT NULL;

Re: [RC] Group Icons 1.0.4

Posted: Fri Sep 10, 2010 12:40 am
by Anyasha
Either: 1) Log into your domain's control panel, click phpMyAdmin, select your database, click the SQL tab, paste that code in and submit, or 2) download STK, upload it to your directory, visit yourdomain.com/stk, click the Admin Tools tab, then click Run SQL Query, paste previous code in and submit.