[wikiss-users] PHP4 & Backlinks plugin |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/wikiss-users Archives
]
- To: wikiss-users@xxxxxxxxxxxxxxxxxxx
- Subject: [wikiss-users] PHP4 & Backlinks plugin
- From: Marcus B <mrmabs@xxxxxxxxx>
- Date: Sun, 13 Apr 2008 15:11:03 +1000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type; bh=GYXQmoU9nyajyT2lpEyNlN0tn2wfGye93j3haMVEqQU=; b=J5zMSbe078ZyKj3b729HjaWPp4MwK6A0km2F497Ob4lNB/nD6mLIrOtd307+32NJ24O7y38T4yt1fKGISyJzsTkaIaabI8eGKcQnZZyuMnM4PaqmFP2R56yEXDP8cpxYYS3FBqHGWFIVZ0HRRCAgO/C88kjTY9/nQ5iIfkfddyc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:content-type; b=MiKNBvQbShWN6l/Uv87RoYLZgcBFxHMplNKiNkdLKIXE6If6K5GY2SalzbXEb2x075OmYIVl3NRghelOkVjNJ21g12DJQa06i4aJFjCS4JumebZnxEOaNDHVVFOpB1J9xYvzAOi6rB4RwZult/YQ48zHN/eam2FQpTixQF/KPLk=
My web hosting company only does PHP4, which is annoying, but as with
TigerWiki, I found that commenting out 1 line fixes the problem, it
doesn't seem to break the code in other places, but it gets it working
for me at least.
On line 144, comment out or delete:
"@date_default_timezone_set($TIME_ZONE);". I've had no major side
effects since. May be an if statement for the different PHP versions
could be added in here?
I've also written a backlinks plugin. This will add server load, as it
does a full text search of every wiki page every time you ask for the
backlinks, so large wikis, beware!
I don't know any French, so I have only done what I think is necessary
to get the plugin to work. I have also used "{backlinks}" as the wiki
name to activate the plugin, which may break the wiki name space, as
"{...}" is already used, so any suggestions to what it should be are
welcome.
I'm currently working on using WiKiss as a PIM. I am also looking into
making a "Today" page plugin (action), a delete page button & maybe an
orphaned pages list.
I have also heavily modified the template and css so it looks nicer on
mobile devices.
Now to get the wiki to set alarms on my PDA for me :) (which may be
possible...).
Marcus B.
findBacklinks($PAGE_TITLE);
$CONTENT = preg_replace("/\{backlinks\}/", $links, $CONTENT);
}
}
}