ArcticFox
2008-12-08T09:32:48Z
I consider that in a forum it is needed to realize possibility of diminishing of cuttings-in pictures, as it is realized in other forums.
Insert a large picture and to hatch its diminished image. On which it is possible to click a mouse to get a large picture!
TommyB
2008-12-08T09:38:38Z
Maybe you want something like this?
Preview images for attachments 

But this is only a modification for yaf that I have made. It is not included in yaf (yet) ^^
- Sry for my english ;)

BattCursor.Net  - Official homepage of that tool for vista laptops!
rohanreddy
2008-12-12T02:25:38Z
Hi,

Is there any update on final release of 1.9.3 version. Looking forward to use the latest version.

If it is still in RC2, please update us when the final release is expected.

Thanks,
Rohan
Gofer01
2008-12-15T21:20:28Z
What is the difference between a BIN and a SRC zip file:?:
Michael
My Website 
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer Topic Starter
2008-12-15T21:45:49Z
Gofer01 wrote:

What is the difference between a BIN and a SRC zip file:?:


Bin is the compiled project.

Src includes the source code for the project so you can compile/build it yourself.
Ederon
2008-12-17T02:04:57Z
Let me join the ranks of admirers (better late then never...)

You rock Jaben! 😎
When I post FP:Ederon in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting.
UserPostedImage 
TommyB
2008-12-22T23:12:06Z
A member of my forum has found an error in the smiley handling.

I use ":)", ":P", ";P", ... for smileys (without the ").
He has posted the word "i-tüpfelchen" (its german) and the bold p is replaced with the ";P" smiley, which shouldn't be done because there is no ; before the p. An issue with special chars?
- Sry for my english ;)

BattCursor.Net  - Official homepage of that tool for vista laptops!
my1955chevy
2008-12-25T01:34:06Z
ok, i must be retarded or something! :lol:



i'm trying to upgraded from 1.9.1.7 (godaddy) to the new 1.9.3 RC2, i keep getting a run time error (Server Error in '/forum' Application), this is after i go to put in the new config pw for upgrading. any ideas as to what i am doing wrong? do i need to wipe it out and start from a fresh install?
logan
  •  logan
  • 100% (Exalted)
  • YAF Leader
2008-12-25T06:37:31Z
open app.config and type in the password manually and retry


test
my1955chevy
2008-12-25T12:30:25Z
logan wrote:

open app.config and type in the password manually and retry




THANK YOU!!! it worked. i tried everything, but never thought about looking in the app.config file! :lol:
my1955chevy
2008-12-26T00:32:31Z
ok, i have another small issue....


i want to custom edit the page title, but when i go into default.aspx it doesn't give me an option to change it like it does on 1.9.1.7.... how do i go about doing this with out changing the forum name?
logan
  •  logan
  • 100% (Exalted)
  • YAF Leader
2008-12-26T06:30:05Z
<%@ Page Language="C# Title="Whateveryouwant"

add the title part up at the top of page
test
my1955chevy
2008-12-26T17:20:51Z
logan wrote:

<%@ Page Language="C# Title="Whateveryouwant"

add the title part up at the top of page





it doesn't work :cry:
my1955chevy
2008-12-26T18:20:04Z
never mind got it to work! :twisted:
LaB
  •  LaB
  • 63.8% (Friendly)
  • YAF Forumling
2008-12-26T18:54:51Z
Found a minor bug in EditUsersInfo.ascx

If Save is clicked on an approved user (Host Admin, Exclude from CAPTCHA, Exclude from Active Users etc.), the approved flag (2) is not carried over, and this the user loses the approved status. I have not yet tested if it has any impact on the users' ability to post.

I solved the issue by having a global member of the UserFlags class obtained when the page is loaded, modifying that copy, and subsequently passing that copy on to the stored procedure call, rather than creating a fresh copy in the Save_Click method.

/* Yet Another Forum.NET
 * Copyright (C) 2006-2008 Jaben Cargman
 * http://www.yetanotherforum.net/
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using YAF.Classes.Utils;
using YAF.Classes.Data;

namespace YAF.Controls
{
  public partial class EditUsersInfo : YAF.Classes.Base.BaseUserControl
  {
      static UserFlags userFlags = null;

		/// <summary>
		/// Gets user ID of edited user.
		/// </summary>
		protected int CurrentUserID
		{
			get
			{
				return ( int )this.PageContext.QueryIDs ["u"];
			}
		}

	  protected void Page_Load(object sender, EventArgs e)
	  {
			PageContext.QueryIDs = new QueryStringIDHelper( "u", true );

		  IsHostAdminRow.Visible = PageContext.IsHostAdmin;
		  if (!IsPostBack)
		  {
			  BindData();
		  }
	  }

      private void BindData()
      {
          RankID.DataSource = YAF.Classes.Data.DB.rank_list(PageContext.PageBoardID, null);
          RankID.DataValueField = "RankID";
          RankID.DataTextField = "Name";
          RankID.DataBind();

          using (DataTable dt = YAF.Classes.Data.DB.user_list(PageContext.PageBoardID, CurrentUserID, null))
          {
              DataRow row = dt.Rows[0];
              userFlags = new UserFlags(row["Flags"]);

              Name.Text = (string)row["Name"];
              Email.Text = row["Email"].ToString();
              IsHostAdminX.Checked = userFlags.IsHostAdmin;
              IsGuestX.Checked = userFlags.IsGuest;
              IsCaptchaExcluded.Checked = userFlags.IsCaptchaExcluded;
              IsExcludedFromActiveUsers.Checked = userFlags.IsActiveExcluded;
              CanShout.Checked = userFlags.CanShout;
              Joined.Text = row["Joined"].ToString();
              LastVisit.Text = row["LastVisit"].ToString();
              ListItem item = RankID.Items.FindByValue(row["RankID"].ToString());

              if (item != null)
              {
                  item.Selected = true;
              }
          }
      }

    protected void Save_Click(object sender, System.EventArgs e)
    {
        // update the membership too...
        if (!IsGuestX.Checked)
        {
            MembershipUser user = Membership.GetUser(Name.Text);

            if (Email.Text.Trim() != user.Email)
            {
                // update the e-mail here too...
                user.Email = Email.Text.Trim();
                System.Web.Security.Membership.UpdateUser(user);
            }
        }
        userFlags.IsHostAdmin = IsHostAdminX.Checked;
        userFlags.IsGuest = IsGuestX.Checked;
        userFlags.IsCaptchaExcluded = IsCaptchaExcluded.Checked;
        userFlags.IsActiveExcluded = IsExcludedFromActiveUsers.Checked;
        userFlags.CanShout = CanShout.Checked;

        YAF.Classes.Data.DB.user_adminsave(PageContext.PageBoardID, CurrentUserID, Name.Text, Email.Text, userFlags.BitValue, RankID.SelectedValue);
        BindData();
    }
  }
}

Similar Topics
Users browsing this topic

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved