News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Add Stars to Profile

Started by vbgamer45, July 17, 2006, 03:28:23 AM

Previous topic - Next topic

vbgamer45

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

PrizeLive.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?
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

Gary

Look for $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.

PrizeLive.com

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
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

littleone

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

Gary

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.

littleone

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

trenchteam

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

karlbenson

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

Gary

#9
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
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.

littleone

lol well that was an easy fix

Gary

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.

Skipdawg

Might be fun will give it a try some members may enjoy it.  ;D
Skipdawg's Community

Powered by SMF 1.1.3

Vinspire


Krysia

Installed it to my new version SMF 1.1 forum without difficulty. So far, so good. :)




Murdoc_LaCN

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

goaskanna

And it also works perfectly on version 1.1.5 :D

Anna

tk2012

Is this being updated for v2.0 b3.1?


Gary

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.

Advertisement: