Author Topic: [SMF 1.1 & 2.0] Team Page Modification 1.1  (Read 26449 times)

Offline ccbtimewiz

  • サポーター
  • DS Friend
  • Hero Member
  • *
  • Posts: 643
[SMF 1.1 & 2.0] Team Page Modification 1.1
« on: Jun 08, 2009, 10:05:05 »
Team Page
This mod gives you a fully customizable team page for your forum.

Authors: ccbtimewiz
Type: New Feature
Available since: September 22, 2009
Last updated: August 29, 2011
Latest version: 1.1.7
Compatible with: 1.1, 2.0

Demonstrations
(none right now...)

Support and comments
If you have a problem with this mod, want to comment, or have any questions, please post them in this thread here.

In addition, you're free to ask support for this modification over at DreamPortal.net as well.



Version 1.1 supports both the SMF 1.1 line and the SMF 2.0 line. It is compatible in both core and curve themes and variants thereof. Currently you can move groups to sides using the Move functions (arrows to the right on each group), and you can order groups in each column by using the Order row (located to the left of a group). Groups that are disabled are at the bottom of the page, which can then be placed in any position at any time.





« Last Edit: Aug 29, 2011, 11:42:51 by ccbtimewiz »

Offline ARG

  • GFX Designer
  • DS Friend
  • Hero Member
  • *
  • Posts: 5664
  • Civilian Support
    • Files4Design
Re: [SMF 2.0] Team Page Modification v2.1
« Reply #1 on: Jun 08, 2009, 11:59:47 »
Very nice. Got one for 1.1.8+ ?  :dans2:

I no longer work here. Please stop sending me messages asking for premium theme support. That is what the Support Boards are for. Thank You!

Offline ccbtimewiz

  • サポーター
  • DS Friend
  • Hero Member
  • *
  • Posts: 643
Re: [SMF 2.0] Team Page Modification v2.1
« Reply #2 on: Jun 08, 2009, 15:45:26 »
I'm currently working on a SMF 1.1.x version. I'll be sure to keep you posted. ^^

Offline sixfeetunder

  • Newbie
  • *
  • Posts: 3
    • Email
Re: [SMF 2.0] Team Page Modification v2.1
« Reply #3 on: Jul 30, 2009, 13:20:29 »
Url get file not found error. Can you re-upload =) ?

Offline ccbtimewiz

  • サポーター
  • DS Friend
  • Hero Member
  • *
  • Posts: 643
Re: [SMF 2.0] Team Page Modification v2.1
« Reply #4 on: Jul 30, 2009, 14:04:31 »
Strange.

Sure, I'll repackage it up as a mod instead. Though, it's going to take some time-- I planned on releasing a new version anyways. Easier navigation/setup and compatibility with SMF 1.1.x. :)

Offline ARG

  • GFX Designer
  • DS Friend
  • Hero Member
  • *
  • Posts: 5664
  • Civilian Support
    • Files4Design
Re: [SMF 2.0] Team Page Modification v2.1
« Reply #5 on: Jul 30, 2009, 15:51:41 »
Well, get moving on it.  ;D

I no longer work here. Please stop sending me messages asking for premium theme support. That is what the Support Boards are for. Thank You!

Offline sixfeetunder

  • Newbie
  • *
  • Posts: 3
    • Email
Re: [SMF 2.0] Team Page Modification v2.1
« Reply #6 on: Jul 30, 2009, 17:31:20 »
I wait for you @ccbtimewiz.
Actually i try that package one month ago. (smfhelper). Files fine but file editing (meaning permission or something simlar) didn't included.
I really need this too. (:

Offline ccbtimewiz

  • サポーター
  • DS Friend
  • Hero Member
  • *
  • Posts: 643
Re: [SMF 2.0] Team Page Modification v2.1
« Reply #7 on: Aug 05, 2009, 13:54:51 »
So just in case im wrong (not the best web designer) I could use this very same mod and just edit the team page to make.. any custom page i want right?

Not really. My TeamPage mod adds functions and other material for admin-configuration as well as text strings of the sort.

If you want to add a custom page (let's use "subscription" as an example)..

Make a file called Subscribe.php in your Sources and have this in it:

Code: [Select]
<?php

function Subscribe()
{
     global 
$context;

     
$context['page_title'] = 'Whatever you want as a page title';
     
$context['sub_template'] = 'main';

     
loadTemplate();
}

?>

Then make a file called Subscribe.template.php and put it in your Themes folder with this in it:

Code: [Select]
<?php

function template_main()
{
      global 
$context;

      
// Here, you can put your HTML code wrapped in echo()'s or you could just include it like this:
      // include('path/to/html/file.html');
}

?>

Then open your main index.php and do the following edits:

Find:
Code: [Select]
'stats' => array('Stats.php', 'DisplayStats'),
Replace with:
Code: [Select]
'stats' => array('Stats.php', 'DisplayStats'),
'subscribe' => array('Subscribe.php', 'Subscribe'),

Offline ccbtimewiz

  • サポーター
  • DS Friend
  • Hero Member
  • *
  • Posts: 643
Re: [SMF 2.0] Team Page Modification v2.1
« Reply #8 on: Aug 05, 2009, 21:46:15 »
You can include the HTML (this isn't a security risk much as it's just HTML code..) or you could just wrap the HTML in echo() strands.

Like for example:

echo '
<a bunch of html tags>';

echo '<more html>', $some_variable, '</more html>';

Offline ccbtimewiz

  • サポーター
  • DS Friend
  • Hero Member
  • *
  • Posts: 643
Re: [SMF 2.0] Team Page Modification v2.1
« Reply #9 on: Aug 06, 2009, 07:08:00 »
No.

Follow the edits I showed you. The HTML content be inside the template_main() function of the template I just attempted to create for you.