Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Member Awards V0.2.1 for YaBB 2.5 (Read 7569 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Member Awards V0.2.1 for YaBB 2.5
Mar 18th, 2011 at 3:53pm
Print Post  
Member Awards V0.2.1

Description:
-----------------
This Mod will add a Member Awards system to your forum. You can add as many Awards as you like from the Admin Center and award your members with multiple Awards. I've included a few Awards as an example.

Screenshots:
------------------
Profile View:


Message View:


Award List:


Admin Center - BoardMod Mods - Member Awards:






Demo:
----------
http://ibrainstorm.net/modemos/forum/YaBB.pl

user: test
pass: modtester

Installation:
----------------
1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.
3) Upload AwardSettings.pl, Awards.lng, Awards.pl and Awards.txt to their relevant directories in ASCII mode.
4) Upload awards.png and awards.gif to their relevant directories in binary mode.
5) Upload the Awards folder to the ModImages directory in Binary mode.
6) Go into Admin Center => BoardMod Mods => Member Awards to configure the settings.

Files to edit:
-----------------
AdminIndex.pl
Admin/AdminSubList.pl
Admin/ManageTemplates.pl
Admin/ModList.pl
Languages/English/Admin.lng
Languages/English/Error.lng
Languages/English/Menu.lng
Sources/AdvancedTabs.pl
Sources/Display.pl
Sources/Load.pl
Sources/MyCenter.pl
Sources/Profile.pl
Sources/SubList.pl
Sources/Subs.pl
Sources/TabMenu.pl
Templates/default/Display.template
Templates/default/MyCenter.template
Templates/yabb21/Display.template
Templates/yabb21/MyCenter.template
Variables/Menu0.def
Variables/Menu1.def
Variables/Menu2.def
Variables/Settings.pl

Zip package:
-----------------
Member_Awards_V0_2.1.mod
cgi-bin/yabb2/Admin/AwardSettings.pl
cgi-bin/yabb2/Languages/English/Awards.lng
cgi-bin/yabb2/Sources/Awards.pl
cgi-bin/yabb2/Variables/Awards.txt
html_root/yabbiles/Modimages/Awards/***.png
html_root/yabbiles/Buttons/***/awards.png
html_root/yabbfiles/Templates/Forum/default/awards.gif

History:
------------
0.1 - First Release - 18th March 2011
0.2 - Added option to send automatic PM after Awarding Members - 21st March 2011
0.2.1 - Added PM tags - 21st March 2011
« Last Edit: Mar 21st, 2011 at 3:01pm by Derek Barnstorm »  

Member_Awards_V0_21.zip ( 192 KB | Downloads )
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Member Awards V0.1 for YaBB 2.5
Reply #1 - Mar 19th, 2011 at 9:56am
Print Post  
Fantastic work Derek.  Nice to see a brandnew mod. I'll download and test it later.

Smiley
  

Greeting ThM
Back to top
 
IP Logged
 
MasterKarman
Junior Member
**
Offline


YaBB 2.5.2

Posts: 90
Location: Karmanville
Joined: Feb 14th, 2009
Gender: Male
Re: Member Awards V0.1 for YaBB 2.5
Reply #2 - Mar 19th, 2011 at 5:58pm
Print Post  
This is awesome!!! Thanks alot Derek.  Grin
Installed and tested on 2.4 and works like a charm!

Just one glitch on install - step22 - not compatable with YaMMS.
Easy fix though.

<edit file>
Sources/TabMenu.pl
</edit file>

Code
Select All
<search for>
        $tab{'ml'} = qq~<span |><a href="$scripturl?action=ml" title = "$img_txt{'331'}" style="padding: 3px 0 4px 0;">$tabfill$img_txt{'331'}$tabfill</a></span>~;
    }
</search for> 



Changed to:

Code
Select All
<search for>
        $tab{'ml'} = qq~<span |><a href="$scripturl?action=ml" title = "$img_txt{'331'}" style="padding: 3px 0 4px 0;">$tabfill$img_txt{'331'}$tabfill</a></span>~;
        if($mapinmenu) {
            if (!$iamguest || $mapguests) {
                $tab{'membermap'} = qq~<span |><a href="$scripturl?action=membermap;username=$useraccount{$username}" title = "$img_txt{'membermap'}" style="padding: 3px 0 4px 0;">$tabfill$img_txt{'membermap'}$tabfill</a></span>~;
            }
        }
    }
</search for> 



Thanks again, I love this  Grin
  

Now using YaBB 2.5.2 with 40+mods
"The world is a dangerous place to live. Not because of the evil in it, but because of the people who don't do anything about it."


Back to top
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Member Awards V0.1 for YaBB 2.5
Reply #3 - Mar 19th, 2011 at 9:53pm
Print Post  
Thanks MK, glad you like it. I'll have to add a YaMMS compatible mod file to the package at some point.

ThM wrote on Mar 19th, 2011 at 9:56am:
Fantastic work Derek.  Nice to see a brandnew mod. I'll download and test it later.

Thanks ThM.
  
Back to top
 
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: Member Awards V0.1 for YaBB 2.5
Reply #4 - Mar 20th, 2011 at 8:29pm
Print Post  
I just got it running on our forums, great mod!
  

