Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SychO on July 10, 2018, 11:06:49 AM

Title: SMF Hall Of Fame
Post by: SychO on July 10, 2018, 11:06:49 AM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=4185)

(https://img.shields.io/github/release/SychO9/smf-hall-of-fame.svg?style=flat-square)  (https://img.shields.io/badge/SMF-2.0-75879b.svg?style=flat-square)  (https://img.shields.io/badge/SMF-2.1-ed6033.svg?style=flat-square)  (https://img.shields.io/badge/license-Apache%202-green.svg?style=flat-square&color=green)
SMF Hall Of Fame Mod
Compatible with SMF2.0 & SMF2.1
A Hall Of Fame Page Where You can Add Notable Members.
Github Repository (https://github.com/SychO9/smf-hall-of-fame)

Changelog

Translation
* Spanish Latin Translation By: Rock Lee (https://github.com/RockLee-BC)
* Russian Translation By: digger (https://github.com/realdigger)

License
SMF Hall Of Fame Mod is licensed under the Apache License, Version 2.0. A full copy of this license is included in the package file.

Copyrights
All images and icons Were Created by Paomedia, and are free for use under the Creative Commons (Attribution 3.0 Unported) License
Title: Re: SMF Hall Of Fame
Post by: vbgamer45 on July 10, 2018, 11:27:10 AM
Great idea!
Title: Re: SMF Hall Of Fame
Post by: Rock Lee on July 10, 2018, 02:33:00 PM
Very good indeed was thinking of implementing something similar :D, great job! ... Here I leave the translations to Latin Spanish, as I did not know how to translate "HOF" I leave it the same and leave you the .xml

Code: [Select]
<file name="$languagedir/Modifications.spanish_latin.php" error="skip">
<operation>
<search position="before"><![CDATA[// Version: 2.0; Modifications]]></search>
<add><![CDATA[
// Hall Of Fame.
$txt['hof_admin'] = "HOF administraci&oacute;n";
$txt['hof'] = "Sal&oacute;n de la Fama";
]]></add>
</operation>
</file>

<file name="$languagedir/Modifications.spanish_latin-utf8.php" error="skip">
<operation>
<search position="before"><![CDATA[// Version: 2.0; Modifications]]></search>
<add><![CDATA[
// Hall Of Fame.
$txt['hof_admin'] = "HOF administración";
$txt['hof'] = "Salón de la Fama";
]]></add>
</operation>
</file>

<file name="$languagedir/Who.spanish_latin.php" error="skip">
<operation error="ignore">
<search position="end"></search>
<add><![CDATA[
// Hall Of Fame
$txt['whoall_hof'] = 'Viendo el <a href="' . $scripturl . '?action=hof">Sal&oacute;n de la Fama</a> Page';
]]></add>
</operation>
</file>

<file name="$languagedir/Who.spanish_latin-utf8.php" error="skip">
<operation error="ignore">
<search position="end"></search>
<add><![CDATA[
// Hall Of Fame
$txt['whoall_hof'] = 'Viendo el <a href="' . $scripturl . '?action=hof">Salón de la Fama</a> Page';
]]></add>
</operation>
</file>

Anything you tell me and if I find an error I will comment ;D


Regards!
Title: Re: SMF Hall Of Fame
Post by: Bigguy on July 10, 2018, 02:36:27 PM
Very nice. I like it.
Title: Re: SMF Hall Of Fame
Post by: SychO on July 10, 2018, 03:00:31 PM
Very good indeed was thinking of implementing something similar :D, great job! ... Here I leave the translations to Latin Spanish, as I did not know how to translate "HOF" I leave it the same and leave you the .xml

Anything you tell me and if I find an error I will comment ;D

Regards!

Thank you Very much Rock Lee  :D, it's great, all been added.
much appreciated.
Title: Re: SMF Hall Of Fame
Post by: GigaWatt on July 10, 2018, 06:36:16 PM
Yeah, I also like the mod, great work ;).

BTW, on your page (sycho.22web.org), if you scroll to the end, the contact icons don't show all the way on smaller resolutions (the last one loads only at the top). I'm on 1152 x 864 currently. Maybe you could shorten the distance between them so they could show up properly on lower screen resolutions ;).
Title: Re: SMF Hall Of Fame
Post by: d3vcho(); on July 10, 2018, 06:41:20 PM
Very good indeed was thinking of implementing something similar :D, great job! ... Here I leave the translations to Latin Spanish, as I did not know how to translate "HOF" I leave it the same and leave you the .xml

Code: [Select]
<file name="$languagedir/Modifications.spanish_latin.php" error="skip">
<operation>
<search position="before"><![CDATA[// Version: 2.0; Modifications]]></search>
<add><![CDATA[
// Hall Of Fame.
$txt['hof_admin'] = "HOF administraci&oacute;n";
$txt['hof'] = "Sal&oacute;n de la Fama";
]]></add>
</operation>
</file>

<file name="$languagedir/Modifications.spanish_latin-utf8.php" error="skip">
<operation>
<search position="before"><![CDATA[// Version: 2.0; Modifications]]></search>
<add><![CDATA[
// Hall Of Fame.
$txt['hof_admin'] = "HOF administración";
$txt['hof'] = "Salón de la Fama";
]]></add>
</operation>
</file>

<file name="$languagedir/Who.spanish_latin.php" error="skip">
<operation error="ignore">
<search position="end"></search>
<add><![CDATA[
// Hall Of Fame
$txt['whoall_hof'] = 'Viendo el <a href="' . $scripturl . '?action=hof">Sal&oacute;n de la Fama</a> Page';
]]></add>
</operation>
</file>

<file name="$languagedir/Who.spanish_latin-utf8.php" error="skip">
<operation error="ignore">
<search position="end"></search>
<add><![CDATA[
// Hall Of Fame
$txt['whoall_hof'] = 'Viendo el <a href="' . $scripturl . '?action=hof">Salón de la Fama</a> Page';
]]></add>
</operation>
</file>

Anything you tell me and if I find an error I will comment ;D


Regards!

Leaving my thoughts on the translation; it looks good but I would translate "HOF" (Hall of Fame) as "Salón de la fama" as well. Some spanish users may not know what does "HOF" means.

As for the mod, I haven't had a chance to try it but it's a really good idea. Nice job, SychO :)
Title: Re: SMF Hall Of Fame
Post by: SychO on July 11, 2018, 04:32:34 AM
Leaving my thoughts on the translation; it looks good but I would translate "HOF" (Hall of Fame) as "Salón de la fama" as well. Some spanish users may not know what does "HOF" means.

As for the mod, I haven't had a chance to try it but it's a really good idea. Nice job, SychO :)

I see, I'll have that changed than, thanks  :)

Yeah, I also like the mod, great work ;).

BTW, on your page (sycho.22web.org), if you scroll to the end, the contact icons don't show all the way on smaller resolutions (the last one loads only at the top). I'm on 1152 x 864 currently. Maybe you could shorten the distance between them so they could show up properly on lower screen resolutions ;).

thanks for the note, It's not responsive, but it'll be at some point.
Title: Re: SMF Hall Of Fame
Post by: GigaWatt on July 11, 2018, 04:58:00 AM
Just tested the mod today, love it :D. And love the deactivate option :). You could have it installed and activate or deactivate it without having to uninstall it ;).

Just a though. When adding a class or a member, instead of the button saying "Submit Query" (which is of course the correct technical term), it could state "Add Class" and "Add Member". I'm only pointing this out since not all admins are technically inclined (although, IMO, they should have a general interest in technology) and might not understand what the button actually does ;).
Title: Re: SMF Hall Of Fame
Post by: SychO on July 11, 2018, 05:12:58 AM
Just tested the mod today, love it :D. And love the deactivate option :). You could have it installed and activate or deactivate it without having to uninstall it ;).

Just a though. When adding a class or a member, instead of the button saying "Submit Query" (which is of course the correct technical term), it could state "Add Class" and "Add Member". I'm only pointing this out since not all admins are technically inclined (although, IMO, they should have a general interest in technology) and might not understand what the button actually does ;).

I just left the buttons's default text tbh
Right, "Submit" for most browsers, and "Submit Query" for Firefox I believe ?
Next time I'll edit that, forgot it'd be different in some browsers.
Title: Re: SMF Hall Of Fame
Post by: Rock Lee on July 11, 2018, 01:10:32 PM
Leaving my thoughts on the translation; it looks good but I would translate "HOF" (Hall of Fame) as "Salón de la fama" as well. Some spanish users may not know what does "HOF" means.

That is my general doubt in itself but I was in doubt but "SDF" which would be "Hall of Fame" or to make it too long in the translation that I spend in several that made.

* ??? Rock feels confused ???*


Regards!
Title: Re: SMF Hall Of Fame
Post by: efk on July 11, 2018, 01:33:47 PM
Wanted to test it on forum for testing purposes, but failed, see #2:

Code: [Select]
* 2. Execute Modification ./Sources/Admin.php Test failed
1. Add Before ./Sources/Admin.php Test failed

Code: [Select]
* 1. Execute Modification ./index.php Test successful
1. Add After ./index.php Test successful
* 2. Execute Modification ./Sources/Admin.php Test failed
1. Add Before ./Sources/Admin.php Test failed
* 3. Execute Modification ./Sources/Subs.php Test successful
1. Add Before ./Sources/Subs.php Test successful
* 4. Execute Modification ./Sources/Who.php Test successful
1. Add After ./Sources/Who.php Test successful
* 5. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
1. Add After ./Themes/default/languages/Modifications.english.php Test successful
* 6. Execute Modification ./Themes/default/languages/Who.english.php Test successful
1. Add Before ./Themes/default/languages/Who.english.php Test successful
7. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php Skipping file
8. Execute Modification ./Themes/default/languages/Modifications.spanish_latin-utf8.php Skipping file
9. Execute Modification ./Themes/default/languages/Who.spanish_latin.php Skipping file
10. Execute Modification ./Themes/default/languages/Who.spanish_latin-utf8.php Skipping file
11. Extract File ./Sources/Hof.php
12. Extract Tree ./Themes
13. Adapt Database HofDBInstall.php

Mods installed:

Code: [Select]
1.      ENotify 3.0
2. Last Active On MemberList 1.4
3. Sorted Package Manager Listing 1.2
4. Topic View Log 1.0
5. AdditionalMembergroups 1.04
6. Board-color-and-icons 1.1
7. Tagging System 3.0.1
8. SMF Prediction League 1.0.3
9. SMF Arcade 2.55
10. Battle 1.16
11. Membergroup Signature Permissions 1.0
12. Like Posts 2.0.6
13. Edit Unread PMs 1.4
14. SMF Quiz 1.1.0
15. Annoy User 1.2.4
16. SA Chat 1.0a1 Rev120
17. SimpleColorizer 1.1
18. Filter Messages by Poster 1.1
19. SMF Chess 2.1.4
20. GDPR Helper 1.0.4
21. Topic Viewers   1.0
Title: Re: SMF Hall Of Fame
Post by: SychO on July 11, 2018, 01:51:57 PM
Wanted to test it on forum for testing purposes, but failed, see #2:
Some mod either changed the line in question, or just changed the line spacing(or smthn like that)
If you attach The File (Admin.php) I can edit it so that the install process is successful, however that could make one of your mod's un-installation process unsuccessful in the future

Otherwise you could manually make the changes related to the failure
Title: Re: SMF Hall Of Fame
Post by: efk on July 11, 2018, 01:55:08 PM
Wanted to test it on forum for testing purposes, but failed, see #2:
Some mod either changed the line in question, or just changed the line spacing(or smthn like that)
If you attach The File (Admin.php) I can edit it so that the install process is successful, however that could make one of your mod's un-installation process unsuccessful in the future

Otherwise you could manually make the changes related to the failure
Its a forum created for testing purposes. I will ask friend to send me Admin.php so I can upload it here. Also can you read from there which mod causing that?
Title: Re: SMF Hall Of Fame
Post by: SychO on July 11, 2018, 01:58:35 PM
Wanted to test it on forum for testing purposes, but failed, see #2:
Some mod either changed the line in question, or just changed the line spacing(or smthn like that)
If you attach The File (Admin.php) I can edit it so that the install process is successful, however that could make one of your mod's un-installation process unsuccessful in the future

Otherwise you could manually make the changes related to the failure
Its a forum created for testing purposes. I will ask friend to send me Admin.php so I can upload it here. Also can you read from there which mod causing that?
No I can't determine which mod might've caused that, maybe if I have the file in question, but even than, I don't think it's possible.
Title: Re: SMF Hall Of Fame
Post by: njtweb on July 12, 2018, 07:59:18 AM
Really cool, can verbiage for hall of fame or the titles for each be modified in the admin config if a person running a site doesn't have gaming in mind?

I run a hockey travel site and I would love to be able to change Hall of fame to something like "Top Travel Tips" and for the titles, Top Rinks, Top, Destinations, Top Amenities?

Lastly is it responsive?

Title: Re: SMF Hall Of Fame
Post by: Arantor on July 12, 2018, 08:12:40 AM
Edits to Admin.php can be avoided in almost all cases by hooks ;)
Title: Re: SMF Hall Of Fame
Post by: SychO on July 12, 2018, 08:22:13 AM
Really cool, can verbiage for hall of fame or the titles for each be modified in the admin config if a person running a site doesn't have gaming in mind?

I run a hockey travel site and I would love to be able to change Hall of fame to something like "Top Travel Tips" and for the titles, Top Rinks, Top, Destinations, Top Amenities?

Lastly is it responsive?

1. Not from the admin panel you can't unfortunately, but you can always check the files
Themes>default>languages>Modifications.english.php
Themes>default>languages>Hof.english.php

You can't change Hall Of Fame and anything else related to the mod there, just search for "hof" once you open the files.

2. It's not responsive, at least not yet, the next version though will be responsive, and will have more options.

Edits to Admin.php can be avoided in almost all cases by hooks ;)

Yea, gotta start looking into how hooks work.


Title: Re: SMF Hall Of Fame
Post by: Arantor on July 12, 2018, 08:28:48 AM
Basically you declare a function that will receive the entire admin area array and you just add what you need to it.

Should be in the wiki.
Title: Re: SMF Hall Of Fame
Post by: njtweb on July 12, 2018, 09:08:48 AM
Really cool, can verbiage for hall of fame or the titles for each be modified in the admin config if a person running a site doesn't have gaming in mind?

I run a hockey travel site and I would love to be able to change Hall of fame to something like "Top Travel Tips" and for the titles, Top Rinks, Top, Destinations, Top Amenities?

Lastly is it responsive?

1. Not from the admin panel you can't unfortunately, but you can always check the files
Themes>default>languages>Modifications.english.php
Themes>default>languages>Hof.english.php

You can't change Hall Of Fame and anything else related to the mod there, just search for "hof" once you open the files.

2. It's not responsive, at least not yet, the next version though will be responsive, and will have more options.

Edits to Admin.php can be avoided in almost all cases by hooks ;)

Yea, gotta start looking into how hooks work.

Excellent, I will wait to see how this mod progresses, especially the responsive end. That is very important for my site as the majority of the traffic is mobile device users.
Title: Re: SMF Hall Of Fame
Post by: pocttopus on July 13, 2018, 04:29:44 AM
Hello,

This mod is amazing and it would be very useful if there is css file to change background and size of the avatars. It would be more simple...  :D
Now I had to create classes because I don't know which files need to be edited inline.

Thanks and keep it up.  ;)
Title: Re: SMF Hall Of Fame
Post by: GigaWatt on July 13, 2018, 06:34:20 AM
Yeah, an avatar resize feature would be nice :).
Title: Re: SMF Hall Of Fame
Post by: SychO on July 13, 2018, 11:01:33 AM
Updated.

Version 1.1
----------------------------------
+Added Table Layout (Third Layout)
+Added Option to change "Hall Of Fame" Title
+Added option to change Avatar Size(member element size)(Grid Layout)
!Switched to Integration hooks
!Page Responsive(As long as the theme used is responsive)
!Improved Admin interface
!Grouped all CSS codes in one file
----------------------------------
Title: Re: SMF Hall Of Fame
Post by: GigaWatt on July 13, 2018, 11:35:57 AM
Damn, you practically rewrote the thing :D. It should be 2.0 :D.
Title: Re: SMF Hall Of Fame
Post by: pocttopus on July 13, 2018, 12:57:06 PM
Wooow... this was fast update.  ;D ;)
Thanks a lot, I like the new third option of page layout... and more compact admin page.

Keep it up!  :)
Title: Re: SMF Hall Of Fame
Post by: njtweb on July 13, 2018, 01:17:08 PM
Updated.

