[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
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [Beta] phpBB3 Portal

Post by nickvergessen » Wed May 30, 2007 8:17 pm

could you please describe the way to display the text of the news post (with BB-code function) on the page? Or is it to difficult?
No Support via PM

Grinch
Registered User
Posts: 400
Joined: Mon Apr 22, 2002 5:44 pm
Location: Toronto, Canada

Re: [Beta] phpBB3 Portal

Post by Grinch » Thu May 31, 2007 2:45 am

I'm not sure if this is already reported, but there's an error in the install instructions:

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#

styles/prosilver/template/overall_header.html

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

<a class="icon-home" href="{U_INDEX}" accesskey="h">{L_INDEX}</a>

#
#-----[ REPLACE WITH ]------------------------------------------
#

<a class="icon-home" href="{U_PORTAL}">{L_PORTAL}</a> &#187; <a href="{U_INDEX}" accesskey="h">{L_INDEX}</a>

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

		<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
You are missing:

Code: Select all

#-----[ OPEN ]------------------------------------------
#

styles/prosilver/template/overall_footer.html
Also:
"Web site Name" is a formation *suplying services with no intention of any revenue. Anyone who wants to support this formation can do it by donating so that the cost of server, the domain and etc. could be paid *of.
should be:
"Web site Name" is a formation supplying services with no intention of any revenue. Anyone who wants to support this formation can do it by donating so that the cost of server, the domain and etc. could be paid off.
If it was up to me, I would reword the entire paragraph to read something like this:
"Web site name" is an organization supplying services with no intention of generating revenue. Anyone who wishes to support our organization may do so by sending a donation. Your generosity will be used to cover the costs associated with hosting this web site.

User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [Beta] phpBB3 Portal

Post by nickvergessen » Thu May 31, 2007 8:12 am

in the german-lang.file are also several mistakes.. i placed a correct version here: *klick* Also files of mods should be placed in the "mods"folder in the language-folder.
No Support via PM

Veron
Registered User
Posts: 185
Joined: Fri Feb 24, 2006 6:14 pm
Location: Slovenia

Re: [Beta] phpBB3 Portal

Post by Veron » Thu May 31, 2007 8:26 pm

i miss something...

blocks are only on first page (bb3portal.php) but i wonder how to have blocks side on right on index.php?

prashant0268
Registered User
Posts: 4
Joined: Tue May 15, 2007 3:45 pm

Re: [Beta] phpBB3 Portal

Post by prashant0268 » Thu May 31, 2007 9:51 pm

When I opened the demo board, the menu items did not come up until I moved my mouse over them..

Am I the only one having this problem..

Grinch
Registered User
Posts: 400
Joined: Mon Apr 22, 2002 5:44 pm
Location: Toronto, Canada

Re: [Beta] phpBB3 Portal

Post by Grinch » Fri Jun 01, 2007 1:24 am

You're not the only one having the issue. It's been reported as a bug and seems to affect IE6. I have IE7 on one of my PCs and it works fine. I don't know about other browsers. Hopefully they figure out the glitch and get it patched.

Static_Rage
Registered User
Posts: 10
Joined: Thu Jan 19, 2006 9:45 am

Re: [Beta] phpBB3 Portal

Post by Static_Rage » Fri Jun 01, 2007 9:06 am

hey guys ive just uploaded the files for the portal (it looks great by the way :D ) but when i go to edit the files as per the instructions, i cant find ANY of the lines it says to edit in any of the files, the whole portal seems to run fine though!? Another thing, does this portal have any kind of CP? Since i cant see how to edit the blocks...

User avatar
Vigoo
Registered User
Posts: 8
Joined: Sun Jun 03, 2007 3:51 am
Location: Québec, Canada
Contact:

Re: [Beta] phpBB3 Portal

Post by Vigoo » Sun Jun 03, 2007 4:01 am

Hello this portal uses no base mysql ???
I have to install(settle) and I have a blank page anything appears!

Sorry i am french, is trenslate by google :?

Bonjour ce portal utilise pas de base mysql ???
J'ai installer et j'ai une page blanche rien apparait !

my version of phpbb is phpbb3 rc1
my server is on local apache2triad

thank for your help @++
Image

User avatar
Da Undead
Registered User
Posts: 116
Joined: Tue Jun 21, 2005 2:24 am
Location: USA, Texas
Contact:

Re: [Beta] phpBB3 Portal

Post by Da Undead » Sun Jun 03, 2007 4:38 am

Nope, no MYSQL for portal. All it is, is an page with iframe blocks :)
Image
Create your very own MMORPG, click picture above!

User avatar
Vigoo
Registered User
Posts: 8
Joined: Sun Jun 03, 2007 3:51 am
Location: Québec, Canada
Contact:

Re: [Beta] phpBB3 Portal

Post by Vigoo » Sun Jun 03, 2007 4:52 am

OK thank you for your help (assistant) I am going to wait for a final version for this portal.

@+ and good night ;)
Image

User avatar
Da Undead
Registered User
Posts: 116
Joined: Tue Jun 21, 2005 2:24 am
Location: USA, Texas
Contact:

Re: [Beta] phpBB3 Portal

Post by Da Undead » Sun Jun 03, 2007 6:11 pm

Static_Rage wrote:hey guys ive just uploaded the files for the portal (it looks great by the way :D ) but when i go to edit the files as per the instructions, i cant find ANY of the lines it says to edit in any of the files, the whole portal seems to run fine though!? Another thing, does this portal have any kind of CP? Since i cant see how to edit the blocks...
After editing the files in, root->styles-prosilver(ex.)->template->bb3portal->block->file.html
You have to clear the cache.

By doing this, go into ACP and purge the cache :).
Image
Create your very own MMORPG, click picture above!

MG90
Registered User
Posts: 13
Joined: Mon Jun 04, 2007 8:06 am

Re: [Beta] phpBB3 Portal

Post by MG90 » Mon Jun 04, 2007 7:04 pm

hy,

At first, I am from Germany, so that I can't speek or write good english^^

I've got 1 Problem

How can I delete or customize Blogs on the Portal?

I already customize this documents:

- /styles/prosilver/template/bb3portal/portal_main.html

- /styles/prosilver/template/bb3portal/block/welcome.html

But on the On the side nothing at all is different.

Can someone help me?

greez

Grinch
Registered User
Posts: 400
Joined: Mon Apr 22, 2002 5:44 pm
Location: Toronto, Canada

Re: [Beta] phpBB3 Portal

Post by Grinch » Tue Jun 05, 2007 2:51 pm

When you modify the template, you need to go the the ACP -> Styles -> Templates. Then click the "Refresh" link for the template that you are working on. After that, you should see your changes. I think some people are clearing the cache folder instead, but it is not required if you use the Refresh link.

User avatar
mrmikehammond
Registered User
Posts: 85
Joined: Mon May 15, 2006 6:22 pm
Location: UK
Contact:

Re: [Beta] phpBB3 Portal

Post by mrmikehammond » Tue Jun 05, 2007 8:44 pm

BillyBobBongo wrote: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!
When I tried this I got this error above the portal header although it does sort the announcements issue ;)

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4239: Cannot modify header information - headers already sent by (output started at /bb3portal/block/recent.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4241: Cannot modify header information - headers already sent by (output started at /bb3portal/block/recent.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4242: Cannot modify header information - headers already sent by (output started at /bb3portal/block/recent.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4243: Cannot modify header information - headers already sent by (output started at /bb3portal/block/recent.php:1)


I get a similar message If I try to edit the welcome text ? even after clearing caches etc ?? any idea what I'm doing wrong :cry:

Thanks

Mike

IGNORE ME I'M MAD...........WORKING NOW ;)
Last edited by mrmikehammond on Wed Jun 06, 2007 9:38 pm, edited 1 time in total.

elcidvn
Registered User
Posts: 9
Joined: Tue Apr 19, 2005 2:51 pm
Location: Singapore
Contact:

Re: [Beta] phpBB3 Portal

Post by elcidvn » Wed Jun 06, 2007 5:51 am

Kaka done with portal www2.vietxgen.com

Locked

Return to “[3.0.x] Abandoned MODs”