This topic was marked solved by its starter, on February 2nd, 2014, 03:17 PM
Post Count / Youtube Embed

Bunstonious

  • Espada
  • Posts: 204
Post Count / Youtube Embed
« on February 1st, 2014, 01:57 PM »Last edited on February 1st, 2014, 02:40 PM
Not sure if this is intentional, but the post count doesn't seem to increment. I also can't embed youtube video's, is it off by default?

Is there a scheduled task that recounts to show the post count? Is there another function that I am missing?

PS: Sorry if it sounds rude, no rush and just a small question, also sorry if it has been answered and I fail at searching (I did try).

PPS: Love Wedge so far, been waiting for YEARS to test it out, #soexcited

 :ph34r:
Re: Post Count / Youtube Embed
« Reply #1, on February 2nd, 2014, 01:58 PM »
I can see where to disable Post count, but nothing on it's incrementation. any ideas?
Re: Post Count / Youtube Embed
« Reply #2, on February 2nd, 2014, 02:54 PM »
I have done a "Recount members posts" in the maintenance menu and I get:

"Database error, given array of integer values is empty. (boards)"
Re: Post Count / Youtube Embed
« Reply #3, on February 2nd, 2014, 03:09 PM »
I think I have solved the problem for those that are interested.

I noticed that the field count_post in the table wedge_boards had a value of 1 for the affected forum, whereas the default forum I have, has those values as 0. I changed my "Testing" board to 0 and BAM! Post count started incrementing.

I then ran an update statement on the database to change all of the values to 0, and then was able to successfully do a recount and posts are now incrementing.

I think this was the default value of the importer.

=== For reference ===

Error when doing a recount:

"Apply Filter: Only show the error messages of this member 1337_user
Apply Filter: Only show the error messages of this IP address <REMOVED>      Yesterday at 11:52 PM
Apply Filter: Only show the errors of this type Type of error: Critical
Apply Filter: Only show the error messages of this URL https://forum.bunston.net/index.php?action=admin;area=maintain;sa=members;activi
Apply Filter: Only show the errors with the same message Database error, given array of integer values is empty. (boards)
Function: MaintainRecountPosts
Apply Filter: Only show the errors from this file File: /var/www/forum/gz/app/ManageMaintenance.php
Line: 1671
"
Re: Post Count / Youtube Embed
« Reply #4, on February 2nd, 2014, 03:19 PM »
PS I marked the topic as solved and moved the youtube issue to another thread.

Can't rename it, or modify the initial post for some reason.
Quote from Random Guy
Not putting miles on your Ferrari is like not having sex with your Girlfriend so she'll be more desirable to her next Boyfriend

Farjo

  • "a valuable asset to the community"
  • Posts: 492
Re: Post Count / Youtube Embed
« Reply #5, on February 2nd, 2014, 05:21 PM »
#soexcited <-- it's obvious from your avatar :angel:

In Admin, Forum, Boards and Categories, Modify Boards click Modify on a board and scroll down to 'Count Posts' - this tick-box toggles the count_posts field.

Bunstonious

  • Espada
  • Posts: 204

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Post Count / Youtube Embed
« Reply #7, on February 2nd, 2014, 10:58 PM »
AFAIK, (1) it's a SMF feature, not from Wedge, (2) boards are set to count posts by default, including the first default board. The only board in wedge.org that doesn't count posts is the Test board, as can be expected.

Bunstonious

  • Espada
  • Posts: 204

Farjo

  • "a valuable asset to the community"
  • Posts: 492
Re: Post Count / Youtube Embed
« Reply #9, on February 3rd, 2014, 01:51 AM »
My 'testing' board is the only one set to not count posts and all boards have been set correctly. What is your 'Testing' board's setting in the SMF database?

Bunstonious

  • Espada
  • Posts: 204