Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    Modifications    Mod Requests and Support  ›  auto avatar mod request Moderators: 10 Series Support Team
Users Browsing Forum
No Members and 1 Guests

auto avatar mod request  This thread currently has 2,041 views. Print
2 Pages 1 2 » Recommend Thread
stonedtseller
October 9, 2005, 3:56pm Report to Moderator Report to Moderator
Guest User
i want something where if a user signs up, it will automatically give them a default avatar that i assign (until they change it). and the mod would also give users already signed up who dont have an assigned avatar, the default avatar. can this be done?
Logged
E-mail E-mail
Jesse
October 10, 2005, 4:38am Report to Moderator Report to Moderator

E-Blah Member
Posts: 849
Gender: Male
Posts Per Day: 0.67
Reputation: 90.91%
Reputation Score: +10 / -1
Time Online: 5 days 10 hours 54 minutes
Location: USA
There's a mod for that laying around here somewhere...


heyyyyyyy  
Logged Offline
Private Message Private message Reply: 1 - 15
stonedtseller
October 22, 2005, 2:41am Report to Moderator Report to Moderator
Guest User
i searched and havent found it. can you provide a link?
Logged
E-mail E-mail Reply: 2 - 15
Martin
October 22, 2005, 3:07am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,558
Gender: Male
Posts Per Day: 3.13
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 25 minutes
Location: UK
Age: 50
I think this is what you are looking for.

http://www.eblah.com/forum/m-1089142347.17082/



Martin's Reputation: Increase
Logged Offline
Site Site Private Message Private message Reply: 3 - 15
thanetm
May 16, 2006, 7:34am Report to Moderator Report to Moderator

Having fun, Charity Mini Runs...
Posts: 177
Gender: Female
Posts Per Day: 0.15
Reputation: 100.00%
Reputation Score: +5 / -0
Time Online: 12 days 22 hours 6 minutes
Location: Planet Thanet, Kent, UK
Age: 32
i had this installed on my 9.71b forum. Am now running the 9.75 from 14 May, and it doesn't work anymore as the underlying code changes are significant. I just haven't got a clue how to implement it in this one

Will you be able to update this for the new release?

The Guest avatar was ok - just one line slightly different, so i could manage that one!!

here's hoping! thank you.


Please support us - we're raising money for Demelza House Children's Hospice, by driving from Land's End to John O'Groats.
http://www.justgiving.com/blowin_tyres



Having Fun, Charity Mini Runs
Raising money...Raising Smiles
Children's Hospice South West & Demelza House Children's Hospice

http://www.smallcarsbighearts.co.uk | http://www.blowin-tyres.co.uk | http://www.ndmr-soapbox.co.uk
Logged Offline
Site Site Private Message Private message Reply: 4 - 15
Craig
May 16, 2006, 12:06pm Report to Moderator Report to Moderator

SQL Support Team
Posts: 3,619
Gender: Male
Posts Per Day: 2.11
Reputation: 97.73%
Reputation Score: +215 / -5
Time Online: 14 days 15 hours 11 minutes
Location: Germany
Age: 38
It is actually a lot easier now.  Just edit Register.pl and do a search for this:

Code
'sn'


...and add a new line under that one that looks like this:

Code
			'avatar'      => "http://www.yoursite.com/blahdocs/Avatars/path/to/file.jpg",


Of course you know to change that to the correct path.  Justin, if this is wrong, let me know.


Don't just ask a question.
Instead ask a question, give us a screen shot and post a link to your forum.
Help us help you make your forum better!


If I helped...increase my Reputation by clicking here.

Revision History (1 edits)
Justin  -  May 16, 2006, 4:09pm
Logged Offline
Site Site Private Message Private message ICQ ICQ Reply: 5 - 15
thanetm
May 16, 2006, 1:36pm Report to Moderator Report to Moderator

Having fun, Charity Mini Runs...
Posts: 177
Gender: Female
Posts Per Day: 0.15
Reputation: 100.00%
Reputation Score: +5 / -0
Time Online: 12 days 22 hours 6 minutes
Location: Planet Thanet, Kent, UK
Age: 32
ta muchly!! it set the avatar to my default maximum sizes, so i tried to set the avatar size. it only sets the height though?

tried various things, breaking the script along the way
if i knew what i was doing i'd be dangerous
i'm just being picky now coz i don't like distorted images.


Please support us - we're raising money for Demelza House Children's Hospice, by driving from Land's End to John O'Groats.
http://www.justgiving.com/blowin_tyres



Having Fun, Charity Mini Runs
Raising money...Raising Smiles
Children's Hospice South West & Demelza House Children's Hospice

http://www.smallcarsbighearts.co.uk | http://www.blowin-tyres.co.uk | http://www.ndmr-soapbox.co.uk
Logged Offline
Site Site Private Message Private message Reply: 6 - 15
Justin
May 16, 2006, 4:10pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
Quoted from Craig
It is actually a lot easier now.  Just edit Register.pl and do a search for this:

Code
'sn'


...and add a new line under that one that looks like this:

Code
			'avatar'      => "http://www.yoursite.com/blahdocs/Avatars/path/to/file.jpg",


Of course you know to change that to the correct path.  Justin, if this is wrong, let me know.


All was right but an extra ' was missing.


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 7 - 15
Craig
May 16, 2006, 11:37pm Report to Moderator Report to Moderator

