The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello all,
The thread title no longer matches the question I have, as originally I didn't know how to acheive what I am trying. However after a little fiddling I am almost there. So I suppose the thread title should be different, unfortunately I can't change it now. Anyway enough waffle, this is what I am trying to do within a VB cron job:
The following code block is how I have managed to acheive this PHP Code:
On my test forum I am moving the thread to an empty forum, after the move has been performed the forumdisplay summary still shows the "Last Post" column as never. How do I update this to show the date/time/poster details of the moved thread? However I suppose that in the real world this doesn't matter so much as the target forum is fairly busy so the "Last Post" will probably be a member post on a different thread. Problem / Question #2 After I have performed the moves/locks do I need to rebuild any counters? If yes this could be a show stopper as I intend to run this script every 15 minutes and a counter rebuild every time would be a massive hit. For the same reasons I need this to be as optimal as possible, can anybody point out areas where I am performing unnecessary actions? Also on the subject of load, this cron script will be added multiple times for multiple forums (around 5) each of which will run every 15 minutes (staggered) is it worth redesigning the select I am doing to support getting all the posts for all the forums in one select and one cron call? Problem / Question #3 To explain this some background is needed. I have configured an RSS feed to pull data into vBulletin and post threads in an RSS specific forum. Users do not have access to create threads in this forum but they can reply. If a member replies to an RSS post then they have obviously found the item interesting and worth commenting on, and as such it would be great if this could be highlighted to the rest of the community. Hence the reason for moving it to a "normal" forum. Now here is the problem, if the thread is moved I assume the RSS system will think that that item hasn't been retrieved and will therefore repost the item the next time the feed is checked. Is this right? wrong? I have run some tests and this doesn't seem to happen, I would guess that the RSS Feed subsystem checks if the RSS feed item title is already in the feed target forum and if so ignores it. So this should work as I am leaving a non expiring redirect in this forum if the item is moved. Can anybody confirm this? So I am now at your mercy, does anybody have any answers/suggestions for these problems/questions? |
#2
|
|||
|
|||
![]()
I have been searching for this.
Andreas wrote me a mod for 3.0 way back in the day to do just this (with admin options and everything). Which I still have the mod that he wrote for me (if it can be updated to 3.7.x) ![]() And I'm looking for this once again. Did you ever have any luck with this? Thanks! |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|