Re: [Release] Portal by Daris
Ooops oops oops. I meant 'forum' instead of category..
Still pretty cool. But work your magic so it shows the different forums please and thankyou
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 extensions → [Release] Portal by Daris
Ooops oops oops. I meant 'forum' instead of category..
Still pretty cool. But work your magic so it shows the different forums please and thankyou
Ooops oops oops. I meant 'forum' instead of category..
Still pretty cool. But work your magic so it shows the different forums please and thankyou
Ok, no problem
So if you just want to see the forum name, you must modified as follows:
// Fetch list of topics
$query = array(
'SELECT' => 't.id, t.poster, t.subject, t.posted, t.first_post_id, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to, f.forum_name',
'FROM' => 'topics AS t',
'JOINS' => array(
array(
'LEFT JOIN' => 'forums as f',
'ON' => 't.forum_id=f.id'
),
array(
'LEFT JOIN' => 'forum_perms AS fp',
'ON' => '(fp.forum_id=t.forum_id AND fp.group_id='.$forum_user['g_id'].')'
)
),
'WHERE' => '(fp.read_forum IS NULL OR fp.read_forum=1) AND t.moved_to IS NULL',
'ORDER BY' => 't.last_post DESC',
'LIMIT' => '0, '.$count
);
and change your link to
$forum_page['item_title']['link'] = forum_htmlencode($cur_topic['forum_name']).' - <a href="'.forum_link($forum_url['topic'], array($cur_topic['id'], sef_friendly($cur_topic['subject']))).'">'.forum_htmlencode($cur_topic['subject']).'</a>';
If you cons want the forum name, and more when moving the mouse over the name of the forum category name appears,
just change it like this:
// Fetch list of topics
$query = array(
'SELECT' => 't.id, t.poster, t.subject, t.posted, t.first_post_id, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to, f.forum_name, c.cat_name',
'FROM' => 'topics AS t',
'JOINS' => array(
array(
'LEFT JOIN' => 'forums as f',
'ON' => 't.forum_id=f.id'
),
array(
'LEFT JOIN' => 'forum_perms AS fp',
'ON' => '(fp.forum_id=t.forum_id AND fp.group_id='.$forum_user['g_id'].')'
),
array(
'LEFT JOIN' => 'categories AS c',
'ON' => '(f.cat_id=c.id)'
)
),
'WHERE' => '(fp.read_forum IS NULL OR fp.read_forum=1) AND t.moved_to IS NULL',
'ORDER BY' => 't.last_post DESC',
'LIMIT' => '0, '.$count
);
and change your link to
$forum_page['item_title']['link'] = '<span title="'.forum_htmlencode($cur_topic['cat_name']).'">'.forum_htmlencode($cur_topic['forum_name']).'</span> - <a href="'.forum_link($forum_url['topic'], array($cur_topic['id'], sef_friendly($cur_topic['subject']))).'">'.forum_htmlencode($cur_topic['subject']).'</a>';
Regards.
Edit: Adding color so you better change lanes
yes. Thankyou so much
ok glad it is resolved
Would anyone know what php code I could put in a panel for it to show the list of forums the user has access to? (linked ofcourse)
Hello there,
I'm trying to instert a central top panel with the former "index.php" page (list of categories and forums).
It doesn't work of course.
It says :
"Parse error: syntax error, unexpected '<' in /home/www/c23ee494339f4673173c93ff37a3a87a/web/forum-scpo/extensions/portal_by_daris/panels.php(51) : eval()'d code on line 297"
Does someone has an idea on how to do this ?
Thank you !
Hi. First, thanks for the portal. Works ok with v1.3.3.
Now, is there a way to have "sticky active topic" ?
What i mean is that one topic would always be in first place in active topics list, also even if some other topic has been more active. roll
Thanks in advance!
This extension has not been supported for many months.
If any other extension developer wants to improve and re-relase: feel free....
run in punbb 1.4?
thank you for release
run in punbb 1.4?
yes
Thanks for reporting, fixed and new version released
Changes:
- fixed undefined variable $id in active topics panel
- fixed sql injection in admin pages
the reference doesn't work
Your link is wrong, use the one in first post
Hey Folks...
I can't install Portal by Daris 2.4.3 on punBB 1.4.2
Get Forum Message => "This extension is not compatible with your PunBB version."
Is there a workaround?
edit: Solved!
Hey Folks...
I can't install Portal by Daris 2.4.3 on punBB 1.4.2
Get Forum Message => "This extension is not compatible with your PunBB version."Is there a workaround?
edit: Solved!
How I'm getting the same..
Think im going to give this a go.......wish me luck.
Ran_Tun wrote:Hey Folks...
I can't install Portal by Daris 2.4.3 on punBB 1.4.2
Get Forum Message => "This extension is not compatible with your PunBB version."Is there a workaround?
edit: Solved!
How I'm getting the same..
Lemme see here...
"install Portal by Daris 2.4.3 on punBB 1.4.2"
and this is posted in the "1.3" section
Think you'll get better support if you post it in the 1.4 section
I even think (haven't the the energy to read up) that version 1.3x is OUT!!! of official support.
Dear Daris,
I have problem with your extension, please help
After installed, show like this (check below) :
1. Who Is Online
Problem : How to remove that error (on red circle)?
2. Recent Post
Problem : How to make the title on the left is seen as a whole?
I'm installed on PunBB v1.4.2
If you want direct check, klik here
Thanks before for any help
This extension hasn't "moved" since 2009, don't think it will move any more
can some one help me...
I´m using punbb 1.3 and i get this:
Notice: Undefined index: avatar in index.php on line 1105
Notice: Use of undefined constant FORUM_AVATAR_GIF - assumed 'FORUM_AVATAR_GIF' in index.php on line 1107
Notice: Use of undefined constant FORUM_AVATAR_JPG - assumed 'FORUM_AVATAR_JPG' in index.php on line 1111
Notice: Use of undefined constant FORUM_AVATAR_PNG - assumed 'FORUM_AVATAR_PNG' in index.php on line 1115
Notice: Use of undefined constant FORUM_AVATAR_NONE - assumed 'FORUM_AVATAR_NONE' in index.php on line 1119
It´s here i get the error:
switch ($forum_user['avatar'])
{
case FORUM_AVATAR_GIF:
$avatar_filename = $forum_user['id'].'.gif';
break;
case FORUM_AVATAR_JPG:
$avatar_filename = $forum_user['id'].'.jpg';
break;
case FORUM_AVATAR_PNG:
$avatar_filename = $forum_user['id'].'.png';
break;
case FORUM_AVATAR_NONE:
$noavatar = TRUE;
break;
default:
$noavatar = TRUE;
break;
}
?>
<?php echo $lang_portal['Welcome'] ?>: <strong><?php echo forum_htmlencode($forum_user['username']) ?></strong>
<?php if(!isset($noavatar)) { ?>
<p style="text-align: center"><img src="<?php echo($base_url); ?>/<?php echo($forum_config['o_avatars_dir']); ?>/<?php echo($avatar_filename); ?>" id="whoavatar"/></p>
<?php }
?>
I use the portal software in my main forum, so have about 4 panels down the right side. Is there any way to put them down the left side of the forum?
PunBB Forums → PunBB 1.3 extensions → [Release] Portal by Daris
Powered by PunBB, supported by Informer Technologies, Inc.