Version 1.1
----------------------------------
+Added Table Layout (Third Layout)
+Added Option to change "Hall Of Fame" Title
+Added option to change Avatar Size(member element size)(Grid Layout)
!Switched to Integration hooks
!Page Responsive(As long as the theme used is responsive)
!Improved Admin interface
!Grouped all CSS codes in one file
----------------------------------

*Installed

As you know I plan to use this differently. Is there a way to choose an avatar and hyper link it with a redirect to a different URL?

Thanks!
Title: Re: SMF Hall Of Fame
Post by: SychO on July 13, 2018, 01:33:44 PM
As you know I plan to use this differently. Is there a way to choose an avatar and hyper link it with a redirect to a different URL?

Thanks!

Avatars and links are automatically set according to the member, So no you can't change that manually.

It's possible put it would require code rewriting and possibly database changes, I'd say this isn't the mod you want for what you're trying to accomplish, as it sounds entirely different.
Title: Re: SMF Hall Of Fame
Post by: njtweb on July 13, 2018, 01:35:30 PM
As you know I plan to use this differently. Is there a way to choose an avatar and hyper link it with a redirect to a different URL?

Thanks!

Avatars and links are automatically set according to the member, So no you can't change that manually.

It's possible put it would require code rewriting and possibly database changes, I'd say this isn't the mod you want for what you're trying to accomplish, as it sounds entirely different.

Ok, no problem. Great work, everything from the admin console to the front end is awesome. Well done.
Title: Re: SMF Hall Of Fame
Post by: Plus on July 14, 2018, 03:51:52 PM
can see visitors ?
Title: Re: SMF Hall Of Fame
Post by: SychO on July 14, 2018, 03:57:02 PM
can see visitors ?

Only If the visitors can see the Memberlist

In the future I will add a permission setting
Title: Re: SMF Hall Of Fame
Post by: Study Force on July 14, 2018, 09:06:14 PM
Love that you can add your own class, now that's forward thinking.

I created something like this a long time ago, glad there's now a supported mod https://biology-forums.com/index.php?action=staff
Title: Re: SMF Hall Of Fame
Post by: Veee on July 25, 2018, 07:00:51 PM
This is such a neat idea of a mod.  :P

Thank you!!

---

I am having an issue with it, and I might be the only one since no one else reported it... anyway,

...when I try to remove an user or a class it doesn't let me. it shows a "403 forbidden" page.  :o :o :o
Title: Re: SMF Hall Of Fame
Post by: SychO on July 26, 2018, 05:39:24 AM
This is such a neat idea of a mod.  :P

Thank you!!

---

I am having an issue with it, and I might be the only one since no one else reported it... anyway,

...when I try to remove an user or a class it doesn't let me. it shows a "403 forbidden" page.  :o :o :o

I see, uninstall the mod & make sure you check " Remove all data associated with this modification. " delete the mod package,
After that download this package (https://custom.simplemachines.org/mods/index.php?mod=4185) and install it
tell me if it still happens
Title: Re: SMF Hall Of Fame
Post by: pocttopus on July 26, 2018, 08:34:58 AM
What's new updates from today?  ???
Title: Re: SMF Hall Of Fame
Post by: SychO on July 26, 2018, 08:55:50 AM
fixed an issue with the db table I hadn't noticed, if you can't delete a class or a user from a class, than definitely do as I posted above, and update, otherwise don't.
Title: Re: SMF Hall Of Fame
Post by: pocttopus on July 26, 2018, 09:08:57 AM
I don't have any issues with deleting class or a user.  O:)
Thanks anyway for the report.  ;)
Title: Re: SMF Hall Of Fame
Post by: Veee on July 26, 2018, 10:54:57 AM
This is such a neat idea of a mod.  :P

Thank you!!

---

I am having an issue with it, and I might be the only one since no one else reported it... anyway,

...when I try to remove an user or a class it doesn't let me. it shows a "403 forbidden" page.  :o :o :o

