26 (edited by Ludo 2005-04-10 08:09)

Re: PunBB Miniportal v1.2.x

I tested it.
I've got many things to tell.
First, I think the miniportal should have been independant. For example, I tried puting the created index.php at the root of my site. It does not work. The index must be in /forum to work. I thought miniportal aimed at having a home page for a whole site. That's not the case here.
Second, the problem is that in the created index, you have the announcement of the forum. We don't always want to have the same annoucement on a home page and on a forum. It would be good to have the possibility to delete this annouce only for homepage, not for forum.
I think we don't see enough the title of each news. It's the same characters as the text. We should use a bigger style for these titles.
Moreover, I think news should be separated better. It would be good to have a line between eache news, though posted the same day.
There should be a link 'comments' to enable visitors to comment each news as the original newsgenerator has.
Also, I did not find how to display more than 2 days of news. How to put 10 days?

Example here http://www.pluriservices.net/forum/test1.php

otherwise, great work Connohrd

Ludo,

27 (edited by Connorhd 2005-04-10 10:43)

Re: PunBB Miniportal v1.2.x

Dr.Jeckyl wrote:

someone got a demo of this up and running?

yeh www.mypunbb.com and http://forum.mypunbb.com for the news and the sidebar respectively


Ludo:

well first off, its a miniportal  not a full cms or even a proper portal to make it independant would require more modifications to punbb e.g. you would need to change header.phpto have either the base setting or change the url to the style

second, again this would require more editing to punbb

as for styling you can change it how you want just look for the html in the punnews funtion

the title of the news is a link to the post

it displays the number of posts you tell it to its not related to the number of days

finally, this was made as a basic guide into creating a simple portal as a frontend to punbb, its not for people that want punbb as part of a big site but more for people who want to add a page or 2 to punbb

Re: PunBB Miniportal v1.2.x

What would I need to edit to get avatars in the news page?

29

Re: PunBB Miniportal v1.2.x

Dr., look here: http://www.mypunbb.com/

Can you mail me my free PSP smile

30

Re: PunBB Miniportal v1.2.x

Here is also a demo site

http://community.webzine.se/

I have edited the design alittle and some lang adjustments in the mod, and some news.

Re: PunBB Miniportal v1.2.x

cool smile

32 (edited by Ataxy 2005-04-12 05:04)

Re: PunBB Miniportal v1.2.x

ok here are my problem

i get this in my index page at the bottom
Notice: Undefined variable: output in /home/vhost/d-vault.peerforces.com/html/forum/index.php on line 29
---never mind this one it was caused by the chatbox---


the name of the online user is not good it should be mine but instead its the name of another user in my forum and it does not alway display right who is online ...well atleast not on my side it will only display that i am online ounce i go into the forum if its normal how can i make it so that nomather if i am in the forum or in the miniportal i get displayed


the side bar appears at the bottom of my forum  under the whole forum instead of appearing on the side
---never mind this one it was caused by the chatbox---

also sorry i am hit with an ignorance problem ....what does "truncate" mean???

33

Re: PunBB Miniportal v1.2.x

shinko_metsuo wrote:

What would I need to edit to get avatars in the news page?

i second that could this be done

Re: PunBB Miniportal v1.2.x

Ataxy wrote:
shinko_metsuo wrote:

What would I need to edit to get avatars in the news page?

i second that could this be done

well i'm not gonna do it any time soon


the name of the online user is not good it should be mine but instead its the name of another user in my forum and it does not alway display right who is online ...well atleast not on my side it will only display that i am online ounce i go into the forum if its normal how can i make it so that nomather if i am in the forum or in the miniportal i get displayed

get rid of PUN_QUIET_VISIT but it means if you go to the news page but not the forum then your unread posts will be marked as read

35 (edited by Ataxy 2005-04-12 11:57)

Re: PunBB Miniportal v1.2.x

Connorhd wrote:
Ataxy wrote:

the name of the online user is not good it should be mine but instead its the name of another user in my forum and it does not alway display right who is online ...well atleast not on my side it will only display that i am online ounce i go into the forum if its normal how can i make it so that nomather if i am in the forum or in the miniportal i get displayed

get rid of PUN_QUIET_VISIT but it means if you go to the news page but not the forum then your unread posts will be marked as read

oh ok i see did not think of that oh and by the way i would like to see more then 10 user in the list how can i make that i had a quick look at the code yesterday before going to bed but i am really new to php so i did not see anything related to it but if you can cue me on were to look or what to change it would be appreciated

Re: PunBB Miniportal v1.2.x

well i don't recommend it but...

if ($num_users > 0 && $num_users < 10)

change the 10 to whatever number you want or remove

 && $num_users < 10

to remove the upper limit

37

Re: PunBB Miniportal v1.2.x

thx again for the info

38

Re: PunBB Miniportal v1.2.x

is there anyway of making it display info from a category instead of a forum or how can i make it display news from more then one forum id

Re: PunBB Miniportal v1.2.x

there is a way but it would require the code editing, i might add it later (i'm just working on the wiki mod release)

40

Re: PunBB Miniportal v1.2.x

Connorhd wrote:

there is a way but it would require the code editing, i might add it later (i'm just working on the wiki mod release)

ok thx

41

Re: PunBB Miniportal v1.2.x

Warning: main(): Unable to access ./http://kraiforum.forexhost.ru/extern.php?action=active in /home/sub/kraiforum/footer.php on line 165

Warning: main(./http://kraiforum.forexhost.ru/extern.php?action=active): failed to open stream: No such file or directory in /home/sub/kraiforum/footer.php on line 165

Warning: main(): Failed opening './http://kraiforum.forexhost.ru/extern.php?action=active' for inclusion (include_path='.:/usr/local/lib/php') in /home/sub/kraiforum/footer.php on line 165


"Last post" don't work.

Re: PunBB Miniportal v1.2.x

you need to edit footer.php like i said in the post to remove PUN_ROOT

Re: PunBB Miniportal v1.2.x

Connorhd

How I can separate news from one day, in index.php?

P.S. my bad english sad

44

Re: PunBB Miniportal v1.2.x

I have tried to this and am having some trouble.

I created the news page first and called it news.php.  It worked great and my forum still worked.  Then I changed index.php to forum.php and news.php to index.php.  I made the other changes told to do.  Then when I went to the site I saw the news page and had the message at the top that I was logged in.  When I clicked on the link in the news or on the forum link at the top, I went to the forum but it said I was not logged in.  If I clicked on "login" I went to the login and after logging in (again), I was returned to the forum but was not logged in. 

Any suggestions?  Another change I have made is to remove the links to register from both the header and the login page because I want a members only forum.  Could doing that have caused this?

Re: PunBB Miniportal v1.2.x

could be a cookie problem? could you login to your forum fine before hand?

Austral: you would need to edit the news function

Re: PunBB Miniportal v1.2.x

how would I get the news page to look something like this
http://shinko.freeprohost.com/portal.php

I would use that but it's sort of a hacked version ><

47

Re: PunBB Miniportal v1.2.x

Yes I could log into the forum fine before changing index.php to forum.php and the necessary changes to viewtopic, viewforum, and functions.

48

Re: PunBB Miniportal v1.2.x

shinko_metsuo wrote:

how would I get the news page to look something like this
http://shinko.freeprohost.com/portal.php

I would use that but it's sort of a hacked version ><

i dont get it you would like your page to look like your page

Re: PunBB Miniportal v1.2.x

Ataxy wrote:
shinko_metsuo wrote:

how would I get the news page to look something like this
http://shinko.freeprohost.com/portal.php

I would use that but it's sort of a hacked version ><

i dont get it you would like your page to look like your page

I could use it but it is bugged. It's not good code wise.

50

Re: PunBB Miniportal v1.2.x

oh ok i know what you mean ...welcome aboard the bus of the want to be coder lol no seriously you still did a nice job