MyBB Community Forums

Full Version: [split] Staff Page?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I don't want forums? i need a page that shows the desired usergroups along with group members . and how creating new forums will help making me a new page?. I'm sorry if i didn't get you.
Let me see if I understand right, you want a page showing an usergroup, another page showing a different usergroup AND keep forum team page (http://community.mybb.com/showteam.php) ?
yeah 2 different page's which will be showing different group names and their members

and yeah i want to keep http://community.mybb.com/showteam.php too Smile.
Haven't tested it out but it should work by replacing staff_page into staff_page2 on the plug-in.

Download the plug-in again, rename it into staff_page2, open it with a text editor, click CTRL+F, put on search staff_page and on replace staff_page2, replace all, save and upload it to the webserver.

Don't forget to rename/replace the other files too.
(2016-06-22, 12:45 AM)Hugop Wrote: [ -> ]Haven't tested it out but it should work by replacing staff_page into staff_page2 on the plug-in.

Download the plug-in again, rename it into staff_page2, open it with a text editor, click CTRL+F, put on search staff_page and on replace staff_page2, replace all, save and upload it to the webserver.

Don't forget to rename/replace the other files too.

i've tried this.

edited all files name and added "2" at the end of it before the .php extension and replaced staff_page with staff_page2 in all files

and edited the breadcrumb to this added 2 at the end

add_breadcrumb($lang->staff, 'memberlist.php?action=staff2');

and now my plugin page in acp is not loading its blank i can see all other options except for plugins .

Regards,
Furqan.
There is more to edit, just click on your keyboard CTRL+F and search&replace the word staff_page.

EDIT: I have done this for you: http://pastebin.com/2peBbrZZ
okay so here is what i did basically .

I've downloaded fresh copy of the plugin and then edited these file names

inc/languages/english/staff_page.lang.php to > inc/languages/english/staff_page2.lang.php

and

inc/languages/english/admin/staff_page.lang.php to > inc/languages/english/admin/staff_page2.lang.php

and then inc/plugins/staff_page.php to > inc/plugins/staff_page2.php

and in staff_page2.php i've pasted ur code and saved it then i've uploaded all files into my ftp but still my plugin page is white . and if i remove the file staff_page2.php from plugins folder the plugins page loads perfectly .

And thank you for helping me brother!..
Any errors shown on errorlog?
Im really newbie i think . where i can find error logs?.

sorry for being so dumb.
Pages: 1 2