Adriano Faria Posted April 22, 2016 Share Posted April 22, 2016 About This File This plugin will allow admins to use colors on forums names. Those are the places where color will appear: Forum index Forum view Activity Streams Search results Link to comment
PirateCaptain Posted April 29, 2016 Share Posted April 29, 2016 When I enable this I get the following error when trying to edit forums in ACP errorException: Parameter 1 to IPS\forums\advancedtagsprefixes_hook_forumLastPostPrefix::form() expected to be a reference, value given (2) #0 [internal function]: IPS\IPS::errorHandler(2, 'Parameter 1 to ...', '/home/invision/...', 15, Array) #1 /home/invision/IPB4/init.php(435) : eval()'d code(15): call_user_func_array('parent::form', Array) #2 /home/invision/IPB4/system/Node/Controller.php(452): IPS\forums\hook819->form(Object(IPS\Helpers\Form)) #3 /home/invision/IPB4/init.php(435) : eval()'d code(13): IPS\Node\_Controller->_addEditForm(Object(IPS\forums\Forum)) #4 /home/invision/IPB4/system/Node/Controller.php(351): IPS\Node\advancedtagsprefixes_hook_nodeSettings->_addEditForm(Object(IPS\forums\Forum)) #5 /home/invision/IPB4/applications/forums/modules/admin/forums/forums.php(124): IPS\Node\_Controller->form() #6 [internal function]: IPS\forums\modules\admin\forums\_forums->form() #7 /home/invision/IPB4/system/Dispatcher/Controller.php(85): call_user_func(Array) #8 /home/invision/IPB4/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #9 /home/invision/IPB4/applications/forums/modules/admin/forums/forums.php(40): IPS\Node\_Controller->execute() #10 /home/invision/IPB4/system/Dispatcher/Dispatcher.php(129): IPS\forums\modules\admin\forums\_forums->execute() #11 /home/invision/IPB4/admin/index.php(13): IPS\_Dispatcher->run() #12 {main} Link to comment
Adriano Faria Posted April 29, 2016 Author Share Posted April 29, 2016 advancedtagsprefixes is another 3rd-party resource. Not sure why the error, since I don't have it. I just PMed Ryan to see what can be done. Link to comment
Adriano Faria Posted April 29, 2016 Author Share Posted April 29, 2016 7 hours ago, PirateCaptain said: When I enable this I get the following error when trying to edit forums in ACP errorException: Parameter 1 to IPS\forums\advancedtagsprefixes_hook_forumLastPostPrefix::form() expected to be a reference, value given (2) #0 [internal function]: IPS\IPS::errorHandler(2, 'Parameter 1 to ...', '/home/invision/...', 15, Array) #1 /home/invision/IPB4/init.php(435) : eval()'d code(15): call_user_func_array('parent::form', Array) #2 /home/invision/IPB4/system/Node/Controller.php(452): IPS\forums\hook819->form(Object(IPS\Helpers\Form)) #3 /home/invision/IPB4/init.php(435) : eval()'d code(13): IPS\Node\_Controller->_addEditForm(Object(IPS\forums\Forum)) #4 /home/invision/IPB4/system/Node/Controller.php(351): IPS\Node\advancedtagsprefixes_hook_nodeSettings->_addEditForm(Object(IPS\forums\Forum)) #5 /home/invision/IPB4/applications/forums/modules/admin/forums/forums.php(124): IPS\Node\_Controller->form() #6 [internal function]: IPS\forums\modules\admin\forums\_forums->form() #7 /home/invision/IPB4/system/Dispatcher/Controller.php(85): call_user_func(Array) #8 /home/invision/IPB4/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #9 /home/invision/IPB4/applications/forums/modules/admin/forums/forums.php(40): IPS\Node\_Controller->execute() #10 /home/invision/IPB4/system/Dispatcher/Dispatcher.php(129): IPS\forums\modules\admin\forums\_forums->execute() #11 /home/invision/IPB4/admin/index.php(13): IPS\_Dispatcher->run() #12 {main} I have sent you a new version via PM. Let me know if works, so I can update the file here on IPS. Link to comment
Adriano Faria Posted April 29, 2016 Author Share Posted April 29, 2016 Thank you. Will update the file. Link to comment
Elena-Viorica Posted May 2, 2016 Share Posted May 2, 2016 I wish you'd make a plugin like this for thread titles. There used to be one for IPS 3.4. Link to comment
dokdok Posted June 4, 2017 Share Posted June 4, 2017 Cool! Before I buy, I need some information: Does this hook work with "IPS 4.1.19"? Link to comment
Adriano Faria Posted June 4, 2017 Author Share Posted June 4, 2017 3 minutes ago, dokdok said: Cool! Before I buy, I need some information: Does this hook work with "IPS 4.1.19"? 4.1.19.4: Link to comment
dokdok Posted June 4, 2017 Share Posted June 4, 2017 Last question: colors will only be those set in "ACP" for each new Topic or who creates a new Topic can choose whether to use the colored title or not? It would be nice if anyone creates a new discussion, could choose what to do and what colors to use (as it did with IPB 3.4) Link to comment
Adriano Faria Posted June 4, 2017 Author Share Posted June 4, 2017 Just now, dokdok said: Last question: colors will only be those set in "ACP" for each new Topic or who creates a new Topic can choose whether to use the colored title or not? It would be nice if anyone creates a new discussion, could choose what to do and what colors to use (as it did with IPB 3.4) No, that's an admin choice. You are talking about TOPIC TITLES COLORED, which is another app and has nothing to do with this. This is to colorize FORUMS, not topics. Link to comment
dokdok Posted June 4, 2017 Share Posted June 4, 2017 6 minutes ago, Adriano Faria said: No, that's an admin choice. You are talking about TOPIC TITLES COLORED, which is another app and has nothing to do with this. This is to colorize FORUMS, not topics. Ops ... I apologize for having played badly the work of the plugin. (my English is bad) Is it in the marketplace "TOPIC TITLES COLORED" for 4.1.19? I did not find it ... Link to comment
Adriano Faria Posted June 4, 2017 Author Share Posted June 4, 2017 No, I didn't updated it and I won't. Link to comment
NNZF.IO Posted October 1, 2017 Share Posted October 1, 2017 Hi Adriano, When I clic on Activity, I've this : It should be better if there is there: Thank for your help Link to comment
Adriano Faria Posted October 1, 2017 Author Share Posted October 1, 2017 14 minutes ago, N3wzFrance said: Hi Adriano, When I clic on Activity, I've this : It should be better if there is there: Thank for your help This is not compatible with 4.2. It would have a post and would appear in the file changelog. I’ll see tomorrow if something can be done. Link to comment
NNZF.IO Posted October 1, 2017 Share Posted October 1, 2017 2 hours ago, Adriano Faria said: This is not compatible with 4.2. It would have a post and would appear in the file changelog. I’ll see tomorrow if something can be done. Ok, thank you Adriano Link to comment
Adriano Faria Posted October 7, 2017 Author Share Posted October 7, 2017 What's New in Version 2.0.2: version to IPS 4.2. Link to comment
NNZF.IO Posted October 7, 2017 Share Posted October 7, 2017 Thank you Adriano, I've Uninstalled it and Fresh Install and I have this on the Activities view : Link to comment
Adriano Faria Posted October 7, 2017 Author Share Posted October 7, 2017 Works fine for me, as you can see on my screenshot. I’ll retest tomorrow in the morning. Link to comment
Adriano Faria Posted October 8, 2017 Author Share Posted October 8, 2017 14 hours ago, N3wzFrance said: Thank you Adriano, I've Uninstalled it and Fresh Install and I have this on the Activities view : 13 hours ago, Adriano Faria said: Works fine for me, as you can see on my screenshot. I’ll retest tomorrow in the morning. Retested on my live test board: Works fine. Are you CiC? Link to comment
NNZF.IO Posted October 8, 2017 Share Posted October 8, 2017 3 hours ago, Adriano Faria said: Are you CiC? No When I uninstall the mod, I've this: I think this is the reason why I've this colored texte. Where can I remove this (In red) <span class="ipsBadge ipsBadge_pill" style="background-color: #33bd65; color: #000000;" > BLABLA </span> ? I think that when I remove this, I can do Fresh Install your Mod (Last version) Link to comment
NNZF.IO Posted October 8, 2017 Share Posted October 8, 2017 Ok Adriano I've found the problem: When I use only your Mod, work fine So when I use your Mod + Use a highlight color in ACP I've this error I don't know if you can resolve this problem or if it's an IPS error Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.