Revision history for DaveFullard
Revision [23282]
Last edited on 2016-05-20 07:38:47 by DaveFullard [Replaces old-style internal links with new pipe-split links.]Additions:
$remove = array('#%', '======', '=====', '====', '===', '==', '[[', | ']]', '||', '#0025#0025', '<<', '>>', '::c::', '""');
Deletions:
Revision [19321]
Edited on 2008-01-28 00:15:13 by DaveFullard [Modified links pointing to docs server]No Differences
Revision [17335]
Edited on 2007-08-05 07:18:41 by DaveFullard [Modified links pointing to docs server]Deletions:
Revision [17334]
Edited on 2007-08-05 07:18:20 by DaveFullard [Modified links pointing to docs server]No Differences
Revision [17333]
Edited on 2007-08-05 07:17:59 by DaveFullard [Modified links pointing to docs server]Additions:
$pmpage="PrivateMessages"; //Set the page with the {{mail}} action
{{files}}
{{files}}
Deletions:
Revision [17332]
Edited on 2007-08-05 07:17:13 by DaveFullard [Modified links pointing to docs server]Additions:
// Use: {{newmail}} (no parameters). Requires WikkaMail
$pmpage="PrivateMessages";
$query="SELECT * FROM ".$this->config["table_prefix"]."mail where UserTo='".$username."' and status='unread' and viewrecipient='Y'";
if ($num_rows>0) {
echo "<a href='".$link.$pmpage."'><img src='images/newmail.gif' border='0' alt='You have ".$num_rows." new messages'></a>";
} else {
echo "<a href='".$link.$pmpage."'><img src='images/mail.gif' border='0' alt='You have no new messages'></a>";
$pmpage="PrivateMessages";
$query="SELECT * FROM ".$this->config["table_prefix"]."mail where UserTo='".$username."' and status='unread' and viewrecipient='Y'";
if ($num_rows>0) {
echo "<a href='".$link.$pmpage."'><img src='images/newmail.gif' border='0' alt='You have ".$num_rows." new messages'></a>";
} else {
echo "<a href='".$link.$pmpage."'><img src='images/mail.gif' border='0' alt='You have no new messages'></a>";
Deletions:
$pagename = $this->MiniHref($method, $tag);
$query="SELECT * FROM ".$this->config["table_prefix"]."mail where UserTo='".$username."' and status='unread'";
echo "(".$num_rows.")";
Revision [17327]
Edited on 2007-08-04 05:24:07 by DaveFullard [Modified links pointing to docs server]Additions:
See the WikkaForum page for details on how to set-up the forum.
Revision [17326]
Edited on 2007-08-04 05:21:45 by DaveFullard [Modified links pointing to docs server]Additions:
Place this file in the scripts directory.
====WikkaMail Addons====
newmail.php
// This newmail.php (Version 0.1a) is an addon to mail.php. Released under GPL.
// Use: {{newmail}} (no parameters). Needs: Needs: MySQL database tables (2).
$pagename = $this->MiniHref($method, $tag);
$username = $this->GetUserName();
$query="SELECT * FROM ".$this->config["table_prefix"]."mail where UserTo='".$username."' and status='unread'";
$result=mysql_query($query) or die ("cant do it");
$num_rows = mysql_num_rows($result);
echo "(".$num_rows.")";
====WikkaMail Addons====
newmail.php
// This newmail.php (Version 0.1a) is an addon to mail.php. Released under GPL.
// Use: {{newmail}} (no parameters). Needs: Needs: MySQL database tables (2).
$pagename = $this->MiniHref($method, $tag);
$username = $this->GetUserName();
$query="SELECT * FROM ".$this->config["table_prefix"]."mail where UserTo='".$username."' and status='unread'";
$result=mysql_query($query) or die ("cant do it");
$num_rows = mysql_num_rows($result);
echo "(".$num_rows.")";
Deletions:
Revision [17325]
Edited on 2007-08-04 05:18:45 by DaveFullard [Modified links pointing to docs server]Additions:
// wikkaforum.php Version 1.0k - Aug 4, 2007 - added delete thread and post options for site administrators by DaveFullard
// wikkaforumfunctions.php Version 1.0j - Aug 4, 2007 - added delete thread and delete post functions by DaveFullard
// wikkaforumfunctions.php Version 1.0j - Aug 4, 2007 - added delete thread and delete post functions by DaveFullard
Deletions:
// wikkaforumfunctions.php Version 1.0i - Jan 13, 2005 - added several wikka formatting features to forum output
// MODIFIED from SForum class V1.4 for use in wikka wiki by GmBowen for a SSHRC research project.
// Original Simple Forum class available from www.phpclasses.org
Revision [17324]
Edited on 2007-08-04 05:16:58 by DaveFullard [Modified links pointing to docs server]Additions:
=====David Fullard=====
====WikkaForum Modifications====
====WikkaForum Modifications====