Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 161
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 149
Total: 149

Author Topic: Are badges automatically granted or do I have to trigger it?  (Read 2570 times)

0 Members and 1 Guest are viewing this topic.

Offline MechSpecs

  • Member
  • *
  • Posts: 10
    • View Profile
Are badges automatically granted or do I have to trigger it?
« on: April 08, 2014, 07:45:43 am »
So I've had about 12 hours to dig my way into the code for the Mod and figure out my way around the stock badges etc.

Are the post badges given automatically or do I have to trigger the event to "re-badge" users? What I mean by this is that if someone registers and posts one time will they receive the "1 Post" badge automatically or do I have to trigger it myself and then everyone who has made 1 post will receive their badge? Essentially I'm going to copy the 1 Post code three times (with small edits here and there to make it work) so that when a user registers, and posts a single time, they will receive three badges to their account. I figured this was the only way to get around the lack of "Registration" badge(s).

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Are badges automatically granted or do I have to trigger it?
« Reply #1 on: April 08, 2014, 10:28:08 am »
You should rebadge all members otherwise the badging only occurs when an action such as a post happens/changing something.
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 MechSpecs

  • Member
  • *
  • Posts: 10
    • View Profile
Re: Are badges automatically granted or do I have to trigger it?
« Reply #2 on: April 08, 2014, 10:42:41 am »
Ok, so in other words if they have 99 posts and they make another one, bringing them to 100 posts, they will AUTOMATICALLY get the 100 post badge. This means that I don't have to trigger an event to give them the badge as it is done automatically. Nice.

Hmmmm now that means I need to go into the mod and code it so that upon their first post they are automatically awarded 3 different badges.

Tricky tricky.

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3002 Views
Last post August 06, 2009, 03:42:32 pm
by morten
1 Replies
3873 Views
Last post August 04, 2010, 06:51:20 pm
by SMFHacks
1 Replies
3017 Views
Last post August 15, 2011, 01:28:02 pm
by SMFHacks
2 Replies
3445 Views
Last post November 21, 2011, 03:43:36 pm
by Vincent Volmer
Custom Badges

Started by SMFHacks « 1 2 » Support

18 Replies
17950 Views
Last post May 14, 2018, 02:47:36 pm
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

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

Powered by EzPortal