Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
4 + 5 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: Adding users vote + user visit counter in your members profils
by soulhex on 2007/9/23 22:40:57

Everything is done about userinfo.php.it is running carefully. But I have problem with user_rate.php. it is not running. I see only a blank page. Anyone can help me about this ? or can you send me the running version of user_rate.php ?
Re: Adding users vote + user visit counter in your members profils
by jordi_rc on 2006/10/25 5:19:19

Hi daviddu54

I saw that if I include this line

Quote:

$xoopsTpl->assign('user_uid', $thisUser->getVar('uid'));


before the hack in userinfo it works all ok.

All is right now and working.
Thanks.

Jordi
Re: Adding users vote + user visit counter in your members profils
by daviddu54 on 2006/10/25 0:31:42

hi jordi

Sorry for the late answere

you need to edit userinfo.php only if you dont see the button.

what is your problem? button display or sql request error?
Re: Adding users vote + user visit counter in your members profils
by jordi_rc on 2006/10/23 13:29:59

It is ok to add this line? Am I right?
If you don't answer I think it is ok.

You should add this line to the hack at least for XOOPS 2.0.15

Jordi
Re: Adding users vote + user visit counter in your members profils
by jordi_rc on 2006/10/22 17:38:42

Hi all Xoopies

I think I fixed it.

There is a line that is included in userinfo.php if one is admin and user:

Quote:

$xoopsTpl->assign('user_uid', $thisUser->getVar('uid'));


What does this line mean? I think it is included if one is admin because stores the uid of the member that is being seen in profile,in order to modify something. In this case it is the member rating and vote.

AM I RIGHT OR THIS IS DANGEROUS?

This must be included in order to get all members to vote. If I don't do so, uid of member voted is not posted to function.

Also in addition not only 'id' must be between '', seems that I must put all variables in line 75 between '' to work well.

Strange but works.

Jordi.

Who's Online

130 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 130


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits