Pack93z
  • Pack93z
  • Select Member Topic Starter
12 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
12 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
12 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
12 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
12 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
12 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
12 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
12 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
12 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 (4h) : Chase Young to sign $13M contract with Saints
Zero2Cool (4h) : Yosh to Panthers what noooo. Wait he didn't do crap
wpr (18-Mar) : I say that he is technically HER BIL as he married her sister. I checked it out, he's considered my BIL as well. Sad.
Mucky Tundra (18-Mar) : wpr, I assume its your BIL via marriage to your wife? If so, I can figure out where the smarts in the family went ;)
wpr (18-Mar) : Mucky my B-I-L is Bare Stupid. I could write a book.
Mucky Tundra (18-Mar) : As a teenager in Rockford IL I would get heckled by adults in public for wearing GB gear
Mucky Tundra (18-Mar) : if you think the online ones are bad, try *living amongst* them
Mucky Tundra (18-Mar) : Never doubt wprs loyalty. Poor guy is surrounded by Bears fans in Northern IL
wpr (17-Mar) : pass Martha. Thanks for the invite though.
Martha Careful (17-Mar) : blog * as the same ugly Illinois colors were adopted by the Baer
Martha Careful (17-Mar) : WPR, perhaps you should be joining the Bears fans blog has the same ugly Illinois colors were adopted by the Bears
Mucky Tundra (17-Mar) : Ah a fellow U of Illinois hater. I can respect that though I imagine it's for different reasons
Zero2Cool (17-Mar) : BTW. I didn't catch the game. I just hate Illinois.
Mucky Tundra (17-Mar) : They're your Big Ten Chumps and you will like it!
Zero2Cool (17-Mar) : No, not for the record. Referee's handled that BS. Orange team was trash ass
Mucky Tundra (17-Mar) : *Your* Big Ten Chumps for the record
Zero2Cool (17-Mar) : No, not Big Ten Champs. IL is big ten CHUMPS
wpr (17-Mar) : Big Ten Champs
wpr (17-Mar) : !!!
wpr (17-Mar) : INI
wpr (17-Mar) : ILL
Martha Careful (17-Mar) : Wisconsin with an outstanding on in the menā€™s Big Ten basketball tournament. Letā€™s hope it continues in the NCAAs
Zero2Cool (17-Mar) : Almost like taking QB in 2020 even if you don't need one is good move.
Mucky Tundra (16-Mar) : 2021 QB Draft class looking like a real clunker
Mucky Tundra (16-Mar) : A conditional 6th rounder? I remember Bears fans arguing they'd get a day 2 pick at worst lol
dfosterf (16-Mar) : So I got the no extension part right and the have to wait on the CW physical wrong
Zero2Cool (16-Mar) : Bears are trading Justin Fields for a 2025 6th-round pick that goes to a 4th-round pick based on playtime, per sources.
Zero2Cool (16-Mar) : Former Packer Jarrett Bush opens Wisconsinā€™s first blow dry bar in Green Bay
dfosterf (16-Mar) : If the Bears are not doing a deal with Washington, they also cannot trade Fields until Williams physical with them. All hail Caleb Williams!
dfosterf (16-Mar) : The talent is undeniable, but the (advertised) haul is obscene.
dfosterf (16-Mar) : If the Bears are cutting a deal with the Commanders, in either scenario, cannot happen until williams passes a Commanders physical
dfosterf (16-Mar) : My guess is no to the Fields extension, but yes to the trade back with the Commanders.
dhazer (15-Mar) : I think the Bears do a Love extension and they will trade out of the 1st pick and take the haul
Martha Careful (15-Mar) : that might make sense
Zero2Cool (15-Mar) : Justin Fields to Steelers?
Zero2Cool (15-Mar) : Kenny Pickett. Eagles. Done.
Zero2Cool (15-Mar) : They can claim best two WR tandem.
Mucky Tundra (15-Mar) : Aaron Donald retiring
dhazer (15-Mar) : Campbell signing with 49ers
dhazer (15-Mar) : I love how the Bear Fans are now claiming they have the best skill players in the NFC North lol
Zero2Cool (15-Mar) : Vikings made a move to get a 2nd first round pick
Mucky Tundra (15-Mar) : That's a not a bad deal for the Bears
Zero2Cool (15-Mar) : Bears have traded for WR Keenan Allen sending Chargers a fourth rounder.
Martha Careful (15-Mar) : *signs
Martha Careful (14-Mar) : MLB Devon White science with the Eagles
Mucky Tundra (14-Mar) : But that was before FA started
Mucky Tundra (14-Mar) : Dhaze, I thought Kurls would be their #1 target when I read that he was an Amos comp (jack of all trades guy)
dhazer (14-Mar) : I would like to see the Packers target 2 more FA still available Kamren Curl Safety and Chase Young edge
Martha Careful (14-Mar) : wow...didn't see that coming
Zero2Cool (14-Mar) : AJ Dillon re-signing with Packers.
Please sign in to use Fan Shout
2023 Packers Schedule
Sunday, Sep 10 @ 3:25 PM
Bears
Sunday, Sep 17 @ 12:00 PM
Falcons
Sunday, Sep 24 @ 12:00 PM
SAINTS
Thursday, Sep 28 @ 7:15 PM
LIONS
Monday, Oct 9 @ 7:15 PM
Raiders
Sunday, Oct 22 @ 3:25 PM
Broncos
Sunday, Oct 29 @ 12:00 PM
VIKINGS
Sunday, Nov 5 @ 12:00 PM
RAMS
Sunday, Nov 12 @ 12:00 PM
Steelers
Sunday, Nov 19 @ 12:00 PM
CHARGERS
Thursday, Nov 23 @ 11:30 AM
Lions
Sunday, Dec 3 @ 7:20 PM
CHIEFS
Monday, Dec 11 @ 7:15 PM
Giants
Sunday, Dec 17 @ 12:00 PM
BUCCANEERS
Sunday, Dec 24 @ 12:00 PM
Panthers
Sunday, Dec 31 @ 7:20 PM
Vikings
Sunday, Jan 7 @ 3:25 PM
BEARS
Sunday, Jan 14 @ 3:30 PM
Cowboys
Saturday, Jan 20 @ 7:15 PM
49ers
Recent Topics
46m / Green Bay Packers Talk / beast

9h / Green Bay Packers Talk / dfosterf

10h / Green Bay Packers Talk / beast

18-Mar / Around The NFL / Mucky Tundra

16-Mar / Random Babble / Martha Careful

16-Mar / Green Bay Packers Talk / TheKanataThrilla

15-Mar / Green Bay Packers Talk / dhazer

15-Mar / Green Bay Packers Talk / dfosterf

14-Mar / Green Bay Packers Talk / beast

14-Mar / Random Babble / Zero2Cool

14-Mar / Green Bay Packers Talk / dfosterf

13-Mar / Random Babble / Zero2Cool

13-Mar / Green Bay Packers Talk / Martha Careful

13-Mar / Green Bay Packers Talk / Martha Careful

13-Mar / Green Bay Packers Talk / beast

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