Page 1 of 1

[solved] Two Questions (Birthday and portal wide headers)

PostPosted: Sat May 19, 2007 3:24 am
Author: bariq
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: http://www.mytikas.org/portal/portal.php

PHP Version:
MySQL Version:


What was done before the problem appeared?
nothing


What was done to try to solve the problem?
nothing



De.scription and Message

Hi All,

1st question:
Can someone tell me how to get the birthday block in the index.php page (displays the names of the users having their birthdays today) to the portal.php page through block management ?

2nd question:
Can i display the header in just the portal.php and hide it in index.php and following pages ? how to do it ? cause i tried using the hide system wide header and this hid the header in all pages, but i want it to appear in portal.php page only.

thanks in advance

PostPosted: Sat May 19, 2007 4:19 am
Author: nGAGE
Q-1: Seems to me like some coding work, adding a birthday block. Might already exist, or somebody here might like the idea and do it.

Q-2: In your ACP go to "IM Portal" choose "Page Management" and set "Forum-wide blocks" to NO.
(For an example see my homepage... I do the same! Just click the sig <img> )

PostPosted: Sat May 19, 2007 5:04 am
Author: bariq
[quote=""nGAGE";p="25601""]
Q-1: Seems to me like some coding work, adding a birthday block. Might already exist, or somebody here might like the idea and do it.

Q-2: In your ACP go to "IM Portal" choose "Page Management" and set "Forum-wide blocks" to NO.
(For an example see my homepage... I do the same! Just click the sig :( sigh
take a look at http://www.mytikas.org/portal/portal.php

PostPosted: Sat May 19, 2007 5:22 am
Author: nGAGE
I see what you mean... in that case... try to do it like me!

NOTE: If you use my method, keep in mind that you will only have that left column and the right column (similar to header & footer) on the portal page. Forum will be full width!

Don't use the "header" & "footer", but rather a layout that offers "left" & "right" (use 3_column.tpl)
Choose it in "Page Management".

Leave the option mentioned earlier the way it is!

In "Portal Configuration" turn off "system-wide portal header" & "system-wide portal footer".

Go back into your "Blocks Management" and reassign what should be "header" to be in "left" and do the same for what should be "footer" into "right". Center will obviously remain "center".

That should be it!

PS: Don't be alarmed... after you change to 3_column.tpl, some stuff might disappear or stuff might look weird... but just complete the instructions and it will look and act like mine <img>

Re: Two Questions (Birthday and portal wide headers)

PostPosted: Sat May 19, 2007 7:16 am
Author: bariq
Thanks bro that helped ...


Now coming to birthday block.. I think the block is available somewhere as its shown from the index.php page. Have to find a way of incorporating it into the portal.php page as a block <img>

PostPosted: Sat May 19, 2007 10:43 am
Author: nGAGE
Well.... the "html" isn't hard to find, but I don't know if the portal.php will make the right queries to get the info needed to display it.
I've already tried using the html in a block, but that (as expected) didn't work, as the block is just a manual text in html and doesn't have a php to call for the info needed to display it.
I'm sure some people here would know how to do it exactly, but if I have some spare time, I'll see if I can figure out how to make a new block from the info I can find in the index files!

PostPosted: Wed May 23, 2007 5:57 am
Author: bariq
hmmm as there are no more replies on it... i would pull my lazy butt to write the code <img> will post any developments here soon

PostPosted: Wed May 23, 2007 11:42 am
Author: nGAGE
hehe... was going to look into that myself... shouldn't be much more then copy/pasting a bit <img>

PostPosted: Thu May 24, 2007 1:49 pm
Author: bariq
ok did some coding and was able to write a new birthday block..

check the right side block.
http://www.mytikas.org/portal/portal.php

will be posting the code soon

Re: Two Questions (Birthday and portal wide headers)

PostPosted: Thu May 24, 2007 7:17 pm
Author: Helter
I guess i should have read the entire post before I made this...lol

Re: Two Questions (Birthday and portal wide headers)

PostPosted: Fri May 25, 2007 12:38 am
Author: bariq
hmmm helterskelter you are fast man...

well here is my mod which shows the bday all the time if people are logged in or logged off.

Re: Two Questions (Birthday and portal wide headers)

PostPosted: Fri May 25, 2007 10:49 am
Author: Helter
you can set the block to display only to logged in users in acp/IMPortal/Blocks Management/your portal page/edit birthday block/View By: - Registered Members

PostPosted: Fri May 25, 2007 6:54 pm
Author: bariq
very true, you got some options there at viewby option in the blocks section.

Re: [solved] Two Questions (Birthday and portal wide header

PostPosted: Wed Sep 26, 2007 8:49 am
Author: sunwest
How can I remove the required status from the birthday feature so as to not show ages on users' posts?

Re: Two Questions (Birthday and portal wide headers)

PostPosted: Wed Feb 13, 2008 9:40 am
Author: papapnoi
"HelterSkelter";p="25924" wrote:I guess i should have read the entire post before I made this...lol


I am unable to download this file. It says it is not a supported format. I tried DL'in the other block as well but it gave me the same error message.

Any help plz.

Thanks,
~papa

PostPosted: Wed Feb 13, 2008 1:02 pm
Author: tmotley
Same here... something corrupted over time/transfer?