[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.
Locked
User avatar
BlackburnRavers
Registered User
Posts: 693
Joined: Sat Aug 12, 2006 1:03 pm
Location: Blackburn
Contact:

Re: [Beta] phpBB3 Portal

Post by BlackburnRavers »

yo dude, i've tryed enetrind that code, but it isn't dont out at all, i've refreshed my templates and purge my cahche, here's a bit of my code from user_menu.php, please can you check it is right?

root/bb3portal/block/user_menu.php:- (Line 69 - Line 85)

Code: Select all

$rank_title = $rank_img = '';
get_user_rank($row['user_rank'], $row['user_posts'], $rank_title, $rank_img, $rank_img_src);
*/
	if ($row['user_avatar'] && $user->optionget('viewavatars'))
   {
      $avatar_img = '';
      
      /*
      switch ($row['user_avatar_type'])
      {
         case AVATAR_UPLOAD:
            $avatar_img = $phpbb_root_path . "download/file.$phpEx?avatar=";
         break;

         case AVATAR_GALLERY:
            $avatar_img = $config['avatar_gallery_path'] . '/';
         break;
      }
      */
      
      $avatar_img .= $row['user_avatar'];
      $avatar_img = '<img src="./download.php?avatar=' . $avatar_img . '" width="' . $row['user_avatar_width'] . '" height="' . $row['user_avatar_height'] . '" alt="' . $username . '" title="' . $username . '" />';
      $user_colour = ($row['user_colour']) ? ' style="color:#' . $row['user_colour'] .'"' : '';         
   }
}
User avatar
NeoID
Registered User
Posts: 406
Joined: Mon Jun 06, 2005 10:12 pm
Location: Norway
Contact:

Re: [Beta] phpBB3 Portal

Post by NeoID »

You have to remove the comment-tag around the switch-function.

find

Code: Select all

   if ($row['user_avatar'] && $user->optionget('viewavatars'))
   {
      $avatar_img = '';
     
      /*
      switch ($row['user_avatar_type'])
      {
         case AVATAR_UPLOAD:
            $avatar_img = $phpbb_root_path . "download/file.$phpEx?avatar=";
         break;

         case AVATAR_GALLERY:
            $avatar_img = $config['avatar_gallery_path'] . '/';
         break;
      }
      */
     
      $avatar_img .= $row['user_avatar'];
      $avatar_img = '<img src="./download.php?avatar=' . $avatar_img . '" width="' . $row['user_avatar_width'] . '" height="' . $row['user_avatar_height'] . '" alt="' . $username . '" title="' . $username . '" />';
      $user_colour = ($row['user_colour']) ? ' style="color:#' . $row['user_colour'] .'"' : '';         
   }
}
replace:

Code: Select all

	if ($row['user_avatar'] && $user->optionget('viewavatars'))
	{
		$avatar_img = '';
		
		switch ($row['user_avatar_type'])
		{
			case AVATAR_UPLOAD:
				$avatar_img = $phpbb_root_path . "download/file.$phpEx?avatar=";
			break;

			case AVATAR_GALLERY:
				$avatar_img = $config['avatar_gallery_path'] . '/';
			break;
		}
		
		$avatar_img .= $row['user_avatar'];
		$avatar_img = '<img src="' . $avatar_img . '" width="' . $row['user_avatar_width'] . '" height="' . $row['user_avatar_height'] . '" alt="' . $username . '" title="' . $username . '" />';
		$user_colour = ($row['user_colour']) ? ' style="color:#' . $row['user_colour'] .'"' : '';			
	}
}

Hope this help ;)
Norsk Anime Forum
http://www.AnimeNord.com
User avatar
BlackburnRavers
Registered User
Posts: 693
Joined: Sat Aug 12, 2006 1:03 pm
Location: Blackburn
Contact:

Re: [Beta] phpBB3 Portal

Post by BlackburnRavers »

Respect mate, thats sorted it out now. :-)
midnight
Registered User
Posts: 8
Joined: Thu Nov 15, 2007 8:02 pm

Re: [Beta] phpBB3 Portal

Post by midnight »

moifest wrote:
midnight wrote:i've 103b version :|

