Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4200
Latest: [chrisB]
New This Month: 4
New This Week: 1
New Today: 1
Stats
Total Posts: 42601
Total Topics: 7433
Most Online Today: 103
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 3
Guests: 53
Total: 56

Author Topic: Question about First Topic badge and First Post badge  (Read 2472 times)

0 Members and 1 Guest are viewing this topic.

Offline shuban

  • Hero Member
  • *****
  • Posts: 663
    • View Profile
    • Homework Clinic - Your Academic Lifeline
Question about First Topic badge and First Post badge
« on: June 07, 2012, 05:15:53 pm »
If a member has no posts, but starts a topic, do they get both the first topic badge and the first post badge?

I'm finding that members are getting both awards when a new topic is started. Is there a way to differentiate between the two, so that you get the first post badge only if you've actually made a post other than a topic?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16155
    • View Profile
Re: Question about First Topic badge and First Post badge
« Reply #1 on: June 07, 2012, 05:40:14 pm »
Not easily. You would have to change from using $user_info['posts'] to doing a query that gets count of all posts other than topics started by the member
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/

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3510 Views
Last post January 28, 2008, 09:15:07 am
by draggar
10 Replies
4145 Views
Last post June 03, 2012, 07:53:10 pm
by SMFHacks
5 Replies
3416 Views
Last post August 22, 2012, 11:21:06 am
by SMFHacks
0 Replies
1540 Views
Last post June 07, 2012, 12:41:05 pm
by FrizzleFried
0 Replies
1493 Views
Last post June 07, 2012, 01:08:47 pm
by FrizzleFried

+- Recent Topics

Errors with SMF2WPBridge by [chrisB]
Today at 12:18:32 pm

Undefined index: id by Shades
Today at 12:15:20 pm

Permissions query by davejo
Today at 01:31:46 am

"Notify all store admins of item purchase" Not Working in SMF 2.1.2 or 2.1.3 by Michael Vail
Today at 01:02:34 am

Additional Recommendations for SMF Store by Michael Vail
November 26, 2022, 12:49:58 pm

SMF Store 5.0 Beta Errors - Trying to access array offset on value of type null by Michael Vail
November 26, 2022, 12:07:42 pm

Modification: Subcategories total in main gallery view by VisiGod
November 26, 2022, 11:27:34 am

Change log for Downloads Pro 6.13 and 6.14 by Nicole
November 20, 2022, 08:24:34 am

Release date? by SMFHacks
November 20, 2022, 08:09:10 am

Can't install due to missing file? by SMFHacks
November 18, 2022, 06:55:45 pm

Powered by EzPortal