![]() |
Only mods can archive posts, not sure whats up with the setting problem, since it seems to be working here. I'll check the distribution file when I get back.
|
Following up.
My Mod loves this since it saves lots of time keeping our board clean. Question, how hard to add a second radio button and second archive forum option to this hack? I have use for sending differerent types of posts to different archives. |
Not that hard, here is how (things in bold are new) BE SURE TO GO THROUGH THE ENTIRE CODE YOURSELF, there is a similar variable to be altered:
Code:
// ############################### start archiving thread ############################### Code:
Varname: archiveforumid2 Code:
<div><label for="ao_arc2"><input type="radio" name="do" id="ao_arc2" value="archivethread2" />$vbphrase[archive_thread]</label></div> I'm sure there is a less code adding way of doing it, but this will work just as good :) |
So do I assume this goes in the postings.php
Where do I paste it in relation to the other code you had me replace? === I just notice the email I was sent (subscribed to this thread) has much more code in it than your post above (?) |
You put the code after the already existing code, I removed the extra code so you don't spent ages looking for something that doesn't matter :) These are the things that you have to change, no need to put a large amount of code in there that has no relevance and will only confuse people :)
|
Ok
Got all installed Added these phrases: /------------------\ | archive_thread | \------------------/ Phrase Type: Show Thread Varname: archive_thread2 Text: Archive Thread 2 /------------------\ | archive_thread | \------------------/ Phrase Type: Thread Management Varname: archive_thread2 Text: Archive Thread 2 /-------------------\ | thread_archived | \-------------------/ Phrase Type: Thread Management Varname: thread_archived2 Text: Thread Archived 2 Added your code to bottom of old hack. I had to add a "}" to the end of your code for it not to give me an error. I got the Showthread working etc. However, when I try to use new archive button #2 it goes to postings.php and blank page. Can you help? |
I sent you a response by PM. Hope fully you got it. My Mods are begging to get this fixed.
Thanks |
Resolved issue via PM, was an error on both our sides.
Note to other users: Be sure to add 2 to all archivethread items. I accidently missed one inside the script itself that actually decides where it goes (sorry). |
Did you update the zip file for this?
|
No I haven't. What you basically have to do is rename the variables and add the piece of code for a second time, below the first piece.
|
All times are GMT. The time now is 07:56 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:
|