Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

avatar obligatory registration

Asked Modified Viewed 5,167 times
S
SpaM
S
SpaM 10
SpaM - SpamFusion.
  • Junior Member, joined since
  • Contributed 33 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
asked
Junior Member

First of all greetings to all.

well let me know how I can add user registration obligatory use of avatar?

in the registry can lead avatar obligatory use either a dialog to display the avatar pictures available and at no choose a send the user an alert obligation to use avatar.

Merged on Apr 30 2013 at 14:22:45:
anyone have a solution on how to do
Edited by SpaM on 30-04-2013 15:22,
0 replies

8 posts

T
Tyler
T
Tyler 10
Helping, would be pointing you in the right direction, not doing it all for you.
  • Member, joined since
  • Contributed 198 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

Well without real modifications and more work you could place a code in a panel/banner that will check if the user is logged in and then check if they have an avatar set.

You could automatically redirect them to the profile edit page or display a message.... Maybe not ideal but would definitely work.
0 replies
S
SpaM
S
SpaM 10
SpaM - SpamFusion.
  • Junior Member, joined since
  • Contributed 33 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

You can create an exact infusion register_panel say call a website where you redireciona special permission to calculate whether or not you have an avatar has to wear one would force you

Merged on May 05 2013 at 18:23:13:
nothing

Merged on May 05 2013 at 20:12:49:
viwer /infusions/sistemarotativologin/marcore/k3czw.php

http://php-fusion.com.es/infusions/sistemarotativologin/marcore/k3czw.php

Merged on May 27 2013 at 22:01:52:
Noting :(
Edited by SpaM on 27-05-2013 23:01,
0 replies
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

I cannot verify my code because I am using IPad. But I will help you.

Go to includes/classes/UserFieldsInput.php around line 452

You will see the definition:

$this->_setDBValue("user_avatar", $avatarUpload['thumb1_name']);


Change the code to:


if (!$this->userData['user_avatar']) {
   $this->_setError("user_avatar", "Please use avatar! Obligatory!!!");
 } else {
$this->_setDBValue("user_avatar", $avatarUpload['thumb1_name']);
}


Test it. Should work. I can't test, on IPad no editor, no FTP, only safari. And stupid safari.:@
0 replies
S
SpaM
S
SpaM 10
SpaM - SpamFusion.
  • Junior Member, joined since
  • Contributed 33 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

ok then I'll try

Merged on May 29 2013 at 18:34:28:
nothing and tested and follow the normal registration does nothing
Edited by SpaM on 29-05-2013 19:34,
0 replies
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

I will find a fix for this.
0 replies
S
SpaM
S
SpaM 10
SpaM - SpamFusion.
  • Junior Member, joined since
  • Contributed 33 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

I like what happens is that I want all the users from the time an image will use to prevent bots and attacked me 3 times and then I thought why bother in this solution because not BOTS will be able to put the image that I want to avoid and would make me much needed and reinstalled 3 times the php-fusion through the same problems
0 replies
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

I see you want to force user upload avatar so bots that does not have avatar scripts wont be registering? I dont think it will work good.

There is another better way actually. Use shuffle rand shuffle method to ask mathematical question. Probability. What is 1/1000? Just 0.001%. Multiply by another 0.0001%. Script all you want. We ask server deal the question. Suspend/autoban IP over failing few times.

I just ask 1+1÷1-1×1, 2-2×2-2+2. Randomize +×÷- and randomize number. 10000 options. If you can script and win this, and can register, lets just quit and try to code that script so we all can use in online casinos.
0 replies
S
SpaM
S
SpaM 10
SpaM - SpamFusion.
  • Junior Member, joined since
  • Contributed 33 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

Good and follows Avatar can not have recording studio that after accepting the e-mail and sign it redirecione to Avatar Studio and do not leave anything but make Select Product avatar as a site license or if something

Merged on Jun 30 2013 at 00:36:52:
noting :(
Edited by SpaM on 30-06-2013 01:36,
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 8 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
S
S
SpaM 10
SpaM - SpamFusion.
  • Junior Member, joined since
  • Contributed 33 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
T
T
Tyler 10
Helping, would be pointing you in the right direction, not doing it all for you.
  • Member, joined since
  • Contributed 198 posts on the community forums.
  • Started 3 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet