21
trabis
Re: News 1.44 duplicatable?
  • 2006/10/18 22:20

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Hello acegamer.
Well. It hapenned to me to. Then problem is in the profile and in the search. If you deactivate the search inclusion in xoopsversion.php you will be able to see the proflie.
Why?
Because it calls news/include/functions.php
For this module to work fine you have to rename all the functions inside functions.php and the other files that call them.

Ok
But it still has a bug that I can´t resolve.
I can´t use an original block together with a cloned block in the same page. In diferent pages they work fine. The problem must be the same but I can´t tell exatly where. My clue is the folder Class. How do I rename a class???
How is a class called??

If I rename
class NewsStory extends XoopsStory

to
class NewsStory_02 extends XoopsStory

then how do I rename the references to it?

is this a reference:
$tmpstory = new NewsStory; ??? maybe a class

or this:
$tmpstory = new NewsStory(); ?? this i think it´s a function

is this a reference:
$storyarray = NewsStory :: getAllSubmitted(0, true, getmoduleoption_02('restrictindex')); ??? maybe a class

anyone??

22
sabahan
Re: News 1.44 duplicatable?
  • 2006/11/8 12:56

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


does anybody got a working news module clone ?

23
limecity
Re: News 1.44 duplicatable?
  • 2007/3/15 3:30

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


does anyone have the full working clone for news 1.44 or any newer vesion other than 1.11 in the module repository
hhttp://www.mounthiking.com
all your hiking gears and gadgets


24
davidl2
Re: News 1.44 duplicatable?
  • 2007/3/15 7:48

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


The latest release can be found at: xoops.instant-zero.com

But I dont believe its clonable.

25
limecity
Re: News 1.44 duplicatable?
  • 2007/3/15 12:18

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


thanks david.
I am using the latest 1.50 at the moment

but was thinking that someone may have successfully clone the older versions what uses tinyeditor or other WYSIWYG editor.
hhttp://www.mounthiking.com
all your hiking gears and gadgets


Login

Who's Online

364 user(s) are online (323 user(s) are browsing Support Forums)


Members: 0


Guests: 364


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