guest
  • #1
  •  guest Topic Starter
  • Rank: Guest
  • Posts: 442
  • Joined: 18/03/2003
Have got a couple of questions:

- Is it possible to load the content of the YAF forum into a Visual Studio .net 2005 solution and modify the source code?
- Is there a way of removing the forum footer: HOw can I do that?

Main Forum RSS :

Powered by Yet Another Forum.net version 1.9.0 (NET v2.0) - 10/10/2006
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.291 seconds.

Thanks very much
Sponsor
Mek
  • Posts: 892
  • Joined: 12/07/2005
Easiest way is to check out alt.aspx, on the yaf:footer control set visible="false".

See your other post re: opening YAF in VS2005.


UserPostedImage 

"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon 🙂 )
guest
  • #3
  •  guest Topic Starter
  • Rank: Guest
  • Posts: 442
  • Joined: 18/03/2003
Hi,

is it allowed to cut/remove the footer ?

we are in the process of using the yaf in our own business homepage.
but we don't want footers like

>>Powered by Yet Another Forum.net version 1.9.0 (NET v2.0) - 10/10/2006
>>Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.

so once more:

is it allowed to remove the footer like it is described here ?

TIA
Heino Hellmers
guest
  • #4
  •  guest Topic Starter
  • Rank: Guest
  • Posts: 442
  • Joined: 18/03/2003
To remove the footer, follow these steps:

- Open Solution File in VS 2005
- Open ForumPage.cs file and modified the footer texts you dont want to be shown, these are some of the lines:
(u can either remove them or comment them)

* footer.AppendFormat( "{2} : <a href=\"{0}\"><img valign=\"absmiddle\" src=\"{1}images/rss.gif\" alt=\"RSS\" /></a><br /><br />", Forum.GetLink( Pages.rsstopic, "pg=forum" ), Data.ForumRoot, GetText( "DEFAULT", "MAIN_FORUM_RSS" ) );
// footer.AppendFormat("Main Forum Rss Feed : <a href=\"{0}rsstopic.aspx?pg=forum\"><img valign=\"absmiddle\" src=\"{1}images/rss.gif\" alt=\"RSS\" /></a><br /><br />", Data.ForumRoot, Data.ForumRoot);

Let me know if It's works
guest
  • #5
  •  guest Topic Starter
  • Rank: Guest
  • Posts: 442
  • Joined: 18/03/2003
Hi,

thanks for the answer, but:
my question ist about "is it allowed" and not about "how to"

TIA
Heino Hellmers
Jaben
  • Posts: 2544
  • Joined: 09/10/2004
Official word:

* May I remove the copyright from the footer?
Although I would appreciate if you kept the copyright message, you may remove it.

* May I edit the copyright message in the footer?
Yes, as long as you leave the "meaning" of it message intact (who the copyright holders are,.....).

* May I add my own copyright message?
Yes, provided that you do not merge your message with the official one in any way. Something like:
Quote:

Copyright © 2003-2006 Me

would not be acceptable.

* May I remove the copyright from the source code?
Definitely not. That is against GPL.

Other Notes:

If you do choose to remove the copyright, even a small link would be appreciated from your board. e.g:

Powered by YAF 

Thanks.

-Jaben Cargman
Mek
  • Posts: 892
  • Joined: 12/07/2005
Nice to have official word on the matter.

UserPostedImage 

"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon 🙂 )
guest
  • #8
  •  guest Topic Starter
  • Rank: Guest
  • Posts: 442
  • Joined: 18/03/2003
jediez wrote:

To remove the footer, follow these steps:

- Open Solution File in VS 2005
- Open ForumPage.cs file and modified the footer texts you dont want to be shown, these are some of the lines:
(u can either remove them or comment them)

* footer.AppendFormat( "{2} : <a href=\"{0}\"><img valign=\"absmiddle\" src=\"{1}images/rss.gif\" alt=\"RSS\" /></a><br /><br />", Forum.GetLink( Pages.rsstopic, "pg=forum" ), Data.ForumRoot, GetText( "DEFAULT", "MAIN_FORUM_RSS" ) );
// footer.AppendFormat("Main Forum Rss Feed : <a href=\"{0}rsstopic.aspx?pg=forum\"><img valign=\"absmiddle\" src=\"{1}images/rss.gif\" alt=\"RSS\" /></a><br /><br />", Data.ForumRoot, Data.ForumRoot);

Let me know if It's works



I've tried changing the ForumPage.cs file and refreshing the web.config and the change does not appear in the website.

Does this work in v1.9.0?
guest
  • #9
  •  guest Topic Starter
  • Rank: Guest
  • Posts: 442
  • Joined: 18/03/2003
Quote:

I've tried changing the ForumPage.cs file and refreshing the web.config and the change does not appear in the website.

Does this work in v1.9.0?


Make sure you recompile the site after making changes to a source code file.
guest
  • #10
  •  guest Topic Starter
  • Rank: Guest
  • Posts: 442
  • Joined: 18/03/2003
Mek wrote:

Easiest way is to check out alt.aspx, on the yaf:footer control set visible="false".



I've tried to change the footer and header but can't find any way to do it. I'm running version 1.9.0. with just bin. Most things I wanted to change could be done by changing various aspx files, but "alt.aspx" does nothing! It doesn't change anything, infact i've took it out from the folder and the forum still works!

So how do I change the header and footer, I hope I don't have to have the src version.. I had trouble opening that in visual studio, say's it's for an older version of vs and the conversion doesn't work.

I also want to change how the messages are displayed, when you're reading them, where do I do that? (not posts.ascx, but on each individual message)

/ Jacob
guest
  • #11
  •  guest Topic Starter
  • Rank: Guest
  • Posts: 442
  • Joined: 18/03/2003
Hi All i tried amending the ForumPages.cs and the alt.aspx to try and make the RSS feed in the footer disapper as well as the Copyright notice, but nether wrk.

I still want to give credit where credit is due, of course, but want to handle it differently.. i have another purpose for the footer.

Has anyone been able to do this? ad if so how exactly?

cheers..
guest
  • #12
  •  guest Topic Starter
  • Rank: Guest
  • Posts: 442
  • Joined: 18/03/2003
I tried everything here to no avail. If that's the case for you too, here's a quick ghetto fix that'll work to cover the footer with a div overlay.

Underneath the Forum control
<yaf:forum runat="server" id="forum" />
in the default.aspx, copy and paste this:

<div style="width:600px;background-color:White;height:80px;top:-90px;position:relative;display:block;">
</div>


so that it looks like this:

<yaf:forum runat="server" id="forum" />
<div style="width:600px;background-color:White;height:80px;top:-90px;position:relative;display:block;">
</div>


Hope it works for you too...
woodymcwoodson
  • Posts: 9
  • Joined: 02/11/2008
I know everyone is talking about editing the footer through ForumPages.cs but I can't even find the ForumPage.cs file anywhere in the download. Can someone please help me out?
catherienangel
  • Posts: 7
  • Joined: 27/11/2008
you should download the sourcefile,the file that you said is in dir "pages",you can find it.
catherienangel
  • Posts: 7
  • Joined: 27/11/2008
all methods that you said i have tried,but it doesn't work?why ? does it have matter with "cache"?
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    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