Username Colour Change MOD

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.
mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: Username Colour Change MOD

Post by mtrs »

as per

Code: Select all

//If other mods are installed you may have to change legend3 to the next available legend number
replace legend3 to legend4
I abandoned all of my mods.
User avatar
Bobski2000
Registered User
Posts: 130
Joined: Mon Feb 16, 2009 9:40 pm
Location: UK

Re: Username Colour Change MOD

Post by Bobski2000 »

Thanks for that...

Dave :)
ghx666
Registered User
Posts: 18
Joined: Wed Feb 03, 2010 5:08 pm

Re: Username Colour Change MOD

Post by ghx666 »

i am not sure if this has been discussed or implemented but it was asked on the first page of this topic: the question was if this mod colors written usernames in posts

so if i create a new topic or reply to a topic and i write someones name in the textarea of the topic does this mod color that username?

like if this mod is installed in this board i am writing this text here and the user mtrs has a custom color like red then mtrs should not be mtrs but mtrs or even better mtrs

does this mod support this ? or does anyone know about a mod who does this ?

i have tried to use word censoring but it writes the code in the post but does not execute the code
mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: Username Colour Change MOD

Post by mtrs »

ghx666 wrote: so if i create a new topic or reply to a topic and i write someones name in the textarea of the topic does this mod color that username?
No, it does not. It is not designed to change usernames in textarea.
ghx666 wrote:does this mod support this ? or does anyone know about a mod who does this ?
This mod does not support that. But, this mod has quick nick instertion at viewtopic which you may be interested in.

Edit: typo
Last edited by mtrs on Sat Mar 13, 2010 10:22 am, edited 1 time in total.
I abandoned all of my mods.
ghx666
Registered User
Posts: 18
Joined: Wed Feb 03, 2010 5:08 pm

Re: Username Colour Change MOD

Post by ghx666 »

thanks, i'll check it out ... and too bad it does not change the color within the text

here is something else:

there's a bug which i think is quite serious: when you add existing users to a group the board crashes (can't explain now because i didn't make a screenshot but you get something like parse error because of blabla and it has something to do with user color change) ... will have to try later or you can try for yourself :)

and: it would be nice if your mod could also change the color of the logged in user where it says Logout [ ghx666 ] on the top right corner
Uzam
Registered User
Posts: 280
Joined: Wed May 20, 2009 3:22 pm

Re: Username Colour Change MOD

Post by Uzam »

any ideas, logged in as ADMIN.
ghx666
Registered User
Posts: 18
Joined: Wed Feb 03, 2010 5:08 pm

Re: Username Colour Change MOD

Post by ghx666 »

i just tried setting up a new user using the acp add user mod

now i get the following error:
General Error
SQL ERROR [ mysqli ]

Unknown column 'user_colour_change' in 'where clause' [1054]

SQL

SELECT user_id FROM phpbb_users WHERE user_colour_change = 0 AND user_id = 56

BACKTRACE

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

FILE: includes/functions_user.php
LINE: 3320
CALL: dbal_mysqli->sql_query()

FILE: includes/functions_user.php
LINE: 278
CALL: group_set_user_default()

FILE: includes/acp/acp_add_user.php
LINE: 177
CALL: user_add()

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

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
the new user has been added to phpbb_users though, but for example is not showing up in our newest member

how can i fix this so i don't get this error adding new users

and i don't remember getting any errors installing your mod and the acp add user mod
ghx666
Registered User
Posts: 18
Joined: Wed Feb 03, 2010 5:08 pm

Re: Username Colour Change MOD

Post by ghx666 »

i also have checked phpbb_users for that field/column but it does not exist

i did install your mod using automod from this zip file: Username_Colour_Change_MOD_v1-0-2.zip

so far i have had no problems installing other mods and running them ... but with the acp add user mod i get the above mentioned error and it looks like i am not the only one ...

maybe you can post an sql statement which i can simply execute in phpmyadmin so this field gets added to the database (if that would fix the problem)

and of course you should update your mod download too :)
mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: Username Colour Change MOD

Post by mtrs »

ghx666 wrote:i also have checked phpbb_users for that field/column but it does not exist
ghx666 wrote:maybe you can post an sql statement which i can simply execute in phpmyadmin so this field gets added to the database (if that would fix the problem)

and of course you should update your mod download too :)
No, you should read DIY section in install.xml of this mod, and run database update script.
I abandoned all of my mods.
andrius757
Registered User
Posts: 117
Joined: Wed Dec 02, 2009 10:05 pm

Re: Username Colour Change MOD

Post by andrius757 »

Is it possible to affect global moderators(only administrators and founders are not affected) by "Similar username colour control", so they could not choose admin similar colour.
ghx666
Registered User
Posts: 18
Joined: Wed Feb 03, 2010 5:08 pm

Re: Username Colour Change MOD

Post by ghx666 »

so you prefer not to fix this bug which it obviously is? because either i can install a mod using automod or i simply shouldn't be able to install it using automod if it is not working!
User avatar
RMcGirr83
Former Team Member
Posts: 22094
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Username Colour Change MOD

Post by RMcGirr83 »

ghx666 wrote:so you prefer not to fix this bug which it obviously is? because either i can install a mod using automod or i simply shouldn't be able to install it using automod if it is not working!
Automod only runs sql queries that are set as such within the MODX file, database installers are to be run by the individual that installs the mod (for now).
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
ghx666
Registered User
Posts: 18
Joined: Wed Feb 03, 2010 5:08 pm

Re: Username Colour Change MOD

Post by ghx666 »

then why didn't i have any problems installing like 15 other mods which seem to work just fine

anyway

can you tell me exactly what to do here?

i tried running /board/store/mods/Username_Colour_Change_MOD_v1-0-2/root/install_usercolour.php but i get 403 access forbidden

either i am not supposed to run it from there which means i will have to copy the files from this mod to another directory ??? or i am doing something else wrong ... please let me know ... thanks
User avatar
RMcGirr83
Former Team Member
Posts: 22094
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Username Colour Change MOD

Post by RMcGirr83 »

Code: Select all

/board/store/mods/Username_Colour_Change_MOD_v1-0-2/root/install_usercolour.php
try instead

Code: Select all

/board/install_usercolour.php
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
ghx666
Registered User
Posts: 18
Joined: Wed Feb 03, 2010 5:08 pm

Re: Username Colour Change MOD

Post by ghx666 »

thank you very much, it worked and there are no more errors when adding new users with that other mod

sorry about me beeing kinda rude here but sometimes it's really frustrating, hope you understand :)

peace

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