YAFLogo

tersmi
  • tersmi
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
13 years ago
I'm totally new to this game and could use a little help. I've dabbled in ASP.net in the past, mostly in creating comment forms and whatnot, but that's my limit. A co-worker with far more ASP.net expertise set up the forum on our web server. I'm now attempting to configure these forums for use by my clients, but I can't seem to figure out how to create topics under the forums. I've looked around the site quite a bit but I'm still struggling to find the information I'm in need of. Can anyone help?

Terry Smith

Sponsor
Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
13 years ago

I'm totally new to this game and could use a little help. I've dabbled in ASP.net in the past, mostly in creating comment forms and whatnot, but that's my limit. A co-worker with far more ASP.net expertise set up the forum on our web server. I'm now attempting to configure these forums for use by my clients, but I can't seem to figure out how to create topics under the forums. I've looked around the site quite a bit but I'm still struggling to find the information I'm in need of. Can anyone help?

Terry Smith

Originally Posted by: tersmi 

Can you share the link to your site?

Do you see the Test forum? The new post icon should be relatively in the same position as this website, unless you are using a custom theme.

tersmi
  • tersmi
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
13 years ago
Thanks for the post zero. the forum is currently posted at www.mjymca.ca/forum - I'm using the red-grey theme, in which I've made some light colour changes in the css file. I've created an account for you to log in with

u/n - user

p/w - useruser

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
13 years ago

Thanks for the post zero. the forum is currently posted at www.mjymca.ca/forum - I'm using the red-grey theme, in which I've made some light colour changes in the css file. I've created an account for you to log in with

u/n - user

p/w - useruser

Originally Posted by: tersmi 

I'm going to take a wild guess and assume someone logged in and changed the password? lol

tersmi
  • tersmi
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
13 years ago
Looks like you might be right! I'll change the password and send it to you in a PM.
Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
13 years ago
Okay, you've made a Category, but have not yet added a Forum.

You'll have to add a forum, to do this.

Admin page > Settings > Forums and click the button labeled "New Forum" and there ya go.

tersmi
  • tersmi
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
13 years ago
Thanks so much, I thought I was going crazy. The only option I was abe to select on that page was "new category". This clearly is my problem, as when I select "new forum" I get an error page with the message:

System.FormatException: Input string was not in a correct format

If you have any easy fixes for this it would be much appreciated. Otherwise I will be consulting my ASP.NET guy as this once again seems a little above my head . . .

Terry Smith

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
13 years ago

Thanks so much, I thought I was going crazy. The only option I was abe to select on that page was "new category". This clearly is my problem, as when I select "new forum" I get an error page with the message:

System.FormatException: Input string was not in a correct format

If you have any easy fixes for this it would be much appreciated. Otherwise I will be consulting my ASP.NET guy as this once again seems a little above my head . . .

Terry Smith

Originally Posted by: tersmi 

This is just a wild stab in the dark, but can you try changing themes and go back into the Admin settings with your Host user account and give it a try? I'd recommend using "So Clean, So Fresh" theme.

tersmi
  • tersmi
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
13 years ago
Wow! Quick reply! I tried switching to a couple different themes and got the same error each time. I'll post the error in its entirety:

Server Error in '/' Application.

--------------------------------------------------------------------------------

Input string was not in a correct format.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Input string was not in a correct format.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[FormatException: Input string was not in a correct format.]

System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +7471479

System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119

System.Convert.ToInt32(String value) +63

YAF.Classes.Data.LegacyDb.forum_listall_fromCat(Object boardID, Object categoryID, Boolean emptyFirstRow) +124

YAF.Classes.Data.LegacyDb.forum_listall_fromCat(Object boardID, Object categoryID) +7

YAF.Pages.Admin.editforum.BindParentList() +82

YAF.Pages.Admin.editforum.BindData() +265

YAF.Pages.Admin.editforum.Page_Load(Object sender, EventArgs e) +624

System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14

System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35

System.EventHandler.Invoke(Object sender, EventArgs e) +0

System.Web.UI.Control.OnLoad(EventArgs e) +99

System.Web.UI.Control.LoadRecursive() +50

System.Web.UI.Control.LoadRecursive() +141

System.Web.UI.Control.LoadRecursive() +141

System.Web.UI.Control.LoadRecursive() +141

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.3620; ASP.NET Version:2.0.50727.3618

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
13 years ago
Sorry bud, I think you're gonna have to wait for an expert like tha_watcha to help out.

I'd try adding another category and try adding another forum, but I'm not confident that'll work. Hopefully someone with more knowledge can help ya.

If you don't have any data, perhaps kill the YAF install and start again?

tersmi
  • tersmi
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
13 years ago
Thanks for the advice Zero. If possible, I'd like to get teh current incarnation of the forums working, so I'll see if I can grab the attention of an expert. Any tips on how to do that? I'll also take a stab at the new category angle too.

Terry

tersmi
  • tersmi
  • 56.6% (Neutral)
  • YAF Camper Topic Starter
13 years ago
Well go figure. Adding a new category worked! Do you have to have a category to be able to create a forum? Because I didn't have one before!
Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
13 years ago

Well go figure. Adding a new category worked! Do you have to have a category to be able to create a forum? Because I didn't have one before!

Originally Posted by: tersmi 

That would be correct to my understanding.

I believe the pecking order is as follows.

Board > Category > Forum > Topics > Posts

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
13 years ago

Well go figure. Adding a new category worked! Do you have to have a category to be able to create a forum? Because I didn't have one before!

Originally Posted by: Zero2Cool 

That would be correct to my understanding.

I believe the pecking order is as follows.

Board > Category > Forum > Topics > Posts

Originally Posted by: tersmi 

Thats Correct. You Always need a Category first, Thats why it was crashing

Exception Details: System.FormatException: Input string was not in a correct format.

In the next Release the "New Forum" Button will be hidden when there is now Category. To Prevent that Problem.