2 questions about control with own created func in php

Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Forum rules
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Locked
traxion
Registered User
Posts: 3
Joined: Tue Feb 10, 2009 10:35 pm

2 questions about control with own created func in php

Post by traxion » Tue Feb 10, 2009 10:49 pm

question 1
i would like to create though php a "create a topic" function, because i want to add multiple topic automatic to mine phpbb forum. after some research i fount that i needed the tables below

phpbb3_posts
phpbb3_topics
phpbb3_topics_posted

unfortunately are there some unknown field for me as for example the "post_checksum" in the phpbb3_posts table, the value of it is (2b923f57a4603fc73ab182b3f93567f2)

now i've been looking for a default to use add topic function but i'm unable to find it, inside the phpbb lib's. Does anybody have a idee where i can find one? or how to create mine own function?


question 2
i would like to create though php a "user into group" function, because i want to control the users-groups acces thougth the rest of the site. after some research i fount that i needed the tables below

phpbb3_users
phpbb3_user_group

in the user table i see again field where i cant get any info from, for example user_permissions in phpbb3_users, the field user_permissions had a value of (00000000006xv29nwg qlc4pi000000 qlc4pi000000) and some more of this data

now i've been looking for a default function but again i'm unable to find it, inside the phpbb lib's. Does anybody have a idea where i can find one? or how to create mine own function?

already thnx for the help:)
Traxion

User avatar
3Di
Registered User
Posts: 695
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano (I) Frankfurt (D)
Contact:

Re: 2 questions about control with own created func in php

Post by 3Di » Tue Feb 10, 2009 11:00 pm

Want to compensate me for my interest? Don't ask me, just do it
I'm available for custom phpBB jobs, you can PM me the details.
New: my Live Board, Extensions and Tools for phpBB - Men at works.

traxion
Registered User
Posts: 3
Joined: Tue Feb 10, 2009 10:35 pm

Re: 2 questions about control with own created func in php

Post by traxion » Wed Feb 11, 2009 5:05 pm

i don't need to create extra users.. i would like to create the above named functions :)

User avatar
3Di
Registered User
Posts: 695
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano (I) Frankfurt (D)
Contact:

Re: 2 questions about control with own created func in php

Post by 3Di » Wed Feb 11, 2009 8:11 pm

these two should help you out I think..

http://wiki.phpbb.com/Submit_post --> Posts a topic or post to the forum with the information supplied

http://wiki.phpbb.com/Group_user_add --> used to handle adding users to groups.
Want to compensate me for my interest? Don't ask me, just do it
I'm available for custom phpBB jobs, you can PM me the details.
New: my Live Board, Extensions and Tools for phpBB - Men at works.

traxion
Registered User
Posts: 3
Joined: Tue Feb 10, 2009 10:35 pm

Re: 2 questions about control with own created func in php

Post by traxion » Wed Feb 11, 2009 8:20 pm

thnx, i think i can do somemore with those links :)

a question for later maybe when i need more functions
how is it that you can find it and im not :P

don't get me wrong but i'm have been using google for a while to find information about it, but i didn't find any useful information

User avatar
3Di
Registered User
Posts: 695
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano (I) Frankfurt (D)
Contact:

Re: 2 questions about control with own created func in php

Post by 3Di » Wed Feb 11, 2009 8:42 pm

I'm supposed to know how phpbb3 works, still learning though. Also I know what's posted there because I'm actively participating there since the start of it.
Want to compensate me for my interest? Don't ask me, just do it
I'm available for custom phpBB jobs, you can PM me the details.
New: my Live Board, Extensions and Tools for phpBB - Men at works.

Locked