Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 10:41:03 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155470 Posts in 21707 Topics by 7734 Members
Latest Member: rofroodoOvego
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: From Xoops to WB  (Read 347 times)
Xagone
AddOn Development
*
Offline Offline

Posts: 478



WWW
« on: December 05, 2008, 05:31:38 PM »

We have a 5 installlation of xoops patched together  by symlinks, php codes and javascript to form a single website... lets face it... this suck.

just for fun i've installed WB and recreate the entire 5-xoops installed within 1 installation of WB 2.7 and best of all... the forum, witch is a PHPbb3, can be moduled into WB.  grin

We are planing to switch to WB from the original site.. problem is... the archives..

we want to transfert mostly the news, 5 set of news into 5 news pages of WB.

i'll trie to do it by creating a php that'll connect to 1 xoops news and transfert news by news to a news section of wb.

did anybody did something like this ? even not from xoops ? maybe wordpress or b2evolution?

is there a manual or a very kind person that can explain to me how a news module is implemented in DB and folder (for picture) huh

(the website in xoops : http://www.motocrossquebec.ca/ ) we have a wb installed in http://new.motocrossquebec.ca/ )
Logged

Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
pcwacht
AddOn Development
*
Offline Offline

Posts: 2856



WWW
« Reply #1 on: December 05, 2008, 11:45:32 PM »

Look at the file add_post.php from the news module

There you'll see how a new post item is inserted i the database,
nest in file save_post.php you'll find the needed stuff to update that record.

Very important in that table is the section_id and the page_id , they must point to the correct section/page

Just create a new post, have a look at the db and extract what you need from there (section/page)


Have fun,
John
Logged

http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!