The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Thank you very much! It works again.
|
#12
|
|||
|
|||
Does this works in vb 3.6.1?
|
#13
|
|||
|
|||
Works fine in 3.6.1. Only glitch I've found (which isn't new to 3.6.1, it is been this way through quite a few versions) is when dealing with the new post flag.
If I read the thread in the news forum, and post a reply, it is marked as read. Then it gets moved over to my discussion forum. When I click on the forum, the thread appears to be read already, but at the forumhome page, there appears to be new posts within the discussion forum. Sometimes this goes away by clicking on that thread again, but sometimes it appears not to clear the new post flag until I hit "mark all posts read" at the bottom of the main page. I wonder if there is another maintenance function that would be useful in addition to "build forumcounters". EDIT: At first glance, it looks like "build_thread_counters($threadid)" would be the function to clean up this last (minor) issue, but unfortunately it requiers the $threadid parameter, which we don't touch in the code above; just changing all forum id's at once for certain threads in the THREAD table; not then calling each one of those particular threads to build counters after making the switch. |
#14
|
|||
|
|||
i think that's because your forum cleanup hasn't been run yet.
|
#15
|
|||
|
|||
Quote:
|
#16
|
|||
|
|||
oh, how do I copy thread to another forum instead of move thread. And also have a condition to move only threads that are 2 weeks old. Thanx a bunch
|
#17
|
|||
|
|||
I know this is an old topic, but I want to know if I can use this code on vB 3.8
My next question is, where to put the code? Do I have to make a special page? |
#18
|
||||
|
||||
That is a cron job/scheduled task. So, you would make a page with that php in it and put it somewhere (/includes/cron ?) and then run it as a scheduled task. I have no idea if it works for 3.8. I suppose you could try it on a test forum.
|
#19
|
|||
|
|||
Thanks Lynne, I will try it on a local test forum. I thought it would be something like this, but now I know it for sure.
|
#20
|
|||
|
|||
We've tried this code, but it doesn't seem to do anything. Is there anyone that knows how to rewrite it for 3.7.x?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|