SQL Support Team
Posts: 3,619
Gender: Male
Posts Per Day: 2.11
Reputation: 97.73%
Reputation Score: +215 / -5
Time Online: 14 days 15 hours 11 minutes
Location: Germany
Age: 38
Ok, same drill.  Edit Regester.pl and do a search for this:

Code
'sn'


after that line add these two lines:

Code
			'avatar'     => "http://www.yoursite.com/blahdocs/Avatars/path/to/file.jpg",
'avatarsize' => "100|100",


That should work for ya.  Of course 'avatarsize' should be set to what ever width and height you want the image to show up as, and the site name should be what you want it to be.


Don't just ask a question.
Instead ask a question, give us a screen shot and post a link to your forum.
Help us help you make your forum better!


If I helped...increase my Reputation by clicking here.
Logged Offline
Site Site Private Message Private message ICQ ICQ Reply: 8 - 15
thanetm
May 17, 2006, 2:49am Report to Moderator Report to Moderator

Having fun, Charity Mini Runs...
Posts: 177
Gender: Female
Posts Per Day: 0.15
Reputation: 100.00%
Reputation Score: +5 / -0
Time Online: 12 days 22 hours 6 minutes
Location: Planet Thanet, Kent, UK
Age: 32
yeah - i spotted the missing '.

but what i mean is my default.gif is 71 x 62, but it resizes to 120 x 120 which is my maximum, so how to i put that in?

i tried:
'avatarsize' => 71, 62,
'avatarsize' => 71 | 62,
'avatarsize' => 71 || 62,

but it only picks up the 71 and sets it as height

How to i set both width and height?


Please support us - we're raising money for Demelza House Children's Hospice, by driving from Land's End to John O'Groats.
http://www.justgiving.com/blowin_tyres



Having Fun, Charity Mini Runs
Raising money...Raising Smiles
Children's Hospice South West & Demelza House Children's Hospice

http://www.smallcarsbighearts.co.uk | http://www.blowin-tyres.co.uk | http://www.ndmr-soapbox.co.uk
Logged Offline
Site Site Private Message Private message Reply: 9 - 15
Justin
May 17, 2006, 4:32am Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
Yeah, you need to put quotes around 71|62.


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 10 - 15
thanetm
May 17, 2006, 5:19am Report to Moderator Report to Moderator

Having fun, Charity Mini Runs...
Posts: 177
Gender: Female
Posts Per Day: 0.15
Reputation: 100.00%
Reputation Score: +5 / -0
Time Online: 12 days 22 hours 6 minutes
Location: Planet Thanet, Kent, UK
Age: 32
probably the only thing i didn't try!!   sad innit?

thank you once again.

update: I have successfully implemented the avatar size, but it wants height then width. ('61|72') to correctly render 72x61. just for info.


Please support us - we're raising money for Demelza House Children's Hospice, by driving from Land's End to John O'Groats.
http://www.justgiving.com/blowin_tyres



Having Fun, Charity Mini Runs
Raising money...Raising Smiles
Children's Hospice South West & Demelza House Children's Hospice

http://www.smallcarsbighearts.co.uk | http://www.blowin-tyres.co.uk | http://www.ndmr-soapbox.co.uk
Logged Offline
Site Site Private Message Private message Reply: 11 - 15
Justin
May 17, 2006, 9:02am Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
Posts: 15,075
Gender: Male
Posts Per Day: 6.52
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 27 minutes
Location: Tallassee, AL
Age: 22
Yeah, it's switched like that.

How do you like the new way to input things into .dat files?


I do installs for $25 and upgrades for $20.
Technical support is always free.

  Donate to E-Blah!  

My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio

"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV

Logged Offline
Site Site Private Message Private message Reply: 12 - 15
thanetm
May 17, 2006, 9:32am Report to Moderator Report to Moderator

Having fun, Charity Mini Runs...
Posts: 177
Gender: Female
Posts Per Day: 0.15
Reputation: 100.00%
Reputation Score: +5 / -0
Time Online: 12 days 22 hours 6 minutes
Location: Planet Thanet, Kent, UK
Age: 32
seems good so far. a lot more logical.

i'm not really a hard core programmer - i just know enough to get the gist of what's going on and then cause untold damage - you learn loads that way!!

i'd figured out this section of register.pl was where i needed to put stuff, i just didn't quite know what stuff!!


Please support us - we're raising money for Demelza House Children's Hospice, by driving from Land's End to John O'Groats.
http://www.justgiving.com/blowin_tyres



Having Fun, Charity Mini Runs
Raising money...Raising Smiles
Children's Hospice South West & Demelza House Children's Hospice

http://www.smallcarsbighearts.co.uk | http://www.blowin-tyres.co.uk | http://www.ndmr-soapbox.co.uk
Logged Offline
Site Site Private Message Private message Reply: 13 - 15
Craig
May 17, 2006, 11:19am Report to Moderator Report to Moderator

SQL Support Team
Posts: 3,619
Gender: Male
Posts Per Day: 2.11
Reputation: 97.73%
Reputation Score: +215 / -5
Time Online: 14 days 15 hours 11 minutes
Location: Germany
Age: 38
Quoted from Justin
Yeah, you need to put quotes around 71|62.


Yeah, that is what I did ...that is why mine worked


Don't just ask a question.
Instead ask a question, give us a screen shot and post a link to your forum.
Help us help you make your forum better!


If I helped...increase my Reputation by clicking here.
Logged Offline
Site Site Private Message Private message ICQ ICQ Reply: 14 - 15
2 Pages 1 2 » Recommend Thread
Print

E-Blah Community    Modifications    Mod Requests and Support  ›  auto avatar mod request