what i can do now? :(
Version 1.0.3 will only show the title of your news, selected from a forum of your choice.

You specify what forum to pull the news from in the bb3portal config file.
the config file is correct

but at the portal the news is showing like this:

Image
findome
Registered User
Posts: 18
Joined: Tue Jul 03, 2007 8:41 pm

Re: [Beta] phpBB3 Portal

Post by findome »

I'm getting the following error after installation:

General Error
template->_tpl_load_file(): File ./styles/subsilver2/template/bb3portal/block/announcments.html does not exist or is empty

The announcements.html do exist. I suspect the forum path is wrong. What do I need to change.


What can the problem be?

thanks
User avatar
NeoID
Registered User
Posts: 406
Joined: Mon Jun 06, 2005 10:12 pm
Location: Norway
Contact:

Re: [Beta] phpBB3 Portal

Post by NeoID »

findome wrote:I'm getting the following error after installation:

General Error
template->_tpl_load_file(): File ./styles/subsilver2/template/bb3portal/block/announcments.html does not exist or is empty

The announcements.html do exist. I suspect the forum path is wrong. What do I need to change.


What can the problem be?

thanks
Where have you placed your forum, on root or in a folder? If in a folder, specify it in bb3portal.php by changing the phpbb_root_path.
Norsk Anime Forum
http://www.AnimeNord.com
findome
Registered User
Posts: 18
Joined: Tue Jul 03, 2007 8:41 pm

Re: [Beta] phpBB3 Portal

Post by findome »

NeoID wrote:
findome wrote:I'm getting the following error after installation:

General Error
template->_tpl_load_file(): File ./styles/subsilver2/template/bb3portal/block/announcments.html does not exist or is empty

The announcements.html do exist. I suspect the forum path is wrong. What do I need to change.


What can the problem be?

thanks
Where have you placed your forum, on root or in a folder? If in a folder, specify it in bb3portal.php by changing the phpbb_root_path.

My forum is in a folder called 'test_forums' which is under the root and the folder 'bb3portal' is also under the root and bb3portal.php is in the 'test_forums' folder.
User avatar
NeoID
Registered User
Posts: 406
Joined: Mon Jun 06, 2005 10:12 pm
Location: Norway
Contact:

Re: [Beta] phpBB3 Portal

Post by NeoID »

findome wrote:
NeoID wrote:
findome wrote:I'm getting the following error after installation:

General Error
template->_tpl_load_file(): File ./styles/subsilver2/template/bb3portal/block/announcments.html does not exist or is empty

The announcements.html do exist. I suspect the forum path is wrong. What do I need to change.


What can the problem be?

thanks
Where have you placed your forum, on root or in a folder? If in a folder, specify it in bb3portal.php by changing the phpbb_root_path.

My forum is in a folder called 'test_forums' which is under the root and the folder 'bb3portal' is also under the root and bb3portal.php is in the 'test_forums' folder.
All files have to be placed into your forum's directory (read the installation readme)...
Norsk Anime Forum
http://www.AnimeNord.com
findome
Registered User
Posts: 18
Joined: Tue Jul 03, 2007 8:41 pm

Re: [Beta] phpBB3 Portal

Post by findome »

I have re-installed this MOD but I'm still having some problems...I get a blank page ...it is all white no text, no nothing...and I do not get any errors. I was unable to upload the .htaccess file but I read somewhere that this file is not necessary...will not having this file cause a problem? any help will be appreciated.

thanks
User avatar
Avaya
Registered User
Posts: 73
Joined: Thu Mar 08, 2007 7:08 pm
Location: Vancouver, Canada
Contact:

Re: [Beta] phpBB3 Portal

Post by Avaya »

I too had this error. And when I tried to reverse the changes I did to the files (by using the pre-modified ones) I was still greeted with the same white screen. Ideas?
My website: SixSeventyOne.net
Get the best! Browse with Image
User avatar
LxPower*
Registered User
Posts: 82
Joined: Wed Jan 03, 2007 2:31 am
Location: C:\

Re: [Beta] phpBB3 Portal

Post by LxPower* »

Hey first of all i wanna say Big thanks for good mod, and i hope it have a nice future, I like this mod very much and i am going to install it @ my forum also.
But first i wanna know is it working with RC8 ?




Thanks again for very Hard and Good Work !
phpBB Just The Best !
Kassim
Registered User
Posts: 20
Joined: Tue Jul 03, 2007 8:48 am

Re: [Beta] phpBB3 Portal

Post by Kassim »

yes it works :D
User avatar
thejdm
Registered User
Posts: 438
Joined: Sun Dec 21, 2003 4:18 pm
Location: pennsylvania
Contact:

Re: [Beta] phpBB3 Portal

Post by thejdm »

installed the newest verion to the proglass theme and i love it. works great just gives me 1 small template bug.

http://www.thejdm.com/phpBB3

wondering if you know how to get rid of the space between the top of the portal and where the image of the overal header meets. if you look at the board index it all flows nice but on portal it has a break. the forums are not live yet, fyi.
www.thejdm.com ...turn it on, y0
findome
Registered User
Posts: 18
Joined: Tue Jul 03, 2007 8:41 pm

Re: [Beta] phpBB3 Portal

Post by findome »

findome wrote:I have re-installed this MOD but I'm still having some problems...I get a blank page ...it is all white no text, no nothing...and I do not get any errors. I was unable to upload the .htaccess file but I read somewhere that this file is not necessary...will not having this file cause a problem? any help will be appreciated.

thanks

Hmmmm...it seems I'm alone on this one....Is there anyone running this MOD on subsilver2?
tanjiajun_34
Registered User
Posts: 24
Joined: Thu Feb 22, 2007 3:55 pm

Re: [Beta] phpBB3 Portal

Post by tanjiajun_34 »

I cannot go back portal by the portal button
It is like gray out

Image
Locked

Return to “[3.0.x] Abandoned MODs”