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

UserPostedImage
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 (2-Apr) : WR who said he'd break Xavier Worthy 40 time...and ran slower than you
Mucky Tundra (2-Apr) : Who?
Zero2Cool (2-Apr) : Texas’ WR Isaiah Bond is scheduled to visit the Bills, Browns, Chiefs, Falcons, Packers and Titans starting next week.
Zero2Cool (2-Apr) : Spotting ball isn't changing, only measuring distance is, Which wasn't the issue.
Zero2Cool (2-Apr) : The spotting of the ball IS the issue. Not the chain gang.
Mucky Tundra (2-Apr) : Will there be a tracker on the ball or something?
Zero2Cool (1-Apr) : uh oh
Martha Careful (1-Apr) : Too bad camera's can't spot the ball as well.
Mucky Tundra (1-Apr) : So will the chain gang be gone completely or will they still be around as a backup or whatever?
Zero2Cool (1-Apr) : The method for measuring first downs in the NFL will switch from chain gangs to camera-based technology in 2025, the league announced.
Martha Careful (1-Apr) : A big step in the right direction. Just put in the college system is very very good.
Zero2Cool (1-Apr) : NFL has passed a rule that allows both teams to possess the ball in OT during the regular season
Zero2Cool (1-Apr) : Touchbacks on kickoffs will now bring the ball to the 35-yard line.
beast (31-Mar) : It might of gotten more popular recently, but braiding hair (even men) in certain cultures goes back for centuries.
Martha Careful (30-Mar) : Is men braiding their hair a new style thing? Watching the NCAA men's tournament many players have done
Zero2Cool (29-Mar) : Ha. Well, it'd be nice for folks to reset their own password. Via validated email 😏
beast (29-Mar) : Monopoly was supposed to be an educational game, that show how evil capitalism was and how we should avoid it
beast (29-Mar) : Lol, I was thinking username would be better, as then I wouldn't have to keep an email up to date lol 😂
beast (29-Mar) : Zero2Cool (25-Mar) : I was thinking email because I think it'll make folks keep it up todate lol
wpr (29-Mar) : sure is
Zero2Cool (29-Mar) : Monopoly is a rip off of The Landlord's Game
wpr (27-Mar) : 28 days until the draft
earthquake (27-Mar) : Which seemed strange to my 9 year old self, that you could be a fan for a team other than the one you play for
earthquake (27-Mar) : Nothing eventful happened, other than it being clear that he was a bengals fan
earthquake (27-Mar) : And we went and hung out with him one afternoon, I must have been 9 or so
earthquake (27-Mar) : That’s wild, when I was a kid my friend lived in the same apartment complex in De Pere
Mucky Tundra (27-Mar) : Only career highspot was a 200 yard rushing game while playing for the Cardinals
Mucky Tundra (27-Mar) : He is a former Packer. Drafted out of Northern Illinois. Didn't do much in GB.
dfosterf (26-Mar) : Despicable
Zero2Cool (26-Mar) : Former NFL. I think Packers too
Zero2Cool (26-Mar) : NFL RB Leshon Johnson has been charged in a massive dog fighting operation, with the FBI seizing over 190 Pit Bulls
Mucky Tundra (26-Mar) : Some real irony of a QB as short as Wilson playing for the Giants
Mucky Tundra (26-Mar) : Giants country, let's be the tall beings of lore!
Mucky Tundra (26-Mar) : Russell Wilson signs with the Giants.
Zero2Cool (25-Mar) : I was thinking email because I think it'll make folks keep it up todate lol
wpr (25-Mar) : I don't think there is a significant difference. I use a user name for many. Others email.
Martha Careful (25-Mar) : email
Zero2Cool (25-Mar) : would it be better to use EMAIL or USERNAME to log into a site?
wpr (25-Mar) : Thanks Zero
Zero2Cool (24-Mar) : New forum has the ability to Thank a post now.
beast (24-Mar) : And the only time they have won the Championship in an even year, was the first time they did, in 2006.
beast (24-Mar) : Since 2007, there have been 10 odd numbered years, Wisconsin Women have won the Championship in 7 of those 10 odd numbered years.
buckeyepackfan (24-Mar) : Congratulations Lady Badger Hockey Team. NATIONAL CHAMPIONS!!
Zero2Cool (23-Mar) : I don't think it's completed yet. it was just announced last month, right?
dhazer (23-Mar) : did netflix ever release the Packers documentary
Zero2Cool (21-Mar) : And it is glorious!
beast (21-Mar) : Unsigned FA QB Rodgers is supposedly in the Steelers building
Martha Careful (19-Mar) : But I don't own a car! So can I still use it in my apartment?
Zero2Cool (19-Mar) : btw, new site auto updates
Zero2Cool (19-Mar) : Woohoo!
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
2-Apr / Green Bay Packers Talk / Zero2Cool

2-Apr / Green Bay Packers Talk / bboystyle

1-Apr / Green Bay Packers Talk / Mucky Tundra

1-Apr / Green Bay Packers Talk / wpr

31-Mar / Green Bay Packers Talk / Zero2Cool

30-Mar / Green Bay Packers Talk / Zero2Cool

29-Mar / Random Babble / wpr

28-Mar / Feedback, Suggestions and Issues / dfosterf

28-Mar / Random Babble / Martha Careful

26-Mar / Random Babble / Mucky Tundra

25-Mar / Random Babble / Martha Careful

24-Mar / Random Babble / packerfanoutwest

24-Mar / Random Babble / Zero2Cool

21-Mar / Green Bay Packers Talk / Zero2Cool

19-Mar / Green Bay Packers Talk / Zero2Cool

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