Pack93z
  • Pack93z
  • Select Member Topic Starter
14 years ago
Sometime when you have time.. post your vision on the skin design for this site.. maybe if I have some free time I will play with it and see what I can come up with.. something to make it less... pale white. 😲
"The oranges are dry; the apples are mealy; and the papayas... I don't know what's going on with the papayas!"
Methodikal
14 years ago
Haha, shit, I forgot about that. I got so wrapped up in pushing things over, lol.

I'll hand draw some stuff and through it up on photoshop. I do like the stuff that's offered. Oh and it's EASY to make a test website too. I'm excited about that.
Something funny.
UserPostedImage
Methodikal
14 years ago
I'd like to make it clear, the template/theme/skin you currently see for the entire site and forum's is NOT final. It will take quite a long time to get the theme layout I desire, and then skin it to my liking. Yes, that's dictator talk. 🙂
Something funny.
UserPostedImage
Pack93z
  • Pack93z
  • Select Member Topic Starter
14 years ago
Creating a custom Theme/Skin for YAF ... (Some layout info there as well.. basic though.)

Skinning YetAnotherForum is kind of self evident. Just copy an existing theme folder and XML file from the themes folder. All there is to it is a theme.css file in the folder (and a bunch of images) and the settings in the XML file. Done.



Can you dump out the theme.css and let me take a peak at it.. see what is all involved in it.
"The oranges are dry; the apples are mealy; and the papayas... I don't know what's going on with the papayas!"
Zero2Cool
14 years ago

Actually, you can only create "theme", not "skin". If you want to create theme, , you need to create subforlder in '/themes' directory (e.g. '/themes/mytheme'Wink, then create xml file for your theme directly in themes directory (e.g. 'mytheme.xml'Wink. In xml file, you'll define name and directory in one of first nodes (you must point yaf to directory you just created for theme files).

Best way how to do this is copy some existing theme and change it's files. Basically, you need to change that xml file in themes root. It's structure quite self-explanatory, but don't hesitate to ask if there is something unclear



http://forum.yetanotherforum.net/yaf_postst4367_How-do-I-make-a-skin.aspx 



Edit, change ZIP to CSS  theme.zip You have insufficient rights to see the content.
UserPostedImage
Pack93z
  • Pack93z
  • Select Member Topic Starter
14 years ago
Got an file is corrupt error on the zip file..


On another note.. attachment button has been disabled again. 🤔 Attachments are back.. lol.  Error.jpg You have insufficient rights to see the content.
"The oranges are dry; the apples are mealy; and the papayas... I don't know what's going on with the papayas!"
Zero2Cool
14 years ago

Got an file is corrupt error on the zip file..


On another note.. attachment button has been disabled again. 🤔 Attachments are back.. lol.

Originally Posted by: Pack93z 




did you change the file extension after you downloaded it?
UserPostedImage
Zero2Cool
14 years ago
http://www.spencerdrager.com/2010/05/13/yetanotherform-yaf-themeing-and-layout-customization/ 

YetAnotherForum (YAF — pronounce “laugh”) is a forum package based on ASP.NET (C#) and Microsoft SQL Server. It has tons of features and functionality, and it use my , but when tasked with customizing it… well, that can be not quite so easy.
Creating a custom Theme/Skin for YAF

Skinning YetAnotherForum is kind of self evident. Just copy an existing theme folder and XML file from the themes folder. All there is to it is a theme.css file in the folder (and a bunch of images) and the settings in the XML file. Done.
Modifying the Layout of YAF

For as easy as changing the theme of YAF is, changing the actual layout is a time-consuming and involved process. And there are a few things which are not as evident from quick google searches or examining the code. So take a lesson from me and save yourself hours of time.


1. You cannot easily remove elements by commenting out the C#

Almost any main you try to comment out will trigger errors when you try to compile due to dependent blocks elsewhere. And the source of the errors may not always be apparent. You may be able to fix those errors, but chances are it will not be worth your effort. This is a pain because depending on what you want to do you may want to eliminate some elements from showing. This may be typical for ASP.NET, but coming from PHP it prevented a learning curve. Many things you may want to remove can be removed by changing BoardSettings. (See next tip)


2. YafContext.Current.BoardSettings are stored in the database

Once you start investigating the depths of the page and class files of YAF, you will eventually start noticing how many part of the board are in hide/show if blocks based on a value of YafContext.Current.BoardSettings.[something]. Other parts of the forum look to these settings for things.

I can’t tell you how many searches I made trying to find what file BoardSettings are stored in. I still don’t know if there is a file with defaults. I didn’t find it despite much searching.

These settings can be changed in the database under the Registry table. Easy peasy? I got thrown off because many of the settings are not in the table. If they are not in the table, you will have to insert a row. The “value” field is a string, so numbers and boolean values are stored just as their string equivalent. i.e. a true value can be stored as the string “true”.

3. The logical structure of the code is as follows

This may seem elementary, but I’m new to ASP.NET and working with modifying larger(ish) packages. It would have been helpful to me to have a diagram or even just a quick explanation of the layout of what calls what. YAF file structure diagram

pic
As you can see, any single page may reference a dozen or two files. This can be a serious pain, as those .cs files in the YAF.Controls.dll are in my experience, very tedious to edit. I didn’t realize I neede the SRC version until I realized I could not access TopicLine.cs, which is necessary to change how the single line each topic is displayed as when you look at a single forum.

And to be clear: There are many more pages, controls, and elements within Controls.dll that aren’t shown here. Also, there may be some exceptions to the hierarchy shown here.


4. CSS Class names do not always describe what they refer to

With class names like .header1, .header1Title, and .rightItem, it is not always easy to tell what element these CSS classes are referring to. This can be particularly challenging when you want to edit what they are referred to and you can’t locate which source file the element it is referring to spawns in. This is more of a heads up than an actual tip.
Enjoy, and Contribute

That’s all the tips I have for you today about YetAnotherForum. In my one-day’s experience with them, I found it to be a little frustrating, however now that I am more familiar with it I feel more confident in the likelihood I would be able to switch things up more rapidly. I hope these tips help other newbies trying to do what I was doing.

If you have any tips/tricks of your own you’d like to contribute, please feel free to share and comment.


UserPostedImage
Pack93z
  • Pack93z
  • Select Member Topic Starter
14 years ago
Hmm.. that posts looks so familiar. 🖐
"The oranges are dry; the apples are mealy; and the papayas... I don't know what's going on with the papayas!"
Fan Shout
dfosterf (18-Aug) : We do have good depth at running back imo. Still so frustrating. Bitching about it is a futile excercise, which I plan to do anyway.
Mucky Tundra (17-Aug) : Whoops, I thought Zero was saying it was a surprise the Brewers lost and not Lloyd being hurt
Mucky Tundra (17-Aug) : Not a surprise; inevitable
Zero2Cool (17-Aug) : Brewers streak ends at 14
Zero2Cool (17-Aug) : SURPRISE
Mucky Tundra (17-Aug) : @mattschneidman Matt LaFleur on MarShawn Lloyd: “He’s gonna miss some time.”
Mucky Tundra (16-Aug) : CLIFFORD WITH THE TD WITH UNDER 2 TO GO!!!!!
Zero2Cool (16-Aug) : 90 MINUTES UNTIL FAKE KICKOFF!!
Martha Careful (16-Aug) : I think Ruven is a bot, but regardless should be stricken from the site.
Zero2Cool (14-Aug) : Packers RB Josh Jacobs ranked No. 33 in NFL 'Top 100'
dfosterf (13-Aug) : The LVN Musgrave collision- Andy Herman said Musgrave seemed to be the one most impacted injury-wise
dfosterf (13-Aug) : a lower back injury
dfosterf (13-Aug) : Doubs says he's "fine" after injury scare. Some reported it as z
Mucky Tundra (13-Aug) : With LVN that is; need to see what happens in the next practice
Mucky Tundra (13-Aug) : beast, reading about what happened, it sounded like one of those "two guys collide and are moving slow afterwards" type of deals
beast (12-Aug) : I believe Musgrave has been injured every single season since at least a Sophomore in highschool
packerfanoutwest (12-Aug) : Matt LaFleur: “Highly unlikely” Jordan Love plays more this preseason
dfosterf (12-Aug) : Doubs, Savion Williams, LVN, Musgrave all banged up to one degree or another, missing one here I forget
Zero2Cool (12-Aug) : RB Tyrion Davis-Price is signing with the Green Bay Packers.
Zero2Cool (12-Aug) : zero help, dominated. preseason
beast (12-Aug) : QB Jordan Love has surgery
beast (12-Aug) : Martha said Morgan had a lot of help, I didn't watch the OL so I can't say.
Zero2Cool (10-Aug) : Packers LT Jordan Morgan did not allow a single pressure across 23 pass-blocking snaps vs. Jets last night, per PFF
Mucky Tundra (10-Aug) : With buckeye and the reasonable couple, we're currently sitting at 10
buckeyepackfan (10-Aug) : Just posted to re-up on our FFL.
Zero2Cool (10-Aug) : If healthy after, then thats all I care. Well, no drops would be nice
wpr (10-Aug) : I made it through the 1st Q.
dfosterf (10-Aug) : Just gotta figure out how.
dfosterf (10-Aug) : Could have been a worse start, so there is that.
beast (10-Aug) : Yeah, someone tell the Packers football season has started, seems like they weren't ready for it
Mucky Tundra (10-Aug) : Sooooooo many penalties
Mucky Tundra (10-Aug) : It may only be preseason, but this game is a trip to the dentist
Zero2Cool (10-Aug) : Packers do bad -- FREAK OUT!!!!!!
Zero2Cool (10-Aug) : Packers do good -- eh only preseason
dfosterf (10-Aug) : Well that half was fun
Zero2Cool (10-Aug) : Great, zayne is down
Zero2Cool (9-Aug) : 13 minutes away from kickkkkkkkkkkkkkkkkoffff
Zero2Cool (9-Aug) : Had Celebration of Life for my uncle up north. wicked rain hope it dont come south
Mucky Tundra (9-Aug) : THE GREEN BAY PACKERS ARE PLAYING FOOTBALL TONIGHT!!!!!! THIS IS NOT A DRILL!!!!
Zero2Cool (9-Aug) : Woo-hoo
TheKanataThrilla (9-Aug) : NFL Network is broadcasting the game tonight, but not in Canada. Not sure why as no local television is showing the game.
beast (8-Aug) : But the Return from IR designations had to be applied by the 53 man cutdown.
beast (8-Aug) : It's a new rule, so it's not clear, but my understanding was that they could be IR'd at any time
Mucky Tundra (8-Aug) : *had to be IRed at 53
Mucky Tundra (8-Aug) : beast, I thought the designate return from IR players had to be IR at cutdowns to 53, not before
beast (8-Aug) : It's a brand new rule, either last season or this season, prior, all pre-season IRs were done for the season
beast (8-Aug) : But the Packers would have to use one for their return from IR spots on him, when they cut down to 53.
beast (8-Aug) : I think the NFL recently changed the IR rules, so maybe the season might not be over for OL Glover.
Zero2Cool (8-Aug) : Packers star Howton, first NFLPA prez, dies at 95 😔
dfosterf (8-Aug) : Apparently it is too complicated for several to follow your simple instructions, but I digress
Please sign in to use Fan Shout
2025 Packers Schedule
Sunday, Sep 7 @ 3:25 PM
LIONS
Thursday, Sep 11 @ 7:15 PM
COMMANDERS
Sunday, Sep 21 @ 12:00 PM
Browns
Sunday, Sep 28 @ 7:20 PM
Cowboys
Sunday, Oct 12 @ 3:25 PM
BENGALS
Sunday, Oct 19 @ 3:25 PM
Cardinals
Sunday, Oct 26 @ 7:20 PM
Steelers
Sunday, Nov 2 @ 12:00 PM
PANTHERS
Monday, Nov 10 @ 7:15 PM
EAGLES
Sunday, Nov 16 @ 12:00 PM
Giants
Sunday, Nov 23 @ 12:00 PM
VIKINGS
Thursday, Nov 27 @ 12:00 PM
Lions
Sunday, Dec 7 @ 12:00 PM
BEARS
Sunday, Dec 14 @ 3:25 PM
Broncos
Friday, Dec 19 @ 11:00 PM
Bears
Friday, Dec 26 @ 11:00 PM
RAVENS
Saturday, Jan 3 @ 11:00 PM
Vikings
Recent Topics
5h / Green Bay Packers Talk / Mucky Tundra

6h / Green Bay Packers Talk / Mucky Tundra

21-Aug / Fantasy Sports Talk / Zero2Cool

21-Aug / Green Bay Packers Talk / beast

20-Aug / Green Bay Packers Talk / bboystyle

19-Aug / Green Bay Packers Talk / beast

18-Aug / Around The NFL / isaiah

18-Aug / Green Bay Packers Talk / Mucky Tundra

17-Aug / Green Bay Packers Talk / beast

17-Aug / Green Bay Packers Talk / Mucky Tundra

16-Aug / Feedback, Suggestions and Issues / beast

15-Aug / Around The NFL / Mucky Tundra

13-Aug / Green Bay Packers Talk / dfosterf

12-Aug / Green Bay Packers Talk / Zero2Cool

12-Aug / Green Bay Packers Talk / beast

Headlines
Copyright © 2006 - 2025 PackersHome.com™. All Rights Reserved.