Total beginner wants to start a obblm

Moderator: TFF Mods

Post Reply
upgrade
Rookie
Rookie
Posts: 6
Joined: Fri Feb 17, 2017 10:40 am

Total beginner wants to start a obblm

Post 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?

Reason: ''
User avatar
Twelfman
Star Player
Star Player
Posts: 749
Joined: Mon Jan 26, 2015 9:29 pm

Re: Total beginner wants to start a obblm

Post 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.

Reason: ''
upgrade
Rookie
Rookie
Posts: 6
Joined: Fri Feb 17, 2017 10:40 am

Re: Total beginner wants to start a obblm

Post 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:

Reason: ''
User avatar
Shteve0
Legend
Legend
Posts: 2479
Joined: Thu May 07, 2009 10:15 am
Location: Wellington, New Zealand

Re: Total beginner wants to start a obblm

Post by Shteve0 »

There's a file in /lib/ called something like class_htmlout.php that controls the main menu titles

Reason: ''
League and tournament hosting, blogging and individual forums - all totally free. For the most immersive tabletop sports community experience around, check out theendzone.co
upgrade
Rookie
Rookie
Posts: 6
Joined: Fri Feb 17, 2017 10:40 am

Re: Total beginner wants to start a obblm

Post by upgrade »

Thanks! :D

Reason: ''
upgrade
Rookie
Rookie
Posts: 6
Joined: Fri Feb 17, 2017 10:40 am

Re: Total beginner wants to start a obblm

Post 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

Reason: ''
upgrade
Rookie
Rookie
Posts: 6
Joined: Fri Feb 17, 2017 10:40 am

Re: Total beginner wants to start a obblm

Post by upgrade »

Could "fix it"... All I had to do was select "Re-install database back-end procedures and functions"...
Thanks to adminguide... :oops:

Reason: ''
upgrade
Rookie
Rookie
Posts: 6
Joined: Fri Feb 17, 2017 10:40 am

Re: Total beginner wants to start a obblm

Post 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...

Reason: ''
Post Reply