1
raskolt
Re: Saying Hello to Xoops signed in user
  • 2006/8/6 9:28

  • raskolt

  • Just popping in

  • Posts: 17

  • Since: 2006/3/2 2


Quote:

skenow wrote:
declare $xoopsUser as a global variable in your PHP code. You can then access the various attributes of the user with something like this

$username $xoopsUser->getVar('uname');


See this for more information.


Thanks a lot Steve. This works fine If I could complete the module and if it works, I will write your name to the credits.



2
raskolt
Re: Saying Hello to Xoops signed in user
  • 2006/8/5 21:22

  • raskolt

  • Just popping in

  • Posts: 17

  • Since: 2006/3/2 2


Do you know any tutorial that gives these codes together. I read some of them and I think they are giving very limited information.

I am just trying to reach a signed in XOOPS user's username(uname) in the database. I will process it and write it to the screen. How can I get the information of a XOOPS user? That is the question. Thats all.

I think the best is to examine other XOOPS modules.



3
raskolt
Re: Saying Hello to Xoops signed in user
  • 2006/8/5 20:25

  • raskolt

  • Just popping in

  • Posts: 17

  • Since: 2006/3/2 2


I am still trying in PHP, but I could not achieve to show them in php.

I know what you are talking about. First I had tried to show these things in a custom block. Then I gave up. Now I am trying to show them in a block.



4
raskolt
Re: Saying Hello to Xoops signed in user
  • 2006/8/5 15:05

  • raskolt

  • Just popping in

  • Posts: 17

  • Since: 2006/3/2 2


Thank you.



5
raskolt
Re: Saying Hello to Xoops signed in user
  • 2006/8/5 12:56

  • raskolt

  • Just popping in

  • Posts: 17

  • Since: 2006/3/2 2


Thanks. That code does the job.
In fact, I had asked that in the code block, in php, how can I reach that information. This code works in the templates.

I will use this code to make some process, so I have to reach the user information in the php file. I think most probably it is a code like this.



6
raskolt
Saying Hello to Xoops signed in user
  • 2006/8/5 12:11

  • raskolt

  • Just popping in

  • Posts: 17

  • Since: 2006/3/2 2


Hello
I have designed a module. I nearly came to the end. Do you know which code allows me to connect the signed in users information.
Assume that I want to say hello to signed in XOOPS user. In the code block, which code allows it. I searched and tried codes, but I could not find it. I think there is a simple code in XOOPS that allows it.

Thanks



7
raskolt
Re: A New Xoops Module
  • 2006/7/28 21:28

  • raskolt

  • Just popping in

  • Posts: 17

  • Since: 2006/3/2 2


Thanks. I had found some of the documents. Also the module Lisaise is exactly the one that I need. however, I could not connect the XOOPS database. In fact I installed the sample module. I wrote a MySQL file for it exactly how it is defined in the doc, but until now I could not create a table in the database.
I think creating a module with database access is very hard even the module is not very complicated. :(



8
raskolt
A New Xoops Module
  • 2006/7/24 11:38

  • raskolt

  • Just popping in

  • Posts: 17

  • Since: 2006/3/2 2


I designed a module which allows the registered users to post limited messages to the admin. In fact, with this module we will serve consultancy service. Users will have limited message posting right, for instance 1 or 2.
We will arrange these rights for the registered users. Do you know how can I arrange these codes for XOOPS or Can I handle this thing by hacking a module?
Where are the XOOPS guide for the module building?
Thanks for the replies.



9
raskolt
limiting the number of articles
  • 2006/6/13 8:25

  • raskolt

  • Just popping in

  • Posts: 17

  • Since: 2006/3/2 2


I want to write an article script in Xoops.
This module will have some specifications like other article modules. Users can post article and articles will be showed according to their posting date, popularitl, etc. But in this module, I want to grant rights to registered users to write article in numbers. For instance, I will grant six article writing right. When he writes the six articles, his right will expire and he will claim a new right from me. By doing so, I am planning to costruct a web site with good content, since users will not waste their right to write.
Is there any article module in this project. Or can you suggest some codes to me.
Thanks



10
raskolt
To change the width of Xoops Block
  • 2006/4/13 21:20

  • raskolt

  • Just popping in

  • Posts: 17

  • Since: 2006/3/2 2


Can we change the width of XOOPS blocks. For instance I want to extend the right block. I want it larger than the left block because of my page's design.
Can I make it by writing codes in XOOPS Themes. Or are these codes in the deepest places of the Xoops.
Do you have any idea?




TopTop
(1) 2 »



Login

Who's Online

275 user(s) are online (190 user(s) are browsing Support Forums)


Members: 0


Guests: 275


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