MyBB Hacks

Full Version: "No. Topics Started" by Zinga Burga conflicts with RSS to Post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I was on the mybb forum and I found this post:

http://community.mybb.com/thread-72213-p...http://community.mybb.com/thread-72213-post-526131.html

I checked here on mybbhacks and it does not look like the issue was reported. I had that plugin too, and indeed when installed it there was a conflict with RSS to post. I'm not sure whether its RSS to Post that is doing an unusual thing in its queries or whether its an issue similar to the one I reported which was remarked on in version 1.25 of XThreads:

Zinga Wrote:grab forum id from posthandler array rather than global variable (better compatibility with other plugins)



@ Zinga:  Just thought you would like to know about it
I don't recall ever making the plugin for MyBB 1.4, only for 1.2.  I think someone else updated it however.
I assume you're/he's referring this one?
http://community.mybb.com/thread-44374.html

Try this, find:

PHP Code:
	$db->query('UPDATE '.TABLE_PREFIX.'users SET numtopics=numtopics+1 WHERE uid='.$mybb->user['uid']);

Replace with

PHP Code:
	$db->write_query('UPDATE '.TABLE_PREFIX.'users SET numtopics=numtopics+1 WHERE uid='.$posthandler->data['uid']);

(untested)

Hi Zinga - sorry, my mistake - indeed, that is the plugin - Tomm updated it. I will post on the MYBB forum with a link to your post here.

Thank you for the swift response Smile
Reference URL's