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 December 29th 2011, 3:16 am

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

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Re: Forum points code

Post by Mike on December 30th 2011, 3:21 am

bump

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Re: Forum points code

Post by LGforum on December 30th 2011, 3:25 am

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.

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Forum points code

Post by !_NICK_! on December 30th 2011, 3:30 am

I don't think there is a code for this. Unless something in the templates.

!_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 December 30th 2011, 3:50 am

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


Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Re: Forum points code

Post by !_NICK_! on December 30th 2011, 7:26 am

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

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 December 31st 2011, 6:02 pm

Bumpity Bump? Very Happy

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

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Re: Forum points code

Post by EmperorAdam on December 31st 2011, 6:18 pm

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

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 December 31st 2011, 6:18 pm

Try a iframe from profile ...

Omu
Active Poster

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

http://supportdrops.com/

Back to top Go down

Re: Forum points code

Post by Mike on December 31st 2011, 6:39 pm

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

nope. tried it

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Re: Forum points code

Post by EmperorAdam on December 31st 2011, 6:55 pm

these?

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

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 December 31st 2011, 10:04 pm

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

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Re: Forum points code

Post by LGforum on January 1st 2012, 2:39 am

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.

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Forum points code

Post by EmperorAdam on January 1st 2012, 5:09 pm

Why not ask the admins?

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 January 1st 2012, 11:25 pm

If i could i would

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Re: Forum points code

Post by njaguar on January 4th 2012, 9:27 pm

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

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