PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.


Login to move these ads to the bottom of the page
  • Index
  •  » Mod requests
  •  » Archive Forum Plan: Your Comments and Suggestions Please

#1 2007-02-06 17:23:56

twohawks
Member
From: Nevada, USA
Registered: 2006-09-21
Posts: 240

Archive Forum Plan: Your Comments and Suggestions Please

Archive/DeArchive Forum Plan: Your Comments and Suggestions Please

   I need to create a plan for Archiving and De-Archiving a client's Forum sections.  The following lays out the intentions and needs,... and the beginnings of a plan for which we are seeking thoughtful input.  I am hoping we can all come together and sort something out that can be useful to those of us who have been asking for this sort of thing.

Your desires, needs, and reflections are important,... please give it some thought and post back here.

   The Forum in question is a community workshop/learning center of sorts. We need to move the forum-site 'intention' on to 'new focus' for the students, so the idea is to trim the forum down to a couple of existing (plus a few new) Categories and Forums, and move the rest 'into temporary archive' for 'reference only', meaning existing and new members will be able to access the archived forums, but no new posts will be allowed there.  (This, of course, implicates the need to be sharing the user's tables in the database, which seems to be a simple matter.) 
   Later we wish to bring/merge back into the main forum various Categories and their Forums for further expansion.

   Note/Edited:  I have awaited this -inevitable- moment with a bit of dread since it appears difficult and that there has been scant consideration for it as a real need.  Will you folks who have more intimate understanding of the inner-workings please take a little time out to more seriously consider this matter and provide input/feedback?  <thanks>

====================================================
FOLLOWING are notes I am laying out for a procedure with consideration for the perceived current limitations (which may be inaccurate!).   The procedure requires an Archiving Method Plan and a De-Archiving Method Plan.

EDITED:<snip>
PLEASE SEE UPDATE #1 ahead for this ARCHIVING METHOD PLAN in progress.
Please don't skip other posts which include discussion for this and alternative ideas and plans.

==============================
I will edit this post as I work things out, and//or post a final one later after all input is considered and an appropriate solution is set forth (hopefully).

Ultimately I wonder if a mod could be made (of course).  To be honest I think the method I am musing over here isn't even in the neighborhood of acceptable.  I am afraid to procede before enough brainstorming can possibly take place, because obviously once I do this I know I will later be faced with the inevitable daunting task of DE-ARCHIVING... and that doesn't look pretty at all! \^{

I am trying to imagine what a REAL ARCHIVE FEATURE would look like....
...hmmm...
1) Because there are no such things as Sub-Categories I can only imagine being able to do it with a New Forum and using Prefixes (similar to above?) because you have to be able to move categories as well as forums (or do you really?)
2) Could code be written that could reliably reintegrate Forums and topics back into existing Categories, and into old ones that were totally removed ?

Okay, that's what I got for now.
I really hope you folks take this seriously and give it as thoughtful consideration as you do most other things. 

Cheers,
TwoHawks

Last edited by twohawks (2007-02-07 22:33:10)


TwoHawks
Love is the Function
No Form is the Tool

Offline

 

#2 2007-02-06 17:35:40

Smartys
Member
Registered: 2005-03-17
Posts: 332
Website

Re: Archive Forum Plan: Your Comments and Suggestions Please

Why not create a new category, Archive, and add forums corresponding to each forum you want to archive. You can use a couple update statements to move all topics currently in a forum to their corresponding archive forum. Then, set the permissions for those forums to not allow posts for members.

Edit:

Note: Over the last several months I have searched (and watched) the punbb(+res) forums for information and ideas on how to most effectively handle this sort of thing, and if there are any plans for building some sort of useful archiving feature(s)...
   ...and I find that, in spite of the question being repeatedly asked (how do I archive, plan archiving, blah, blah, blah,...?) the developers and the other senior members seem to blow it off as not being important or even a valid concern.  In many places the response includes "...why would you want/need to do that anyway..." and almost no useful tips or suggestions.

I don't recall reading any such topics off the top of my head. Could you point me to them?

Last edited by Smartys (2007-02-06 17:37:14)


Free PunBB Hosting - lots of mods, easy to customize

Offline

 

#3 2007-02-06 19:37:57

twohawks
Member
From: Nevada, USA
Registered: 2006-09-21
Posts: 240

Re: Archive Forum Plan: Your Comments and Suggestions Please

Smartys wrote:

Why not create a new category, Archive, and add forums corresponding to each forum you want to archive. You can use a couple update statements to move all topics currently in a forum to their corresponding archive forum. Then, set the permissions for those forums to not allow posts for members.

Hmmm... we have many "categories" with many "forums" and "sub-forums". 
   Since you cannot create Sub-Categories in punbb you cannot re-create the same structure (for consistency of the users' experience) in a Category named Archive.  Neither can you create sub-forums of sub-forums (far as I know) so I don't think the 'tree' can be effectively reproduced that way either. 
    Also, seems it would become an an unweildy mess for... without transfering the existing Categories you could no longer collapse sections [which goes a long way to making it usable!].
    FYI, consistent user-experience is extremely important since almost all of them have close to zero computer skills [it is unbelievable the problems we run into that are not actually anything to do with any sort of 'problem'].  Also important is administrative-user-experience... the admins of these forums are not so tech savvy either, so they make a lot of demands for clearing up clutter so they can work 'not-so-encombered' by long lists.

Seems to me some sort of enhancement to the pre-fixed system may really, after all, be the good way to go.
Question: Could you provide an example of a simple "update statement" that might move all topics in a specified forum to a corresponding archive forum in another punbb installation?  Say, using my example above, from "OURtopics Table to the ARCtopics Table? 
  Would this general 'method' be the route to creating some automated tools for Archiving/DeArchiving, including Categories, I wonder?


Smartys wrote:

Edit:

Note: Over the last several months I have searched ...<snip>... and almost no useful tips or suggestions.

I don't recall reading any such topics off the top of my head. Could you point me to them?

Okay, first an apology... to you and everyone... although I would stand by that I have read more on this than what I can provide proof of, I fail at the moment to be able to reproduce adequate proof.  So please accept my apology for inapropriately siting indifference and such of the senior members, and I will edit my original post accordingly.

Per your request..., I did not save links, and subsequent searching (only this evening) after reading your post yields 'not as much as I thought I'd read before', but this is what I have for now:
http://www.punres.org/viewtopic.php?pid=3449
http://forums.punbb.org/viewtopic.php?id=12125
http://forums.punbb.org/viewtopic.php?pid=71512
http://forums.punbb.org/viewtopic.php?id=2664
http://forums.punbb.org/viewtopic.php?pid=53007
http://forums.punbb.org/viewtopic.php?pid=73669

The problem is that not all of the relevant posts can be found by searching only the word archive or similar.  I swear there are some other posted questions in this regard.  But no matter... maybe there actually hasn't been enough interest or need to warrant greater interest in this sort of thing, however, maybe this thing can find better merit on its own here(?).

I apreciate your attention and responses. Thanks.
Cheers,

Last edited by twohawks (2007-02-06 20:21:24)


TwoHawks
Love is the Function
No Form is the Tool

Offline

 

#4 2007-02-06 21:35:13

guardian34
Member
Registered: 2006-06-03
Posts: 124

Re: Archive Forum Plan: Your Comments and Suggestions Please

twohawks wrote:

Hmmm... we have many "categories" with many "forums" and "sub-forums". 
   Since you cannot create Sub-Categories in punbb you cannot re-create the same structure (for consistency of the users' experience) in a Category named Archive.  Neither can you create sub-forums of sub-forums (far as I know) so I don't think the 'tree' can be effectively reproduced that way either.

Where did these sub-forums come from? Not PunBB?

Edit:

twohawks wrote:

- Close Topics via …
     - set forum to read only mode (can do?, if so how?)

Forum/user group permissions…

Last edited by guardian34 (2007-02-06 21:37:39)

Offline

 

#5 2007-02-06 22:02:12

guardian34
Member
Registered: 2006-06-03
Posts: 124

Re: Archive Forum Plan: Your Comments and Suggestions Please

twohawks wrote:

DE-ARCHIVING METHOD PLAN: 

Essential Plan
- ????!!!#$%@!!!???:  Not even there yet  `|^[
    Can you imagine the nightmare trying to reintegrate the Forums and Topics back into the Main OurForum Tables?!  That's what it appears one would have to do if using the archive "method" described above. Maybe this would be simple, but I do not know the way.

If you setup the archieve forum to have the same ids for categories, forums, users, etc., and you ensure that post ids on the new forum start after the last post id from the archieve, then, I think, those (post) rows could easily be inserted into the new forum's database at a later time.

Offline

 

#6 2007-02-07 03:53:40

Smartys
Member
Registered: 2005-03-17
Posts: 332
Website

Re: Archive Forum Plan: Your Comments and Suggestions Please

twohawks: I'm confused.
If you have a setup like

Code:

Category
  -> Forum 1
  -> Forum 2
    ->Subforum 1
  -> Forum 3

what's to prevent you from creating a new category "Archive" with the same setup and then moving all topics to their corresponding archive forums?


Free PunBB Hosting - lots of mods, easy to customize

Offline

 

#7 2007-02-07 09:40:22

twohawks
Member
From: Nevada, USA
Registered: 2006-09-21
Posts: 240

Re: Archive Forum Plan: Your Comments and Suggestions Please

@Guardian
1) Sub-Forum mod
2) thank you for suggestion 'Group Permissions'.  Due to the way Groups are being used to manage complex access permissions there's an aweful lot of groups (but certainly less than there are topics!)...

