New column in profile page

All the topics other than the two goes here.
  • Ads

New column in profile page

Postby xmccay » Fri Sep 18, 2009 5:33 am

Hi,

How can I add a new box in the user profile page so i can display content from another file? What I want is to add another new box below the action box and show some info from one of my custom php file. I was told to use a frame to include the page into this page and my big questions are :

- how can I add a new box into this page so I can put the iframe script into this?

- Instead of using iframe, can I use query to display the content directly into this page in profile page?

Please advise and thank you very much.
xmccay
Jr. Member
Jr. Member
 
Posts: 195
Joined: Sat Nov 01, 2008 3:42 pm

Re: New column in profile page

Postby Administrator » Fri Sep 18, 2009 5:45 pm

You can use an IFRAME in a HTML block dragged to that area. I don't recommend it. Because search engines won't love it. So I prefer you to do some PHP programing to extract the contents from it and show it inside the block.
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 1069
Joined: Mon Aug 25, 2008 7:18 am
Location: India

Re: New column in profile page

Postby xmccay » Fri Oct 02, 2009 8:34 am

Hi,

How can I capture the user ID of the user I am viewing from the profile page since I am using Iframe?

What I want is actually a block that can echo the ID of the profile user in the profile page. Please advise and thanks again.
xmccay
Jr. Member
Jr. Member
 
Posts: 195
Joined: Sat Nov 01, 2008 3:42 pm

Re: New column in profile page

Postby Administrator » Mon Oct 05, 2009 6:44 am

You can get it from the cookies.

Code: Select all
$_COOKIE['memberID']
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 1069
Joined: Mon Aug 25, 2008 7:18 am
Location: India

  • Ads

Return to Dolphin General Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron