21
jordi_rc
Re: General procedure to add new fields to user profile
  • 2006/11/22 21:05

  • jordi_rc

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/8/21


Thanks Bandit-X!

I tested your code and works all right!

That is what I needed!


Jordi.
"Battles are fought by those with the courage to believe. They are won by those who find the heart to share." -MANOWAR



22
jordi_rc
how to make quotes
  • 2006/11/22 19:31

  • jordi_rc

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/8/21


Hello!

I will ask a stupid question but usefull as I keep posting these forums, and you have to suffer my posts.

The only way to quote I know is this:

Quote:


Not a great quote.



How do you do to make quotes that I saw with scrollbars, background collor, etc ?

Thanks

Jordi
"Battles are fought by those with the courage to believe. They are won by those who find the heart to share." -MANOWAR



23
jordi_rc
Re: Show the groups of the user in profile
  • 2006/11/22 19:28

  • jordi_rc

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/8/21


Hi Hervé!

What do you mean with :

Quote:

This could be a good article too ...


Do you mean placing this hack in a howto or what?

Many of the modules I finally selected for my XOOPS site are yours, Hervé. They are nice!

As you are a XOOPS core developer maybe you may consider adding something like this to the core of Xoops.

I think maybe add an option when one adds a custom group that choses between "compatible-- yes or not" (a checkbox). If one group is compatible, then mention it regardless if the user belongs to another group. If it is not, display only the group with higher number (later in the list). Maybe also add a number for importance of the group like in the modules, to make a jerarchy.
The compatible groups will use a if bucle, the others a elseif bucle.

This is just an idea, maybe some of you could add this well done, as you know well php and the XOOPS core.

Salut and keep your great work Hervé, I really like your modules.

Jordi
"Battles are fought by those with the courage to believe. They are won by those who find the heart to share." -MANOWAR



24
jordi_rc
Re: General procedure to add new fields to user profile
  • 2006/11/21 21:13

  • jordi_rc

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/8/21


Thanks for the url!

I didn't know that, just supposed as the other args were that way...
I wonder, how can I check if the avatar3d url ends in ".wrl" or ".x3dv"?

Jordi
"Battles are fought by those with the courage to believe. They are won by those who find the heart to share." -MANOWAR



25
jordi_rc
Re: General procedure to add new fields to user profile
  • 2006/11/21 19:31

  • jordi_rc

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/8/21


Hi m0nty I found that the error was in the %s so now it works OK!!

Thanks a lot!

I used %s for avatar3d and %u for credits, and works OK.

I suppose %s is for string and %u for number? What is %d for??

Am I right?

Jordi
"Battles are fought by those with the courage to believe. They are won by those who find the heart to share." -MANOWAR



26
jordi_rc
Re: Buddyfriends module vs directfriends
  • 2006/11/21 10:54

  • jordi_rc

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/8/21


To anyone that tried to install this module bugfixed by me and couldn't:

There was an error in the folder name. Now it is fixed. Try to download and install again.

http://usuarios.lycos.es/ancientgames/xoops/buddyfriends24.zip

Jordi.
"Battles are fought by those with the courage to believe. They are won by those who find the heart to share." -MANOWAR



27
jordi_rc
Re: General procedure to add new fields to user profile
  • 2006/11/20 20:37

  • jordi_rc

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/8/21


Hi m0nty,

I think it is kernel, yes.
I am sure that I didn't modified that lines, I would remmember.

Thanks m0nty I think that is the exact line why it didn't worked. I will try to do it, and tell if is that.

Your hack was very nice, it fits my needs allright.

Do you know if with formulize one can do the following:

- Add avatar selection on new users register ( I hacked that ).

- Access custom fields from php functions easilly ( with getVar)

- Add new fields with their propper name to xoops_users table

It seems that formulize is great for asking new fields just to show them but if someone tested it, maybe can tell us if the new fields can be accessed and manipulated easilly from php programming as those that are in xoops_user table that have comprehensible names.

Thanks again m0nty, you are top of the best.

Jordi.
"Battles are fought by those with the courage to believe. They are won by those who find the heart to share." -MANOWAR



28
jordi_rc
Re: General procedure to add new fields to user profile
  • 2006/11/20 18:47

  • jordi_rc

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/8/21


Oh, it seems it online now, thanks.

I checked it yesterday and this morning and I saw a message that said they "will be back in November".

I downloaded Formulize and saw it, but it seems it is great for adding information or questions files, but it is not aimed to add files like those I want.

avatar3d will be to choose a vrml or x3d file for 3d avatar, so I will need to make a page to choose from many of them, like the 2d avatars of xoops, and allow members to paste a url to a custom avatar.

And credits will work like virtual money, or points, based on member contributions. I also though in cloning TopMembers module for this.

I will try to hack it again or do a module approach.

Thanks davidl2.

Jordi
"Battles are fought by those with the courage to believe. They are won by those who find the heart to share." -MANOWAR



29
jordi_rc
Re: General procedure to add new fields to user profile
  • 2006/11/20 18:20

  • jordi_rc

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/8/21


Sorry davidl2,

I think I've been to impatient...I'm sorry.

As I implemented m0nty hack and modified it a lot, I am reticent to substitute it with Formulize.

But I will look to see if I can do it with Formulize the adding of those fields.

Some time ago I tried to install Formulize and didn't worked in my pc. I will try the new version.

In the other hand, if someone knows my questions please answer or give any advice...

I also thought in creating a module of credits and another relative to 3d avatars, but I didn't created any module so it can take me a lot to do.

Anyway I will try all ways to do this in these days.
If someone wants to stop my suffering helping me in an easy way, I will appreciate.

Sorry for my impatience,


Jordi


(By the way, davidl2 do you know when xoopsdev will be online again? I want to post my Buddyfriends bugfixed. I tried to locate the previous developers but they don't answer my emails. That was many weeks ago. I just want to post the bugfixed and improved Buddyfriends module I bugfixed so they can continue developing. Where should I post it?)
"Battles are fought by those with the courage to believe. They are won by those who find the heart to share." -MANOWAR



30
jordi_rc
Re: General procedure to add new fields to user profile
  • 2006/11/20 17:42

  • jordi_rc

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/8/21


No one knows?

Jordi
"Battles are fought by those with the courage to believe. They are won by those who find the heart to share." -MANOWAR




TopTop
« 1 2 (3) 4 5 6 ... 10 »



Login

Who's Online

237 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 237


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