I wonder what else might be used for globally rendering the topics unpostable?

@Smartys
Hmmm... I can think of several reasons why this wouldn't be an acceptable method...
1) There are really a lot of categories to begin with, and punbb does not support sub-categories, so one category named Archive couldn't maintain the categoric + forums structure all by itself (obviously). 
2) And if we were to take and render each category, say named 'CategoryX' as named 'CategoryX Archive, although this technically will work, it will present an administrative nightmare to the admins who will end up seeing all these Categories and Forums in their admin panels along with the 'running ones' creating even more (and unnecessary) management chaos... this is totally unacceptable.

It seems to me that an archive has to be a place where stuff is kept separate and out of the way, and yet mirrors the structure users are familiar with when they go "there" for researching old places (especially keeping in mind that those old places will come back again later and continue once again).

did I understand you correctly, and does this make sense?

Thanks... keep 'em coming...
Cheers,

Last edited by twohawks (2007-02-07 09:42:46)


TwoHawks
Love is the Function
No Form is the Tool

Offline

 

#8 2007-02-07 16:50:37

Smartys
Member
Registered: 2005-03-17
Posts: 332
Website

Re: Archive Forum Plan: Your Comments and Suggestions Please

2) And if we were to take and render each category, say named 'CategoryX' as named 'CategoryX Archive, although this technically will work, it will present an administrative nightmare to the admins who will end up seeing all these Categories and Forums in their admin panels along with the 'running ones' creating even more (and unnecessary) management chaos... this is totally unacceptable.

Why would that be unacceptable? It seems to be a perfectly acceptable solution: the topics are moved to an archive, they're not writable, they can be easily moved back without hurting anything. The categories are clearly marked as archives and thus can be easily ignored. If it really bothers you that much, add an "archive" column to the categories table and alter some queries to ignore categories with archive set to 1. Then just edit admin_categories.php and you're set tongue

Out of curiosity, how do other forum softwares do this?


Free PunBB Hosting - lots of mods, easy to customize

Offline

 

#9 2007-02-07 21:56:39

twohawks
Member
From: Nevada, USA
Registered: 2006-09-21
Posts: 240

Re: Archive Forum Plan: Your Comments and Suggestions Please

Thanks Smartys....

Smartys wrote:

