81
acegamer
Re: News 1.44 duplicatable?
  • 2006/8/12 22:58

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


Your script don't work for me :s
it work one time, but you can install the module, but it gives some weird errors all the time...

But, thx
_________

And already have 2 clones of news 1.44 but i only have a problem, when you go to your profile at the site...
It gives a white page!

The "edit your profile" & "notifvications" works fine!!

But i have a problem now, when there are 2 or more news 1.44 modules installed, you can't view "My Profile"

""php debugger say's this""

Quote:
Fatal error: Cannot redeclare getmoduleoption() (previously declared in *********/www/modules/news/include/functions.php:41) in *********/www/modules/fun/include/functions.php on line 41



Does someone know what i must do?! plz :o

Here you see the original module that is installed on line 41

Quote:
/**
* Returns a module's option
*
* Return's a module's option (for the news module)
*
* @package News
* @author Hervé Thouzard (www.herve-thouzard.com)
* @copyright (c) The XOOPS Project - www.xoops.org
* @param string $option module option's name
*/
function getmoduleoption($option, $repmodule='news')
{
global $xoopsModuleConfig, $xoopsModule;
static $tbloptions= Array();
if(is_array($tbloptions) && array_key_exists($option,$tbloptions)) {
return $tbloptions[$option];
}


And here of the clone module news 1.44 (ake fun 1.44)
Quote:
* @package Fun
* @author Hervé Thouzard (www.herve-thouzard.com)
* @copyright (c) The XOOPS Project - www.xoops.org
* @param string $option module option's name
*/
function getmoduleoption($option, $repmodule='fun')
{
global $xoopsModuleConfig, $xoopsModule;
static $tbloptions= Array();
if(is_array($tbloptions) && array_key_exists($option,$tbloptions)) {
return $tbloptions[$option];
}

$retval=false;
if (isset($xoopsModuleConfig) && (is_object($xoopsModule) && $xoopsModule->getVar('dirname') == $repmodule && $xoopsModule->getVar('isactive'))) {
if(isset($xoopsModuleConfig[$option])) {
$retval= $xoopsModuleConfig[$option];
}
[/quote]



82
acegamer
Re: News 1.44 duplicatable?
  • 2006/8/12 16:41

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


yes, thx
_________


But i have a problem now, when there are 2 or more news 1.44 modules installed, you can't view "My Profile"

php debugger say's this

Quote:
Fatal error: Cannot redeclare getmoduleoption() (previously declared in *********/www/modules/news/include/functions.php:41) in *********/www/modules/fun/include/functions.php on line 41



Someone know what i must do :o

cheers,
AceG.

-----------------------------
*** is for security reason's

Here you see the original module that is installed on line 41
Quote:
/**
* Returns a module's option
*
* Return's a module's option (for the news module)
*
* @package News
* @author Hervé Thouzard (www.herve-thouzard.com)
* @copyright (c) The XOOPS Project - www.xoops.org
* @param string $option module option's name
*/
function getmoduleoption($option, $repmodule='news')
{
global $xoopsModuleConfig, $xoopsModule;
static $tbloptions= Array();
if(is_array($tbloptions) && array_key_exists($option,$tbloptions)) {
return $tbloptions[$option];
}


And here of the clone module news 1.44 (ake fun 1.44)
Quote:
* @package News
* @author Hervé Thouzard (www.herve-thouzard.com)
* @copyright (c) The XOOPS Project - www.xoops.org
* @param string $option module option's name
*/
function getmoduleoption($option, $repmodule='fun')
{
global $xoopsModuleConfig, $xoopsModule;
static $tbloptions= Array();
if(is_array($tbloptions) && array_key_exists($option,$tbloptions)) {
return $tbloptions[$option];
}

$retval=false;
if (isset($xoopsModuleConfig) && (is_object($xoopsModule) && $xoopsModule->getVar('dirname') == $repmodule && $xoopsModule->getVar('isactive'))) {
if(isset($xoopsModuleConfig[$option])) {
$retval= $xoopsModuleConfig[$option];
}



83
acegamer
Re: News 1.44 duplicatable?
  • 2006/8/11 17:54

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


It's for a new project...

3 sites in one...

news, enterainment, and nsfw stuff
Bud i need one more news module 1.44 to finish.

Because i can't get the users tabels not shared over 2 subdomains and one main site, so we gonna take a other route... -> with 3 news 1.44 modules

Why 3? So that the thema's can be changed, (afhankelijk van) on with module visitors are... So that i looks like they are on a differend site, it's hard to explain it in english



84
acegamer
Re: News 1.44 duplicatable?
  • 2006/8/11 16:38

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


thx a lot !

Now i just need, just one more news 1.44 clone...
so that i have 3 news 1.44 modules...

Someone, have another one ?



85
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



86
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.



87
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.



88
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



89
acegamer
Re: suspending users
  • 2006/8/9 15:26

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


Someone else that have the skills for that?



90
acegamer
Re: MultiSite Hack for Xoops 2.0.13.2
  • 2006/8/9 15:22

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


Someone?

How do i share the users tabels to one main site (www.) and 2 subsites? (fun. and news.)




TopTop
« 1 ... 6 7 8 (9) 10 11 12 ... 14 »



Login

Who's Online

216 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 216


more...

Donat-O-Meter

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

Latest GitHub Commits