News:

SMF 2.1.3 has been released! Take it for a spin! Read more.

Main Menu

Avatar Select on Register

Started by SMFHacks.com Team, December 28, 2006, 10:44:04 PM

Previous topic - Next topic

lonrot

#40
Hello guys, I have a problem, I don't want to force everyone to select an avatar, so is it possible to replace the (no pic) for the default avatar, which is noava.gif for example.

I think I'm loosing too many members for forcing them to select a picture, they just get tired and wont end registration.

vbgamer45

You would need to remove the following from
Sources/Sub-Members.php


if (empty($regOptions['avatar']) && $_REQUEST['action'] == 'register2')
fatal_error('An avatar is required! Please select one.', false);
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

John S

Quote from: brianjw on August 20, 2007, 11:13:27 AM
How would I go about also adding a box to upload an avatar and a place to put a link to an avatar? I would like them to have a wider variety then just the avatars I provide. :)

Brianjw

same can someone please provide the code for that?

brianjw

If they're going to be required to select an avatar, more than the avatars we store should be allowed to be selected on register.

falguni1

I like this mod.

please can you make a more improved version of this mod which makes it compulsory to complete all the profile fields before a user can register.

vbgamer45

That would be a different mod. I would talk to the profile fileds mod creator I thoght that mod did that already.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

falguni1

Quote from: vbgamer45 on December 18, 2007, 09:22:20 PM
That would be a different mod. I would talk to the profile fileds mod creator I thoght that mod did that already.

I was saying about the default profile features already in smf like
avatar
gender
age
location
it would be nice to make them compulsory

and it you want to go even further and support profile fields mod or ultimate profile fields mod then it would be just great.

an option given in the admin area means all profile fields will be given in the admin area, where the admin will be given a choice to checkmark the profile fields which the admin wants to make compulsory and uncheckmark the profile fields which are not compulsory to necessary to register and so also will be not seen on the register page.

TrueSatan

None of us can just take over another developers mod as you suggest...it would be extremely unfair, to say nothing of plain rude, to try to do so unless the mod were obviously abandoned and one had gone through the official SMF channels to take it over or the original developer had offered it for adoption.

The Ultimate Profile mod you mention is not even an official mod and it is coded so that it is an unsafe mod that opens users forums to attack...I would advise, strongly actually, against its use.

falguni1

Quote from: TrueSatan on December 19, 2007, 04:27:24 AM
None of us can just take over another developers mod as you suggest...it would be extremely unfair, to say nothing of plain rude, to try to do so unless the mod were obviously abandoned and one had gone through the official SMF channels to take it over or the original developer had offered it for adoption.

The Ultimate Profile mod you mention is not even an officia mod and it is coded so that it is an unsafe mod that opens users forums to attack...I would advise, strongly actually, against its use.

please try to understand wot I say
I am not saying take over something to vbgamer45

I am just saying that I have many members who have not posted a single post and their profiles are empty.

so I am just saying that make some profile fields compulsory which are provided by smf by default I donot want empty profiles of members

also if the other mod authors give permissions then also make your mod compatible with others.

also the profile fields mod is default in smf 2.0 which will release soon.

brianjw

Quote from: brianjw on August 20, 2007, 11:13:27 AM
How would I go about also adding a box to upload an avatar and a place to put a link to an avatar? I would like them to have a wider variety then just the avatars I provide. :)

Brianjw

falguni1

Quote from: brianjw on December 19, 2007, 01:03:22 PM
Quote from: brianjw on August 20, 2007, 11:13:27 AM
How would I go about also adding a box to upload an avatar and a place to put a link to an avatar? I would like them to have a wider variety then just the avatars I provide. :)

Brianjw
I also agree.

falguni1


brianjw



falguni1

Quote from: falguni1 on December 18, 2007, 01:38:37 AM
I like this mod.

please can you make a more improved version of this mod which makes it compulsory to complete all the profile fields before a user can register.

will you include these features.

brianjw

This is a completely different mod you're wanting. This mod adds avatar select and avatar select only. If you wish to request a Mod, make a post in the Mod Requests board as this has nothing to do with needing support for the avatar select mod which is what this topic is about.

brianjw

Iron IC

I dowloaded the mod and wanted to manually apply the modifications to my forum, with a little help from Package Parser. Unfortunately the zip-file I downloaded creates errors when used with Package Parser.

Here is a link to package parser.

Here is what the page displays when opening AvatarSelect.zip

General Package Information
This is general information about the package, such as the package ID and name.
Package ID: vbgamer45:AvatarSelect
Package name: AvatarSelect
Package version: 1.1.2
Package type: modification
Installation instructions for SMF versions: 1.1.4
Readme:
*******************************
Avatar Select
By: vbgamer45
http://www.smfhacks.com
*******************************

Mod Information:
For SMF 1.1.2

Adds a avatar select to the user registration page.


Other mods can be found at SMFHacks.com
Include:
SMF Trader System
SMF Archive
SMF Staff


SMFHacks package server address is:
http://www.smfhacks.com

Modifications to SMF files

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: Entity: line 39: parser error : Opening and ending tag mismatch: file line 6 and operation in /home/ars/public_html/package.php on line 431

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: </operation> in /home/ars/public_html/package.php on line 431

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: ^ in /home/ars/public_html/package.php on line 431

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: Entity: line 155: parser error : Opening and ending tag mismatch: modification line 3 and file in /home/ars/public_html/package.php on line 431

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: </file> in /home/ars/public_html/package.php on line 431

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: ^ in /home/ars/public_html/package.php on line 431

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: Entity: line 156: parser error : Extra content at the end of the document in /home/ars/public_html/package.php on line 431

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: <file name="$sourcedir/Register.php"> in /home/ars/public_html/package.php on line 431

Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: ^ in /home/ars/public_html/package.php on line 431

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/ars/public_html/package.php:431 Stack trace: #0 /home/ars/public_html/package.php(431): SimpleXMLElement->__construct('<?xml version="...') #1 /home/ars/public_html/package.php(400): parseModificationXML('/tmp/AvatarSele...', Object(SimpleXMLElement), 'all') #2 /home/ars/public_html/package.php(75): parsePackageInfoXML('/tmp/package-in...', 'install', 'all') #3 /home/ars/public_html/package.php(754): parseArchive('/tmp/phpZMGebT', 'install', 'all') #4 {main} thrown in /home/ars/public_html/package.php on line 431


Could this please be fixed? Thank you  :)

Regards Tom

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

brianjw

vbgamer45, have you ever thought of adding a place for the people who are registering to be able to link to a image or browse for an image in this mod? I think this is a good idea and would make it a little more of a variety around my forum of avatars because my users don't edit there profiles very much.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: