Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12243
Latest: subnkxwg
New This Month: 12
New This Week: 2
New Today: 2
Stats
Total Posts: 39384
Total Topics: 6934
Most Online Today: 40
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 42
Total: 43

Author Topic: Custom Badges  (Read 11735 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14715
    • 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: 646
    • View Profile
    • Biology Forums - For All Your Science Needs
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: 14715
    • 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: 14715
    • 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

  • SMF Gallery Pro Customer
  • 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: 14715
    • 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: 14715
    • 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: 14715
    • 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: 14715
    • 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
2943 Views
Last post June 09, 2012, 06:03:42 pm
by SMFHacks
1 Replies
1673 Views
Last post June 10, 2012, 09:44:06 am
by SMFHacks
3 Replies
1916 Views
Last post June 18, 2012, 10:49:06 am
by FrizzleFried
5 Replies
2719 Views
Last post June 21, 2012, 11:01:23 am
by SMFHacks
1 Replies
2527 Views
Last post October 09, 2012, 08:20:54 am
by Jonas1975

+- Recent Topics

http://www.kingofsupplement.com/deer-antler-plus/ by subnkxwg
Today at 03:59:29 am

condition de livraison by SMFHacks
December 14, 2018, 12:47:53 pm

Multiple Versions in SMF by Boomslanger
December 13, 2018, 06:13:31 pm

GDPR Helper free doubts by Rock Lee
December 08, 2018, 06:20:57 pm

Downloads Pro 5.0 Released by SMFHacks
December 05, 2018, 03:11:32 pm

SMF Hacks Black Friday Sale! by SMFHacks
November 30, 2018, 09:03:04 am

Rewrite rule for IPN by diegolyanky
November 26, 2018, 10:58:55 am

EDITOR PRO by SMFHacks
November 25, 2018, 03:12:19 pm

SMF Gallery Pro 8.0 / PHP 7.0 onwards by SMFHacks
November 25, 2018, 12:33:10 pm

5.0 beta log errors by tfs
November 24, 2018, 10:37:06 pm

Powered by EzPortal