Advertisement:

Author Topic: SMF Hall Of Fame  (Read 3061 times)

Online SychO

  • Lone Wolf
  • Customizer
  • Full Member
  • *
  • Posts: 660
  • Gender: Male
    • SychO9 on GitHub
    • SychO
SMF Hall Of Fame
« on: July 10, 2018, 11:06:49 AM »
Link to Mod

SMF Hall Of Fame Mod

A Hall Of Fame Page Where You can Add Notable Members.
Simple and Easy Admin page, Two possible layouts to choose from, and possibility to add sections to the page.

Live Demo: http://dzignmz.22web.org/forum/index.php?action=hof
Spanish Translation By: Rock Lee
Russian Translation By: digger
Github

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

Version 1.0
----------------------------------
!Mod Creation.
----------------------------------


sycho.22web.org

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,562
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Hall Of Fame
« Reply #1 on: July 10, 2018, 11:27:10 AM »
Great idea!
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Online Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,002
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: SMF Hall Of Fame
« Reply #2 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!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,662
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • Whats Ur Beef
Re: SMF Hall Of Fame
« Reply #3 on: July 10, 2018, 02:36:27 PM »
Very nice. I like it.

Online SychO

  • Lone Wolf
  • Customizer
  • Full Member
  • *
  • Posts: 660
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: SMF Hall Of Fame
« Reply #4 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.

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,441
  • Gender: Male
    • Macedonian electronics forum
Re: SMF Hall Of Fame
« Reply #5 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 ;).
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline d3vcho(void)

  • Sempiterno
  • Lead Localizer
  • SMF Hero
  • *
  • Posts: 2,972
  • Gender: Male
    • frandominguez03 on GitHub
    • @_d3vcho on Twitter
Re: SMF Hall Of Fame
« Reply #6 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 :)
"Demons are like obedient dogs; they come when they're called"

d3vcho(void)

Online SychO

  • Lone Wolf
  • Customizer
  • Full Member
  • *
  • Posts: 660
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: SMF Hall Of Fame
« Reply #7 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.

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,441
  • Gender: Male
    • Macedonian electronics forum
Re: SMF Hall Of Fame
« Reply #8 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 ;).
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Online SychO

  • Lone Wolf
  • Customizer
  • Full Member
  • *
  • Posts: 660
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: SMF Hall Of Fame
« Reply #9 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.

Online Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,002
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: SMF Hall Of Fame
« Reply #10 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!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline efk

  • Jr. Member
  • **
  • Posts: 134
  • Gender: Male
Re: SMF Hall Of Fame
« Reply #11 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

Online SychO

  • Lone Wolf
  • Customizer
  • Full Member
  • *
  • Posts: 660
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: SMF Hall Of Fame
« Reply #12 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

Offline efk

  • Jr. Member
  • **
  • Posts: 134
  • Gender: Male
Re: SMF Hall Of Fame
« Reply #13 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?

Online SychO

  • Lone Wolf
  • Customizer
  • Full Member
  • *
  • Posts: 660
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: SMF Hall Of Fame
« Reply #14 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.

Offline njtweb

  • Full Member
  • ***
  • Posts: 582
Re: SMF Hall Of Fame
« Reply #15 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?


Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,458
    • StoryBB/StoryBB on GitHub
Re: SMF Hall Of Fame
« Reply #16 on: July 12, 2018, 08:12:40 AM »
Edits to Admin.php can be avoided in almost all cases by hooks ;)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Online SychO

  • Lone Wolf
  • Customizer
  • Full Member
  • *
  • Posts: 660
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: SMF Hall Of Fame
« Reply #17 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.



Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,458
    • StoryBB/StoryBB on GitHub
Re: SMF Hall Of Fame
« Reply #18 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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline njtweb

  • Full Member
  • ***
  • Posts: 582
Re: SMF Hall Of Fame
« Reply #19 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.