Quote:
Originally Posted by inciarco
Any Solution For The Problem With PhotoPlog SQL Sentence That Causes Error In Data Base When Activating This Hack In Forums??
(Read My Previous Messages In This Thread For Details).
I've Found In The Forum Some Users With This Problem, I Hope The Author Can Give Us a Solution To be Able To Use This Hack!!
My Best Regards!!

|
I've Analyzed Today the PhotoPlog Plugin that Contains the COUNT Code, and I've Found that the Plugin "
PhotoPlog File Count" (Hook Location "showthread_query") contains the Code that Causes the Error!!
I've Added the Code
Code:
if (!$forum['chiefpost'])
{
Before
Code:
if (
$vbulletin->options['photoplog_is_active']
and Closed the If Sentence with a
After
Code:
$postids = $postids." ".$hook_query_where;
}
At the End of the Plugin Code, Not Allowing to Execute Itself When the Forum has Activated the Chief First Post as "Yes".
This Way the Error I've Mentioned Don't Occurs and Finally the First Post is Shown in Every Page!! :up:
My Best Regards!! :up: