spartacus questions - confused :/

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Elaine
Regular
Posts: 27
Joined: Thu Jul 20, 2006 10:21 pm

spartacus questions - confused :/

Post by Elaine »

Hi!

I love Serendipity. Thank you.

I'm using Serendipity 0.8.2 installed on a host server (virtual, linux, goDaddy).

I've been reading about the URL change in the Spartacus repository/plugin but I'm not entirely sure where I'm supposed to change it and to what I should change it.

How many places is "serendipity_event_spartacus.php" do I need to change the URL and what do I change it to?

An actual example of the code would be nice :)
Like, is this right?


Code: Select all

function &fetchOnline($type) {
        switch($type) {
            // Sanitize to not fetch other URLs
            default:
            case 'event':
                $url_type = 'event';
                break;

            case 'sidebar':
                $url_type = 'sidebar';
                break;
        }

        $url    = 'http://netmirror.org/mirror/serendipity/package_' . $url_type . '.xml';
        $cacheTimeout = 60*60*12; // XML file is cached for half a day
        $target = $serendipity['serendipityPath'] . 'templates_c/package_' . $url_type . '.xml';
And should I change

Code: Select all

 foreach($files AS $file) {
            $url    = '
what goes here?

Code: Select all

' . $file . '?rev=1.9999';
            $target = $pdir . $file;
            @mkdir($pdir . $plugin_to_install);
            $this->fetchfile($url, $target);
            if (!isset($baseDir)) {
                $baseDirs = explode('/', $file);
                $baseDir  = $baseDirs[0];
            }

Also, will Spartacus be available at http://spartacus.s9y.org/ so that I can just download the correct version instead of fixing this one? :)
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Post by TKS »

First things first...you should update your blog. Serendipity is now at version 1.0 and has many bug fixes and security patches installed in it. Upgrading is a snap...if you have problems with it, please come back to the forums. Once you are running a current version, I think you'd get better help because we wouldn't be trying to fix your problem which might have been a bugfix in a later version :D
azel
Regular
Posts: 265
Joined: Thu Apr 21, 2005 4:28 am
Contact:

Post by azel »

When you upgrade to 1.0, you can easily change the url plugins are grabbed through, right in the Spartacus configuration screen. :)
Elaine
Regular
Posts: 27
Joined: Thu Jul 20, 2006 10:21 pm

Post by Elaine »

OK, it's upgraded. Thanks :)
Yay, me likey.

Now I have more questions! But I'll search first.
Post Reply