Page 1 of 1

Total beginner wants to start a obblm

Posted: Fri Feb 17, 2017 10:59 am
by upgrade
Hi guys,
my mates and I want to create our own obblm-site. This is what we got so far:
pottbowl.net (yeah... german)
15 years ago I learned something about HTML-design (trainingcourse in school) but I dont get this PHP and CSS stuff.
For example:
I figured out, that the whole design is created in the stylesheets, but where can I edit the notation of the buttons from the menu (Home/Login/LeagueMenu...)?
Back in the "HTML-days" we got documents like "main" or "index" etc, where we could edit the content for the site, but I can not find these in the PHP-structure.
I guess it has something to do with the "sections", which are named correspondingly, but where can I edit them?

Re: Total beginner wants to start a obblm

Posted: Fri Feb 17, 2017 10:11 pm
by Twelfman
The easy-peasy way I did it was go through mercury.vps, who will host it all ready to go. Then you can mess about with the php files until you find what you like.

Re: Total beginner wants to start a obblm

Posted: Sat Feb 18, 2017 11:36 am
by upgrade
Okay... I thought somebody wanted to do this before me and knows the needed php-files... So I will search on my own... :lol:

Re: Total beginner wants to start a obblm

Posted: Sat Feb 18, 2017 7:01 pm
by Shteve0
There's a file in /lib/ called something like class_htmlout.php that controls the main menu titles

Re: Total beginner wants to start a obblm

Posted: Mon Feb 20, 2017 6:34 pm
by upgrade
Thanks! :D

Re: Total beginner wants to start a obblm

Posted: Mon Mar 06, 2017 10:47 pm
by upgrade
Hi there!
Got a new problem... :(
I edited the settings.php and added these lines:

// Rule #6
$hrs[6]['rule'] = array('-pts','-won', '-draw', '-lost', '-td', '-cas'); // Sort teams against: most points, then won, then draw, then lost, then td and then least cas.
$hrs[6]['points'] = '4 * [won] + 2 * [draw] + 1 * [lost]'; // The definition of points.

After hitting save and syncall() the rule #6 can be selected for tournaments, but the obblm gives every team zero points and just sorts them by won, draw, lost, td, cas...

So I tried to change the rule #1 from
$hrs[1]['rule'] = array('-pts', '-td', '+smp'); // Sort teams against: most points, then most TDs and then least sportsmanship points.
$hrs[1]['points'] = '3*[won] + 2*[draw] + 1*[lost]'; // The definition of points.

to
$hrs[1]['rule'] = array('-pts', '-td', '+smp'); // Sort teams against: most points, then most TDs and then least sportsmanship points.
$hrs[1]['points'] = '4*[won] + 2*[draw] + 1*[lost]'; // The definition of points.

But the obblm still counts 3 points for every victory... :o

Re: Total beginner wants to start a obblm

Posted: Tue Mar 07, 2017 10:02 am
by upgrade
Could "fix it"... All I had to do was select "Re-install database back-end procedures and functions"...
Thanks to adminguide... :oops:

Re: Total beginner wants to start a obblm

Posted: Sun Apr 09, 2017 9:24 pm
by upgrade
Hi there!
I got another issue...Do I have to "enable" news?
Because the messageboard displays matchreports and team_news but no "regular news", that are posted by the admin...