Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12324
Latest: videorepair
New This Month: 11
New This Week: 1
New Today: 1
Stats
Total Posts: 39696
Total Topics: 6993
Most Online Today: 30
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 16
Total: 16

Author Topic: Custom Badges  (Read 12165 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14867
    • View Profile
Custom Badges
« on: June 04, 2012, 12:26:49 pm »
Need a custom badge developed?

We can do it for one time fee of $20. Includes badge design and coding to get it integrated.
Two Custom Badges $30
Five Custom Badges for $50
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline shuban

  • Hero Member
  • *****
  • Posts: 649
    • View Profile
    • Homework Clinic - Your Academic Lifeline
Re: Custom Badges
« Reply #1 on: June 04, 2012, 03:05:14 pm »
Need a custom badge developed?

We can do it for one time fee of $20. Includes badge design and coding to get it integrated.
Two Custom Badges $30
Five Custom Badges for $50

I'm not liking this... You have to pay for custom badges? Why not just develop them together for free? I can see how the graphics should cost money, but this should be public knowledge, especially to customers. One of the reasons I bought this was so that we could create badges/awards on our own.
« Last Edit: June 04, 2012, 03:08:31 pm by shuban »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14867
    • View Profile
Re: Custom Badges
« Reply #2 on: June 04, 2012, 03:12:53 pm »
The graphics would cost me about $5 to $10 a piece per badge.
The other part is for my time for developing/writing the code if you are unable to do it yourself. Which can be pretty complex depending on what is asked and then developing the code to modify SMF.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline FrizzleFried

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Re: Custom Badges
« Reply #3 on: June 24, 2012, 09:50:37 am »
These badges aren't working... how are they earned and do/when will they work?

Invisible
Group
Old Browser
Quick Poster
Never Sleep

These badges don't work because I don't have SMF Gallery... but the images could be used for AEVA Gallery ... I just need the code (hint hint)

Photographer
Gallery

These badges don't work because I don't use the standard Karma system... but the images could be re used for ADVANCED REPUTATION SYSTEM... since you do give positive and negative karma via the Advanced Reputation System,  I'm guessing it may be simple to get those to work with Advanced Rep System?

Karma Good
Karma Bad
("Karma" is working with the Advanced Rep System)

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14867
    • View Profile
Re: Custom Badges
« Reply #4 on: June 25, 2012, 11:56:20 am »
Old Browser works for people with IE6.

Invisible will be earned when a person logins in hidden still needd to code.
Quick Poster earned when posting twice in a row 60 seconds had issues with it still working on it.
Never Sleep - Long period of time logged in to the site. Thinking a year still have to do it.
Group - Not sure yet I think I am going to do a member of any group other than default.



The other badges for avea and karma system would have to look at those mods and see where the triggers can be placed to have the badges auto earned.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Dasher

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Custom Badges
« Reply #5 on: April 16, 2013, 09:51:37 am »
@Shuban: You still can  ;D   SMFhacks is just giving an option for people who can't or don't want to themselves.

Offline Xar

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Custom Badges
« Reply #6 on: July 07, 2014, 04:09:43 pm »
Are you still doing this, and what would be the cost of coding only, without images (I can make the images myself)?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14867
    • View Profile
Re: Custom Badges
« Reply #7 on: July 07, 2014, 04:14:22 pm »
Maybe it would depend on action of the badge what it is recording.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Xar

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Custom Badges
« Reply #8 on: July 08, 2014, 02:47:58 pm »
Actually I need 3 action badges which are gained when subscribing.
Well, I suppose if you write the code it could be used for all of them with a small modification?

What I basically want:
I have three subscriptions, each subscription should give a badge to them.
The subscriptions are of course, membergroup based.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14867
    • View Profile
Re: Custom Badges
« Reply #9 on: July 08, 2014, 03:03:38 pm »
Is it though the subscription system of SMF?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Xar

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Custom Badges
« Reply #10 on: July 08, 2014, 04:30:07 pm »
Of course  :).

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14867
    • View Profile
Re: Custom Badges
« Reply #11 on: July 08, 2014, 04:40:19 pm »
So the badge is awarded when someone pays for a subscription via the SMF forum via paypal.

Looks do able. Would need the subscribe id for each subscription to set it up.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Xar

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Custom Badges
« Reply #12 on: July 09, 2014, 09:45:55 am »
Well just the first three.
So the ID's I have are 1, 2 and 3.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14867
    • View Profile
Re: Custom Badges
« Reply #13 on: July 09, 2014, 10:52:51 am »
Open Sources/ManagePaid.php
Find
Code: [Select]

// Add or extend a subscription of a user.
function addSubscription($id_subscribe, $id_member, $renewal = 0, $forceStartTime = 0, $forceEndTime = 0)
{
global $context, $smcFunc;

// Take the easy way out...
loadSubscriptions();

// Exists, yes?
if (!isset($context['subscriptions'][$id_subscribe]))
return;

$curSub = $context['subscriptions'][$id_subscribe];


Add After

Code: [Select]

// Badge Awards
global $sourcedir, $user_info;
require_once($sourcedir . '/badgeawards2.php');
if ($id_subscribe == 1)
{
Badges_AwardBadge($id_member,'karmagood');
}

if ($id_subscribe == 2)
{
Badges_AwardBadge($id_member,'karmabad');
}

if ($id_subscribe == 3)
{
Badges_AwardBadge($id_member,'karmabad');
}

// End Badge Awards




Just change karmabad in the above code to the action for each new subscription badge you want to assign.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Xar

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Custom Badges
« Reply #14 on: July 09, 2014, 11:40:07 am »
Wow, amazing.

Many thanks!

 

Related Topics

  Subject / Started by Replies Last post
7 Replies
3048 Views
Last post June 09, 2012, 06:03:42 pm
by SMFHacks
1 Replies
1777 Views
Last post June 10, 2012, 09:44:06 am
by SMFHacks
3 Replies
1993 Views
Last post June 18, 2012, 10:49:06 am
by FrizzleFried
5 Replies
2884 Views
Last post June 21, 2012, 11:01:23 am
by SMFHacks
1 Replies
2599 Views
Last post October 09, 2012, 08:20:54 am
by Jonas1975

+- Recent Topics

Which Options To Disable If I Don't Want Auction Listings by ajac63
May 19, 2019, 11:03:42 pm

About Layout Options by ajac63
May 18, 2019, 07:22:19 am

Lost images by pete
May 17, 2019, 04:41:51 am

Q's on Integrating SMF Classifieds with current theme by ajac63
May 08, 2019, 01:46:06 pm

Just a hello by SMFHacks
May 06, 2019, 10:30:20 pm

Contact Page Problem by Acans
May 06, 2019, 01:54:08 am

Trying to install 8.0.5a after upgrade to RC2 by SMFHacks
April 30, 2019, 06:04:34 am

Classified Ads Mod by SMFHacks
April 29, 2019, 07:44:44 pm

Video Player by SMFHacks
April 24, 2019, 03:38:50 am

Seller View Log.. Can I delete? by SMFHacks
April 22, 2019, 07:54:29 am

Powered by EzPortal