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
dfosterf (1h) : Putring it here so Mucky sees it. He was our guy!
dfosterf (1h) : Bowden long snapper Wisconsin. Consensus best LS in college.
dfosterf (1h) : We got Peter Bowde
dfosterf (2h) : I personally interpret that as a partial tear that can be recovered from with rehab
dfosterf (2h) : MLF said Kingsley Enagbare did NOT tear his ACL and did NOT require surgery, and that he is "looking good" for the 2024 season!
beast (13h) : T.O. son signs with the 49ers
Mucky Tundra (14h) : damn those vikings
beast (15h) : UDFA Vikings sign TE – Trey Knox, South Carolina
beast (15h) : Kitchen was all high from Miami, he was more lucky than talented in 2022 and it showed in 2023
beast (15h) : Reportedly Packers have UDFAs Jennings and Jones
beast (15h) : OL – Donovan Jennings, USF OT – Trente Jones, Michigan
TheKanataThrilla (15h) : Interesting draft. A bit shocked that we didn't select an early CB. Definitely have Safety help. Pretty happy overall.
dhazer (22h) : wow the last 2 picks are really stupid and probably will be special teams players Top 10 draft pick next year book it
TheKanataThrilla (22h) : I think he ended up with a terrible RAS score
dhazer (22h) : Anyone know what went on with Kitchens from Florida? At 1 point he was to be the Packers 1st round and he is way down the board now
Martha Careful (27-Apr) : Z, could you please combine my thread with yours please. I obviously did not see it when I Created it
Martha Careful (26-Apr) : Re: 'Kool-Aid' McKinstry. Other than Icky Woods, has there ever been a good NFLer with a childish nickname?
Martha Careful (26-Apr) : Packers looking to trade up
Martha Careful (26-Apr) : Flag?
Martha Careful (26-Apr) : Sag?
Nonstopdrivel (26-Apr) : It rhymes with "bag."
beast (26-Apr) : Family? That's Deadpool's F word
Nonstopdrivel (26-Apr) : Not THAT f-word.
Zero2Cool (26-Apr) : fuck
beast (25-Apr) : 49ers are Cap Tight
beast (25-Apr) : Fuck
Mucky Tundra (25-Apr) : Kanata, I will be when I'm on my lunch later
TheKanataThrilla (25-Apr) : Love you NSD
Nonstopdrivel (25-Apr) : Huh. I guess the F-word is censored in this fan shout.
Nonstopdrivel (25-Apr) : Anyone who doesn't hang out in the chat probably smokes pole.
TheKanataThrilla (25-Apr) : GoPackGo Thinking CB is the pick tonight
TheKanataThrilla (25-Apr) : Anyone hanging out in the chat tonight?
Zero2Cool (25-Apr) : whoa...49ers have had trade conversations about both Deebo Samuel and Brandon Aiyuk
Zero2Cool (25-Apr) : I hope they take a Punter at 9th overall. Be bold!
Mucky Tundra (25-Apr) : I may end up eating those words but I think they need a lot more talent then their 4 picks can provide
Mucky Tundra (25-Apr) : I really hope they stand pat and Draft a WR
Mucky Tundra (25-Apr) : @DMRussini
Mucky Tundra (25-Apr) : The Chicago Bears are very open for business at 9 and telling teams they are ready to move for the right price, per source
buckeyepackfan (24-Apr) : Lions extend Penei Soul 4yrs - 112mil
buckeyepackfan (24-Apr) : Lions extend St. Brown 4 years 120mil and
Mucky Tundra (24-Apr) : Now look, trading up to 13 to take a TE might not seem like a good idea later but it will be later!
dfosterf (24-Apr) : (Your trade up mock post)
dfosterf (24-Apr) : Mucky- The only thing fun to watch would be me flipping the f out if Gute goes up to 13 and grabs Brock Bowers, lol
beast (24-Apr) : DT Byron Murphy II, Texas... whom some believe is the next Aaron Donald (or the closest thing to Donald)
Zero2Cool (24-Apr) : What? And who?
Mucky Tundra (24-Apr) : *sad Mucky noises*
Mucky Tundra (24-Apr) : @JoeJHoyt Murphy said he’s been told he won’t slide past pick No. 16.
wpr (23-Apr) : Just about time to watch Sonny Weaver stick it to the seahags. I never get tired of it.
Martha Careful (23-Apr) : *game plan
Martha Careful (23-Apr) : IMHO, not even close. He is not a guy you game play around.
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
6m / Green Bay Packers Talk / earthquake

3h / Green Bay Packers Talk / bboystyle

9h / Green Bay Packers Talk / beast

9h / Green Bay Packers Talk / beast

10h / Green Bay Packers Talk / Mucky Tundra

10h / Green Bay Packers Talk / beast

10h / Green Bay Packers Talk / Mucky Tundra

10h / Green Bay Packers Talk / beast

10h / Green Bay Packers Talk / beast

10h / Green Bay Packers Talk / beast

11h / Green Bay Packers Talk / beast

12h / Green Bay Packers Talk / earthquake

20h / Green Bay Packers Talk / beast

27-Apr / Green Bay Packers Talk / Mucky Tundra

27-Apr / Green Bay Packers Talk / Martha Careful

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