Why would that be unacceptable? It seems to be a perfectly acceptable solution: the topics are moved to an archive, they're not writable, they can be easily moved back without hurting anything.

Yes, that sounds simple, efficient, and attractive, but...

Smartys wrote:

The categories are clearly marked as archives and thus can be easily ignored.

Ignored != hidden, i.e., they will take up space in the 'working cats/forums index listing', which the admins explicitly state they do not want.
   And even if we hide them, say, using a Category hide mod technique, they will only be (temporarily) hidden in the actual Forum (Index) zone(s) not in the Admin Forums and Cats CPanel, ...thus the admins still would have deal with this huge list of stuff in the backend... which is explicitly what they told me they want out of there because it is way too combersome for them! 
  Also, they do not want the archived categories and forums appearing in the main forums index at all, which is what will happen when a category is unhidden for viewing (no?).  They want stuff archived 'somewhere else' and do not want to see the archived stuff mixed in with the active stuff at all because its too chaotic and confusing for their students.  The students are on information overload, so the admins want stuff separated out so they don't even see it in there with the active stuff. 
  They also want the archive independently searchable, but I have to admit I don't know how important that really is.

Smartys wrote:

If it really bothers you that much, add an "archive" column to the categories table and alter some queries to ignore categories with archive set to 1. Then just edit admin_categories.php and you're set tongue

Now... this idea sounds like its moving your whole basic idea into a potentially workable (and appealing) direction...
   I wonder...  Considering we want to actually hide the Archived Categories and Forums from the Forums Administration area as well as from Users until they 'click on the Archives link', maybe additionally we could have this flag actually do just that, and then in addition create a new admin_achive.php file for the administrators to be able to separately access and manage (if need be) the Archived Forums ...eh?   
   I need to think on it more, I may have presumed something totally moronic here, but I wonder if your new flag could open this type of workability up...

(I hope I am following you correctly to begin with?...)

My concerns would be:
1) What do I have to be concerned about the Admin accessing through the 'new' admin_archive.php page/cp_zone, (if this is even an intelligent direction to take it), and
2) When the user Clicks on 'the' Archive link, (how) can it be simply sculpted so that they are taken to a very similar place "as the forum was before", separate from the main index page(s), i.e, where they can peruse things without those archived categories and forums being mixed in with the main active categories and forum index zone? 

Make sense?

--------------------------------------------
   Today I worked on setting up a new bbs-zone per my original post and I have edited/updated the procedures and accompanying questions (for that method).  I am posting that next. 

   What works about it is:
   This result is interesting... users can click on a link that takes them to something like "hxxx://ourfourm.oursite.com/ARCHIVE"  ...and its as if they never left the old home.
   It creates a completely 'isolated' Archive that is separately (independently) searchable from the 'Active bbs' (which is what the admins want).
   The amount of work involved seems acceptable, even if it was a huge bbs. 

   What concerns me about this method is the seeming challenge of reintegration later (when the admins tell me to make some Catetgory(ies) and Forum(s) live again); but maybe my concerns are unwarranted?  You commented on using some simple update statements.  And considering topics are 'ruled by time' in a manner of speaking, it seems quite possible that update-reintegration may indeed be as simple a matter as you (and Guardian) have indicated.

   Last comment here: even if my method is (becomes) acceptable, or even more desireable for a certain type of "archiving", your idea(s) for approaching a solution seem to me to merit some serious consideration for an alternate type of archiving.


Smartys wrote:

Out of curiosity, how do other forum softwares do this?

I have no idea.  I am not basing any of my line of inquiry on anything prior.

Thanks for your participation in this Smartys.
I hope others will come and lend their 2cents, including their desires and needs. 


Cheers,

Last edited by twohawks (2007-02-07 22:40:08)


TwoHawks
Love is the Function
No Form is the Tool

Offline

 

#10 2007-02-07 22:23:30

twohawks
Member
From: Nevada, USA
Registered: 2006-09-21
Posts: 240

Re: Archive Forum Plan: Your Comments and Suggestions Please