I see, uninstall the mod & make sure you check " Remove all data associated with this modification. " delete the mod package,
After that download this package (https://custom.simplemachines.org/mods/index.php?mod=4185) and install it
tell me if it still happens

Thank you for trying to help. I just installed again and it gives me the same error.  :( :o
I also installed it in a clean board and it's the same. When I click to delete a class and it gives me that 403 forbidden page, it also blocks my ip from the server... is this related to the server and not the mod? I never had it happen with a mod before...
Title: Re: SMF Hall Of Fame
Post by: SychO on July 26, 2018, 11:21:56 AM
is this related to the server and not the mod? I never had it happen with a mod before...

Probably not from the mod,
Can you check the error log and see if there is anything ?

if there is nothing check if the folders chmod are set to 755 and files to 644
Title: Re: SMF Hall Of Fame
Post by: Kindred on July 26, 2018, 12:18:22 PM
403 is almost invariably due to the host having mod_security misconfigured.
Ask the host to turn OFF mod_security.
Title: Re: SMF Hall Of Fame
Post by: Veee on July 26, 2018, 01:22:40 PM
mod_security is off due to another issue I had previously... I think you, Kindred, were the one that helped me with that one. ;)

permissions are set the right way and there's nothing on the error log....

Thanks both for trying to help out!

If there's nothing else to be done, I will just uninstall and install the mod whenever I want to make any changes...
Title: Re: SMF Hall Of Fame
Post by: Kindred on July 26, 2018, 01:40:21 PM
hmmm.... since you're still getting a 403, I would suspect that they did not turn OFF mod_security but merely changed the configuration so that your previous issue was resolved.
Title: Re: SMF Hall Of Fame
Post by: Veee on July 26, 2018, 05:08:10 PM
hmmm.... since you're still getting a 403, I would suspect that they did not turn OFF mod_security but merely changed the configuration so that your previous issue was resolved.

I checked modsecurity in cpanel... is that the same thing? It was turned on. But I am 100% sure the other time they disabled it.   :o I turned it off and the mod is now working fine!! Thanks again, Kindred!!  ;D

Shall I keep modsecurity turned on/off? When I turned it off it showed a message saying it should be kept on for extra security proposes...

Thank you :) 
Title: Re: SMF Hall Of Fame
Post by: Kindred on July 26, 2018, 08:53:46 PM
It is not necesarry with smf. Smf has very good security on its own
Title: Re: SMF Hall Of Fame
Post by: Veee on July 28, 2018, 10:27:01 AM
It is not necesarry with smf. Smf has very good security on its own

Good to know. Thanks! :)
Title: Re: SMF Hall Of Fame
Post by: pocttopus on September 07, 2018, 02:59:36 PM
What is today's change log update?  :-\
The version is still 1.1  ???
Title: Re: SMF Hall Of Fame
Post by: SychO on September 07, 2018, 03:17:56 PM
What is today's change log update?  :-\
The version is still 1.1  ???

There haven't been any updates, just changed the mod info, if there are any updates it'll be posted and the version number will surely change  :)
Title: Re: SMF Hall Of Fame
Post by: ORIONzitos on March 22, 2019, 10:09:45 AM
PT-BR Translation \o  8)

Total of Translation: 11
Title: Re: SMF Hall Of Fame
Post by: SychO on March 22, 2019, 10:22:38 AM
thank you :)
Title: Re: SMF Hall Of Fame
Post by: SychO on March 22, 2019, 03:31:28 PM
Updated
Title: Re: SMF Hall Of Fame
Post by: Bigguy on March 22, 2019, 03:58:49 PM
Works good, thank you. :)
Title: Re: SMF Hall Of Fame
Post by: Rock Lee on March 22, 2019, 08:00:01 PM
t's great that the modification is updated for that reason also update the translations into Latin Spanish :D!


Regards!
Title: Re: SMF Hall Of Fame
Post by: SychO on March 23, 2019, 05:51:34 AM
t's great that the modification is updated for that reason also update the translations into Latin Spanish :D!


Regards!

Thanks Lee, you Rock! (no pun intended :3)
Title: Re: SMF Hall Of Fame
Post by: goxy95 on April 27, 2019, 09:25:32 PM
I see that nobody reported this problem, I probably just have it...
http://prntscr.com/nhrx6t
http://prntscr.com/nhrx94
does not show me the image of the icon
Title: Re: SMF Hall Of Fame
Post by: SychO on April 28, 2019, 10:28:27 AM
That's a theme setting, not the mod