Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SSimple Team on December 08, 2008, 11:11:09 PM

Title: Post Group Stars (1.1.X & 2.X)
Post by: SSimple Team on December 08, 2008, 11:11:09 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1530)

(http://bit.ly/kZVDB6)

Post Group Stars
Created by Manix (http://www.smfsimple.com/index.php?action=profile;u=2501) for SMFSimple.com (http://www.smfsimple.com)
Developed by 4Kstore (http://www.smfsimple.com/index.php?action=profile;u=55) for SMFSimple.com (http://www.smfsimple.com)
SMF 2.0 - 2.0.X

PostGroupStars-1.0.zip ----> 1.1.X SMF VERSION
PostGroupStars-1.0(ForSMF2.x).zip ----> 2.0.X SMF VERSION

Description:
This mod will display the stars of the post group according to a specific member group. The regular group stars also are displayed.

Descripcion:
Este mod mostrará las estrellas de los grupos basados en el conteo de mensajes y además mostrará las estrellas de los grupos regulares. Los grupos a los que se les mostrará las estrellas basados en el conteo de mensajes son especificados por el ID en la area de administración



Screenshots | Imagenes

(http://img19.imageshack.us/img19/9011/imagen000kk.png)

(http://img560.imageshack.us/img560/9171/imagen001p.png)



Language Support | Lenguajes Soportados
English & Spanish


Settings
 - In post - display additional the stars in order you entered in
   Admin -> Features and Options -> Basic Features -> Arrange group id to be displayed
   the post group stars in post.
 - If textbox is blank, this mod will not display the stars of any group.

Administration Center » Configuration » Current Theme
Hide post group titles for grouped members:

Configuracion
 - En los post - desplegará las estrellas de los grupos basados en el conteo de mensajes,
   especificando los ID de los grupos primarios en:
   Administracion -> Caracteristicas y opciones -> Caracteristicas basicas -> ID de los grupos que mostraran las estrellas.
 - Si el espacio para los ID esta en blanco entonces las estrellas no se mostraran para ningun
   grupo primario

(http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png) (http://creativecommons.org/licenses/by-nc-sa/3.0/)
Title: Re: Post Group Stars
Post by: Skargon on December 18, 2008, 08:51:55 PM
Attempted to install mod... received

1. Execute Modification ./Sources/Load.php Test failed

Help?
Title: Re: Post Group Stars
Post by: manixless on December 18, 2008, 08:55:08 PM
hi

please attach the  ./Sources/Load.php ;)

Title: Re: Post Group Stars
Post by: GIMWD on December 19, 2008, 02:03:17 AM
i installed this mod in my SMF 1.1.7. in features and options option is there but i coudnt see any stars.i installed another theme.we have set anything extra for other themes than default..
Title: Re: Post Group Stars
Post by: manixless on December 19, 2008, 02:09:24 AM
i installed this mod in my SMF 1.1.7. in features and options option is there but i coudnt see any stars.i installed another theme.we have set anything extra for other themes than default..

which theme you use? if the theme that you use have a custom Display.template.php attach it

edit:
I am on vacation, will return on January 18
Title: Re: Post Group Stars
Post by: JungleBunny on January 01, 2009, 07:04:16 AM
Nice mod !
Using it with 1.1.4 and works OK :D :D :D :D

Thanks 8)
Title: Re: Post Group Stars
Post by: Pwn Kyuubi on January 04, 2009, 04:10:57 PM
suscesfully installed on 1.1.7 =) Thanks.
Title: Re: Post Group Stars
Post by: manixless on January 04, 2009, 04:14:26 PM
Nice mod !
Using it with 1.1.4 and works OK :D :D :D :D

Thanks 8)

suscesfully installed on 1.1.7 =) Thanks.

thanks ;)
Title: Re: Post Group Stars
Post by: Neverhurry on May 20, 2009, 12:56:37 PM
hello, i like this mod very much, but when i wanted to install i have a "./Sources/Load.php Test failed ", please could you have a look at my load.php in the attachment?
Title: Re: Post Group Stars
Post by: manixless on May 20, 2009, 03:42:46 PM
hello

I have already made changes needed, test it, if gue get any error message or still doesn't work post it again and specify wich template ar you using

thanks
Title: Re: Post Group Stars
Post by: Neverhurry on May 20, 2009, 04:00:32 PM
Thank you Manfred,

here again the error:

Parse error: syntax error, unexpected T_FOREACH in /home/veryeuro/public_html/cinask/Sources/Load.php on line 1359


i used the load.php from your attachment.
Title: Re: Post Group Stars
Post by: manixless on May 20, 2009, 05:26:43 PM
ok, just let me arrive at home, cause I am on working hours. I will check the load.php as soon as possible tonigh
thank you
Title: Re: Post Group Stars
Post by: manixless on May 21, 2009, 01:13:15 AM
hello just take a look  the load.php of previw post
thanks
Title: Re: Post Group Stars
Post by: Neverhurry on May 21, 2009, 08:39:02 AM
hello just take a look  the load.php of previw post
thanks

Thank you Manfred, i gave up the idea to install this mod.
Title: Re: Post Group Stars
Post by: noelchiew on May 26, 2009, 03:24:04 PM
I also have a problem with load.php

Using the parser, it says:

Find:
Code: [Select]
'local_time' => timeformat(time() + ($profile['timeOffset'] - $user_info['time_offset']) * 3600, false),
);

But there is no such line in my load.php. The closest I have is:
Code: [Select]
$localTime = timeformat(time() + ($profile['timeOffset'] - $user_info['time_offset']) * 3600, false);
What should I do next? I'm on 1.1.9.
Title: Re: Post Group Stars
Post by: manixless on May 26, 2009, 05:03:11 PM
I also have a problem with load.php

Using the parser, it says:

Find:
Code: [Select]
'local_time' => timeformat(time() + ($profile['timeOffset'] - $user_info['time_offset']) * 3600, false),
);

But there is no such line in my load.php. The closest I have is:
Code: [Select]
$localTime = timeformat(time() + ($profile['timeOffset'] - $user_info['time_offset']) * 3600, false);
What should I do next? I'm on 1.1.9.


hello

which template are you using?
Title: Re: Post Group Stars
Post by: noelchiew on May 26, 2009, 11:23:23 PM
Which template? You mean which theme? I use a custom theme but if that's what you are asking. :)
Title: Re: Post Group Stars
Post by: manixless on May 27, 2009, 12:48:16 AM
Which template? You mean which theme? I use a custom theme but if that's what you are asking. :)

yes, that what i mena XD
attach your load.php please
Title: Re: Post Group Stars
Post by: noelchiew on May 27, 2009, 01:04:33 AM
Here it is... this is in the sources directory, I didn't know that it may be because of the theme, I thought all files in that directory applies to all themes? :)
Title: Re: Post Group Stars
Post by: manixless on May 27, 2009, 08:20:29 PM
Here it is... this is in the sources directory, I didn't know that it may be because of the theme, I thought all files in that directory applies to all themes? :)

The files in Sourcer dir affect  all themes custom or not. Try with this load.php attached.  ;)

pura vida!!
 
Title: Re: Post Group Stars
Post by: noelchiew on May 28, 2009, 01:49:13 AM
Am I supposed to overwrite my current load.php with this one and then apply the mod ignoring the error?

I guess this is so as I saw the edits you added in and it is working now. Thanks!
Title: Re: Post Group Stars (1.1.X & 2.X)
Post by: 4Kstore on February 11, 2013, 09:37:15 AM
Mod updated to 2.X SMF VERSION.
Enjoy it!
Title: Re: Post Group Stars (1.1.X & 2.X)
Post by: JadeCat95 on February 13, 2013, 12:28:12 AM
I can apply this mod successfully, after manually editing the Load.php because of another mod. However, I'm a bit confused on how to use it.

I'm not quite sure what I'm suppose to put in this box

(https://lh5.googleusercontent.com/-YTqnJltaAYQ/URsi5HrzhBI/AAAAAAAAAqM/jstnDcgKHdo/s664/GroupID.png)


This is the list of my membergroups and ID's

(https://lh4.googleusercontent.com/-jVMl8MsJJFE/URsi5QS20eI/AAAAAAAAAqQ/lOKlyNk4eZQ/s809/Manage+Membergroups.png)

I was assuming that I just needed to put the ID #'s of the badge's I wanted to show in the first box. I am wanting the "Founder" badge (ID #17), the "Chief of Staff" badge (ID #27) and the "Technical Advisor" badge (ID #28) to be shown. However, when I put those three numbers in the "arrange" box, [17,27,28], I get nothing on those members' posts. Yes, I have the additional membergroups ticked on their profiles.

What am I doing wrong? Please help, I'd really like to have this working.
Title: Re: Post Group Stars (1.1.X & 2.X)
Post by: MrMorph on January 30, 2015, 10:50:56 AM
Anyone still using this ?

I installed it, had to make some changes manually. entered the member groups, and nothing changes in the forum.

Is there perhaps another mod that shows both member groups and post based member groups ?
Title: Re: Post Group Stars (1.1.X & 2.X)
Post by: MrMorph on January 30, 2015, 11:18:19 AM
Nevermind, it works, I had forgotten to apply the changes to my custom Display template.
Title: Re: Post Group Stars (1.1.X & 2.X)
Post by: shadav on January 21, 2021, 07:16:34 PM
I know this is old but found some slight errors in the install

install.xml
find
Code: [Select]
<file name="$languagedir/Help.spanish_latin" error="skip">replace
Code: [Select]
<file name="$languagedir/Help.spanish_latin.php" error="skip">
find
Code: [Select]
<file name="$languagedir/Help.spanish_es" error="skip">replace
Code: [Select]
<file name="$languagedir/Help.spanish_es.php" error="skip">
find
Code: [Select]
<file name="$languagedir/Help.spanish_latin-utf8" error="skip">replace
Code: [Select]
<file name="$languagedir/Help.spanish_latin-utf8.php" error="skip">