UPDATE #1b   edited 2007/02/08
The following is "the plan and procedures" workup (in progress)
regarding method of archiving using prefixed installations of punbb.

I would have put this in code tags (and if I have to I will) but formatting seems to help it be more readable.

Check this out, folks, and please provide feedback!
Cheers,
TwoHawks

=================================
=================================
ARCHIVE METHOD PLAN: 
=================================
I. Presuppositions: (6 of them)
1) Example for logical naming and ordering of directories and tables is listed in #6 below...
2) Database name used here is generic for simple reference
3) Prefixes are named for positioning the Archive Tables below the related Main Tables in the Main Database
4) Do not use a tilde (~) character in the table for positioning or sql will error out (yep, I stupidly wasted my time trying it before I learned \^P)
5) I decided to place the Archive BBS in a SubFolder (Sub-Directory) of the Main BBS so that I do not have to create a new .htaccess file with unique redirects for the new Archive URI.  So I can send users to the same URL with only the addition of /ARCHIVE on the end of our existing URL.  This is by personal choice and by no means necessary or even the most efficient method... 
   So for instance, if the current URL is
hxxp://ourforum.ourwebsite.com , then the archived bbs url is simply hxxp://ourforum.ourwebsite.com/ARCHIVE  ...without any new mod-rewriting rules.
   If you feel you need or wish to place the archived forum in its own unique 'root' directory, or that it would be cleaner to do so (and I think it would be) by all means do so, and simply adjust accordingly.

6) The naming conventions and locations logic:
- MAIN DATABASE is "OURForum"
------------------------------
- MAIN OUR BBS is called OURForum, and is
    - Located in site-path /OURForum, and the
    - PreFix is set to "OUR_" (so the Tables are "OUR_bans", "OUR_categories", etc

- OUR ARCHIVE BBS is called OURForumArchive] and is (will be)
    - Located in site-path /OURForum/ARCHIVE, and the
    - Prefix is set to "OUR_zARC_" (so the Tables for the Archive are/will-be "OUR_zARC_bans", "OUR_zARC_categories", etc

=================================
II. Essential Plan:
- Duplicate the Forum Database and the Forum Installation(easy) 
- Close Topics (or rather.. set forums to read only)
- Manage User's from Main forum

=================================
III. Procedure:

Note: Alternative to steps 1-4 is to simply copy the Tables to your new ones from within the database control panel...

1) Download Database tables from Main Forum for duplication to Archive Forum (be selective, i.e, remove unneeded tables such as seaches, cache, etc... BUT Be sure to recreate them later [structure only]!)

2) Edit Database File Tables' (TableSet) Data with
   - New Prefix
   ??- apply the "Closed" switch to all forums (check topics and #position of 'closed' [10 in mine] and set to 1)
   ??- OR Set Forums to Read Only using similar method
   (of course you do either of these ("??") via simple application of appropriate sql query in your database, of course)

3) Import (upload) the Archive Database TableSet

4) ReCreate Tables that were not copied: you can copy any needed tables (structure only) from the main tables.
-----------------------
5) New PunBB install: Copying (duplicate) main punbb bbs to your new folder /OurForumArchive
   - be sure to change the permissions on the new cache folder to 777
   - ! Cannot download PBB Gallery Images bacause of Permissions control on server...  Probably need to write a php file to execute chmod on all the files because you will not have permissions enough to do this yourself unless you are the server owner!  Once permissions are changed you can copy the files.

6) Edit config.php in the new installation
   - edit Prefix to be 'OUR_zARC_' (i.e., whatever your new prefix actually is)
   - can leave cookie seed 
   - can leave cookie path

7) Edit Database Table Value in yourprefix_config Table for the new Base URL

8) Edit include/dblayers/mysql.php  with Share Users Table Code per Tobi's Post here:
http://forums.punbb.org/viewtopic.php?pid=51879#p51879

Actually, at Line 76 I placed this [edited per elbekko's feedback]...

Code:

$sql = str_replace($this->prefix ."users", "MAINFORUMPREFIXusers", $sql);
$sql = str_replace($this->prefix ."groups", "MAINFORUMPREFIXgroups", $sql);
$sql = str_replace($this->prefix ."online", "MAINFORUMPREFIXonline", $sql);
$sql = str_replace($this->prefix ."forum_perms", "MAINFORUMPREFIXforum_perms", $sql);
$sql = str_replace($this->prefix ."reports", "MAINFORUMPREFIXreports", $sql);

9) Set the Archived BBS to Read-Only
   - Work in progress.  What's the best Method/Approach??

   - http://forums.punbb.org/viewtopic.php?id=12915  ??
   - Set All Forums to read only??: edit open/close flag in all forums via the database  ??
   - Set All Groups Members to read only??: Check if is possible users from main bbs tables can be related/associated to archive bbs 'group table' and not the main one?  If so maybe is possible to edit archive bbs groups flags all to read-only status?? 
   - CHMOD: what happens if I chmod the folders to disallow editing?? (I am sure you have to take a few things into consideration so the bbs will still function)

10) TEST

=================================
=================================
DE-ARCHIVE METHOD PLAN: 

=================================
I. Presuppositions:
-
-
=================================
II. Essential Plan:
- Reintegrate the Forums and Topics back into the Main OurForum Tables using some sort of     update statements per Smartys suggested perhaps....??

=================================
III. Procedure:
-
-

=================================
Edits:
1b: changes to #8 Tobi's code

Last edited by twohawks (2007-02-08 16:14:16)


TwoHawks
Love is the Function
No Form is the Tool

Offline

 

#11 2007-02-08 03:54:40

Smartys
Member
Registered: 2005-03-17
Posts: 332
Website

Re: Archive Forum Plan: Your Comments and Suggestions Please

You commented on using some simple update statements.  And considering topics are 'ruled by time' in a manner of speaking, it seems quite possible that update-reintegration may indeed be as simple a matter as you (and Guardian) have indicated.

My comment about simple update statements was regarding my idea, not moving the information to a seperate forum wink
However, depending on how you moved the topics/posts out, reintegration is entirely possible. It just relies on the following premises:
A. If you delete users, you must do something with their posts/topics in the archive. Same applies if you change a username.
B. The ID numbers for posts/topics are not reused.

If both of those are true, you can simply take a database dump of the contents of the archive posts/topics and reinsert them into the proper tables.

Oh, and keep in mind that you should reindex the search tables for both forums if they want them both properly searchable

Last edited by Smartys (2007-02-08 03:55:58)


Free PunBB Hosting - lots of mods, easy to customize

Offline

 

#12 2007-02-08 10:51:14

twohawks
Member
From: Nevada, USA
Registered: 2006-09-21
Posts: 240

Re: Archive Forum Plan: Your Comments and Suggestions Please

Thank you for those important clarification Smartys.

Some Questions/Analysing:
1) Per A. For the current method I am working out (mirrored forum as archive, w/shared user base per Tobi's method [which actually I think Smartys also had something to with ;^]) I need to test how deleting a user in the main bbs does or doesn't update the post/topics in the mirror.  It seems it should because the reliance of the post/topics from the archive bbs is founded on the main live bbs (?).

2) Per b. Then would I be in the neighborhood with this thinking... When reintegrating the post/topics the existing id's either need to be removed and then re-indexed (in some way) after/during "update", OR what exactly should my thinking be on this (is there a straightforward answer to this)?

<edited>
Set A Forum to Read-Only 'Tool': I am not sure how to best globally do this.
- I see that one can uncheck all the user groups' post permissions (tedious, and doesn't take into account after new ones are added in the main bbs, when you want to restore a forum for active posting, that you have to recheck post permissions not only for pre-existing ones, but for ones that were added later as well..., so it seems that this won't really work effectively by itself).
- I see you can edit each forum's list of group permissions, turning off post perms, but this also doesn't take into account similar new groups issues as mentioned above, so again it seems this is not an efficient approach either.
---Either way the admin is facing a potentially heckova lot of, and ever growing, box checking!

- In lieu of other suggestions just now, my thoughts wander to this idea:
    1> Add a column in the forums table labelled 'read_only', and then
         add a checkbox in the forum's admin panel that can simply be checked off for toggling the value (0/1 = off/on kind of thing), and then
         -add/edit code in the relevant php files' query locations that watches for this value and takes authority for turning off postability (any tips on which files/where this needs to happen, or how, would be appreciated)
    2> Also Add a read_only column in the categories table and then
         add a checkbox in the categories admin panel that can simply be checked off, and
         set a query that then sets all child forum's read_only attribute accordingly. 
    3> Need to think through some logic that handles a third state where not all forums in a category are set the same...       

...Kind of thing? What do you (all) think?

I really appreciate your interest and patience in participating with this Smartys, and anyone else who is following this.  I know its a bit lengthy.  I am hoping it will be worth it for more folks than just my own crew.

Cheers,

Last edited by twohawks (2007-02-08 16:46:10)


TwoHawks
Love is the Function
No Form is the Tool

Offline

 

#13 2007-02-08 14:45:46

Smartys
Member
Registered: 2005-03-17
Posts: 332
Website

Re: Archive Forum Plan: Your Comments and Suggestions Please

Some Questions/Analysing:
1) Per A. For the current method I am working out (mirrored forum as archive, w/shared user base per Tobi's method [which actually I think Smartys also had something to with ;^]) I need to test how deleting a user in the main bbs does or doesn't update the post/topics in the mirror.  It seems it should because the reliance of the post/topics from the archive bbs is founded on the main live bbs (?).

Right, if you delete a user you need to delete their posts or set their poster to the Guest user

2) Per b. Then would I be in the neighborhood with this thinking... When reintegrating the post/topics the existing id's either need to be removed and then re-indexed (in some way) after/during "update", OR what exactly should my thinking be on this (is there a straightforward answer to this)?

I'll give you an example to help you think about this (just with topics)
I create 10 topics on a brand new PunBB. They get IDs 1-10.
I create an archive with a copy of the brand new PunBB. The topics there have IDs of 1-10. I delete IDs 1-10 in the brand new forum.
I create 10 topics on the brand new PunBB. They get IDs 11-20, since 1-10 were created and deleted.
I want to merge the archive into the main forum. So, I get a dump of the full insert statements (which include the IDs). I then reinsert the posts into the main forum with the correct IDs.
We thus avoid the issue of duplicate IDs when restoring topics and have no issues restoring the board smile

You also have to keep in mind that changing forum IDs for topics, etc can cause issues (ie: if you delete a forum and try to restore the topics in the archive from that forum).

- I see that one can uncheck all the user groups' post permissions (tedious, and doesn't take into account when new ones are added in the main bbs, so it won't really work by itself).
- I see you can edit each forum's list of group permissions, turning off post perms, but this also doesn't take into account additions of new groups, so again it seems this is not an efficient approach

When a new group is created, its permissions are based around those of another group. Therefore, new groups are not an issue.


Free PunBB Hosting - lots of mods, easy to customize

Offline

 

#14 2007-02-08 16:31:41

twohawks
Member
From: Nevada, USA
Registered: 2006-09-21
Posts: 240

Re: Archive Forum Plan: Your Comments and Suggestions Please

Very helpful, thank you!

And per new groups, yes, Guardian set me straight on that.  The whole read-only thing is still a big issue though.  I am sure you will see I posted a separate topic for obtaining explicit feedback on the Set a Forum to Read_Only 'Tool' idea.  (Even though it is important to archiving, I thought it warranted its own unique topic.)
  ...its here...
"Close/Lock Forum + Close/Lock Category Read-Only"
http://www.punres.org/viewtopic.php?pid=13645

Cheers,


TwoHawks
Love is the Function
No Form is the Tool

Offline

 
  • Index
  •  » Mod requests
  •  » Archive Forum Plan: Your Comments and Suggestions Please

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.