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.

Forum points code

View previous topic View next topic Go down

Forum points code

Post by Mike on Thu Dec 29 2011, 04:16

is there a php code to display forum points like they do in the post profile?
scratch
avatar
Mike
Hyperactive

Male Posts : 4243
Reputation : 468
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

Re: Forum points code

Post by Mike on Fri Dec 30 2011, 04:21

bump
avatar
Mike
Hyperactive

Male Posts : 4243
Reputation : 468
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

Re: Forum points code

Post by LGforum on Fri Dec 30 2011, 04:25

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.
avatar
LGforum
Hyperactive

Male Posts : 2262
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Forum points code

Post by !_NICK_! on Fri Dec 30 2011, 04:30

I don't think there is a code for this. Unless something in the templates.
avatar
!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Re: Forum points code

Post by Mike on Fri Dec 30 2011, 04:50

Im thinking there has to be a hidden code for it since it displays in more than one place.

avatar
Mike
Hyperactive

Male Posts : 4243
Reputation : 468
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

Re: Forum points code

Post by !_NICK_! on Fri Dec 30 2011, 08:26

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.
avatar
!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Re: Forum points code

Post by Mike on Sat Dec 31 2011, 19:02

Bumpity Bump? Very Happy

Still looking for a solution thru JS or templates... Im looking myself too
avatar
Mike
Hyperactive

Male Posts : 4243
Reputation : 468
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

Re: Forum points code

Post by EmperorAdam on Sat Dec 31 2011, 19:18

Is it some thing to do with {profile_field.LABEL} ?
avatar
EmperorAdam
Forumember

Male Posts : 123
Reputation : 4
Language : English
Location : UK

http://mytube.forumotion.co.uk/

Back to top Go down

Re: Forum points code

Post by Omu on Sat Dec 31 2011, 19:18

Try a iframe from profile ...
avatar
Omu
Active Poster

Male Posts : 1019
Reputation : 87
Language : Romanian, English, French
Location : Romania

http://supportdrops.com/

Back to top Go down

Re: Forum points code

Post by Mike on Sat Dec 31 2011, 19:39

EmperorAdam wrote:Is it some thing to do with {profile_field.LABEL} ?

nope. tried it
avatar
Mike
Hyperactive

Male Posts : 4243
Reputation : 468
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

Re: Forum points code

Post by EmperorAdam on Sat Dec 31 2011, 19:55

these?

<!-- BEGIN profile_field -->
{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
<!-- END profile_field -->
avatar
EmperorAdam
Forumember

Male Posts : 123
Reputation : 4
Language : English
Location : UK

http://mytube.forumotion.co.uk/

Back to top Go down

Re: Forum points code

Post by Mike on Sat Dec 31 2011, 23:04

It'd be in that, but that isn't the variable.
avatar
Mike
Hyperactive

Male Posts : 4243
Reputation : 468
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

Re: Forum points code

Post by LGforum on Sun Jan 01 2012, 03:39

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.
avatar
LGforum
Hyperactive

Male Posts : 2262
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Forum points code

Post by EmperorAdam on Sun Jan 01 2012, 18:09

Why not ask the admins?
avatar
EmperorAdam
Forumember

Male Posts : 123
Reputation : 4
Language : English
Location : UK

http://mytube.forumotion.co.uk/

Back to top Go down

Re: Forum points code

Post by Mike on Mon Jan 02 2012, 00:25

If i could i would
avatar
Mike
Hyperactive

Male Posts : 4243
Reputation : 468
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

Re: Forum points code

Post by njaguar on Wed Jan 04 2012, 22:27

Sad WHy not pm a sec admin? ask him to pm/ ask the top dog.
avatar
njaguar
Forumember

Male Posts : 113
Reputation : 1
Language : English
Location : United Kingdom

http://d4jsp.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