Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=386)
Add Stars to Profile
Original Author: Gary M. Gadsdon
SMF Version: 2.0.X
Mod Version: 2.1
Description:
A Basic Mod, this will add a membergroups stars/banners to your profile page for the default theme. Initially created by Gary M Gadson it has recently been taken over by myself and updated to work with all current versions of SMF.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi15.photobucket.com%2Falbums%2Fa351%2Fgazmanafc%2Fstarsonprofile.jpg&hash=a2ddebd6df436908f6bd159dc3f53656c95cf205)
Changelog:
v2.1
-Removed Support for 1.1.x
v2.0
-Taken Over by Runic
Why Not Visit:
http://www.smfhacks.com (http://www.smfhacks.com)
Thanks it works great...!
How can I modify profile.template.php to remove the "Position:" text and value....
Also, where do I edit the "Stars:" text at to say something different?
Look for $txt['stars']
in profile.template.php and replace it with whatever you want.
Quote from: AwwLilMaggie on July 17, 2006, 11:41:24 AM
Look for $txt['stars']
in profile.template.php and replace it with whatever you want.
Thanks... that was an easy fix... :D
8: Use of undefined constant stars - assumed 'stars'
File: /home/xxxxxxxxx/public_html/forum/Themes/default/languages/Who.english.php (eval?)
Line: 120
Strange, this mod doesnt even have anything to do with Who.english.php
-AwwLilMaggie
Quote from: AwwLilMaggie on July 18, 2006, 06:37:19 AM
Strange, this mod doesnt even have anything to do with Who.english.php
-AwwLilMaggie
lol, not sure what to tell you, lol. I removed the mod and the errors stopped to ;)
IM getting the same error in my error log.
8: Use of undefined constant stars - assumed 'stars'
File: /home/8888888/public_html/forum/Themes/default/languages/Who.english.php (eval?)
Line: 120
If you are getting the error
Quote
8: Use of undefined constant stars - assumed 'stars'
File: /home/8888888/public_html/forum/Themes/default/languages/Who.english.php (eval?)
Line: 120
Open Themes/default/languages/Profile.template.php
goto line 120
and change $txt[stars] to $txt['stars']
That will get rid of the error
Hmm... I'll better fix that then. :P
It doesnt show on my forum coz I hard coded it in.
EDIT: Fixed. It's now in 1.0.1 (I like new version numbers. ;))
-AwwLilMaggie
lol well that was an easy fix
Heh yeah. I guess so. I guess I wasnt paying close attention. You can use 1.0.1 rather than 1.0 and away you go. ;)
-AwwLilMaggie
Might be fun will give it a try some members may enjoy it. ;D
Looking good :D
Installed it to my new version SMF 1.1 forum without difficulty. So far, so good. :)
Works great, thanks for the mod!
i know this topic is old :P
but i would just like to say that this mod also works on Version 1.1.3
thanks for the great mod :D
And it also works perfectly on version 1.1.5 :D
Anna
Is this being updated for v2.0 b3.1?
No, not yet. I've not gotten around to it. And when I do wont be for a while yet.
No problem, was just wondering. I use it currently on 1.1.5 and really like it! Adds a nice touch!
this is a old topic :D
But it also works on 1.1.8
I have just one problem! I am missing the double point (don't know what it is in englisch but i mean this sign : ) after the woord STARS in the profile?
Anyone a idee how to solve this and were?
I think this is a nice mod and many users use it....
Grtz
Just add the colon after ', $txt['stars'], '
in Profile.template.php
Quote from: Gazmanafc on April 27, 2009, 06:37:21 PM
Just add the colon after ', $txt['stars'], '
in Profile.template.php
Yes colon, thats the right word!
I dont'know exacly what you mean, do you mean this?
', $txt['stars'], ':
If no, can you write it?
Grts
Yup, that's exactly what I mean.
Yes it works! how simple can it be! Thanks a lot! ;D
GrtZ Patrick
Hi. Is there a way instead of saying Stars, to change it to something else?
using smf 1.1.9
Thanks
Joe
Change the $txt['stars'] string in Modifications.english.php to something else.
Hi
I installed this mod. I got an error with the profile.template.php. Using SMF 2.0 RC1
Attached profile.template.php
That would be because, at the moment, it is not compatible with 2.0
Please Can It?
<file name="$languagedir/Modifications.turkish.php">
<operation>
<search position="end" />
<add><![CDATA[
$txt['stars'] = 'Yildizlar:';
]]></add>
</operation>
</file>
;) :)
Can you update this mod also for 2.0 RC4 because I really don't like that ugly profile symbols in that version I'd rather have stars. Thanks in advance!
That's nothing to do with this mod.
Quote from: Gazmanafc on November 29, 2010, 04:05:31 PM
That's nothing to do with this mod.
What do you mean it can't be updated or fixed for 2.0 RC4? (black rain v2 theme)
No. It can be updated, I'm just too busy to do so. What you're asking has nothing to with this mod at all. Just replace the current images with whatever you want.
Greetings,
what about SMF 1.1.10 / 1.1.12? Also, does this work only for stars or any custom made ranks? Thanks.
Best Regards,
SS-Totenkopf
It should support any 1.1 based version. It'll work on all membergroups and display their star images that's been set in the admin center
This mod has been taken over by myself and has been updated for 1.1.X and 2.0.X ... it will also be added to the combo mod of Badges in User Panel and Signature Mod (http://custom.simplemachines.org/mods/index.php?mod=2375) where it will have slightly enhanced options.
Very fajan modification, thank you
im guessing this is a good comment so thank you :)
How would a user add this to the Ultimate profile mod?
no idea
Quote from: Runic on March 24, 2012, 08:07:10 AM
no idea
(must stop edits in the early hours).
I meant the section of code I would need to add this to the Ultimate Profile mod.
:-[
my answer remains ... I have never used that mod, never looked at the coding, id assume that it be the same but search the mods new files for what it changes :)
Am looking into it now.
let me know what you find :)
try to check the mod version
technical4u28: do you use the ultimate profile mod along with this one? if so how did you get around it.
Runic
Have a look at Masterds mod which does the same thing.
:)
Masterd hasn't been about since December 2012.
Really?
I took over this mod so I could incorporate it into my other mod that is similar:
http://custom.simplemachines.org/mods/index.php?mod=2375
In the images folder, what is this mod call because I am looking at 1)star.gif 2)starmod. gif 3)staradmin.gif 4)star.gif and they are all those default colored blocks when I open click the image.
Thanks in advance.
This mod adds no images to your forum. It adds the star images as set for the membergroups as defined in your admin center.
Quote from: Gary on May 27, 2013, 04:55:07 AM
This mod adds no images to your forum. It adds the star images as set for the membergroups as defined in your admin center.
So where exactly is the "starstoprofile" folder supposed to be located in the ftp (I am using a custom theme) just in the dafault folder?
And in the space next to {theme URL}/images/, do I remove "star.gif"? Im not 100% clear on how this works.
In my ftp, the starstoprofile zip file is not opening/extracting.
cheesehead05 ... go to Admin - Package Manager - Download Packages
here you will see Upload a Package click on browse and find the .zip of the mod that is on your computer then click upload
Quote from: Runic on May 28, 2013, 10:54:12 PM
cheesehead05 ... go to Admin - Package Manager - Download Packages
here you will see Upload a Package click on browse and find the .zip of the mod that is on your computer then click upload
I have done that and it is listed as the current version in the Browse Package area but in the FTP, I cant extract it into my custom theme under images. Then I extracted it on my computer but there is no image files.
this mod does not add images, it makes the stars or badge that has been defined before show up in your profile, all it does it alter some code.
For example when you visit my profile:
www.simplemachines.org/community/index.php?action=profile;u=23577 (http://www.simplemachines.org/community/index.php?action=profile;u=23577)
Where my name is you see
Runic
Project Manager
If we installed this mod here you would see
Runic
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmedia.simplemachinesweb.com%2Fimages%2Fbadges%2Fbadge_manager.png&hash=4f32bc1eeecb6a12c7e4bb26f397237b12d6a1c3)
Project Manager
It uses the star or image that is aready there.
okay. So what do I type in the blank space after I remove star.gif? And Im now assuming that the zip file doesnt have to be in a specific folder right because as long as it is running as current version with the green dot, it should work regardless of where the file is in the ftp?
Hello?
After I remove 'stars.gif' from the space, what do I replace it with so that the stars will show??
you dont remove star.gif. You dont remove anything for this mod.
Honestly, this is the most confusing mod....lol....then y arent my stars showing up? I installed the mod....
cause you have stated you have removed the stars ...
But the thing is, is that I am using a custom theme and not on default so that is probably the issue.. ???
Quote from: Old Fossil on March 23, 2012, 11:09:02 PM
How would a user add this to the Ultimate profile mod?
It is working on my ultimate profil and i didnt change anything.
Quote from: CheeseHead05 on June 01, 2013, 06:13:17 PM
But the thing is, is that I am using a custom theme and not on default so that is probably the issue.. ???
Can you attach your Profile.template.php please
Here u go..
Profile.template not Display.template
Quote from: Runic on June 02, 2013, 11:20:22 AM
Profile.template not Display.template
Sorry Runic..Heres the request..
Does this mod only work in the default theme?
the mod is installed on the theme, do you have a link to your site?