MyBB Tutorials

[Page] ShowTeam Page Dynamic

Submitted by Akay, , Thread ID: 4807

Thread Closed
Akay
We are!
Level:
0
Reputation:
28
Posts:
946
Likes:
109
Credits:
2.05K
14-06-2015, 10:15 AM
#1
Not really a plugin, but yolo.


Make a showteam.php page with the content

Content locked
This content has been locked. Please login or register in order to unlock it.



Change
PHP Code:
$groups '4'

To the GIDS you wanna show on the page.

Example of two GIDS:
PHP Code:
$groups '4,3'

[Image: wibw3.png]

Also it's showing the Primary userbar only, but w.e idc, fix it yourself.

RE: [Page] ShowTeam Page Dynamic

devil
Not Human Anymore
Level:
0
Reputation:
72
Posts:
1.92K
Likes:
143
Credits:
1
16-06-2015, 03:50 PM
#2
You can post this in Tutorials section

RE: [Page] ShowTeam Page Dynamic

Akay
We are!
Level:
0
Reputation:
28
Posts:
946
Likes:
109
Credits:
2.05K
OP
16-06-2015, 03:56 PM
#3
16-06-2015, 03:50 PM
Devil Wrote:
You can post this in Tutorials section

That's what I did. :fp:

RE: [Page] ShowTeam Page Dynamic

Aoki
retired
Level:
83
Reputation:
348
Posts:
7.89K
Likes:
2.3K
Credits:
1.7K
16-06-2015, 03:57 PM
#4
16-06-2015, 03:56 PM
akay Wrote:
16-06-2015, 03:50 PM
Devil Wrote:
You can post this in Tutorials section

That's what I did. :fp:

[Image: d15y2.png]

RE: [Page] ShowTeam Page Dynamic

Akay
We are!
Level:
0
Reputation:
28
Posts:
946
Likes:
109
Credits:
2.05K
OP
16-06-2015, 04:30 PM
#5
16-06-2015, 03:57 PM
Aoki Wrote:
16-06-2015, 03:56 PM
akay Wrote:
16-06-2015, 03:50 PM
Devil Wrote:
You can post this in Tutorials section

That's what I did. :fp:

[Image: d15y2.png]

Oh yeah, now I remember...

RE: [Page] ShowTeam Page Dynamic

linkzy
No pressure, no diamonds
Level:
0
Reputation:
181
Posts:
5.34K
Likes:
341
Credits:
54
25-06-2015, 10:59 PM
This post was last modified: 25-06-2015, 11:50 PM by linkzy
#6
what about fixing it a little by changing

Line 33 -
PHP Code:
$userbar = ['image']; 

to

Line 33 -
PHP Code:
$userbar user['image']; 
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |


RE: [Page] ShowTeam Page Dynamic

NSA
) )
Supreme
Level:
0
Reputation:
93
Posts:
1.74K
Likes:
114
Credits:
459
25-06-2015, 11:21 PM
#7
This looks good, I might use it some day :D
xxx

RE: [Page] ShowTeam Page Dynamic

Mr_Joker
YouR JuSt G4Y
Level:
0
Reputation:
3
Posts:
795
Likes:
51
Credits:
493
25-06-2015, 11:41 PM
#8
25-06-2015, 10:59 PM
Mr_Devil Wrote:
what about fixing it a little by changing

Line 33 -
PHP Code:
$userbar = ['image']; 

to

Line 33 -
PHP Code:
$userbar users['image']; 

Parse error: syntax error, unexpected on line 33
$userbar = users['image'];

Wont work.

RE: [Page] ShowTeam Page Dynamic

linkzy
No pressure, no diamonds
Level:
0
Reputation:
181
Posts:
5.34K
Likes:
341
Credits:
54
25-06-2015, 11:45 PM
This post was last modified: 25-06-2015, 11:49 PM by linkzy
#9
25-06-2015, 11:41 PM
Mr_Joker Wrote:
25-06-2015, 10:59 PM
Mr_Devil Wrote:
what about fixing it a little by changing

Line 33 -
PHP Code:
$userbar = ['image']; 

to

Line 33 -
PHP Code:
$userbar users['image']; 

Parse error: syntax error, unexpected on line 33
$userbar = users['image'];

Wont work.

wait. ill test and say you

replace line 33 with -
PHP Code:
$userbar $user['image']; 
and check out if it works

Mr_Joker does it work ?
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |


RE: [Page] ShowTeam Page Dynamic

Mr_Joker
YouR JuSt G4Y
Level:
0
Reputation:
3
Posts:
795
Likes:
51
Credits:
493
25-06-2015, 11:50 PM
#10
Yup does thnx, anybody knows how to add Last Visit: ?

Users browsing this thread: 2 Guest(s)