Hi there,

Please consider registering for an account. Registration is free, only takes a minute and will allow you to access members only boards. If you already have an account with us, then click here to log in.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - WestwegoMan

Pages: [1] 2
1
Want the images in the recent image attachments block in Simple Portal to link to the post instead of the actual larger attachment?

In PortalBlocks.php
Find:
Code: [Select]
', $item['file']['image']['link'], 'Replace with:
Code: [Select]
<a href="' . $item['topic']['href'] . '">', $item['file']['image']['thumb'], '</a>

Want the images to be smaller? Use the below fix instead and set the size of 175 to what you want.
Find:
Code: [Select]
', $item['file']['image']['link'], 'Replace with:
Code: [Select]
<a href="' . $item['topic']['href'] . '">', str_replace('<img', '<img height="175"', $item['file']['image']['thumb']), '</a>

2
Just like in Windows 8, when you click delete on a file or folder in Windows 10, it doesn’t give you a prompt asking if you are sure you want to move to the recycle bin? Well, if you would like that feature back, you are in luck. With a few very simple steps, you can have it.

Right-click on your Recycle Bin icon on your Desktop and select Properties. Tick the box next to “Display delete confirmation dialog” to apply the changes.

3
Windows 10 / Schedule restarts
« on: Dec 27, 2015, 8:36 PM »
Windows 10 will install updates without asking (on the Home edition of the OS). After installing these updates, Windows 10 will automatically reboot when you are not using it. You don’t necessarily want your PC rebooting unexpectedly.

To fix this, search for “advanced update” from the taskbar, choose Advanced Windows Update options and then change the top setting to Notify to schedule restart.

4
Windows 8 / De-stupify Windows 8
« on: Dec 27, 2015, 8:32 PM »

5
General Discussion / Erin Brockovich is pissed
« on: Jul 26, 2015, 10:12 AM »
From her post on Facebook...

Quote
Alrighty then...now they have done gone and pissed me off.

If it is not bad enough that politicians, health officials and water treatment regulators down play what is happening... they are lying to us as well. The water WILL NOT be safe to drink or bathe in for at least the next 60-days.

First... the St. Bernard Parish water system is a chloraminated system. This is part of the problem... it is the use of chlorine that is sequestered by adding ammonia. This is done so the chlorine does not react with the dirt in the water which forms regulated disinfection byproducts. IT MAKES CHLORINE WEAK AND LESS REACTIVE WITH BACTERIA... as it breaks down it causes distribution system nitrification which supports biofilm growth!!!

Clean the damn water up, remove the organics...and stop making excuses...

Now... they are going to do a chlorine burn out...in your drinking water. That means turn off the ammonia and turn up the chlorine. Let me tell you what this will do... it will cause skin irritation and asthma attacks. It WILL form cancer causing compound above the health standards... ugh!!!

It will not be safe to drink or bathe in for at least the next 60-days.

This is their politically correct crap:

Louisiana health officials confirmed Wednesday the presence of the Naegleria fowleri amoeba in the St. Bernard Parish Water System at the site of a leaking sampling station. The water system, which serves 44,000 residents in St. Bernard Parish, was tested by the Louisiana Department of Health & Hospitals (DHH) as part of the State’s new public drinking water surveillance program. DHH notified the water system and local officials Wednesday evening.

The Department asked the water system to conduct a 60-day chlorine burn to ensure that any remaining ameba in the system are eliminated. Parish President Dave Peralta confirmed that the system would conduct the burn out of an abundance of caution.

Based on current monthly chloramine residual compliance reports, the water system has met the requirements with Louisiana rules for chloramine disinfectant levels set forth by the 2013 by emergency rule and additional requirements in 2014 by the Louisiana Legislature. Five other sites on the system tested negative for the amoeba and one site did not meet the required level of disinfectant.

Tap water in St. Bernard Parish is safe for residents to drink, but the Department urges residents to avoid getting water in their noses. Naegleria fowleri is an amoeba that occurs naturally in freshwater.

As Naegleria fowleri infections are extremely rare, testing for this amoeba in public drinking water is still relatively new and evolving. Fewer than 10 deaths in the United States have been traced back to the amoeba, with three occurring in Louisiana over the last several years. The amoeba was identified in St. Bernard Parish Water System in the summer of 2013; the U.S. Centers for Disease Control and Prevention (CDC) confirmed that the system no longer tested positive for the presence of the amoeba in February 2014.

DHH conducts sampling of public drinking water systems for Naegleria fowleri each summer when temperatures rise. So far, DHH has tested 12 other systems for the amoeba and still awaiting lab results for each.

Naegleria fowleri causes a disease called primary amebic meningoencephalitis (PAM), which is a brain infection that leads to the destruction of brain tissue. In its early stages, symptoms of PAM may be similar to bacterial meningitis.

DHH Safe Drinking Water Program staff sampled seven sites along the St. Bernard Parish Water System. Two of the seven sites tested positive for the amoeba. One positive test was at a site at the water treatment plant before the water was treated. The second positive test occurred at 948 Angela Street, which may have been contaminated by ground water due to a leak at the sampling station. Chlorine levels at the site of the positive sample did meet the 0.5 mg/l requirement. The Department will continue to consult with the water system and the CDC.

The Department requested that the water system conduct a 60-day free chlorine burn in the water system. The chlorine burn will help reduce biofilm, or organic buildup, throughout the water system and will kill the amoeba. The parish has agreed to conduct this precautionary measure.

Precautionary Measures for Families

According to the CDC, every resident can take simple steps to help reduce their risk of Naegleria fowleri infection. Individuals should focus on limiting the amount of water going up their nose. Preventative measures recommended by the CDC include the following:

DO NOT allow water to go up your nose or sniff water into your nose when bathing, showering, washing your face, or swimming in small hard plastic/blow-up pools.

DO NOT jump into or put your head under bathing water (bathtubs, small hard plastic/blow-up pools); walk or lower yourself in.

DO NOT allow children to play unsupervised with hoses or sprinklers, as they may accidentally squirt water up their nose. Avoid slip-n-slides or other activities where it is difficult to prevent water going up the nose.

DO run bath and shower taps and hoses for five minutes before use to flush out the pipes. This is most important the first time you use the tap after the water utility raises the disinfectant level.

DO keep small hard plastic/blow-up pools clean by emptying, scrubbing and allowing them to dry after each use.

DO use only boiled and cooled, distilled or sterile water for making sinus rinse solutions for neti pots or performing ritual ablutions.

DO keep your swimming pool adequately disinfected before and during use. Adequate disinfection means: Pools: free chlorine at 1 to 3 parts per million (ppm) and pH 7.2 to 7.8, and Hot tubs/spas: free chlorine 2 to 4 parts per million (ppm) or free bromine 4 to 6 ppm and pH 7.2 to 7.8.

If you need to top off the water in your swimming pool with tap water, place the hose directly into the skimmer box and ensure that the filter is running. Do not top off the pool by placing the hose in the body of the pool.

Residents should continue these precautions until testing no longer confirms the presence of the amoeba in the water system. Residents will be made aware when that occurs.

6
SMF Forum tips & tricks / Highlight text
« on: May 15, 2015, 11:21 PM »
This will enable you to highlight text in a post.

Upload highlight-text.gif to your theme directory. Theme may vary if using a different theme from the default.

/Themes/default/images/bbc/highlight-text.gif

NOTE: This mod is installed the old fashioned way using Boardmod. I may eventually get around to making this work with the SMF package manager.

Files to edit:

Themes/default/css/index.css
Themes/default/languages/Modifications.english.php
Sources/Subs-Editor.php
Sources/Subs.php

7
Recipes / Sweet Potato Casserole
« on: Feb 09, 2015, 12:47 AM »
Sweet Potato Casserole

Casserole:
3 cups sweet potatoes (1 large and 1 small can)
½ cup sugar
½ cup butter
2 eggs, beaten
1 tsp. vanilla
1/3 cup milk

Topping:
1/3 cup melted butter
1 cup light brown sugar
½ cup flour
1 cup chopped pecans

Boil and mash potatoes. Mix in sugar, butter, eggs, vanilla, and milk. Put in 13x9 in. baking dish.

Topping:
Melt butter and mix remaining ingredients. Sprinkle on top of potato mixture. Bake 25 minutes at 350°.

8
Recipes / Mr. C’s Homemade Chili
« on: Feb 09, 2015, 12:42 AM »
Mr. C’s Homemade Chili

3 Onions
2 Packs of chili mix
2 Tsp. Chili Powder
2  15 oz. Cans of Hunts Tomato (Chili) Sauce*
1 Can Rotel Tomatoes
2 Bell Peppers
1 16 Oz. Can of Blue Runner Red Beans. (It’s a Louisiana thing)
1tsp Cayenne pepper (optional) Just depends on how ya’ tongue feels about it.
1 tbs Tony’s seasoning
2 Lbs. Lean ground meat
1 Qt. Of water.

Instructions

Finely chop bell peppers and onions.
Brown ground meat and drain. Add all other ingredients and cook on low heat for 30 minutes. Add water as needed for consistency.

9
Recipes / Mr. C’s Beans
« on: Feb 09, 2015, 12:40 AM »
I have used this same recipe on white beans and butter beans. I have had success getting people to eat beans who never would eat them before.

Mr. C's Beans

1 Lb Pickled Pork
1 ½ Lbs of sausage
1 Lb Dry Beans
2 Lg. Onions (chopped)
2 Lg. Bell Peppers
¼ tsp black pepper
1 Tsp. Sugar
2 tsp. Vinegar
1/8 tsp powdered cloves
½ tsp Thyme
1/8 tsp. Powdered allspice
3 ribs of celery
4 cloves of garlic (minced)
½ Tsp Tony’s seasoning
Salt to taste

Sauté onions, celery, and bell peppers in a large pot. Slice sausage into ¼ inch pieces. With 2 ½ quarts of water, add sausage, pork and other ingredients except for Tony’s and salt (add these after beans have been cooking for about 3 hours). Cover and set on low heat until water starts to simmer. Do not let boil. Let simmer gently stirring every 15 minutes. When beans are tender, serve over rice.

10
Recipes / Artichoke Casserole
« on: Feb 09, 2015, 12:33 AM »
Great around the holidays. If you like stuffed artichokes, you'll love this.

Artichoke Casserole

Garlic
2 med. Onions
1 cup olive oil
2 – 16oz. cans French string beans
4 cans artichoke hearts
1 ½ cups dehydrated parsley
2 cups Italian style bread crumbs
2 cups Romano cheese or Italian
Salt & pepper

Cut onions in quarters, chop in food processor. Do not puree. Pour cup of olive oil into large pot and add onions, cook until onions are clear.

Clean artichoke hearts and cut into quarters and chop in food processor. Add hearts to pot and cook another 5 minutes.

Add French string beans to pot and cook 5 minutes.

Add parsley flakes, cook 5 minutes.

Add bread crumbs, cheese, salt and pepper.

Bake in covered casserole dish at 350° for 15 minutes. Uncover and bake for an additional 15 minutes to brown top.

11
Stop Quote (selected) from showing in post when a regular quote is used from the bbc buttons with "dQuoteSelection" mod installed.

In Sources/Subs.php

Find:
Code: [Select]
$txt['quote']
Replace with:
Code: [Select]
$txt['quoted']
In Themes/default/languages/index.english.php
Find:
Code: [Select]
$txt['quote'] = 'Quote';
Add after:
Code: [Select]
$txt['quoted'] = 'Quote';

12
SMF Forum tips & tricks / Edit BBC mod
« on: Jan 23, 2015, 5:46 PM »
Edit BBC

Latest Version: 1.0
Compatible With SMF: 2.0.x

This mod will add a "edit" BBC used to help identify the edited or added content in a post.
This is ideal for those who like to have edited content stand out in posts. This was made for and tested on SMF 2.0.8 but as far as I know, should work on all 2.0 versions.

There are no settings for this mod. As always, make a backup first!

Just wrap the content within the following tags.
Code: [Select]
[edit][/edit]

Edited:
This is what the mod does.

Mod History
Sep. 22, 2014 - First release. Thanks to BurkeKnight for the use of some of his code to learn from.


13
Since I installed SMF, the time format has been bugging me. I searched through many threads on the support site with no luck. After a bit of searching again today, I came across a thread about getting rid of the leading zero in the time.

April 05, 2014, 09:13:54 PM

I wanted it to read like this instead.

April 05, 2014, 9:13:54 PM
April 05, 2014, 9:13:54 AM

All of this time it was because I mistook an I for an l. If this bugs you also, you can set the time format to the following in Admin > Features and Options > General

Instead of this:
Code: [Select]
%b %d, %Y, %I:%M %p
Use this to omit the leading zero
Code: [Select]
%b %d, %Y, %l:%M %p

14
SMF Forum tips & tricks / Add header.php
« on: Jan 23, 2015, 5:12 PM »
Add header.php

This will add a header over your SMF forum incase you want to place your main site header above it.

In Themes\default\index.template.php
Find:
Code: [Select]
</head>
<body>';

Add After:
Code: [Select]
include('header.php');
Must add a file named "header.php" in the forum root directory to avoid errors in the forum log.

15
SMF Forum tips & tricks / Add footer.php
« on: Jan 23, 2015, 5:12 PM »
Add footer.php

This will add a separate footer under your SMF forum in case you want to place your main site footer below it.

In Themes\default\index.template.php
Find:
Code: [Select]
// Show the load time?
Add Before:
Code: [Select]
include('footer.php');
Must add a file named "footer.php" in the forum root directory to avoid errors in the forum log.

Pages: [1] 2



The postings on this site are my own and do not necessarily reflect the views of Jefferson Parish,

fellow employees, members of the public, suppliers or people working on behalf of the parish.

 

WestwegoMan.com Privacy and Disclaimer Statement

 

Copyright © 2015. WestwegoMan.com.