Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Advanced Knowledge
Boardlink: http://www.eqmagetower.com/forums/membe ... de=leaders
What have you done before the problem was there?
Never viewed that page since installing board3.
What have you already tryed to solve the problem?
Nothing yet.
Description and Message
The leaders page is showing everyone twice, as well as the widget on the right side that shows admins/mods.
If I load the main forum page, the widget duplicates will go away, but they're back if you view the team page again.
Any ideas?
Board team/leaders page duplicate entries
Moderator: Dyo
Forum rules
Please note that this modification is not a official part of the Board3 Portal!
Bitte beachten das diese Modifikation kein offizieller Bestandteil des Board3 Portal ist!
Please note that this modification is not a official part of the Board3 Portal!
Bitte beachten das diese Modifikation kein offizieller Bestandteil des Board3 Portal ist!
-
- Dev
- Posts: 2504
- Joined: 17. July 2008 21:08
- phpBB.de User: marc1706
- phpBB.com User: Marc
- Location: Clausthal-Zellerfeld / München
- Contact:
Re: Board team/leaders page duplicate entries
What version of Portalview are you using?
Moved to the Portalview forum as this does not concern the Portal itself.
Moved to the Portalview forum as this does not concern the Portal itself.
Re: Board team/leaders page duplicate entries
Portalview version 1.0.0RC3
The regular team phpBB page is messed up too, showing duplicates, as linked on the leaders page.
When I try to view the details in AutoMOD, I get this error:
Cannot locate File: ./../store/mods/portalview_100rc3/contrib/update_100rc1_to_100rc2/update.xml
The regular team phpBB page is messed up too, showing duplicates, as linked on the leaders page.
When I try to view the details in AutoMOD, I get this error:
Cannot locate File: ./../store/mods/portalview_100rc3/contrib/update_100rc1_to_100rc2/update.xml
-
- Active Member
- Posts: 5
- Joined: 26. January 2010 20:39
Re: Board team/leaders page duplicate entries
This issue is caused by the block "The Team"
I suggest you set the following settings:
Leaders / Team block: Yes
Extended Leaders / Team: Yes
Then the "error" is gone someone should fix the standard block though
I suggest you set the following settings:
Leaders / Team block: Yes
Extended Leaders / Team: Yes
Then the "error" is gone someone should fix the standard block though
Re: Board team/leaders page duplicate entries
Thanks, that fixed the display. Though I did have to go through and remove myself as leader for the groups showing, otherwise I showed up multiple times in the extended leaders block.
Re: Board team/leaders page duplicate entries
Hello,
I found this thread after facing the same problem. Here's the fix:
Open portal/block/leaders.php
FIND:
REPLACE WITH:
FIND:
REPLACE WITH:
FIND:
REPLACE WITH:
Open styles/prosilver/template/portal/block/leaders.html
FIND:
REPLACE WITH:
Upload the files and don't forget to purge the cache.
Regards,
Bálint
I found this thread after facing the same problem. Here's the fix:
Open portal/block/leaders.php
FIND:
Code: Select all
$which_row = (in_array($row['user_id'], $admin_id_ary)) ? 'admin' : 'mod';
Code: Select all
$which_row = (in_array($row['user_id'], $admin_id_ary)) ? 'admin_p' : 'mod_p';
Code: Select all
if ($which_row == 'admin' && $row['default_group'] != $admin_group_id)
Code: Select all
if ($which_row == 'admin_p' && $row['default_group'] != $admin_group_id)
Code: Select all
$which_row = 'mod';
Code: Select all
$which_row = 'mod_p';
FIND:
Code: Select all
<!-- BEGIN admin -->
<span style="float:left;"><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" /></span><span style="float:left; padding-left:5px; padding-top:2px;"><strong>{admin.USERNAME_FULL}</strong></span><br style="clear:both" />
<!-- BEGINELSE -->
{L_NO_ADMINISTRATORS_P}<br /><br />
<!-- END admin -->
<br style="clear:both" />
<strong>{L_MODERATORS}</strong><br />
<!-- BEGIN mod -->
<span style="float:left;"><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" /></span><span style="float:left; padding-left:5px; padding-top:2px;"><strong>{mod.USERNAME_FULL}</strong></span><br style="clear:both" />
<!-- BEGINELSE -->
{L_NO_MODERATORS_P}
<!-- END mod -->
Code: Select all
<!-- BEGIN admin_p -->
<span style="float:left;"><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" /></span><span style="float:left; padding-left:5px; padding-top:2px;"><strong>{admin_p.USERNAME_FULL}</strong></span><br style="clear:both" />
<!-- BEGINELSE -->
{L_NO_ADMINISTRATORS_P}<br /><br />
<!-- END admin_p -->
<br style="clear:both" />
<strong>{L_MODERATORS}</strong><br />
<!-- BEGIN mod_p -->
<span style="float:left;"><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" /></span><span style="float:left; padding-left:5px; padding-top:2px;"><strong>{mod_p.USERNAME_FULL}</strong></span><br style="clear:both" />
<!-- BEGINELSE -->
{L_NO_MODERATORS_P}
<!-- END mod_p -->
Upload the files and don't forget to purge the cache.
Regards,
Bálint