Page 1 of 1

I could use some help....

Posted: Fri Mar 07, 2008 11:17 pm
by chips
I have a file called: user_reputation.tpl.php
And this code within:

Code: Select all

<? if ($user_details['has_imported']==Y && $setts['imp_enabled']) { ?>
<? if ($otherfeed['fb_ebay'] && $setts['imp_ebay']) { ?>
(<?=$otherfeed['fb_ebay'];?>)
Now, this displays my ebay score:

Code: Select all

(<?=$otherfeed['fb_ebay'];?>)
Output would be (24)

I would like to Display this output of (24) on another part of the site, my question is... Is it possible to come up with something to Copy the (24) from user_reputation.tpl.php and have it display on another part of my site?

------------------------------------------------------------------------------------------
Ok Looks like a lot of helpers here so I'm going to go fearther on what I'm talking about...

on this page: http://fooglebay.com/auction_details.ph ... _id=100371
you can see under Seller Information "View my imported Feedback" Link

if you click that link you would see my Ebay feedback that I imported...

What I'm asking is instead of it saying View my imported Feedback it would say:
My Ebay feedback (24)


The Ebay Feedback thing is a plug-in that allows my members to import there feedback from ebay
and I paid $5.00 for the plug-in, I had to manually edit the site on several php files and templates as the "HOW TO INSTALL" instructed me to do to make it work they way it dose.

----- I go on by further saying that I have asked the coder that made the scrip to help me out and to make up some kind of code to achieve what I'm asking, his reply is "I'm to busy, If I get time in the future I will work on it"

Thanks.

Re: I could use some help....

Posted: Sat Mar 08, 2008 3:50 am
by bdlang
The most obvious method would be to use a session and store the variable between page requests.

Re: I could use some help....

Posted: Sat Mar 08, 2008 11:13 am
by chips
bdlang wrote:The most obvious method would be to use a session and store the variable between page requests.
how is that done?
I am no good at PHP, but if I had something to work with I could give it a try...
thanks for your help so far :)