1
marin
2 features ?
  • 2010/10/25 5:21

  • marin

  • Just popping in

  • Posts: 19

  • Since: 2003/1/29


hello,
i suggest 2 great features:
- Usage by default of gravatar linked to the avatar (more easy after for webmaster because it's not save on the server)
- Specific Server for install (reposity) and update new modules
like wordpress system. Indeed, the principal problem of xoops is to know what is the last version version for this or this module...
It's a great work to do but for the webmaster it's very important...

With kregs

2
Burning
Re: 2 features ?
  • 2010/10/25 13:21

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

About Modules repository, we have :
• released in july Resource book, with more than 700 modules
• uploaded all module (I believe Mamba did it) on sourceforge

---

On my side, I had no more time to hunt new releases for each module since last summer. I believe there will no update for Resources book soon : only 4 users have send information about 10 or 12 modules.

The Resource book has been downloaded more than 500 times : sorry to point that, but it is just to confirm that we should find another solution and another xoopser to do the job
Still learning CSS and... english

3
marin
Re: 2 features ?
  • 2010/10/28 5:49

  • marin

  • Just popping in

  • Posts: 19

  • Since: 2003/1/29


and for gravatar?

4
marin
Re: 2 features ?
  • 2010/11/2 13:05

  • marin

  • Just popping in

  • Posts: 19

  • Since: 2003/1/29


up

5
ghia
Re: 2 features ?
  • 2010/11/3 7:39

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It does not seems too difficult to implement.

Now you have in XOOPS something like this in the PHP file
$poster['avatar'] = $com_poster->getVar('user_avatar');

or
$poster['avatar'] = 'blank.gif';

and in the template:
<img class="comUserImg" src="<{$xoops_upload_url}>/<{$comment.poster.avatar}>" alt="" />

Replace them with:
$poster['avatar'] = "http://www.gravatar.com/avatar/" md5strtolowertrim$com_poster->getVar('email') ) ) ) . "?d=" urlencodeXOOPS_UPLOAD_URL $com_poster->getVar('user_avatar') ) . "&s=80";

or
$poster['avatar'] = "http://www.gravatar.com/avatar/" md5strtolowertrim$com_poster->getVar('email') ) ) ) . "?d=" urlencodeXOOPS_UPLOAD_URL "blank.gif&s=80";

and
<img class="comUserImg" src="<{$comment.poster.avatar}>" alt="" />


To test!

If you want another size replace the 80
If you want the size set in your template, move the &s=80 from PHP to your template.

6
marin
Re: 2 features ?
  • 2010/11/3 17:49

  • marin

  • Just popping in

  • Posts: 19

  • Since: 2003/1/29


it's possible to integrate this possibility in the version 2.5?
i thinks it's not a great work to apply this and putt an option in the admin panel for activate or not the gravatars...

Login

Who's Online

123 user(s) are online (78 user(s) are browsing Support Forums)


Members: 0


Guests: 123


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits