[ABD] phpBB3 Portal

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
angelside
Registered User
Posts: 105
Joined: Sat Jan 27, 2007 11:32 am
Location: Türkiye

[ABD] phpBB3 Portal

Post by angelside »

MOD Title: phpBB3 Portal
MOD Description: phpBB3 Portal is a simple portal for phpBB3 Olympus
MOD Version: 1.2.2b

MOD Download: http://downloads.sourceforge.net/canver ... 2.2.tar.gz

Demo: http://www.phpbb3portal.com
Development: http://www.phpbb3portal.com
SourceForge Project: http://sourceforge.net/projects/canverportal/



CVS

Code: Select all

cvs -z3 -d:pserver:[email protected]:/cvsroot/canverportal co -P phpbb3-portal

changes log:

What is phpBB3 Portal?

phpBB3 Portal is a simple portal for phpBB3 Olympus

phpBB3 Portal a.k.a canverPortal which is a add-on modification on phpBB3 Olympus. It's easy to use and improvable. Portal which is based on phpBB3 Olympus and improved by phpBB Türkiye, with sponsored by Canver Software. XHTML and UTF8 characters sets are used in the files as in the phpBB3 version.

Important Note: phpBB3 Portal a.k.a canverPortal was designed for phpBB3.0 and may not function as stated on other phpBB versions. phpBB3 Portal for phpBB3.0 will not work on phpBB2.0 and vice versa


What is currently in phpBB3 Portal?

