Forum points code
+2
LGforum
Mike
6 posters
Page 1 of 1
Forum points code
is there a php code to display forum points like they do in the post profile?
Mike- Hyperactive
- Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado
Mike- Hyperactive
- Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado
Re: Forum points code
I don't believe there is a PHP variable for it since that isn't how the post profile fields are created on page load.
I think the only way to do it would be loading it with Ajax. Bit of a horrible thing to do though for such a small thing.
Maybe a creative cookie using method could do it. But can't think of one at the moment.
I think the only way to do it would be loading it with Ajax. Bit of a horrible thing to do though for such a small thing.
Maybe a creative cookie using method could do it. But can't think of one at the moment.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Forum points code
I don't think there is a code for this. Unless something in the templates.
!_NICK_!- Active Poster
- Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.
Re: Forum points code
Im thinking there has to be a hidden code for it since it displays in more than one place.
Mike- Hyperactive
- Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado
Re: Forum points code
Well, I'm thinking it's in the templates. Try and play around with the templates and find the code. I'll try to look for it a little bit too.
!_NICK_!- Active Poster
- Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.
Re: Forum points code
Bumpity Bump?
Still looking for a solution thru JS or templates... Im looking myself too
Still looking for a solution thru JS or templates... Im looking myself too
Mike- Hyperactive
- Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado
Re: Forum points code
EmperorAdam wrote:Is it some thing to do with {profile_field.LABEL} ?
nope. tried it
Mike- Hyperactive
- Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado
Re: Forum points code
these?
<!-- BEGIN profile_field -->
{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
<!-- END profile_field -->
<!-- BEGIN profile_field -->
{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
<!-- END profile_field -->
Re: Forum points code
It'd be in that, but that isn't the variable.
Mike- Hyperactive
- Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado
Re: Forum points code
That section is a Server Side Include. A repeating piece of PHP which adds the post profile fields.
The way to access it by javascript would be an Ajax call to the user profile page. Or grabbing t from the contents of an Iframe which source is the user profile.
The way to access it by javascript would be an Ajax call to the user profile page. Or grabbing t from the contents of an Iframe which source is the user profile.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Forum points code
If i could i would
Mike- Hyperactive
- Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado
Similar topics
» Points Code?
» I ned to know the code that can take away and add points...
» Points System Code
» STILL NEED HELP: Is There A {CODE} To View Points?
» HTML Code? Points System
» I ned to know the code that can take away and add points...
» Points System Code
» STILL NEED HELP: Is There A {CODE} To View Points?
» HTML Code? Points System
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum