ForumsPro - converting tables to CPG-BB
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCPG-BB (forum)
Author Message
greenday2k
Forum Admin


Joined: Aug 11, 2005
Posts: 484
Location: CO

PostPost subject: ForumsPro - converting tables to CPG-BB
Posted: Mon Mar 10, 2008 4:16 pm
Reply with quote

is not complicated to move your topics and forums from forums Pro to Cpg Forums... Keep in mind that youll lose the subforums Features,Forums icons and so on, you have to rebuild your bbserachXXX tables. Re check and maybe Edit your permissions for all your Forums.

The best way is using phpmyadmin in two windows... of course working on a backed-up database. In each windows compare and edit the tables

prefix_fpro_forums to prefix_bbforums
(also you need to sep "parent" to zero in all forums)
prefix_fpro_categories to prefix_bbcategories
prefix_fpro_posts to prefix_bbposts
prefix_fpro_posts_text to prefix_bbposts_text
prefix_fpro_posts_notifications to prefix_bbposts_notifications

Compare the tables and delete the "extra colums" on the fpro tables, then delete the "original" _bbxxxx tables, rename the edited fprotables to bbxxxx.

Rebuild the bbsearchxxx tables using this script
dragonflycms.org/Forum...20/#140520

Edit the .htaccess file to point Forums_Pro Posts, Forums etc links to Cpg Forums.
CPg-

Ill try build a guide, but is not complicated.
Compare and delete colums, thats All.

_________________
www.greenday2k.net



greenday2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
shooh
Newbie


Joined: Jan 25, 2007
Posts: 42

PostPost subject: Re: How to move topics from ForumsPro back to CPG-BB
Posted: Wed Mar 12, 2008 7:39 pm
Reply with quote

greenday2k, when would your guide possibly be ready?

shooh's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/5.0.27/5.2.1/9.2.1
Back to top
View user's profile Visit poster's website
shooh
Newbie


Joined: Jan 25, 2007
Posts: 42

PostPost subject: Re: How to move topics from ForumsPro back to CPG-BB
Posted: Wed Mar 12, 2008 8:59 pm
Reply with quote

Here is a quick test according to greenday2k's instructions.

Below is the comparison between table structures of ForumsPro and CPG-BB



First, I dropped all underlined tables of CPG-BB except cms_bbsearch_wordlist and cms_bbsearch_wordmatch.
Code:
DROP TABLE cms_bbattachments, cms_bbattachments_desc, cms_bbauth_access, cms_bbcategories, cms_bbforums, cms_bbposts, cms_bbposts_text, cms_bbtopics, cms_bbtopics_watch, cms_bbvote_desc, cms_bbvote_results, cms_bbvote_voters;

Then, renamed all their equivalents from ForumsPro to CPG-BB:
Code:
RENAME TABLE cms_fpro_attachments TO cms_bbattachments;
RENAME TABLE cms_fpro_attachments_desc TO cms_bbattachments_desc;
RENAME TABLE cms_fpro_auth_access TO cms_bbauth_access;
RENAME TABLE cms_fpro_categories TO cms_bbcategories;
RENAME TABLE cms_fpro_forums TO cms_bbforums;
RENAME TABLE cms_fpro_posts TO cms_bbposts;
RENAME TABLE cms_fpro_posts_text TO cms_bbposts_text;
RENAME TABLE cms_fpro_topics TO cms_bbtopics;
RENAME TABLE cms_fpro_topics_watch TO cms_bbtopics_watch;
RENAME TABLE cms_fpro_vote_desc TO cms_bbvote_desc;
RENAME TABLE cms_fpro_vote_results TO cms_bbvote_results;
RENAME TABLE cms_fpro_vote_voters TO cms_bbvote_voters;

Checked the URL index.php?name=Forums which worked without any error and the forum loaded perfectly. What I didn't do is rebuilding the wordlist and wordmatch tables (yet). And my ForumsPro had no subforums.


shooh's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/5.0.27/5.2.1/9.2.1
Back to top
View user's profile Visit poster's website
CatchImran
500+ Posts Club


Joined: Mar 06, 2006
Posts: 635
Location: India

PostPost subject: Re: How to move topics from ForumsPro back to CPG-BB
Posted: Mon Jun 02, 2008 9:41 am
Reply with quote

Tried this and it does seem to work. But there seems to be a small problem. I seem to be missing this table

cms_fpro_attachments_desc

What does it exactly do? I have left the standard cms_bbattachments_desc table while I look for more answers! Help appreciated.

_________________


Visit www.RadoPOD.com Today!

CatchImran's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.54 (Unix)/5.0.51/5.2.6/DragonflyCMS 9.2.1
Back to top
View user's profile Visit poster's website
CatchImran
500+ Posts Club


Joined: Mar 06, 2006
Posts: 635
Location: India

PostPost subject: Re: How to move topics from ForumsPro back to CPG-BB
Posted: Mon Jun 02, 2008 11:25 am
Reply with quote

Just realized that I am using FPro 2.0.0.1. Could this be related to the different version as you have attempted this on 1.0.0.3
_________________


Visit www.RadoPOD.com Today!

CatchImran's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.54 (Unix)/5.0.51/5.2.6/DragonflyCMS 9.2.1
Back to top
View user's profile Visit poster's website
shooh
Newbie


Joined: Jan 25, 2007
Posts: 42

PostPost subject: Re: How to move topics from ForumsPro back to CPG-BB
Posted: Wed Jul 23, 2008 3:12 pm
Reply with quote

CatchImran wrote:
Tried this and it does seem to work. But there seems to be a small problem. I seem to be missing this table

cms_fpro_attachments_desc

What does it exactly do? I have left the standard cms_bbattachments_desc table while I look for more answers! Help appreciated.

Attachments' description


shooh's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/5.0.27/5.2.1/9.2.1
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: Converting ForumsPro to CPG-BB
Posted: Mon Dec 01, 2008 11:49 pm
Reply with quote

revived

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Otzelott
Newbie


Joined: Mar 18, 2008
Posts: 1

PostPost subject: Re: ForumsPro - converting tables to CPG-BB
Posted: Wed Dec 30, 2009 6:08 pm
Reply with quote

The thread looks quite old, but i was searching for hours for an solution to konvert Forumspro v2.0.1 to Regular Dragonfly 9.2.1.

Quote:
prefix_fpro_forums to prefix_bbforums
(also you need to sep "parent" to zero in all forums)
prefix_fpro_categories to prefix_bbcategories
prefix_fpro_posts to prefix_bbposts
prefix_fpro_posts_text to prefix_bbposts_text
prefix_fpro_posts_notifications to prefix_bbposts_notifications

ForumsPro 2.0.1 Users have to this also on the following Tables:

prefix_fpro_topics to prefix_bbtopics (drop "topic_description" and "topic_descmod")
prefix_fpro_topics_watch to prefix_bbtopics_watch

On prefix_bbforums in Field forum_order you have to add a "0" after each Number, so that the forumsorder looks like:
1st Forum 10
2nd Forum 20


Otzelott's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
DF 9.2.1
Back to top
View user's profile Visit poster's website
penbrock
Newbie


Joined: Sep 24, 2008
Posts: 32
Location: Anchorage, AK

PostPost subject: Re: ForumsPro - converting tables to CPG-BB
Posted: Tue Feb 02, 2010 5:11 pm
Reply with quote

I must have missed something. I wanted to keep my Pro running until I was able to test the Plus install so I copied (not moved)
Quote:
prefix_fpro_forums to prefix_bbforums
(also you need to sep "parent" to zero in all forums)
prefix_fpro_categories to prefix_bbcategories
prefix_fpro_posts to prefix_bbposts
prefix_fpro_posts_text to prefix_bbposts_text
prefix_fpro_posts_notifications to prefix_bbposts_notifications
I do see all the messages in _bbposts_text, when I go to the forum I see all the categories fine, but there is no topics or messages in any of them.

What did I miss?

_________________
--------------------------------------
Dragonfly site: www.stormsurgeguild.com
Game site: www.penbrock.com

penbrock's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu8.04.1/Apache2.2.8/MySQL5.0.51/PHP5/Ver 9.2.1
Back to top
View user's profile Visit poster's website
penbrock
Newbie


Joined: Sep 24, 2008
Posts: 32
Location: Anchorage, AK

PostPost subject: Re: ForumsPro - converting tables to CPG-BB
Posted: Tue Feb 02, 2010 5:27 pm
Reply with quote

OK well after coping the bbtopics I can now see the topics but I get a database error when ever I try to read any message
_________________
--------------------------------------
Dragonfly site: www.stormsurgeguild.com
Game site: www.penbrock.com

penbrock's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu8.04.1/Apache2.2.8/MySQL5.0.51/PHP5/Ver 9.2.1
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: ForumsPro - converting tables to CPG-BB
Posted: Wed Feb 03, 2010 2:59 am
Reply with quote

And the error is?

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCPG-BB (forum) All times are GMT
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.6543 seconds with 16 DB Queries in 0.0703 seconds
Memory Usage: 2.97 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy