Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11832
Latest: balasahu
New This Month: 7
New This Week: 1
New Today: 0
Stats
Total Posts: 42232
Total Topics: 7369
Most Online Today: 52
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 45
Total: 45

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

0 Members and 1 Guest are viewing this topic.

Offline shuban

  • Hero Member
  • *****
  • Posts: 662
    • 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: 16005
    • 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
3452 Views
Last post January 28, 2008, 09:15:07 am
by draggar
10 Replies
3958 Views
Last post June 03, 2012, 07:53:10 pm
by SMFHacks
5 Replies
3351 Views
Last post August 22, 2012, 11:21:06 am
by SMFHacks
0 Replies
1494 Views
Last post June 07, 2012, 12:41:05 pm
by FrizzleFried
0 Replies
1454 Views
Last post June 07, 2012, 01:08:47 pm
by FrizzleFried

+- Recent Topics

Anti AdBlock is blocking Version Info by SMFHacks
Today at 12:11:13 pm

Dark background text color help needed by Shades
May 22, 2022, 04:51:25 pm

Database Error During Store Purchase After SMF 2.1 and Store 5.0 Beta Upgrades by Michael Vail
May 20, 2022, 08:58:15 pm

Default License Agreement by SMFHacks
May 18, 2022, 08:18:15 pm

Email Note - Included in order purchase by Shades
May 18, 2022, 02:54:54 pm

[Feature Request] Keywords by Shades
May 18, 2022, 02:20:19 pm

Undefined index: down_path by Shades
May 18, 2022, 10:19:09 am

Delete custom rating and change default icons/change icons back to default? by SMFHacks
May 18, 2022, 10:06:01 am

Thumbnails on topic page not resizing correctly by SMFHacks
May 14, 2022, 10:45:34 pm

Server Issues by PapaFrizArcade
May 12, 2022, 11:50:04 am

Powered by EzPortal