Click here to Skip to main content
15,881,381 members

Hannes Foulds - Professional Profile



Summary

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

Reputation

Weekly Data. Recent events may not appear immediately. For 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. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Have the ability to send direct emails to members in the forumsProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

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


 
GeneralSharePoint Tool Pane Pin
Hannes Foulds13-Nov-08 1:04
Hannes Foulds13-Nov-08 1:04 
GeneralASP.NET and showModalDialog Pin
Hannes Foulds13-Jun-07 22:33
Hannes Foulds13-Jun-07 22:33 
GeneralRe: ASP.NET and showModalDialog Pin
Hannes Foulds7-Aug-07 8:03
Hannes Foulds7-Aug-07 8:03 
GeneralSharePoint 2003 Ghosted pages Pin
Hannes Foulds22-Aug-06 20:50
Hannes Foulds22-Aug-06 20:50 
GeneralXML Serialization & Deserialization Pin
Hannes Foulds14-Aug-06 1:25
Hannes Foulds14-Aug-06 1:25 
C#
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
Hannes Foulds9-Aug-06 23:59
Hannes Foulds9-Aug-06 23:59 
GeneralDecompile CHM Pin
Hannes Foulds28-Jul-06 1:20
Hannes Foulds28-Jul-06 1:20 
GeneralSQL Server 2000: Full-Text Indexing Pin
Hannes Foulds13-Jul-06 0:32
Hannes Foulds13-Jul-06 0:32 
GeneralAbsolute Path Pin
Hannes Foulds11-Jul-06 21:30
Hannes Foulds11-Jul-06 21:30 
GeneralHello World Pin
Hannes Foulds11-Jul-06 21:24
Hannes Foulds11-Jul-06 21:24 

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

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