![]() |
Quote:
|
Quote:
Anyway, how do I change task code? /noob here :erm: Quote:
|
Just for the info of those who may need this feature, I made this edit for it to not import images from 2 specific forums... I am releasing this for info only, I don't recommend you make this change nor will I support it.
In ie_cron.php file I changed: Code:
"SELECT postid, dateline, pagetext, forumid Code:
$SQL = "SELECT postid, " . TABLE_PREFIX . "post.dateline, pagetext, forumid |
Quote:
I'm using the current 1.0.2 and my ie_cron.php file shown below does not have the additional ", forumid" on end of the $SQL string to search for? Quote:
Doug |
Quote:
My point is to change the original code to the new code I specified. |
Quote:
I'll ignore you find part of the code search and just use the replace part .. :up: If I use a ForumID that has sub-forums, does that mean ALL sub-forums will be ignored too? Appreciate your efforts... :) Regards, Doug |
No it doesn't cover subforums, each forumid must be entered manually. You can add more ANDs or consult a mysql manual for a better query.
|
Quote:
Code:
$SQL = "SELECT postid, " . TABLE_PREFIX . "post.dateline, pagetext, forumid Code:
$SQL = "SELECT postid, " . TABLE_PREFIX . "post.dateline, pagetext, forumid As always, please try first in a sandbox ;) |
I want to suggest one more change I've used successfully on my test forum that may be of use to people with established forums.
In that query change ORDER BY postid to ORDER BY postid DESC so that the newest threads are processed first since it might take days or weeks to process a large existing forum. |
Quote:
By the way, thanks for the tips .. :) Regards, Doug |
All times are GMT. The time now is 12:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|