The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Display Profile Information PHPBB2

View previous topic View next topic Go down

Display Profile Information PHPBB2

Post by nextlevelgaming on June 30th 2012, 2:35 am

Hey guys another scripting issue. Im trying to make a widget where once my members sign in they can see how they are doing in points and extra points.

Im having an issue because the Widgets generator is HTML and I believe the varible i am going to be using is Javascript... Here is the code I am using

Code:


<script type="text/javascript">
<center>
{postrow.displayed.POSTER_AVATAR}<br />

 <span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
            
<span class="postdetails poster-profile">
                               
      {postrow.displayed.RANK_IMAGE}<br />                       
      {postrow.displayed.POSTER_RANK}<br /><br />                     
      {postrow.displayed.profile_field.LABEL}
      {postrow.displayed.profile_field.CONTENT}
      {postrow.displayed.profile_field.SEPARATOR}                                                                       
      {postrow.displayed.profile_field.LABEL}
      {postrow.displayed.POSTER_RPG} 
      {postrow.displayed.USERLASTVISIT}
                               
</center>
  </span><br />
<font face="Arial" size="2">
<center>
<b>Want To Earn More?</b>
<br />
Go To<br />

<a href="http://www.domain.com/">
 Visit Our Site</a>
</center>

Now when placed on the widget right bar all that is shown is this exactly


{postrow.displayed.RANK_IMAGE}
{postrow.displayed.POSTER_RANK}
{postrow.displayed.profile_field.LABEL}
{postrow.displayed.profile_field.CONTENT}
{postrow.displayed.profile_field.SEPARATOR}
{postrow.displayed.profile_field.LABEL}
{postrow.displayed.POSTER_RPG}
{postrow.displayed.USERLASTVISIT}

and not the information that i am trying to call upon...


Any help with this coding? im not that great of a coder, especially new codes, (new to me) I started with basic html long time ago and am slowly learning the basics of others. i just dont know the call function and so forth. can someone please help ...thank you


nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Display Profile Information PHPBB2

Post by nextlevelgaming on June 30th 2012, 11:18 pm

BUMP

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Display Profile Information PHPBB2

Post by nextlevelgaming on July 1st 2012, 8:16 pm

I do not know ajax what so ever haha. Can you help? And is ajax use a place holder in the sense? So i know how to edit easily?

nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum