Advertisement:

Author Topic: Add Stars to Profile  (Read 42909 times)

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,462
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Add Stars to Profile
« on: July 17, 2006, 03:28:23 AM »
Link to Mod

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.


Changelog:

v2.1
-Removed Support for 1.1.x

v2.0
-Taken Over by Runic

Why Not Visit:
http://www.smfhacks.com
« Last Edit: January 14, 2012, 06:55:39 PM by Runic »
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

Offline PrizeLive.com

  • Full Member
  • ***
  • Posts: 683
    • PrizeLive.com
Re: Add Stars to Profile
« Reply #1 on: July 17, 2006, 09:13:42 AM »
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?
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

Online Gazmanafc

  • Sorceress's Knight
  • Support Specialist
  • SMF Super Hero
  • *
  • Posts: 17,784
  • Gender: Male
  • So this is the luck of the draw...
    • Gazmanafc on Facebook
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Add Stars to Profile
« Reply #2 on: July 17, 2006, 11:41:24 AM »
Look for
Code: [Select]
$txt['stars'] in profile.template.php and replace it with whatever you want.
Gary M. Gadsdon
Do NOT PM me unless I say so

War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Offline PrizeLive.com

  • Full Member
  • ***
  • Posts: 683
    • PrizeLive.com
Re: Add Stars to Profile
« Reply #3 on: July 17, 2006, 01:09:41 PM »
Look for
Code: [Select]
$txt['stars'] in profile.template.php and replace it with whatever you want.

Thanks... that was an easy fix...  :D
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

Offline littleone

  • Full Member
  • ***
  • Posts: 482
  • Gender: Male
Re: Add Stars to Profile
« Reply #4 on: July 17, 2006, 08:19:48 PM »
Code: [Select]
8: Use of undefined constant stars - assumed 'stars'
File: /home/xxxxxxxxx/public_html/forum/Themes/default/languages/Who.english.php (eval?)
Line: 120

Online Gazmanafc

  • Sorceress's Knight
  • Support Specialist
  • SMF Super Hero
  • *
  • Posts: 17,784
  • Gender: Male
  • So this is the luck of the draw...
    • Gazmanafc on Facebook
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Add Stars to Profile
« Reply #5 on: July 18, 2006, 06:37:19 AM »
Strange, this mod doesnt even have anything to do with Who.english.php

-AwwLilMaggie
Gary M. Gadsdon
Do NOT PM me unless I say so

War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Offline littleone

  • Full Member
  • ***
  • Posts: 482
  • Gender: Male
Re: Add Stars to Profile
« Reply #6 on: July 18, 2006, 01:16:27 PM »
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 ;)

Offline trenchteam

  • Sr. Member
  • ****
  • Posts: 901
  • Gender: Male
    • NO WALLS STANDING
Re: Add Stars to Profile
« Reply #7 on: July 24, 2006, 07:53:53 AM »
IM getting the same error in my error log.

Code: [Select]
8: Use of undefined constant stars - assumed 'stars'
File: /home/8888888/public_html/forum/Themes/default/languages/Who.english.php (eval?)
Line: 120

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: Add Stars to Profile
« Reply #8 on: August 07, 2006, 02:29:29 PM »
If you are getting the error
Quote
Code: [Select]
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

Online Gazmanafc

  • Sorceress's Knight
  • Support Specialist
  • SMF Super Hero
  • *
  • Posts: 17,784
  • Gender: Male
  • So this is the luck of the draw...
    • Gazmanafc on Facebook
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Add Stars to Profile
« Reply #9 on: August 07, 2006, 02:41:38 PM »
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
« Last Edit: August 07, 2006, 02:45:04 PM by AwwLilMaggie »
Gary M. Gadsdon
Do NOT PM me unless I say so

War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Offline littleone

  • Full Member
  • ***
  • Posts: 482
  • Gender: Male
Re: Add Stars to Profile
« Reply #10 on: August 07, 2006, 09:06:02 PM »
lol well that was an easy fix

Online Gazmanafc

  • Sorceress's Knight
  • Support Specialist
  • SMF Super Hero
  • *
  • Posts: 17,784
  • Gender: Male
  • So this is the luck of the draw...
    • Gazmanafc on Facebook
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Add Stars to Profile
« Reply #11 on: August 07, 2006, 09:28:25 PM »
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
Gary M. Gadsdon
Do NOT PM me unless I say so

War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Offline Skipdawg

  • Sr. Member
  • ****
  • Posts: 895
  • Gender: Male
  • SMF Über Fan!
    • Skipdawg Central
Re: Add Stars to Profile
« Reply #12 on: September 07, 2006, 11:14:03 PM »
Might be fun will give it a try some members may enjoy it.  ;D
Skipdawg's Community

Powered by SMF 1.1.3

Offline Vinspire

  • Sr. Member
  • ****
  • Posts: 852
  • Gender: Male
    • The Box Of Heart Forum
Re: Add Stars to Profile
« Reply #13 on: September 09, 2006, 05:07:07 AM »
Looking good  :D

Offline Krysia

  • Jr. Member
  • **
  • Posts: 377
  • Gender: Female
    • KRYSIA'S WEB
Re: Add Stars to Profile
« Reply #14 on: December 03, 2006, 03:43:11 PM »
Installed it to my new version SMF 1.1 forum without difficulty. So far, so good. :)



Offline buhaychat.com

  • Semi-Newbie
  • *
  • Posts: 49
  • SMF Rocks!
    • BuhayCHAT Online Community for Filipino Adult Chatters
Re: Add Stars to Profile
« Reply #15 on: January 30, 2007, 10:47:15 PM »
Works great, thanks for the mod!

Offline Murdoc_LaCN

  • Semi-Newbie
  • *
  • Posts: 58
Re: Add Stars to Profile
« Reply #16 on: August 18, 2007, 04:09:54 AM »
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

Offline goaskanna

  • Semi-Newbie
  • *
  • Posts: 90
Re: Add Stars to Profile
« Reply #17 on: May 15, 2008, 11:29:29 AM »
And it also works perfectly on version 1.1.5 :D

Anna

tk2012

  • Guest
Re: Add Stars to Profile
« Reply #18 on: July 18, 2008, 11:23:56 PM »
Is this being updated for v2.0 b3.1?


Online Gazmanafc

  • Sorceress's Knight
  • Support Specialist
  • SMF Super Hero
  • *
  • Posts: 17,784
  • Gender: Male
  • So this is the luck of the draw...
    • Gazmanafc on Facebook
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Add Stars to Profile
« Reply #19 on: July 19, 2008, 09:57:11 AM »
No, not yet. I've not gotten around to it. And when I do wont be for a while yet.
Gary M. Gadsdon
Do NOT PM me unless I say so

War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.