[ABD] UserStars

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

[ABD] UserStars

Post 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.
Last edited by stickerboy on Mon Sep 08, 2014 11:00 pm, edited 21 times in total.
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
jimcarrel
Registered User
Posts: 671
Joined: Fri Jul 27, 2007 10:49 pm
Location: Oklahoma City, Oklahoma

Re: [DEV] User Stars

Post 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:
Grace--Getting what I don't deserve
Mercy--Not getting what I do deserve
flexx
Registered User
Posts: 75
Joined: Thu Aug 30, 2007 8:16 pm

Re: [DEV] User Stars

Post by flexx »

nice mod....I'll wait for it :)
Scofield112
Registered User
Posts: 87
Joined: Sat Feb 02, 2008 11:39 am

Re: [DEV] User Stars

Post by Scofield112 »

I'll wait too..
Coll mod.. :!:
Sorry for my bad English :)
Image
Image
User avatar
COOL_CORGI
Registered User
Posts: 9
Joined: Thu Aug 30, 2007 3:13 am

Re: [DEV] User Stars

Post 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
User avatar
soundboy
Registered User
Posts: 117
Joined: Wed May 30, 2007 5:25 am
Location: Australia
Contact:

Re: [DEV] User Stars

Post by soundboy »

Sounds good ;)
Good luck :)
Broadcasting World
Forum For Shoutcast Users, Online DJ's, Broadcasters And Podcasters!
Come Join!
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Re: [DEV] User Stars

Post 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 :)
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Re: [BETA] User Stars 0.0.1

Post 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:
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
jimcarrel
Registered User
Posts: 671
Joined: Fri Jul 27, 2007 10:49 pm
Location: Oklahoma City, Oklahoma

Re: [BETA] User Stars 0.0.1

Post 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.
Grace--Getting what I don't deserve
Mercy--Not getting what I do deserve
jimcarrel
Registered User
Posts: 671
Joined: Fri Jul 27, 2007 10:49 pm
Location: Oklahoma City, Oklahoma

Re: [BETA] User Stars 0.0.1

Post 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.
Grace--Getting what I don't deserve
Mercy--Not getting what I do deserve
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Re: [BETA] User Stars 0.0.1

Post by stickerboy »

Thanks for noticing that Jim - I've repacked the install file with updated instructions :)
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
jimcarrel
Registered User
Posts: 671
Joined: Fri Jul 27, 2007 10:49 pm
Location: Oklahoma City, Oklahoma

Re: [BETA] User Stars 0.0.1

Post 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.
Grace--Getting what I don't deserve
Mercy--Not getting what I do deserve
User avatar
*Christian*
I've Been Banned!
Posts: 884
Joined: Sat Nov 03, 2007 1:35 pm
Location: Location, Location.

Re: [BETA] User Stars 0.0.1

Post by *Christian* »

Installed Mod, executed SQL, purged cache, refreshed template, enabled star - Nothing :|
Proud owner of Bertie 3.0
:: No support via PM or IM ::
User avatar
DarkBeing
Registered User
Posts: 126
Joined: Wed Mar 28, 2007 5:31 pm
Location: atm Estonia
Name: Sven

Re: [BETA] User Stars 0.0.1

Post 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 ^^
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Re: [BETA] User Stars 0.0.1

Post 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
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
Locked

Return to “[3.0.x] Abandoned MODs”