phpBB3 Portal is still very basic and will be that way until around version 0.0.6a, the current list of features for version 1.2.2 Beta is as follows (blocks and features).
  • Main menu (not dynamic)
  • Login / User menu
  • News (news forum id configurable via config.php)
  • Recent announcment (char limiter features)
  • Recent popular topic (char limiter features)
  • Recent topic (char limiter features)
  • Poll (poll forum id configurable via config.php)
  • Welcome (manual edit from templates)
  • Search (post search, author search and includes few search engines)
  • Make donation
  • Latest members
  • Random member
  • Most poster
  • Link us
  • Links (manual edit from templates)
  • Last x visited bots (adaptation on nedka's mod)
  • The team
  • Who is online
  • Statistics
  • Flash clock
  • .. More
Last edited by DavidIQ on Fri Jan 30, 2009 4:07 am, edited 2 times in total.
Reason: Marked as abandoned
phpBB Türkiye | Turkish phpBB3 support and develop
phpBB3 Portal | simple portal for phpBB3 Olympus
User avatar
ac_roma
Registered User
Posts: 321
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria

Re: [Beta] phpBB3 Portal

Post by ac_roma »

great

but i can use it
here

http://www.paramegsoft.com

and my forum be here

http://www.paramegsoft.com/forum/
jerx
Registered User
Posts: 167
Joined: Fri Sep 02, 2005 4:27 am

Re: [Beta] phpBB3 Portal

Post by jerx »

A Portal is definately a good idea. Four feature requests (sorry, I am too lazy to register on your homepage):
1. Turn on/off blocks
2. Move blocks from one column to the other (left, center or right column).
3. Move block up and down.
4. Expandable/Contractable blocks.
BillyBobBongo
Registered User
Posts: 228
Joined: Wed Feb 16, 2005 9:33 am

Re: [Beta] phpBB3 Portal

Post by BillyBobBongo »

Great to have a portal once again! Good work indeed!

One quick mention that one of the files is named wrong! I got an error saying
template->_tpl_load_file(): File ./styles/subsilver2/template/bb3portal/block/announcments.html does not exist or is empty
after a second or two of brain scratching I noticed that the file I had received in the download was named announcements.html. I renamed it and all is fine! Just an FYI for yas!
User avatar
angelside
Registered User
Posts: 105
Joined: Sat Jan 27, 2007 11:32 am
Location: Türkiye

Re: [Beta] phpBB3 Portal

Post by angelside »

It's announcements.html :S
phpBB Türkiye | Turkish phpBB3 support and develop
phpBB3 Portal | simple portal for phpBB3 Olympus
User avatar
echo2k5
Registered User
Posts: 197
Joined: Sun May 21, 2006 6:09 pm
Location: 3 paces to the west.

Re: [Beta] phpBB3 Portal

Post by echo2k5 »

How do you edit or remove the: _sample_block_design.html file? I tried to edit the file in the blocks folder and nothing happened...I even deleted it, refreshed the theme and it's still on the portal. I skipped all the edits for subSilver2 because I just use the prosilver theme.
User avatar
Miyagui
Registered User
Posts: 8
Joined: Fri Mar 30, 2007 2:10 am

Re: [Beta] phpBB3 Portal

Post by Miyagui »

Succesfully installed.
Looking good
Regards.
Last edited by Miyagui on Tue May 22, 2007 7:08 pm, edited 1 time in total.
User avatar
Lawofthesnake
Registered User
Posts: 250
Joined: Thu Jun 08, 2006 8:51 pm

Re: [Beta] phpBB3 Portal

Post by Lawofthesnake »

Will this also feature additional portal pages?
User avatar
Miyagui
Registered User
Posts: 8
Joined: Fri Mar 30, 2007 2:10 am

Re: [Beta] phpBB3 Portal

Post by Miyagui »

echo2k5 wrote:How do you edit or remove the: _sample_block_design.html file? I tried to edit the file in the blocks folder and nothing happened...I even deleted it, refreshed the theme and it's still on the portal. I skipped all the edits for subSilver2 because I just use the prosilver theme.
Try clearing your cache folder
User avatar
Miyagui
Registered User
Posts: 8
Joined: Fri Mar 30, 2007 2:10 am

Re: [Beta] phpBB3 Portal

Post by Miyagui »

I'm having trouble with the prosilver theme, It won't show the avatar in the "User Block"
It points to a file that doesn't exist.

--------------------------------------------------------

Another error:
I can't seem to find this code in the styles/prosilver/template/overall_header.html

Code: Select all

#
#-----[ FIND ]------------------------------------------
#

		<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->

#
#-----[ AFTER, ADD ]------------------------------------------
#

		<!-- IF S_PORTAL_COPY --><br />{S_PORTAL_COPY}<!-- ENDIF -->
I ommited it, and it's showing an error in the header.

Looking forward to a solution.
Regards
- Miyagui
Last edited by Miyagui on Wed May 23, 2007 9:21 am, edited 1 time in total.
valpatine32020
Registered User
Posts: 30
Joined: Sun May 07, 2006 3:25 pm

Re: [Beta] phpBB3 Portal

Post by valpatine32020 »

Will the portals home page themes match the theme of your forums like EZmod did? I am using an acidtech theme for my boards and was wondering if the color scheme would be the same, much like how the color scheme on Ezportal matched that of the boards for phpbb2.
BillyBobBongo
Registered User
Posts: 228
Joined: Wed Feb 16, 2005 9:33 am

Re: [Beta] phpBB3 Portal

Post by BillyBobBongo »

Hey there!

I'm having two problems with this mod. The first is from that the announcements don't display on the portal and the second is that I am unable to get polls to display on the portal. I've altered the config.php file to point towards the forum used for polls but I see nothing on the portal.

Is anyone else having these issues and know of a solution?!

Cheers!
BillyBobBongo
Registered User
Posts: 228
Joined: Wed Feb 16, 2005 9:33 am

Re: [Beta] phpBB3 Portal

Post by BillyBobBongo »

Okay!

1 problem down...one to go!

I got hold of an older version of this mod from a friend of mine. After replacing the root/bb3portal/block/recent.php file I was able to get the announcements to appear at last! I will post the code of this file just in case anyone else is having this issue as well!

Code: Select all

<?php
/*
*
* @name recent.php
* @package phpBB3 Portal  a.k.a canverPortal
* @version $Id: recent.php,v 1.3 2007/02/21 12:37:42 angelside Exp $
* @copyright (c) Canver Software - www.canversoft.net
* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
*
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

/**
*/

//
// Exclude forums
//
$sql_where = '';
if ($CFG['exclude_forums'])
{
	$exclude_forums = explode(',', $CFG['exclude_forums']);
	foreach ($exclude_forums as $i => $id)
	{
		if ($id > 0)
		{
			$sql_where .= ' AND forum_id != ' . trim($id);
		}
	}
}

//
// Recent announcments
//
$sql = 'SELECT topic_title, forum_id, topic_id
	FROM ' . TOPICS_TABLE . '
	WHERE topic_status <> 2 
		AND topic_approved = 1 
		AND ( topic_type = 2 OR topic_type = 3 )
		' . $sql_where . '
	ORDER BY topic_time DESC';

$result = $db->sql_query_limit($sql, $CFG['max_topics']);

while( ($row = $db->sql_fetchrow($result)) && ($row['topic_title'] != '') )
{
	// auto auth
	if ( ($auth->acl_get('f_read', $row['forum_id'])) || ($row['forum_id'] == '0') )
	{
		$template->assign_block_vars('latest_announcments', array(
			'TITLE'	 		=> character_limit($row['topic_title'], $CFG['recent_title_limit']),
			'FULL_TITLE'	=> censor_text($row['topic_title']),
			'U_VIEW_TOPIC'	=> append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id'] . '&t=' . $row['topic_id'])
			)
		);
	}
}
$db->sql_freeresult($result);

//
// Recent hot topics
//
$sql = 'SELECT topic_title, forum_id, topic_id
	FROM ' . TOPICS_TABLE . '
	WHERE topic_approved = 1 
		AND topic_replies >=' . $config['hot_threshold'] . '
		' . $sql_where . '
	ORDER BY topic_time DESC';

$result = $db->sql_query_limit($sql, $CFG['max_topics']);

while( ($row = $db->sql_fetchrow($result)) && ($row['topic_title'] != '') )
{
	// auto auth
	if ( ($auth->acl_get('f_read', $row['forum_id'])) || ($row['forum_id'] == '0') )
	{
		$template->assign_block_vars('latest_hot_topics', array(
			'TITLE'	 		=> character_limit($row['topic_title'], $CFG['recent_title_limit']),
			'FULL_TITLE'	=> censor_text($row['topic_title']),
			'U_VIEW_TOPIC'	=> append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id'] . '&t=' . $row['topic_id'])
			)
		);
	}
}
$db->sql_freeresult($result);

//
// Recent topic (only show normal topic)
//
$sql = 'SELECT topic_title, forum_id, topic_id
	FROM ' . TOPICS_TABLE . '
	WHERE topic_status <> 2 
		AND topic_approved = 1 
		AND topic_type = 0
		' . $sql_where . '
	ORDER BY topic_time DESC';

$result = $db->sql_query_limit($sql, $CFG['max_topics']);

while( ($row = $db->sql_fetchrow($result)) && ($row['topic_title'] != '') )
{
	// auto auth
	if ( ($auth->acl_get('f_read', $row['forum_id'])) || ($row['forum_id'] == '0') )
	{
		$template->assign_block_vars('latest_topics', array(
			'TITLE'	 		=> character_limit($row['topic_title'], $CFG['recent_title_limit']),
			'FULL_TITLE'	=> censor_text($row['topic_title']),
			'U_VIEW_TOPIC'	=> append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id'] . '&t=' . $row['topic_id'])
			)
		);
	}	
}
$db->sql_freeresult($result);

?>
Still unable to see polls however on the portal. If I get it worked out I'll post my findings once again!
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Scotland
Name: Kenny Cameron

Re: [Beta] phpBB3 Portal

Post by stickerboy »

Excellent work angelside.
I've been puting off an upgrade to my site as I hadn't delved in to v3 yet.
I bit the bullet and loaded it onto my home server last night after seeing your portal and i'm very impressed.
Easier than I thought - plus you have everything and more that I need. (I wrote my own portal from scratch last time :mrgreen: )

My only query is about showing the actual text of the 'latest news' section.
Do I have to add any extra code or did I miss something?


Kenny.
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
User avatar
DeViAnThans3
Registered User
Posts: 877
Joined: Sat Oct 08, 2005 10:39 pm
Location: Belgium

Re: [Beta] phpBB3 Portal

Post by DeViAnThans3 »

Very well! Hoping to a release soon ;)
KIU! (Keep It Up)

Return to “[3.0.x] Abandoned MODs”