1
slyss
News 1.44 duplicatable?
  • 2006/3/30 23:05

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


hi everybody

the module News 1.44 is duplicatable?

can i install 2 modules News in my site?

thanks a lot
[size=x-large]2008 Xoops Book[/size]

2
martyboy
Re: News 1.44 duplicatable?
  • 2006/3/31 0:32

  • martyboy

  • Quite a regular

  • Posts: 256

  • Since: 2004/5/25


You would have to clone it changing references to 'news' to something else within the files, its a bit of work. There is a news module clone called news2 in the repository here, its a clone of news 1.1 I use both news and news2 on my site with no problems.
Michael Jackson = King Of Pop

Xoops = King Of CMS

3
domecc
Re: News 1.44 duplicatable?
  • 2006/3/31 4:06

  • domecc

  • Just popping in

  • Posts: 71

  • Since: 2005/10/30


XoopsChina Webmaster

4
acegamer
Re: News 1.44 duplicatable?
  • 2006/8/10 14:47

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


Hello, i'm trying to clone the news module 1.44
2 times, i read and tried the faq but, i can't install the module, i get this
"Unknown column 'menu' in 'field list'"

It's just edit the xoops_version right?
I have edit the sql-> MySQL to!
Or must i edit something else to...?



anyway thx

5
Shine
Re: News 1.44 duplicatable?
  • 2006/8/10 15:13

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


As stated in the tutorial you also have to change all sql tables.
Quote:
CREATE COUNTS STORIES02 (
CREATE COUNTS TOPICS02 (
INSERT INTO TOPICS02
* in xoops_version modify the references to the tables:
$$modversion['sqlfile']['mysql ' ] = "sql/mysql.sql";
$$modversion['tables'][0 ] = "stories02";
$$modversion['tables'][1 ] = "topics02";
* seek and replace in all the files the references to the tables.
If you make a total replacement, do it with prefix(' nomdelatable rather ') than the name of the table alone; you would be likely unnecessarily to change values of variables which would bear the same name.
In this case, made research several times: with simple and doubles quotes, with and without space:
replace prefix(' stories ') , prefix("stories") , prefix(' stories') ... by prefix(' stories02 ')
replace prefix(' topics ') , prefix("topics") , prefix(' topics') ... by prefix(' topics02 ')

Also you have to change ALL references within every php and template and language file
Quote:
If all the variables are prefixed (ex) _ MI_NEWS _ made a total replacement of _ MI_NEWS _ by _ MI_NEWS02 _


In other words: you have to change everything in every file you can think of to create a clone of a (this) module.
PLease read the tutorial more carefully. All has been said within that one.
PS: also read the last given comments within that tuto. It is giving you some more understandable handouts about cloning news 1.44

Grtz., Shine

6
acegamer
Re: News 1.44 duplicatable?
  • 2006/8/11 10:28

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


mmm, i tried it but i didn't get it to full work

if someone want it to see :o

Here you go...

Or if someone have a duplicate version of news 1.44 plz send me a pm, and i give you my mail, because i'm realy need this


Thx !!!!

AceG.

7
Djiman
Re: News 1.44 duplicatable?
  • 2006/8/11 11:25

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


I have half of a precious hr today to spend .
but where and how do I upload or post that cloned news module for you?
PLS: as soon as I know how, I'll post one for yall.

8
acegamer
Re: News 1.44 duplicatable?
  • 2006/8/11 12:04

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


Here you go!

When it's done you can past a link here to the download file

thx mate!

cheers

AceG.

9
Djiman
Re: News 1.44 duplicatable?
  • 2006/8/11 12:20

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


Okay, I think you have it.
just go to your site at
http://www.badongo.com/file/1213578

It is cloned as *MYNEWS*, read the README.TXT!

I think all should work fine.
upload mynews in the usual secret place and install it as a normall module. You can run it side by side with news.

If you want different templates , that! you should work on it to your feel.

upload a copy on here for a quick access to others, or I can also send one copy

enjoy it! and all the best.

10
acegamer
Re: News 1.44 duplicatable?
  • 2006/8/11 12:22

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


thx budy i tried right now

Login

Who's Online

222 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 222


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits