Author Topic: Forums are now running SMF 2.0!  (Read 4394 times)

Offline x4000

  • Chris Park, Arcen Games Founder and Lead Dev
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 23,816
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #30 on: July 19, 2011, 05:39:49 PM »
Yeah, I noticed that they removed the next page button -- that is annoying indeed.
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!

Offline orzelek

  • Hero Member Mark II
  • *****
  • Posts: 843
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #31 on: July 19, 2011, 05:44:59 PM »
Yeah, I noticed that they removed the next page button -- that is annoying indeed.
Any idea if it can be found in some options?
Altho Blind Mind forums never had it - but they were running 2.0 RC from start I think.

PS. If it can't be found... it will be missed and remembered;)

Offline x4000

  • Chris Park, Arcen Games Founder and Lead Dev
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 23,816
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #32 on: July 19, 2011, 05:53:54 PM »
Hmm, most SMF posts make like it never existed, which is odd.  Can't see any references to it, but I know I remember it.
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!

Offline Fiskbit

  • Arcen Games Staff
  • Administrator
  • Master Member Mark II
  • *****
  • Posts: 1,745
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #33 on: July 19, 2011, 10:39:12 PM »
It's not perfect, but the old Arcen theme works well enough and has the previous/next page links. :)
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!

Offline Cyborg

  • Hero Member Mark II
  • *****
  • Posts: 889
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #34 on: July 20, 2011, 07:17:22 AM »
It's not perfect, but the old Arcen theme works well enough and has the previous/next page links. :)

it is missing the editor for the post markup, though.

Offline orzelek

  • Hero Member Mark II
  • *****
  • Posts: 843
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #35 on: July 20, 2011, 12:36:11 PM »
It's not perfect, but the old Arcen theme works well enough and has the previous/next page links. :)

it is missing the editor for the post markup, though.
And sadly quotes are getting broken badly on it.

Offline Flatline

  • Newbie Mark III
  • *
  • Posts: 46
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #36 on: July 21, 2011, 04:12:58 PM »
Got from a few posts & a modification:

sources/Sub.php

To Add Prev:

find:
Code: [Select]
// Show the first page. (>1< ... 6 7 [8] 9 10 ... 15)
if ($start > $num_per_page * $PageContiguous)
$pageindex = sprintf($base_link, 0, '1');
else
$pageindex = '';

Replace with:
Code: [Select]
// "Prev"
$tmpStart = $start + $num_per_page * -1;
if (($start / $num_per_page + 1)>1) {
$pageindex = sprintf($base_link, $tmpStart, "Prev");
if ($start > $num_per_page * $PageContiguous)
$pageindex .= sprintf($base_link, 0, '1');
else
$pageindex .= '';
} else {
if ($start > $num_per_page * $PageContiguous)
$pageindex = sprintf($base_link, 0, '1');
else
$pageindex = '';
}

To Add Next:

Find:
Code: [Select]
// Show the last number in the list. (1 ... 6 7 [8] 9 10 ... >15<)
if ($start + $num_per_page * $PageContiguous < $tmpMaxPages)
$pageindex .= sprintf($base_link, $tmpMaxPages, $tmpMaxPages / $num_per_page + 1);

Add After:
Code: [Select]
// Show 'Next'.
$display_page = ($start + $num_per_page) > $max_value ? $max_value : ($start + $num_per_page);
if (($display_page <= $tmpMaxPages)&&($tmpMaxPages > 1))
$pageindex .= sprintf($base_link, $display_page, '<span >Next</span>');


Offline x4000

  • Chris Park, Arcen Games Founder and Lead Dev
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 23,816
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #37 on: July 21, 2011, 04:59:43 PM »
Wicked!  Thanks for that, Flatline.  ;D

Added it in, and looks like it works like a charm. :)
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!

Offline Flatline

  • Newbie Mark III
  • *
  • Posts: 46
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #38 on: July 21, 2011, 05:23:24 PM »
Wicked!  Thanks for that, Flatline.  ;D

Added it in, and looks like it works like a charm. :)
No problem, having to do the same thing with the forums I run. Loads of little changes because of the upgrade, and large changes to the theme (Basically redoing it from scratch)

2 easy things you could do.

Admin/configuration/current theme.

logo image url: http://www.arcengames.com/w/templates/rt_maelstrom_j15/images/logo/style1/logo.png

and put a . in the Site Slogan to get rid of the SMF banner on right.

Offline x4000

  • Chris Park, Arcen Games Founder and Lead Dev
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 23,816
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #39 on: July 21, 2011, 05:30:43 PM »
Well, slick!  That's a config screen I hadn't even really found yet -- thanks for the tips!  I went with a space instead of a . on the site slogan, and that actually removes the SMF logo, too.  Pretty nice!
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!

Offline Flatline

  • Newbie Mark III
  • *
  • Posts: 46
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #40 on: July 21, 2011, 07:40:30 PM »
You could always go for a theme that matches the rest of the site.

Just quickly knocked up.

Offline x4000

  • Chris Park, Arcen Games Founder and Lead Dev
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 23,816
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #41 on: July 21, 2011, 07:42:02 PM »
Good grief!  Is that an actual theme, or is that just a mockup screenshot?  That looks really great, at any rate.  My problem is just not having a lot of time to devote to things of that nature at the moment, but I love the look. :)
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!

Offline Flatline

  • Newbie Mark III
  • *
  • Posts: 46
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #42 on: July 21, 2011, 07:50:44 PM »
Good grief!  Is that an actual theme, or is that just a mockup screenshot?  That looks really great, at any rate.  My problem is just not having a lot of time to devote to things of that nature at the moment, but I love the look. :)

An actual theme.

You may want to go to:
admin/configuration/features  and options/layout

and set some sizes for:
Max width of posted pictures (0 = disable)
Max height of posted pictures (0 = disable)

To stop very large pictures like mine. I set mine to 400 & 400. It will just reduce them down, and click on them for full size.

Offline x4000

  • Chris Park, Arcen Games Founder and Lead Dev
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 23,816
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #43 on: July 21, 2011, 07:54:21 PM »
Good point -- set it to 600x400, that should work okay.

If you have that theme in hand and don't mind sharing... I wouldn't mind that at all. ;)
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!

Offline x4000

  • Chris Park, Arcen Games Founder and Lead Dev
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 23,816
    • View Profile
Re: Forums are now running SMF 2.0!
« Reply #44 on: July 21, 2011, 08:01:10 PM »
Just FYI, I'm going to have limited access to my regular computer for the next week or so.  Which is going to make doing things like updating the forums a bit more difficult during that specific timespan.  Not a lack of interest, but just as an FYI!
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!