Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 191
Total: 191

Author Topic: Custom Badges  (Read 17851 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • 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: 665
    • View Profile
    • Biology Forums
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: 16436
    • 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: 16436
    • 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

  • Member
  • *
  • 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

  • Member
  • *
  • 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: 16436
    • 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

  • Member
  • *
  • 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: 16436
    • 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

  • Member
  • *
  • 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: 16436
    • 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

  • Member
  • *
  • 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: 16436
    • 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

  • Member
  • *
  • 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
5518 Views
Last post June 09, 2012, 06:03:42 pm
by SMFHacks
1 Replies
3635 Views
Last post June 10, 2012, 09:44:06 am
by SMFHacks
3 Replies
3723 Views
Last post June 18, 2012, 10:49:06 am
by FrizzleFried
1 Replies
4366 Views
Last post October 09, 2012, 08:20:54 am
by Jonas1975
3 Replies
789 Views
Last post August 18, 2022, 10:10:46 pm
by Hatshepsut

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal