- Posts: 11
- Thank you received: 0
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.
Question need module to get these variables
16 years 3 weeks ago #44582
by ringlas
need module to get these variables was created by ringlas
Hello,
I want to create a module for kunena that displays a form in the front page, the registered user writes something in the form and when he sends it, it opens a thread in a certain category in the forum.
The script that I have written provides 1 variable that would be for the message and 1 for the title. However, before I import something in the database I need to get this user's name, the date, his IP, e-mail, etc. And in the end to update his number of posts.
I personally would like to ask for a module that gives me these variables in an echo variant (I will comment the printing) and I will add my database queries plus my script.
If anyone has something that could ease my life for all of this I'm trying to make, I would be very grateful!
Thanks to whoever responds!
I want to create a module for kunena that displays a form in the front page, the registered user writes something in the form and when he sends it, it opens a thread in a certain category in the forum.
The script that I have written provides 1 variable that would be for the message and 1 for the title. However, before I import something in the database I need to get this user's name, the date, his IP, e-mail, etc. And in the end to update his number of posts.
I personally would like to ask for a module that gives me these variables in an echo variant (I will comment the printing) and I will add my database queries plus my script.
If anyone has something that could ease my life for all of this I'm trying to make, I would be very grateful!
Thanks to whoever responds!
Please Log in or Create an account to join the conversation.
16 years 3 weeks ago #44596
by Cerberus
Replied by Cerberus on topic Re: need module to get these variables
look at the profilebox.php file all the vars you need are used in there except the IP one. I would list them for you but im tired and need sleep but thought id post to get u started will add more info when im more awake/.
Please Log in or Create an account to join the conversation.
16 years 2 weeks ago #45616
by ringlas
Replied by ringlas on topic Re: need module to get these variables
Thank you very much! I hadn't got around this module since last week, but I got to it again and I checked your answer and I was quite satisfied! ^^
I would appreciate any further help if I have some difficulties which most probably I will... xD Thanks again!
I would appreciate any further help if I have some difficulties which most probably I will... xD Thanks again!
Please Log in or Create an account to join the conversation.
16 years 2 weeks ago - 16 years 2 weeks ago #45622
by ringlas
Replied by ringlas on topic Re: need module to get these variables
Hello again! 
The tip you gave me was very helpful indeed! However, I came across this:
I can get the name, user name, id, email and time stamp but I also need the user's IP.
I also need to increase the number of posts he has by one and update it.
And finally (if I am not getting too annoying), what is this field 'thread' in the database, in table fb_messages?
I am really looking forward to anyone who helps me! Big thanks in advance!
The tip you gave me was very helpful indeed! However, I came across this:
I can get the name, user name, id, email and time stamp but I also need the user's IP.
I also need to increase the number of posts he has by one and update it.
And finally (if I am not getting too annoying), what is this field 'thread' in the database, in table fb_messages?
I am really looking forward to anyone who helps me! Big thanks in advance!
Last edit: 16 years 2 weeks ago by ringlas.
Please Log in or Create an account to join the conversation.
16 years 2 weeks ago #45884
by ringlas
Replied by ringlas on topic Re: need module to get these variables
Okay, I did manage to get everything I need for the user's info.
Now I want to ask which tables in the database should I update/import for the proper implementation of the new post?
Increase the number of posts of the user, fb_messages, fb_messages_text and in fb_categories latest post in the current category.
Is that all?
Now I want to ask which tables in the database should I update/import for the proper implementation of the new post?
Increase the number of posts of the user, fb_messages, fb_messages_text and in fb_categories latest post in the current category.
Is that all?
Please Log in or Create an account to join the conversation.
16 years 2 weeks ago #45890
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re: need module to get these variables
Hello,
I think it's correct.
With Kunena 1.6 and the new API, you will can do this more easily
I think it's correct.
With Kunena 1.6 and the new API, you will can do this more easily
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
Time to create page: 0.215 seconds