News:

Wondering if this will always be free?  See why free is better.

Main Menu

Team Page

Started by Diego Andrés, October 02, 2009, 04:56:36 PM

Previous topic - Next topic

Diego Andrés

Version 5 is for SMF 2.1, so assuming you already upgraded to SMF 2.1.
There's no import of sorts, you'd have to delete/drop the team page tables before installing the mod.

SMF Tricks - Free & Premium Responsive Themes for SMF.

ryry46d9

Ver. 4.0.1 pulled from the github
SMF 2.0.18

QuoteDatabase Error
Field 'body' doesn't have a default value
File: /usr/www/pbweb/n7waa/Sources/TeamPageAdmin.php
Line: 225


      // Insert the page into the database
$smcFunc['db_query']('', "INSERT INTO {db_prefix}teampage_cp
(name_page, sub_page, is_text, type)
line: 225 --> VALUES ('$ptitle', '$subact', '$textpage', '$type')");

Diego Andrés

I'm no longer supporting that version that's why it's not on this site anymore

SMF Tricks - Free & Premium Responsive Themes for SMF.

ryry46d9

Bummer, I tend not to run bleeding edge when it comes to forums.
When it is good enough for simplemachines.org to update I do as well.
Hopefully someone smarter then I will come by with the answer.
 

zmih

How to change Main Menu title of this mod?

Diego Andrés

You can, editing the language file for that
$txt['TeamPage_button'] = 'Team Page';

SMF Tricks - Free & Premium Responsive Themes for SMF.

Diego Andrés

5.2 - 24 February 2022
  • Bug Fix Minor fixes.
  • Improvement Database fixes and improvements.
  • Improvement Improved logic.
  • Improvement Code changes.
  • Improvement Support for SMF 2.1.0
  • Improvement Improved readmes

SMF Tricks - Free & Premium Responsive Themes for SMF.

Diego Andrés

5.2.1 - 14 March 2022
  • Bug Fix Database fixes.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Shades.

SMF 2.1.1
Team Page v5.2.1

When trying to create a BBC/HTML/Moderator page I get these errors:

QuoteDatabase Error
Field 'page_boards' doesn't have a default value
File: /home2/*****/public_html/*****/Sources/TeamPage/Helper.php
Line: 212

QuoteError
Type of error
Database
Error message
Database Error: Field 'page_boards' doesn't have a default value
File
/home2/*****/public_html/*****/Sources/TeamPage/Helper.php
Line
212
URL of page causing the error
https://*****.com/index.php?action=admin;area=teampage;sa=save

Backtrace information
#0: smf_db_error()
Called from /home2/*****/public_html/*****/Sources/Subs-Db-mysql.php on line 494
#1: smf_db_query()
Called from /home2/*****/public_html/*****/Sources/Subs-Db-mysql.php on line 802
#2: smf_db_insert()
Called from /home2/*****/public_html/*****/Sources/TeamPage/Helper.php on line 212
#3: Insert()
Called from /home2/*****/public_html/*****/Sources/TeamPage/Pages.php on line 300
#4: Save()
Called from /home2/*****/public_html/*****/Sources/Subs.php on line 6061
#5: call_helper()
Called from /home2/*****/public_html/*****/Sources/TeamPage/Settings.php on line 109
#6: Index()
Called from /home2/*****/public_html/*****/Sources/Admin.php on line 510
#7: AdminMain()
Called from /home2/*****/public_html/*****/index.php on line 187

No problems creating the "Groups" page. ;)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Diego Andrés

If you make that column NULL > Yes in the database, does it fix it?

SMF Tricks - Free & Premium Responsive Themes for SMF.

Shades.

Quote from: Diego Andrés on March 17, 2022, 12:43:45 AMIf you make that column NULL > Yes in the database, does it fix it?
Yes, that worked thanks! :)

Edit: Although I created a "Moderator" page and it doesn't add a link to the main menu or the Team page. Is that how it works and I need to add the link somewhere?
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Diego Andrés

#651
Alright cool I'll fix it in a bit. This is actually already fixed in the current package, but found a different issue.
5.2.2 - 17 March 2022
  • Bug Fix Fixed issues with install file.


Quote from: Shades. on March 17, 2022, 12:53:20 AMEdit: Although I created a "Moderator" page and it doesn't add a link to the main menu or the Team page. Is that how it works and I need to add the link somewhere?

The mod will not display stuff if there's nothing to display... I think. What did you see when going into the team page, did you enable it too?

SMF Tricks - Free & Premium Responsive Themes for SMF.

Shades.

Quote from: Diego Andrés on March 17, 2022, 10:03:07 AMAlright cool I'll fix it in a bit.

And the mod will not display stuff if there's nothing to display... I think. What did you see when going into the team page, did you enable it too?
(See attachment) Yes it's enabled, I have a Team Page link on the main menu and it works fine. It just don't create links for any other pages except in the admin. I can add the links myself but I didn't know if that's how you meant for it to work or not. :)

You cannot view this attachment.
 
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Diego Andrés

If you access to the other page from the admin or using the url, do you see it in the team page?

SMF Tricks - Free & Premium Responsive Themes for SMF.

Shades.

Quote from: Diego Andrés on March 17, 2022, 11:17:13 AMIf you access to the other page from the admin or using the url, do you see it in the team page?
I have moderators in there (well one lol) and it shows fine when clicking on the link in admin. Just no links in main menu for members to see.

It doesn't show the other page on the team page.
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Diego Andrés

It will not show links in the main menu, it only lists the pages in the team page itself.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Shades.

Quote from: Diego Andrés on March 17, 2022, 12:35:27 PMIt will not show links in the main menu, it only lists the pages in the team page itself.
For what I can see it only shows the links in the admin, where you create the team page. There are NO pages listed on the team page itself. Only shows a link to the Admin, Global Moderator and the Forum Leader (that I added) as you can see in the attachment here. So are you saying the pages should be listed somewhere on the team page itself? (Because I don't see any)

I enabled guest view if you want to take a looksee:
https://bikerhound.com/?action=team
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Diego Andrés

I am seeing the links in your page:

https://i.imgur.com/tpofe0f.png

Are you having a different issue then??
BTW I had an account there, I totally forgot

SMF Tricks - Free & Premium Responsive Themes for SMF.

Shades.

#658
Quote from: Diego Andrés on March 17, 2022, 05:35:04 PMI am seeing the links in your page:
https://i.imgur.com/tpofe0f.png

Are you having a different issue then??
BTW I had an account there, I totally forgot
I am freaking BLIND! I see them now...lol guess I need to take these 8) off and put on some glasses! ::)  ;D

How can I move those links to the left?
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Diego Andrés

In TeamPage.template.php
div class="buttonlist floatright">';
Remove floatright and it should do it  :P

SMF Tricks - Free & Premium Responsive Themes for SMF.

Advertisement: