Pack93z
  • Pack93z
  • Select Member Topic Starter
13 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
13 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
13 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
13 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
13 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
13 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
13 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
13 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
13 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
Zero2Cool (46m) : Think more eyes on Super Bowl with Swift fans pulling for her TE boyfriend?
Zero2Cool (46m) : She dating the TE of the Chiefs.
Zero2Cool (47m) : Taylor Swift has millions of fans, yeah?
Zero2Cool (1h) : They did. They are going to show the post production Sunday with plethora of ads.
wpr (12h) : I thought KC already won
Zero2Cool (22h) : If you wanna post about the Super Bowl, please, by all means, open a topic. They are free this month! šŸ˜
Zero2Cool (22h) : There doesn't need to be a topic. There's a playoff prediction thread.
packerfanoutwest (22h) : and there no SB contest over in the other Packer forum, either
buckeyepackfan (22h) : #2Officially Retires!
beast (23h) : Probably no SB topic as people are wore out talking about the Chiefs, Refs and Eagles
Zero2Cool (23h) : Packers reportedly have their new LB coach, promoting Sean Duggan to that role
Zero2Cool (4-Feb) : WR Cooper Kupp is being traded.
packerfanoutwest (4-Feb) : why is there no SB Prediction topic?
Zero2Cool (3-Feb) : Anthony Perkins spent 2024 as a defensive quality-control coach with the Packers.
Zero2Cool (3-Feb) : Packers lose another assistant.
Zero2Cool (3-Feb) : Defensive Player of the Year and Browns star Myles Garrett has requested a trade.
Zero2Cool (3-Feb) : deleted all my browser history and autofill and passwords. gonna be fun!
packerfanoutwest (3-Feb) : too funny
packerfanoutwest (3-Feb) : Lions QB Jared Goff was the offensive MVP
packerfanoutwest (3-Feb) : for the Pro Bowl, which is flag football
Zero2Cool (2-Feb) : Rather, the murder WAS covered up to prevent ...
Zero2Cool (2-Feb) : JFK murder was a cover-up to prevent war with Cuba/Russia.
Martha Careful (1-Feb) : I have always admired the pluck of the man
Zero2Cool (1-Feb) : I remember thinking he was going to be something good.
Mucky Tundra (1-Feb) : The Dualing Banjo!
Zero2Cool (31-Jan) : Jets have named Chris Banjo as their special teams coordinator, Former Packers player
Zero2Cool (31-Jan) : Jaguars have hired Anthony Campanile as their DC. We lose coach
Zero2Cool (30-Jan) : QB coach Sean Mannion
Zero2Cool (30-Jan) : DL Coach DeMarcus Covington
dfosterf (30-Jan) : from ft Belvoir, Quantico and points south. Somber reminder of this tragedy at Reagan Nat Airport
dfosterf (30-Jan) : So eerily quiet here in Alexandria. I live in the flight path of commercial craft coming from the south and west, plus the military craft
dfosterf (30-Jan) : So eeri
Mucky Tundra (30-Jan) : Now that's a thought, maybe they're looking at the college ranks? Maybe not head coaches but DC/assistant DCs with league experience?
beast (30-Jan) : College Coaches wouldn't want that publicly, as it would hurt recruiting and they might not get the job.
beast (30-Jan) : I thought they were supposed to publicly announce them, at least the NFL ones. Hafley was from college, so I believe different rules.
Mucky Tundra (30-Jan) : Who knows who they're interviewing? I mean, nobody knew about Hafley and then out of nowhere he was hired
beast (30-Jan) : I wonder what's taking so long with hiring a DL coach, 2 of the 3 known to interview have already been hired elsewhere.
Zero2Cool (27-Jan) : Packers coach Matt LaFleur hires Luke Getsy as senior assistant, extends Rich Bisaccia's deal
Zero2Cool (27-Jan) : Chiefs again huh? I guess another Super Bowl I'll be finding something else to do.
Mucky Tundra (27-Jan) : Chiefs Eagles...again...sigh
dfosterf (27-Jan) : Happy Birthday Dave!
Mucky Tundra (27-Jan) : happy birthday dhazer
TheKanataThrilla (26-Jan) : Exactly buck...Washington came up with the ball. It is just a shitty coincidence one week later
buckeyepackfan (26-Jan) : I forgot, they corrected the call a week later. Lol btw HAPPY BIRTHDAY dhazer!
buckeyepackfan (26-Jan) : That brings up the question, why wasn't Nixon down by contact? I think that was the point Kanata was making.
buckeyepackfan (26-Jan) : Turnovers rule, win the turnover battle, win the game.
packerfanoutwest (26-Jan) : well, he was
TheKanataThrilla (26-Jan) : Eagles down by contact on the fumble....fuck you NFL
Mucky Tundra (26-Jan) : I think this games over
beast (26-Jan) : Eagles sure get a lot of fumbles on kickoffs
Please sign in to use Fan Shout
2024 Packers Schedule
Friday, Sep 6 @ 7:15 PM
Eagles
Sunday, Sep 15 @ 12:00 PM
COLTS
Sunday, Sep 22 @ 12:00 PM
Titans
Sunday, Sep 29 @ 12:00 PM
VIKINGS
Sunday, Oct 6 @ 3:25 PM
Rams
Sunday, Oct 13 @ 12:00 PM
CARDINALS
Sunday, Oct 20 @ 12:00 PM
TEXANS
Sunday, Oct 27 @ 12:00 PM
Jaguars
Sunday, Nov 3 @ 3:25 PM
LIONS
Sunday, Nov 17 @ 12:00 PM
Bears
Sunday, Nov 24 @ 3:25 PM
49ERS
Thursday, Nov 28 @ 7:20 PM
DOLPHINS
Thursday, Dec 5 @ 7:15 PM
Lions
Sunday, Dec 15 @ 7:20 PM
Seahawks
Monday, Dec 23 @ 7:15 PM
SAINTS
Sunday, Dec 29 @ 3:25 PM
Vikings
Sunday, Jan 5 @ 12:00 PM
BEARS
Sunday, Jan 12 @ 3:30 PM
Eagles
Recent Topics
16h / Green Bay Packers Talk / wpr

23h / Green Bay Packers Talk / Martha Careful

4-Feb / Green Bay Packers Talk / beast

4-Feb / Green Bay Packers Talk / Zero2Cool

4-Feb / Green Bay Packers Talk / earthquake

4-Feb / Green Bay Packers Talk / earthquake

1-Feb / Green Bay Packers Talk / Martha Careful

1-Feb / Green Bay Packers Talk / wpr

29-Jan / Green Bay Packers Talk / Mucky Tundra

27-Jan / Green Bay Packers Talk / beast

25-Jan / Green Bay Packers Talk / beast

25-Jan / Green Bay Packers Talk / Martha Careful

25-Jan / Random Babble / Martha Careful

20-Jan / Green Bay Packers Talk / Martha Careful

20-Jan / Green Bay Packers Talk / bboystyle

Headlines
Copyright Ā© 2006 - 2025 PackersHome.comā„¢. All Rights Reserved.