Responsive SMF Themes. We're currently working on brand spankin' new Responsive SMF themes for SMF 2.1

Team Page for SMF

ABM
Mar 10, 2011
Reporte fatal error

Fatal error: Function name must be a string in C:\wamp\www\install2\pageteam.php on line 28
15

Mick
Mar 10, 2011
Reporte fatal error

Fatal error: Function name must be a string in C:\wamp\www\install2\pageteam.php on line 28
My team page code has nothing to do with pageteam.php

Are you also using the team page mod?
16

ABM
Mar 10, 2011
My team page code has nothing to do with pageteam.php

Are you also using the team page mod?

No, just use that file name PHP / storage area.
I tried it on Portal Simple and I went, I said syntax error.

I created a php file and uploaded it to the root of the forum, not walked.
17

Mick
Mar 10, 2011
If you want to create a separate page for it, check out this post:
http://www.bluedevilcustoms.com/index.php/topic,36.0.html
18

ABM
Mar 10, 2011
Do you I can attach the file with the code team?
19

Mick
Jul 11, 2013
Too add more membergroups, just add the membergroup number id.

Admin being 1
Global mod being 2 as seen on the beginning of the code.

Code: [Select]
 Enter the desired groups
   $groups_list = array(1,2);

In other words, if you have a membergroup called "helpers" look for their id in admin and add it.

array(1,2,3);
20

Mick
Jul 11, 2013
Here's another demo with just 2 membergroups

idesign360 | Team
21

turaper
Jul 11, 2013
Maybe its too late... but is "better late than never"..

First, the "fix" to image size:
Find:
Code: [Select]
<img src="' . $row['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar2" border="0" />

Then, i fixed with "old school" mode
Code: [Select]
<img src="' . $row['avatar'] . '" height="205" width="190" alt="" class="avatar2"  border="0" />

Replace 205 and 190 as you want.

Also, in the "information text" (where is the location, position...) you can add style..

Find:
Code: [Select]
<td valign="top" width="45%" class="windowbg3 team" style="padding: 5px;">
And obviously add your style in style tag..
style="padding: 5px; background-color: #fff" (for example).

An image of what i do:
http://img198.imageshack.us/img198/4657/up0h.png

Full code:
Code: [Select]
<td valign="top" width="45%" class="windowbg3 team" style="padding: 5px; background-color: rgb(249, 249, 249); box-shadow: 0px 0px 1em rgb(182, 182, 182);
border-width: 1px;
border-style: solid;
-moz-border-top-colors: none;
-moz-border-right-colors: none;
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
border-image: none;
border-color: rgb(153, 153, 153) rgb(153, 153, 153) rgb(190, 190, 190);
border-radius: 10px 10px 10px 10px;
margin: 5px auto 0px;
text-shadow: 1px 1px 0px rgb(255, 255, 255);">

Now the question  :smiley:

How i can add categories by membergroup?
As:
Our team,
Bla bla bla

Our admins: User1, User3
Our moderation team: User5, User7
Our design team: User9, User 11

You know how i can do that?
Thanks, ill wait your reply :)

I want something like this:
http://img24.imageshack.us/img24/6129/x0ko.png
22

Mick
Jul 11, 2013
Code: [Select]
 Enter the desired groups
   $groups_list = array(1,2);

admin is always 1 and global moderator is always 2.

So if you have a handful of groups that you want to add.

spiderman being 3
superman 4
wonder woman being 7
hulk being 12

then the code should look like this:

Code: [Select]
 Enter the desired groups
   $groups_list = array(1,2,3,4,7,12);

It will show everyone in these groups.

admin, global mod, spiderman, superman, wonder woman, hulk
23

turaper
Jul 11, 2013
@Mick

Yup, i read that... and if you see my image you can see that i have "Adminitrador" and "Team Entrenamiento" on groups to show.

But i want to separate with a catbar (catbg) or with another title...
24

Mick
Jul 11, 2013
If you want categories for diff groups, this is a nifty mod at SMF...

Team Page
25

turaper
Jul 11, 2013
@Mick
Thanks, but i dont like the "team" mods there is on SMF  :tongue:
For that reason i use your team page...

http://img42.imageshack.us/img42/4165/bt6u.png

There is!
Just copy and paste... Now ill add style and change some texts  :happy:

Thanks for all
26

Mick
Jul 11, 2013
Very cool man
27



Connect with us:


Improve SMF

If you wish to contribute to the development of SMF you can contribute to the coding discussions taking place on Github. You are also welcome to suggest features which you would like to see added to the software in the Feature Requests board.




go up