Current time: 05-24-2012, 11:15 PM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 20 Votes - 3.45 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] ProPortal 1.0: A More Functional Portal!
02-19-2011, 02:16 AM (This post was last modified: 07-29-2011 01:36 AM by Steven.)
Post: #171
RE: [Release] ProPortal 1.0: A More Functional Portal!
(02-18-2011 04:24 AM)djdoubt03 Wrote:  I'd love to have this but http://www.promybb.com/ is down so I can't download, anyone else have a copy? or another solution to an Advanced portal system?

http://stevenzezulak.com/proportal.html

Original files and no registration necessary. Smile

[Image: 422.png]
Visit this user's website Find all posts by this user
02-19-2011, 03:29 PM
Post: #172
RE: [Release] ProPortal 1.0: A More Functional Portal!
Please see the other version of this post, for my questions, which I would love someone to be able to answer Smile

here
Visit this user's website Find all posts by this user
02-19-2011, 06:43 PM (This post was last modified: 02-19-2011 06:44 PM by Steven.)
Post: #173
RE: [Release] ProPortal 1.0: A More Functional Portal!
(02-19-2011 03:29 PM)ukanimal Wrote:  1) How can you stop 'Latest Threads' displaying certain forums on the portal - ie stop showing up deleted threads, staff posts etc

I never noticed that! It looks like the code for the default portal is much simpler than what ProPortal is doing. You can port it over:

PHP Code:
// Latest forum discussions
if($mybb->settings['portal_showdiscussions'] != && $mybb->settings['portal_showdiscussionsnum'])
{
    
$altbg alt_trow();
    
$threadlist '';
    
$query $db->query("
        SELECT t.*, u.username
        FROM "
.TABLE_PREFIX."threads t
        LEFT JOIN "
.TABLE_PREFIX."users u ON (u.uid=t.uid)
        WHERE 1=1 
$unviewwhere AND t.visible='1' AND t.closed NOT LIKE 'moved|%'
        ORDER BY t.lastpost DESC 
        LIMIT 0, "
.$mybb->settings['portal_showdiscussionsnum']
    );
    while(
$thread $db->fetch_array($query))
    {
        
$lastpostdate my_date($mybb->settings['dateformat'], $thread['lastpost']);
        
$lastposttime my_date($mybb->settings['timeformat'], $thread['lastpost']);
        
// Don't link to guest's profiles (they have no profile).
        
if($thread['lastposteruid'] == 0)
        {
            
$lastposterlink $thread['lastposter'];
        }
        else
        {
            
$lastposterlink build_profile_link($thread['lastposter'], $thread['lastposteruid']);
        }
        if(
my_strlen($thread['subject']) > 25)
        {
            
$thread['subject'] = my_substr($thread['subject'], 025) . "...";
        }
        
$thread['subject'] = htmlspecialchars_uni($parser->parse_badwords($thread['subject']));
        
$thread['threadlink'] = get_thread_link($thread['tid']);
        
$thread['lastpostlink'] = get_thread_link($thread['tid'], 0"lastpost");
        eval(
"\$threadlist .= \"".$templates->get("portal_latestthreads_thread")."\";");
        
$altbg alt_trow();
    }
    if(
$threadlist)
    { 
        
// Show the table only if there are threads
        
eval("\$latestthreads = \"".$templates->get("portal_latestthreads")."\";");
    }


(02-19-2011 03:29 PM)ukanimal Wrote:  2) When you do 'Page Management' how do you get these pages on the portal?

I developed a simple block file that will list all the ProPortal pages.

(02-19-2011 03:29 PM)ukanimal Wrote:  3) When you create a 'new block' how do you define a new one? it either comes out as just text, or if you pick a set one it clears it all out and add online users etc for example

I'm not sure what you mean. To create a new ProPortal block you simply make a new PHP file in /portal/blocks/ that follows the naming scheme ("block_[blockname].php") or you can create a text only block which is done through the ProPortal panel.

[Image: 422.png]
Visit this user's website Find all posts by this user
02-19-2011, 11:06 PM
Post: #174
RE: [Release] ProPortal 1.0: A More Functional Portal!
(03-03-2010 05:31 PM)dpdurst Wrote:  
(03-03-2010 01:57 PM)wizzie Wrote:  Hi guys, great portal, but how can I make it the home page of my site

Thanks
Graham

Its easier this way -

If you want to redirect your users first to portal page when they type your domain name, add following code to your .htaccess file:

DirectoryIndex portal.php

I then have a login redirect that redirects once they log in to the forums from the portal page and then a logout redirect that puts them back to the portal page they started on once they log out.


Hi everyone,
where exactly do I place this in the htaccess file?
Find all posts by this user
02-20-2011, 12:04 AM
Post: #175
RE: [Release] ProPortal 1.0: A More Functional Portal!
(02-19-2011 11:06 PM)mark64 Wrote:  Hi everyone,
where exactly do I place this in the htaccess file?

It shouldn't matter. I stuck mine right at the end.

[Image: 422.png]
Visit this user's website Find all posts by this user
02-20-2011, 12:29 AM
Post: #176
RE: [Release] ProPortal 1.0: A More Functional Portal!
once i put this in the htaccess, how can i get a link back to the forum?
Find all posts by this user
02-20-2011, 01:18 AM
Post: #177
RE: [Release] ProPortal 1.0: A More Functional Portal!
Just click on the breadcrumb link.

[Image: 422.png]
Visit this user's website Find all posts by this user
02-20-2011, 03:49 AM
Post: #178
RE: [Release] ProPortal 1.0: A More Functional Portal!
Anyone know where I can get the code to make the following modules?

-Show static News content, in a box similar to the announcements one.

Thanks in advance,
Nate
Find all posts by this user
02-20-2011, 05:29 AM
Post: #179
RE: [Release] ProPortal 1.0: A More Functional Portal!
(02-20-2011 03:49 AM)NateN34 Wrote:  Anyone know where I can get the code to make the following modules?

-Show static News content, in a box similar to the announcements one.

Thanks in advance,
Nate

Why not just use the announcements block?

[Image: 422.png]
Visit this user's website Find all posts by this user
02-24-2011, 10:03 AM
Post: #180
RE: [Release] ProPortal 1.0: A More Functional Portal!
(02-09-2011 03:36 PM)Fatmax1982 Wrote:  Is it possible to use html (iframes) inside of the pages to include external html or php sites?
The possibility to design pages in proportal is a little bit few.

Or is there any other method to show external html pages within the portal as proportal does it?
Please help i'll need any solution to show external pages in Portal.


Thanks,
Fatmax1982

No Idea for this problem?

If it doesn't work to use iframes inside pages, what about the possibility to use blocks instead pages to include better html or php.
The problem for me in that case would be that the blocks should only be visible in portal after klick on a link.

Are there users of ProPortal at the web which use more comprehensive sites than that with the standard-functions?


Greetings,
Fatmax1982
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 5 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication