Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-05T18:39:31-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16636 2012-01-05T18:39:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16636&p=59809#p59809 <![CDATA[Re: Trying to make a popup information]]> Happy new year!

Statistics: Posted by Raam Dev — January 5th, 2012, 6:39 pm


]]>
2012-01-05T17:26:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16636&p=59802#p59802 <![CDATA[Re: Trying to make a popup information]]>
that works perfect ;)
very much thanks to you happy new year

Statistics: Posted by s2pidkaspr — January 5th, 2012, 5:26 pm


]]>
2012-01-05T03:37:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16636&p=59747#p59747 <![CDATA[Re: Trying to make a popup information]]> viewtopic.php?f=4&t=3145&p=9683#p9683

Statistics: Posted by Cristián Lávaque — January 5th, 2012, 3:37 am


]]>
2012-01-03T17:43:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16636&p=59582#p59582 <![CDATA[Re: Trying to make a popup information]]>
You can try adding this to the top of your PHP file before anything else:

Code:
<?php
    
// Include WordPress
    define('WP_USE_THEMES', false);
    // Change path below to location of wp-blog-header.php on server
    require('/home/username/public_html/blog/wp-blog-header.php');
?>


If that still doesn't work, please paste here the exact error you're receiving.

Statistics: Posted by Raam Dev — January 3rd, 2012, 5:43 pm


]]>
2012-01-03T13:53:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16636&p=59540#p59540 <![CDATA[Re: Trying to make a popup information]]>

Statistics: Posted by s2pidkaspr — January 3rd, 2012, 1:53 pm


]]>
2012-01-03T08:39:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16636&p=59525#p59525 <![CDATA[Re: Trying to make a popup information]]> Statistics: Posted by Deyson — January 3rd, 2012, 8:39 am


]]>
2012-01-01T16:32:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16636&p=59388#p59388 <![CDATA[Re: Trying to make a popup information]]>
anyone ?

Statistics: Posted by s2pidkaspr — January 1st, 2012, 4:32 pm


]]>
2012-01-01T00:37:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16636&p=59375#p59375 <![CDATA[Trying to make a popup information]]>
im trying to make a popup kind of viewing profile.
like where members can click on view their ACCOUNT INFO and when they clicked on it, it will display as a popup filled with their membership information such as, avatar, username, membership status, membership expiring date, and so on...

And so what i tried to do is, make a new file named "account-info.php" and placed it over to my file directories.
then made a link somewhere on my site with this code

Code:
<a href="javascript:void(window.open('http://www.MYDOMAIN.com/wp-content/themes/MYTHEME/account-info.php','accountinfo','width=600,height=350,top=200,left=365'))">Account Info</a>


The link works fine and it pops up a new window connecting to that "account-info.php"
But the thing is, whenever I put in php codes inside that file (account-info.php), the pop up gives undefined error.

And so this is my question, how to do this? So that I can have my member's informations as a popup window from their membership and so on? Basically, how can i make php work on that new file i created? Because it seems php is not available to use in that file, or maybe its because its outside the loop? Hmm.

Statistics: Posted by s2pidkaspr — January 1st, 2012, 12:37 am


]]>