www.omgot.org
65+ mods installed
Back to top
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Member Awards V0.1 for YaBB 2.5
Reply #5 - Mar 21st, 2011 at 12:21am
Print Post  
This sounds neat ... I'll have to try it in the next few days!
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
MasterKarman
Junior Member
**
Offline


YaBB 2.5.2

Posts: 90
Location: Karmanville
Joined: Feb 14th, 2009
Gender: Male
Re: Member Awards V0.1 for YaBB 2.5
Reply #6 - Mar 21st, 2011 at 5:23am
Print Post  
Would it be possible to have this mod let Members know that they've won an Award automatically? Could be kinda iffy if they've chosen to ignore pm's since the message could only come from an Admin. If you've enabled Global Moderators to issue Awards I'm not sure how that would work.
I'm just kinda thinking outloud here...

Still loving this mod  Grin
  

Now using YaBB 2.5.2 with 40+mods
"The world is a dangerous place to live. Not because of the evil in it, but because of the people who don't do anything about it."


Back to top
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Member Awards V0.1 for YaBB 2.5
Reply #7 - Mar 21st, 2011 at 5:55am
Print Post  
I like this idea MK. I had originally thought of having a checkbox when adding an award to have the option to send out an email, but I think your idea of a PM would be better.

GMod's wouldn't be a problem in 2.5 anyway because it was changed so that you can't ignore PM's from GMod's. Carsten posted the changes for 2.4 up on his forum here (so it wouldn't be a problem for yourself either):

http://www.carsten-dalgaard.dk/cgi-bin/yabb2/YaBB.pl?num=1271721566

I'll have a look into it anyway...
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Member Awards V0.2 for YaBB 2.5
Reply #8 - Mar 21st, 2011 at 8:59am
Print Post  
Okay, that's done now - V0.2 attached to the first post.

PM's will be sent from whoever issues the Award - I don't know what your thoughts are on that?

There's no need to install the Mod again, just upload the following files:

Admin/AwardSettings.pl
Languages/English/Awards.lng
Sources/Awards.pl


And I've only tested quickly, so if you can let me know how it goes please...
  
Back to top
 
IP Logged
 
MasterKarman
Junior Member
**
Offline


YaBB 2.5.2

Posts: 90
Location: Karmanville
Joined: Feb 14th, 2009
Gender: Male
Re: Member Awards V0.2 for YaBB 2.5
Reply #9 - Mar 21st, 2011 at 12:53pm
Print Post  
That is fantastic!
And yes, a pm is better imo because people don't always read emails sent from websites.
Works like a charm and with ignore pm's checked. Tested Awarding from Admin and GMod.

Thanks for that link to change not being able to ignore Gmod's.
  

Now using YaBB 2.5.2 with 40+mods
"The world is a dangerous place to live. Not because of the evil in it, but because of the people who don't do anything about it."


Back to top
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Member Awards V0.2 for YaBB 2.5
Reply #10 - Mar 21st, 2011 at 1:11pm
Print Post  
Great. Thanks for the feedback.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Member Awards V0.2.1 for YaBB 2.5
Reply #11 - Mar 21st, 2011 at 2:53pm
Print Post  
I thought I'd add the ability to use a few tags in the PM Message to make it a little more informative. You can use:

{name} - Recipients Name
{award} - Award Title
{reason} - Award Reason
{myname} - Awarders Name
{mbname} - Message Board Name

Changes are in the same files as before:

Admin/AwardSettings.pl
Languages/English/Awards.lng
Sources/Awards.pl


If the Mod is already installed and you want to see an example, then you will need to clear the PM Message textarea and save the settings twice.

V0.2.1 attached to the first post.

  
Back to top
 
IP Logged
 
MasterKarman
Junior Member
**
Offline


YaBB 2.5.2

Posts: 90
Location: Karmanville
Joined: Feb 14th, 2009
Gender: Male
Re: Member Awards V0.2.1 for YaBB 2.5
Reply #12 - Mar 23rd, 2011 at 3:24am
Print Post  
..!!..Nice..!!..
  

Now using YaBB 2.5.2 with 40+mods
"The world is a dangerous place to live. Not because of the evil in it, but because of the people who don't do anything about it."


Back to top
IP Logged
 
ayjay
New Member
*
Offline


Code Moron

Posts: 30
Joined: Jan 13th, 2009
Re: Member Awards V0.2.1 for YaBB 2.5
Reply #13 - Mar 23rd, 2011 at 2:37pm
Print Post  
Nice work (again) Derek.

At first I thought that this mod might be a "bit naff" for the older crowd that our forum attracts but I installed it last night and did some testing and it works perfectly, the global moderators and I are pretty excited about the posibilities of this and we are all busy creating award categories to suit.

Thanks for sharing.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Member Awards V0.2.1 for YaBB 2.5
Reply #14 - Mar 23rd, 2011 at 7:07pm
Print Post  
Thanks ayjay.

ayjay wrote on Mar 23rd, 2011 at 2:37pm:
At first I thought that this mod might be a "bit naff"

Hehe - I don't think my Award examples helped very much there. I'd been up all night doing it and I think my head must have started to go a little crazy by the time I added them. Undecided

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint