Click here to Skip to main content
11,490,282 members (36,794 online)

Hannes Foulds - Professional Profile





Summary

    Blog RSS
3,152
Author
50
Authority
26
Debator
1
Enquirer
8
Organiser
225
Participant
0
Editor

Reputation

For more information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege, and the given member types also gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilverAdmin
Store personal files in your account areaplatinumplatinumSitebuilder, Subeditor, Supporter, Editor, Staff
Have live hyperlinks in your biographybronzebronzebronzebronzebronzebronzesilverSubeditor, Protector, Editor, Staff, Admin
Edit a Question in Q&AsilversilversilversilverYesSubeditor, Protector, Editor, Admin
Edit an Answer in Q&AsilversilversilversilverYesSubeditor, Protector, Editor, Admin
Delete a Question in Q&AYesSubeditor, Protector, Editor, Admin
Delete an Answer in Q&AYesSubeditor, Protector, Editor, Admin
Report an ArticlesilversilversilversilverSubeditor, Mentor, Protector, Editor, Staff, Admin
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubeditor, Mentor, Protector, Editor, Staff, Admin
Edit other members' articlesSubeditor, Protector, Editor, Admin
Create an article without requiring moderationplatinumSubeditor, Mentor, Protector, Editor, Staff, Admin
Approve/Disapprove a pending QuestionProtector, Admin
Approve/Disapprove a pending AnswerProtector, Admin
Report a forum messagesilversilverbronzeProtector, Editor, Admin
Approve/Disapprove a pending Forum MessageProtector, Admin
Create a new tagsilversilversilversilverAdmin
Modify a tagsilversilversilversilverAdmin

Actions with a green tick can be performed by this member.


 
GeneralSharePoint Tool Pane Pin
Hannes Foulds13-Nov-08 2:04
memberHannes Foulds13-Nov-08 2:04 
GeneralASP.NET and showModalDialog Pin
Foulds.NET13-Jun-07 23:33
memberFoulds.NET13-Jun-07 23:33 
GeneralRe: ASP.NET and showModalDialog Pin
Hannes Foulds7-Aug-07 9:03
memberHannes Foulds7-Aug-07 9:03 
GeneralSharePoint 2003 Ghosted pages Pin
Foulds.NET22-Aug-06 21:50
memberFoulds.NET22-Aug-06 21:50 
GeneralXML Serialization & Deserialization Pin
Foulds.NET14-Aug-06 2:25
memberFoulds.NET14-Aug-06 2:25 
using System;
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
 
namespace Alexandria.Forums.Web.Navigation 
{
	/// <author>Hannes Foulds</author>
	/// <date>14 August 2006</date>
	/// <summary>
	/// The site map page object.
	/// </summary>
	[System.Xml.Serialization.XmlRootAttribute(ElementName="page", IsNullable=false)]
	public class Page 
	{
		#region Declarations
		private Page _parent;	// the parent page
		#endregion
 
		#region Properties
		/// <summary>
		/// The parent page.
		/// </summary>
		public Page Parent
		{
			get { return this._parent; }
			set { this._parent = value; }
		}
		#endregion
 
		#region Schema Properties
		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("page")]
		public Page[] Items;
        
		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute(AttributeName="url", Form=System.Xml.Schema.XmlSchemaForm.Qualified)]
		public string Url;
        
		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute(AttributeName="text", Form=System.Xml.Schema.XmlSchemaForm.Qualified)]
		public string Text;
        
		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute(AttributeName="key", Form=System.Xml.Schema.XmlSchemaForm.Qualified)]
		public string Key;
        
		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute(AttributeName="businessObject", Form=System.Xml.Schema.XmlSchemaForm.Qualified)]
		public string BusinessObject;
        
		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute(AttributeName="businessKey", Form=System.Xml.Schema.XmlSchemaForm.Qualified)]
		public string BusinessKey;
        
		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute(AttributeName="textKey", Form=System.Xml.Schema.XmlSchemaForm.Qualified)]
		public string TextKey;
		#endregion
	}
    
	/// <author>Hannes Foulds</author>
	/// <date>14 August 2006</date>
	/// <summary>
	/// The site map object for bread crumb navigation.
	/// </summary>
	[System.Xml.Serialization.XmlRootAttribute(ElementName="sitemap", IsNullable=false)]
	public class SiteMap 
	{
		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("page")]
		public Page[] Items;
 
		#region Serialize
		/// <summary>
		/// Serialize the object to a xml string.
		/// </summary>
		public string Serialize()
		{
			XmlSerializer serializer = new XmlSerializer(this.GetType());
			MemoryStream memoryStream = new MemoryStream();
			XmlTextWriter writer = new XmlTextWriter(memoryStream, Encoding.UTF8);
			writer.Formatting = Formatting.None;
			serializer.Serialize(writer, this);
 
			StreamReader reader = new StreamReader(memoryStream);
			memoryStream.Position = 0;
			string result = reader.ReadToEnd();
			writer.Close();
 
			return result;
		}
		#endregion
 
		#region Deserialize
		/// <summary>
		/// Deserialize the schema object from the XML string provided.
		/// </summary>
		/// <param name="xmlString">A string containing the XML for the schema object.</param>
		/// <returns>Returns the deserialized schema object.</returns>
		public static SiteMap Deserialize(string xmlString)
		{
			XmlSerializer serializer = new XmlSerializer(typeof(SiteMap));
			StringReader reader = new StringReader(xmlString);
			SiteMap siteMap = serializer.Deserialize(reader) as SiteMap;
			siteMap.SetParents(null, siteMap.Items);
 
			return siteMap;
		}
		#endregion
 
		#region Set Parents
		/// <summary>
		/// Recursively set the parent of page items.
		/// </summary>
		/// <param name="current">The parent page.</param>
		/// <param name="items">A collection of page items.</param>
		private void SetParents(Page current, Page[] items)
		{
			if (items != null)
			{
				foreach(Page page in items)
				{
					page.Parent = current;
					this.SetParents(page, page.Items);
				}
			}
		}
		#endregion
	}
}

GeneralSharePoint 2003 Dynamic Web Part Page Title Pin
Foulds.NET10-Aug-06 0:59
memberFoulds.NET10-Aug-06 0:59 
GeneralDecompile CHM Pin
Foulds.NET28-Jul-06 2:20
memberFoulds.NET28-Jul-06 2:20 
GeneralSQL Server 2000: Full-Text Indexing Pin
Foulds.NET13-Jul-06 1:32
memberFoulds.NET13-Jul-06 1:32 
GeneralAbsolute Path Pin
Foulds.NET11-Jul-06 22:30
memberFoulds.NET11-Jul-06 22:30 
GeneralHello World Pin
Foulds.NET11-Jul-06 22:24
memberFoulds.NET11-Jul-06 22:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 28 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid