[x] Navigation

[x] Languages

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

Help to add a second Event4U

This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page     Forum Index ›  Events 4U

View previous topic :: View next topic  
Author Message
taxviper
Investigator
Investigator

Offline Offline
Joined: Aug 12, 2004
Posts: 9

PostPosted: 18.08.2004 09:16
Post subject: Help to add a second Event4U

Hi,

I've have added Event4U to my (test)site and it works just fine Smile It's just what I wanted.

But I would like to add a second Event4U-calender, so I have to different calenders (Dualigual site - so one calender for Danish and one for English language).

I tried to change all hits of "event4u" to "event4u2" - inside the files and the file-/directorynames. It didn't work - the site becomes unavailable.

Who can I do this?

Thanks,

Taxviper


taxviper please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
taxviper
Investigator
Investigator

Offline Offline
Joined: Aug 12, 2004
Posts: 9

PostPosted: 18.08.2004 09:19
Post subject: Re: Help to add a second Event4U

By the way - I have of cause also added the need two tables to my DB, also called "event4u2"-something.

- Taxviper


taxviper please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 18.08.2004 17:19
Post subject: Re: Help to add a second Event4U

hhmmm

so i would do :

1. search (case sensitive) for "_events4u" replace it with "_events4u2" / here the 2 tables name

2. search (case sensitive) for "Events4U" replace it with "Events4U2" / thats the module_name=>foldername

3. search (case sensitive) for "$events4u" replace it with "$events4u2" /


good luck

ertan

if error post it here Wink


Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
taxviper
Investigator
Investigator

Offline Offline
Joined: Aug 12, 2004
Posts: 9

PostPosted: 18.08.2004 20:50
Post subject: Re: Help to add a second Event4U

I'm sad to say - it still dosn't work.

The site works fine until I (administrator) logs in. Then you only gets the header.

I also tried to make the tables manually - with the sql-file. No luck.

When i again delete all the files added to the admin-folders, the site works again.

Can the error be something about CPGnuke tries to install the module?

Thanks,

Taxviper


taxviper please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 18.08.2004 21:03
Post subject: Re: Help to add a second Event4U

you have to rename the files

admin/modules/events4u.php
=>events4u2.php

case.events4u.php =>case.events4u2.php

and so on ....

then

search (case sensitive) for things with events4u.php in it and replace it with "events4u2.php"

thats the concept Wink


Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
taxviper
Investigator
Investigator

Offline Offline
Joined: Aug 12, 2004
Posts: 9

PostPosted: 18.08.2004 21:31
Post subject: Re: Help to add a second Event4U

I did all that Crying or Very sad

If I could I would attach the files here - but it seams that I can't attach file to the posts.

I searched and replaced the three like you wrote.
I renamed all the files and directories
I searched and replaced "events4u.php" with "events4u2.php" also

Still no luck

Taxviper


taxviper please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
taxviper
Investigator
Investigator

Offline Offline
Joined: Aug 12, 2004
Posts: 9

PostPosted: 18.08.2004 21:51
Post subject: Re: Help to add a second Event4U

I found if I delete the file /admin/links/adlnk_events4u2.php

the site will run - but of cause with out the second calender.

So I guess the "error" is in this file.

I have posted the code of this file below:

PHP:
<?php
/************************************************************************/
/* Events4U2 */
/* ==================================================================== */
/* ported cpgnuke germany 26.03.2004 */
/* www.cpgnuke.de @ EA */
/* ==================================================================== */
/*
CPG-NUKE: Advanced Content Management System
********************************************
Copyright (c) 2004 by CPG Dev Team
cpgnuke.com*/
/* ==================================================================== */
/* based on Calendar Module for vkpMx 2.x & phpNuke 5.5-7.0 */
/* Copyright (c) 2004 by A.Ellsel (kalender@pragmamx.org) */
/* www.pragmamx.org & ww.shiba-design.de */
/* -------------------------------------------------------------------- */
/* KalenderMx is based on EventCalendar 2.0 */
/* Copyright (c) 2001 Originally by Rob Sutton */
/* smart.xnettech.net (Nuke Site) */
/* Development continued by Aleks A.-Lessmann */
/* Included some ideas and changes by: */
/* flobee, bulli-frank, kicks, kochloeffel, FrankySz, Jubilee */
/* -------------------------------------------------------------------- */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 or a newer version. */
/************************************************************************/

//
require_once("modules/Events4U2/includes/functions.php");
if ((
calIsAdmin()) or ($radminsuper)) {
$menuitems['_AMENU9'][_EVENTS4U]['URL'] = adminlink('CalendarAdmin');
$menuitems['_AMENU9'][_EVENTS4U]['IMG'] = "events4u2.gif";


}




?>

Or am I all wrong Question

Sorry to ask all this questions, but I really like this calender and I need two of them on one site.

Hope you can help Smile

- Taxviper


taxviper please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
taxviper
Investigator
Investigator

Offline Offline
Joined: Aug 12, 2004
Posts: 9

PostPosted: 18.08.2004 21:59
Post subject: Re: Help to add a second Event4U

New development Very Happy

I have the module running now - I did everything once again and now the module is running.

And i have deleted the file mentioned in my last post. Therefore I have no config-page for Events4u2-module.

So thanks so far - but how do I get the admin-part to work also?

- Taxviper


taxviper please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
taxviper
Investigator
Investigator

Offline Offline
Joined: Aug 12, 2004
Posts: 9

PostPosted: 18.08.2004 22:17
Post subject: Re: Help to add a second Event4U

Maybe just a little to fast - it's not working.

I can see the block (of events4u2), but if I click them - back to square 1 (again a page with only the header).

So maybe the "error" is in the functions.php-file??

- Taxviper


taxviper please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
taxviper
Investigator
Investigator

Offline Offline
Joined: Aug 12, 2004
Posts: 9

PostPosted: 20.08.2004 20:42
Post subject: Re: Help to add a second Event4U

Hi again,

Do no one have any ideas - because I would love to get it to work Smile

Hopes from

Taxviper


taxviper please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 21.08.2004 17:10
Post subject: Re: Help to add a second Event4U

mail me your patched files Wink

_________________
.: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr

Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
taxviper
Investigator
Investigator

Offline Offline
Joined: Aug 12, 2004
Posts: 9

PostPosted: 21.08.2004 19:10
Post subject: Re: Help to add a second Event4U

Have done that - thanks Smile

Taxviper


taxviper please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page    Forum Index ›  Events 4U
Page 1 of 1
All times are GMT + 1 Hour



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




Interactive software released under GNU GPL, Code Credits, Privacy Policy