DeadGoblins.com » Tests, Features, Etc. » Board cleanup

Board cleanup

Page: 1

Author Post
Administrator
Registered: Jun 2008
Posts: 2639
Location: Santa Ana, CA
All,

I've done a little cleanup on the site, and added a new "feature":

- I moved the "Points of Light" campaign down into "Retired campaigns". "Scales of War" is now the only item in "Campaigns".
- I removed the "Treasures of Varinia" character names from the post edit box - now only current characters are listed.
- I added a link to the Coyote Code dice roller on the top menu bar (under the dragon image, next to "Home" and "Wiki"). It will open the dice roller in a new window when you click it.

If there are other changes of this sort you'd like to see, let me know. Some things are easy with this software, some aren't, but I can adjust/edit most things.


Some notes for myself if I want to change anything else, becuase it's buried deep in the code:

Editing top bar (Home, Wiki, Dice Roller, etc.): templates/default/global.tpl.php
Editing in-form (Hedoni, OCC, etc.): sources/functions.php
_______________
Hedoni Midartis - Eladrin Wizard, Scales of War
« Last edit by Michael Doss on Wed Feb 01, 2017 11:48 am. »
Moderator
Registered: Jul 2008
Posts: 5245
Adding a link to the wiki is a great idea. Now maybe I should go update it ...
_______________
Dungeon Master - Scales of War
Edeya - Githzerai Seeker - Points of Light
Administrator
Registered: Jun 2008
Posts: 2639
Location: Santa Ana, CA
The Wiki link has been there for three years (I added the dice roller only today), but I thought it might be a good idea to highlight it too =D
_______________
Hedoni Midartis - Eladrin Wizard, Scales of War
Moderator
Registered: Jun 2008
Posts: 5084
Location: Los Angeles, CA
Thanks, Mike!

Can you update Salazar's speech text to darkorange? I switched from darkred when I switch from warlock to sorcerer. Thanks!
_______________
Salazar Miller - Human Sorcerer 24 - Scales of War
Azad Halim al'Zahir - Tiefling Battlemind|Paladin 7 - Points of Light
Khavak'aashta - Half-Orc Thief 5 - Eberron
Dwimmerlaik - Revenant Hexblade 2 - Dark Campaign
Administrator
Registered: Jun 2008
Posts: 2639
Location: Santa Ana, CA
Done! I also swapped out Daggoth and Purple for Sir Murrak and Goldenrod (Murrak doesn't talk much, but he used that color once, when he did).
_______________
Hedoni Midartis - Eladrin Wizard, Scales of War
Administrator
Registered: Jun 2008
Posts: 2639
Location: Santa Ana, CA
Also, while people are here and looking at the board, is anyone else losing posts when they hit "ok"? I've lost posts on both the quick reply and the main reply page, but hitting "back" gets them back, and hitting "ok" again posts them. Weird.
_______________
Hedoni Midartis - Eladrin Wizard, Scales of War
Moderator
Registered: Jun 2008
Posts: 5084
Location: Los Angeles, CA
"Thanks!"

Haven't had trouble with posts disappearing lately, but it's happened before. I always Ctrl-C before hitting "Submit," just in case.
_______________
Salazar Miller - Human Sorcerer 24 - Scales of War
Azad Halim al'Zahir - Tiefling Battlemind|Paladin 7 - Points of Light
Khavak'aashta - Half-Orc Thief 5 - Eberron
Dwimmerlaik - Revenant Hexblade 2 - Dark Campaign
Administrator
Registered: Jun 2008
Posts: 2639
Location: Santa Ana, CA
Copying your post is good practice.

I was hoping the change was related to a change I made and just fixed, but it doesn't seem to be. Hopefully it's just me on this browser...
_______________
Hedoni Midartis - Eladrin Wizard, Scales of War
Administrator
Registered: Jun 2008
Posts: 2639
Location: Santa Ana, CA
In order to solve a coding issue introduced when the site was upgraded to PHP 5.6, I removed the following two lines from line 849 of sources/functions.php:

ini_set('mbstring.http_input', 'pass');
ini_set('mbstring.http_output', 'pass');

Hopefully this won't break anything else, but the site is up and posts are available, so that's good.
_______________
Hedoni Midartis - Eladrin Wizard, Scales of War
Administrator
Registered: Jun 2008
Posts: 2639
Location: Santa Ana, CA
Also, to fix search, replaced line 203 of search.php with:

$keywords = preg_split('#s+#', $_REQUEST['keywords']);

This replaces the depreciated "split" with "preg_split" and inserts required characters. I don't know if this breaks other functionality in search, but it fixes the error and returns correct results.
_______________
Hedoni Midartis - Eladrin Wizard, Scales of War
Moderator
Registered: Jun 2008
Posts: 5084
Location: Los Angeles, CA
Yay, working site! Thanks, Mike.
_______________
Salazar Miller - Human Sorcerer 24 - Scales of War
Azad Halim al'Zahir - Tiefling Battlemind|Paladin 7 - Points of Light
Khavak'aashta - Half-Orc Thief 5 - Eberron
Dwimmerlaik - Revenant Hexblade 2 - Dark Campaign
Moderator
Registered: Jul 2008
Posts: 5245
Yes, thanks Mike for keeping the website running.
_______________
Dungeon Master - Scales of War
Edeya - Githzerai Seeker - Points of Light

Page: 1

DeadGoblins.com » Tests, Features, Etc. » Board cleanup

DeadGoblins.com is powered by UseBB 1 Forum Software