11
SERB-4-LIFE
Problems with "$user->getVar()" function

Hello,

I have problems displaying information from the user accounts in xoops, i added new fields to XOOPS user accounts and now i cant display them.

I tried this and it doesnt work.
$date_value $user->getVar("name_of_the_date_field_in_sql"); 
echo 
$date_value ;

and it doesnt display anything.

Can someone help me a bit with this.

Thank you.


Hey, my frend and resolved this problem but we have another one now, and its with this function.

$edituser->setVar("name_of_the_date_field_in_sql"new_value);


When we do this like for example this user has 10 points and we edit his account and add 5 more points, it becomes 15 so we put 15 in there and update. It doesnt do anything.

My frend said that with the first problem we had to add the sql field into the user.php file or something like that, so maybe its similar to this. But which file do we add the field to.

Thanks again.



12
SERB-4-LIFE
xmail problem

hello,

i just tried sending an email to all my members on my site and the site has around 13 000 members, it was sending emails for about 5 hours then the server went down, so i just wanted to let you know how good the module is lol.



13
SERB-4-LIFE
Re: How can I add HTML to existing modules...

What you can do is find a template file for the part of the module you want to insert the html into and just add it there. I would do it that way and its the easiest way.



14
SERB-4-LIFE
Re: updating a file??

Yeh i tried just overwriting but it didnt work, so i gues it has 2 be loaded into mysql!!

So is there i way for me to do it.

Edit.

One more question, is there a way to edit the look of the administration of the site???

Is there a template file or something?



15
SERB-4-LIFE
updating a file??

How do i update only 1 file in a module??? Like for example the menu file in the admin folder.

I dont want to update the whole module coz then it stuffs everything up!

Is it possible just to update only 1 file?



16
SERB-4-LIFE
Re: avatars wont work?

Yeh well thats the problem, coz i only get the text i showed u before.

How do i fix that?



17
SERB-4-LIFE
Re: avatars wont work?

When i turn on the Mysql/blocks debug i get this message when i try to change the avatar.

SELECT * FROM xoops_config WHERE (conf_modid = 0 AND conf_catid = 1) ORDER BY conf_order ASC
SELECT sess_data FROM xoops_session WHERE sess_id = '2b139e44ac1b21de04946dd8cbbewdwd2'
SELECT * FROM xoops_users WHERE uid=1095
SELECT * FROM xoops_config WHERE (conf_modid = 0 AND conf_catid = 2) ORDER BY conf_order ASC
Total: 4 queries

Blocks
Total: 0 blocks

Execution Time
XOOPS took 0.13327884674072 seconds to load.

Extra
Token Validation: Valid token found



18
SERB-4-LIFE
Re: avatars wont work?

I am using XOOPS 2.0.13.1



19
SERB-4-LIFE
Re: avatars wont work?

Nah i dont get any errors on that



20
SERB-4-LIFE
Re: avatars wont work?

I just tried to change the avatar on this site xoops.org and it does the same thing as my site. If you try and select an avatar from this site and go update it wont change it.




TopTop
« 1 (2) 3 4 5 6 »



Login

Who's Online

160 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 160


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