juju
  •  juju
  • 72.2% (Friendly)
  • YAF Lover
2011-06-07T01:51:56Z
there seems to be an error in the YafNntp.cs


Error 66 'YAF.Classes.Data.LegacyDb' does not contain a definition for 'NntpForumList' F:\YafSvn\YAF.Core\Nntp\YafNntp.cs 130 44 YAF.Core




try
      {
        this._applicationStateBase["WorkingInYafNNTP"] = true;

        // Only those not updated in the last 30 minutes
        foreach (var nntpForum in LegacyDb.NntpForumList(boardID, lastUpdate, null, true))
        {


maybe somebody committed a code a forgot to create this? I looked at LegacyDb.cs and indded there isn't any property declared for it.
hmmmm.... click thanks if my posts are useful
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2011-06-08T04:11:29Z
Originally Posted by: juju 

there seems to be an error in the YafNntp.cs


Error 66 'YAF.Classes.Data.LegacyDb' does not contain a definition for 'NntpForumList' F:\YafSvn\YAF.Core\Nntp\YafNntp.cs 130 44 YAF.Core




try
      {
        this._applicationStateBase["WorkingInYafNNTP"] = true;

        // Only those not updated in the last 30 minutes
        foreach (var nntpForum in LegacyDb.NntpForumList(boardID, lastUpdate, null, true))
        {


maybe somebody committed a code a forgot to create this? I looked at LegacyDb.cs and indded there isn't any property declared for it.


Fixed in the latest commit.

juju
  •  juju
  • 72.2% (Friendly)
  • YAF Lover
2011-06-17T03:03:52Z
Originally Posted by: tommy382 



I had to manually disable undo thank in the code but would be nice to have an option to "disable undo thank" in the admin interface.



Im trying to do the same (disable undo thank). Could you share your code revisions? Im looking at JavaScriptBlock.cs, YafAjax.cs, DisplayPost.ascx.cs and LegacyDb.cs but still feeling my way wherre to start.

Thank you
hmmmm.... click thanks if my posts are useful
juju
  •  juju
  • 72.2% (Friendly)
  • YAF Lover
2011-06-17T04:50:26Z
Got it. If anybody is interested:

Just a crude work around, I edited DisplayPost.ascx.cs line:


const string RemoveThankBoxHTML =
            "'<a class=\"yaflittlebutton\" href=\...

with:

const string RemoveThankBoxHTML =
            "'<a class=\"yafhiddenbutton\">|</a>'";

then i created a css class with display:none
hmmmm.... click thanks if my posts are useful
juju
  •  juju
  • 72.2% (Friendly)
  • YAF Lover
2011-06-19T09:41:58Z
Theres a small setback though, if i try to refesh the page, it will show the "remove thanks" button again. Any help would be appreciated.
hmmmm.... click thanks if my posts are useful
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