Page 1 of 5

[ABD] UserStars

Posted: Wed Mar 26, 2008 4:54 pm
by stickerboy
MOD Name: UserStars
MOD Version: 1.0.0
Author: cherokee red
MOD Description: Admins can give any user a 'Star'.
The Star is an image that will show next to their username in viewtopic and profiles.
This Star can be used as a reward system - good users get a Star. Or for marking donators to your site.
You can set, per user, text that will show up when you hover over the users star image.

Works with:
  • prosilver based styles
Planned Features: (Milestone 1)
  • Turn on/off per-user
    User Stars to show in these locations by default -
  • Viewtopic
  • Viewprofile
  • Memberlist/Profile
Planned Features: (Milestone 2)
  • Add new field in ACP section where admins can define the location of the Star image
  • Add new field in ACP section where admins can define text to be show when someone hovers over the Star image. (ie. 'UserX is Power Member', 'UserX has donated to foo.com', 'UserX is a donator')
  • Add Star to Viewonline page
Planned Features: (Milestone 3)
  • Add Star to Who's Online (Index/Forum)
  • Add Star to Friends/Foes UCP Block
  • Add Star to Groups/Teams page
- Feature not complete
- Feature partially completed
- Feature Complete
█ - Feature not started

Language: en
Licence: N/A

Installation Level: Moderate
Installation Time: ~15

Download: http://stickerboy.github.io/phpbb-snipp ... ser-stars/

Translations
Dutch Translation by JohanG-NL - phpBB.nl Support Team Member - no longer available sorry

Notes:

Code: Select all

## This is *NOT* a reputation MOD and never will be.
## This MOD does *NOT* give users extra permissions if they have a star.
## It's just a simple way of pointing out donators/helpers without mucking up ranks and custom titles 
This reasons for this are for my love of the 'simple' MOD
Any other suggestions are welcomed.

This is a remake of my phpBB2 MOD - note that I will not be providing an upgrade path from the phpBB2 version to phpBB3. I might add support for subSilver2, but I haven't decided yet. Please don't post about this.

Re: [DEV] User Stars

Posted: Wed Mar 26, 2008 5:15 pm
by jimcarrel
I like the sound of this.
Like you mentioned, I like the way I have ranks already set up, it also saves from messing around with special groups.

Good Idea! :idea:

Re: [DEV] User Stars

Posted: Thu Mar 27, 2008 12:33 pm
by flexx
nice mod....I'll wait for it :)

Re: [DEV] User Stars

Posted: Thu Mar 27, 2008 2:06 pm
by Scofield112
I'll wait too..
Coll mod.. :!:

Re: [DEV] User Stars

Posted: Sat Mar 29, 2008 5:30 am
by COOL_CORGI
Nice, I look forward to using your phpBB3 version of the MOD.
Do you think you could set it up to allow different users to have different images? :D

Re: [DEV] User Stars

Posted: Sat Mar 29, 2008 5:56 am
by soundboy
Sounds good ;)
Good luck :)

Re: [DEV] User Stars

Posted: Wed Apr 02, 2008 3:33 pm
by stickerboy
Ok, I have a demo up and working now - link is in the 1st post.
The basics are done at the moment: Admin's can enable/disable user star from the Manage Users 'Overview' section.
Currently the image is hard-coded and only shows in Viewtopic.
Once I get M1 complete (which won't take long), I'll release the 1st Beta and start M2 :)

Re: [BETA] User Stars 0.0.1

Posted: Wed Apr 02, 2008 10:29 pm
by stickerboy
It's great being off work, you get so much done :) (just wish I wasn't back tomorrow).
Beta 0.0.1 is now released - download link in 1st post. That's M1 now complete.
Let me know of any install troubles and also, if you can, give me an estimate on your installation time? :mrgreen:

Re: [BETA] User Stars 0.0.1

Posted: Thu Apr 03, 2008 3:27 am
by jimcarrel
looks like these are reversed for find and add

Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
Code: Select All

Code: Select all

					'USER_INACTIVE_REASON'	=> $inactive_reason,
Find
Tip: This may be a partial find and not the whole line.

Code: Select All

Code: Select all

					'USER_STAR'	=> $user_row['user_star'],
I'm still adjusting for an install into a subsilver based style, but its going good so far.

Re: [BETA] User Stars 0.0.1

Posted: Thu Apr 03, 2008 4:21 am
by jimcarrel
UUmmm, I've lost memberlist, its blank,,,, that sounds familiar, but can't locate the usual causes.
It seemed easy, just quite a few edits for a little star, but I wanted the star.

I'll try to get it back tomorrow.

Re: [BETA] User Stars 0.0.1

Posted: Thu Apr 03, 2008 7:40 am
by stickerboy
Thanks for noticing that Jim - I've repacked the install file with updated instructions :)

Re: [BETA] User Stars 0.0.1

Posted: Thu Apr 03, 2008 10:06 pm
by jimcarrel
Rats, I had to let you know that I had to back this thing out to get my memberlist view back.
Memberlist.php always has been a sticky file for me. You had a little differnt edits in this latest upload. I thought it would have fixed my problem, but no.
I wish some others would report back on this beta.
Anyway, please keep hacking away at it.

Re: [BETA] User Stars 0.0.1

Posted: Sun Apr 20, 2008 8:20 pm
by *Christian*
Installed Mod, executed SQL, purged cache, refreshed template, enabled star - Nothing :|

Re: [BETA] User Stars 0.0.1

Posted: Sun Apr 20, 2008 8:42 pm
by DarkBeing
Hey was just trying to have a look at your demo, but got this error.
General Error
template->_tpl_load_file(): File ./styles/prosilver/template/home_body.html does not exist or is empty

Please notify the board administrator or webmaster
Otherwise, curious to see this mod finished ^^

Re: [BETA] User Stars 0.0.1

Posted: Sun Apr 20, 2008 8:49 pm
by stickerboy
Ah, i'm running a custom template and have that as my default.
I never log out so I forgot to update prosilver :oops:
Should be fixed now - I have enabled the star on my account there.

*Christian* - can I have a link to your board?
MOD works fine on my test board

*edit*
properly fixed the homepage now :P