[MODDB] Board3 Portal 1.0.2

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
Locked
ham1299
Registered User
Posts: 613
Joined: Mon Sep 11, 2006 2:12 am
Location: USA
Contact:

Re: [Beta] Board 3 Portal 0.2.1

Post by ham1299 » Thu Apr 17, 2008 3:00 am

tech4250 wrote:
jimcarrel wrote:As far as I have ever known, you are either looking at a portal, or your looking at your forum. That is why there is a link from one to the other
I don't quite understand what you are looking for.

well in other portals like MKPortal combined with SMF you have the portal and then the forum inside of the portal. The portal stays the same but the forum inside the portal changes as you click on it.

For example http://www.fightbeforeretreat.org - When you click on the forum, it refreshes inside the portal. Thats what i was kinda hoping for with this.. Otherwise its just like having a homepage linking to a forum, which is boring.
You can use MKPortal with phpBB, if that's what you want.
Heather

Sascha Mueller
Registered User
Posts: 95
Joined: Tue Mar 28, 2006 8:11 pm
Contact:

Re: [Beta] Board 3 Portal 0.2.1

Post by Sascha Mueller » Thu Apr 17, 2008 3:46 am

Play4Fun_Support wrote:Hello, When i installed the portal and write the adress of my website it opens the portal not the forum .I want to open the forum. Can someone please help me from when to do that?
Don't make the code-changes in .htaccess ;)
Please excuse my bad English, I'm German!

Saint_hh
Registered User
Posts: 362
Joined: Thu Mar 31, 2005 5:16 pm
Location: Hamburg / Germany
Name: Kevin
Contact:

Re: [Beta] Board 3 Portal 0.2.1

Post by Saint_hh » Thu Apr 17, 2008 5:50 am

ham1299 wrote:I also have one more question. In my header, it says Portal >>Board Index. How can I change it to say my site name (FROGs) instead of Portal?
Open lang_portal.php
find:

Code: Select all

	'PORTAL'				=> 'Portal',
replace with:

Code: Select all

	'PORTAL'				=> 'FROGs',
jimcarrel wrote:I can see from viewing source, it is just another portal block with the forum inside it.
Interesting, I agree now, it can be done. Not so sure I could do it personally.
To get the forum list on the portal:

open portal.php

find:

Code: Select all

$user->setup('mods/lang_portal');
after add:

Code: Select all

display_forums('', $config['load_moderators']);

// Assign index specific vars
$template->assign_vars(array(
	'FORUM_IMG'				=> $user->img('forum_read', 'NO_NEW_POSTS'),
	'FORUM_NEW_IMG'			=> $user->img('forum_unread', 'NEW_POSTS'),
	'FORUM_LOCKED_IMG'		=> $user->img('forum_read_locked', 'NO_NEW_POSTS_LOCKED'),
	'FORUM_NEW_LOCKED_IMG'	=> $user->img('forum_unread_locked', 'NO_NEW_POSTS_LOCKED'),

	'U_MARK_FORUMS'		=> ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'mark=forums') : '',
	'U_MCP'				=> ($auth->acl_get('m_') || $auth->acl_getf_global('m_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&mode=front', true, $user->session_id) : '')
);
open root\styles\prosilver\template\portal\portal_body.html

search:

Code: Select all

		<!-- IF S_DISPLAY_WELCOME -->
			<!-- IF S_DISPLAY_WELCOME_GUEST and S_USER_LOGGED_IN -->
			<!-- ELSE -->
			<!-- INCLUDE portal/block/welcome.html -->
			<!-- ENDIF -->
		<!-- ENDIF -->
after add:

Code: Select all

<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) -->
<ul class="linklist">
	<!-- IF S_DISPLAY_SEARCH -->
		<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_USER_LOGGED_IN --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> &bull; <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
	<!-- ENDIF -->
	<!-- IF not S_IS_BOT and U_MARK_FORUMS --><li class="rightside"><a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF -->
</ul>
<!-- ENDIF -->

<!-- INCLUDE forumlist_body.html -->
Feedback is welcome.

ham1299
Registered User
Posts: 613
Joined: Mon Sep 11, 2006 2:12 am
Location: USA
Contact:

Re: [Beta] Board 3 Portal 0.2.1

Post by ham1299 » Thu Apr 17, 2008 2:39 pm

Saint_hh wrote:
ham1299 wrote:I also have one more question. In my header, it says Portal >>Board Index. How can I change it to say my site name (FROGs) instead of Portal?
Open lang_portal.php
find:

Code: Select all

	'PORTAL'				=> 'Portal',
replace with:

Code: Select all

	'PORTAL'				=> 'FROGs',
Thanks so much!

Any idea how I can get my header to point to the portal instead of my forum index, so that when someone clicks on my logo it goes to the portal?
Heather

gwydir
Registered User
Posts: 3
Joined: Thu Apr 17, 2008 11:11 pm

Re: [Beta] Board 3 Portal 0.2.1

Post by gwydir » Thu Apr 17, 2008 11:22 pm

Saint_hh, error.

Fatal error: Call to undefined function display_forums()

Adding this
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
Produces this
Fatal error: Cannot redeclare get_user_rank() in

Any ideas?

Saint_hh
Registered User
Posts: 362
Joined: Thu Mar 31, 2005 5:16 pm
Location: Hamburg / Germany
Name: Kevin
Contact:

Re: [Beta] Board 3 Portal 0.2.1

Post by Saint_hh » Fri Apr 18, 2008 5:10 am

gwydir wrote:Adding this
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
Where did you add this?
gwydir wrote:Fatal error: Cannot redeclare get_user_rank() in

Any ideas?
Please try this fix (included in the next version)
http://www.board3.de/bugtracker/viewbug.php?b=63

gwydir
Registered User
Posts: 3
Joined: Thu Apr 17, 2008 11:11 pm

Re: [Beta] Board 3 Portal 0.2.1

Post by gwydir » Fri Apr 18, 2008 5:28 am

Hi Saint, Portal.php under

$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'portal/includes/functions.'.$phpEx);

Is it possible to get the forum to show when you click on "Board Index" from the menu?
That is, the forum replaces the center columns when the index link is clicked.

Regards

Saint_hh
Registered User
Posts: 362
Joined: Thu Mar 31, 2005 5:16 pm
Location: Hamburg / Germany
Name: Kevin
Contact:

Re: [Beta] Board 3 Portal 0.2.1

Post by Saint_hh » Fri Apr 18, 2008 5:48 am

gwydir wrote:Hi Saint, Portal.php under

$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'portal/includes/functions.'.$phpEx);
Why did you do that? Delete it and implement the fix for the portal/includes/functions.php i have provided.
gwydir wrote:Is it possible to get the forum to show when you click on "Board Index" from the menu?
That is, the forum replaces the center columns when the index link is clicked.
I'm sorry, i don't understand what you want.
When you click on "Board Index" the normal phpBB3 index site (forum overview) should be displayed. It has nothing to do with the portal anymore.
Or do you want the boxes from the portal displayed on every site in your forum? That would be a heavy tweak to the overall_header and several other core files of phpBB3.
If somebody is willing to do this, it would be much appreciated if he could post the changes to our "add-on / snippet" forum. But we are about to get the next release together and have no time for this.

gwydir
Registered User
Posts: 3
Joined: Thu Apr 17, 2008 11:11 pm

Re: [Beta] Board 3 Portal 0.2.1

Post by gwydir » Fri Apr 18, 2008 6:05 am

That is exactly what I want.
To replace the center blocks with the "forumlist_body" when the "board Index" menu is clicked so the portal wraps around the forum.
No go, eh?
Great Portal, thanks anyway.

Regards

JirkaX
Registered User
Posts: 169
Joined: Tue Apr 15, 2008 8:12 am

Re: [Beta] Board 3 Portal 0.2.1

Post by JirkaX » Fri Apr 18, 2008 9:40 am

HI Saint_hh,
you wrote to ask in advance when someone was interested to use this MOD, so I'm doing it here:-)
BTW I saw this mod there: http://www.skyblueuntrust.com/index.php and I like bookmarks above (reffering to portal and forum). Is this also included in your MOD or how can I have it?
Thnaks

JirkaX
Registered User
Posts: 169
Joined: Tue Apr 15, 2008 8:12 am

Re: [Beta] Board 3 Portal 0.2.1

Post by JirkaX » Fri Apr 18, 2008 6:05 pm

I have 3 questions
- what is wordgraph functionality?
- where can I find out ID of my news, announcements, polls etc?
- I tried to set welcome message, but although 600 characters should be supposed, I get Warning with text much shorter - do you know why?

jimcarrel
Registered User
Posts: 671
Joined: Fri Jul 27, 2007 10:49 pm
Location: Oklahoma City, Oklahoma

Re: [Beta] Board 3 Portal 0.2.1

Post by jimcarrel » Fri Apr 18, 2008 9:20 pm

I could be totaly wrong about all of this, but:

Wordgraph, I'm not totally sure, never used it. It seems as though it searches words in the posts, tracks and lists them. you click on a word in the output list and can find where they are used. I have heard it is a big system drain.

Your forum id's are readily availible to you in this manner.
You can always look at the address bar and get most info
f=(some number) is the forum id
t= topic id
and you can see the post id.

the problem with the message length, I believe, was fixed in ver 0.2.1, could be you are running old version, or you did not make all the edits for the new version.
Grace--Getting what I don't deserve
Mercy--Not getting what I do deserve

lele710
Registered User
Posts: 66
Joined: Thu Oct 20, 2005 7:52 pm

Re: [Beta] Board 3 Portal 0.2.1

Post by lele710 » Fri Apr 18, 2008 10:50 pm

After upgrade i have this error message:

Code: Select all

SQL ERROR [ mysql4 ]

Table 'ilmiofor_phpbb5.PORTAL_CONFIG_TABLE' doesn't exist [1146]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
I have tried to reinsert tables in mysql but problem persist....

JirkaX
Registered User
Posts: 169
Joined: Tue Apr 15, 2008 8:12 am

Re: [Beta] Board 3 Portal 0.2.1

Post by JirkaX » Sat Apr 19, 2008 6:29 am

jimcarrel wrote:I could be totaly wrong about all of this, but:

Wordgraph, I'm not totally sure, never used it. It seems as though it searches words in the posts, tracks and lists them. you click on a word in the output list and can find where they are used. I have heard it is a big system drain.

Your forum id's are readily availible to you in this manner.
You can always look at the address bar and get most info
f=(some number) is the forum id
t= topic id
and you can see the post id.

the problem with the message length, I believe, was fixed in ver 0.2.1, could be you are running old version, or you did not make all the edits for the new version.
Thanks for your answers. Regarding message length - yesterday I installed latest version 0.2.1 and did all changes according to the install file. It was first installation of this portal so there shouldn't be any problems with some last version.

One more question - how is recent popular topic defined? It must have min number of posts or something like that?

dreambox-center
Registered User
Posts: 25
Joined: Sun Feb 24, 2008 12:06 pm

Re: [Beta] Board 3 Portal 0.2.1

Post by dreambox-center » Sat Apr 19, 2008 8:36 am

Any update on more blocks and fix for bugs?

Locked

Return to “[3.0.x] MODs in Development”