Search found 38 matches

by caiocald
Sat Dec 22, 2018 8:36 am
Forum: Extension Writers Discussion
Topic: [SOLVED] Restoring posts?
Replies: 7
Views: 602

Re: Restoring posts?

Toxyy wrote:
Sat Dec 22, 2018 7:23 am
caiocald wrote:
Sat Dec 22, 2018 4:15 am
Have you tried searching with this extension?
It's a certain function probably within mcp.php so martii's extension can't help right now unfortunately.

By the way I think he has a newer version, but I can't remember.
Look at the link from his repository in github
by caiocald
Sat Dec 22, 2018 4:15 am
Forum: Extension Writers Discussion
Topic: [SOLVED] Restoring posts?
Replies: 7
Views: 602

Re: Restoring posts?

Have you tried searching with this extension?

Att

viewtopic.php?t=2283446
by caiocald
Fri Dec 21, 2018 11:48 pm
Forum: Extension Writers Discussion
Topic: $_POST array
Replies: 8
Views: 811

Re: $_POST array

Nick225 wrote:
Fri Dec 21, 2018 11:14 pm
Yup.. That's what I am thinking. Request them one by one and list their types.
The idea of _Post and use your data is now history. You have to tell us what every field is.
Yes!
by caiocald
Fri Dec 21, 2018 10:29 pm
Forum: Extension Writers Discussion
Topic: $_POST array
Replies: 8
Views: 811

Re: $_POST array

In my extension project I used this code to select my requests. I do not speak English very well, I hope I have helped. $data = array( 'comp1' => $this->request->variable('comp1',0), 'comp2' => $this->request->variable('comp2',0), 'comp3' => $this->request->variable('comp3',0), 'comp4' => $this->req...
by caiocald
Fri Dec 21, 2018 8:17 am
Forum: Extension Writers Discussion
Topic: How to Capturing the topic_id variable inside a form action (controller with route)? [resolved]
Replies: 39
Views: 1564

Re: Help with the adaptation of a tool in php for phpbb extension

Sorry, you did not solve my problem with this code. And I'm not lacking, I'm just trying to learn phpbb. by the way, neither you nor I are born knowing anything. My extension form appears on more than one topic. When the user clicks submit on the form, the form will need to submit the topic_id in wh...
by caiocald
Thu Dec 20, 2018 7:11 pm
Forum: Extension Writers Discussion
Topic: How to Capturing the topic_id variable inside a form action (controller with route)? [resolved]
Replies: 39
Views: 1564

Re: Help with the adaptation of a tool in php for phpbb extension

I would suggest to try the skeleton tool to check out the way extension coding work in their different context (acp, ucp, mcp, standard page ...) Hi, Canonknipser I'm using his model as a reference and it has helped me a lot. But for this case of the topic, I could not find anything. Thanks for the...
by caiocald
Thu Dec 20, 2018 7:01 pm
Forum: Extension Writers Discussion
Topic: How to Capturing the topic_id variable inside a form action (controller with route)? [resolved]
Replies: 39
Views: 1564

Re: Help with the adaptation of a tool in php for phpbb extension

There is no way to "analyze" your code, as you do not have a link to your GitHub repository. And please do not see this as an invite to attach a zip here or in a private message. And well, what can I say, if you can not manage to request an input variable from a form, there is a long road ahead of ...
by caiocald
Thu Dec 20, 2018 9:35 am
Forum: Extension Writers Discussion
Topic: How to Capturing the topic_id variable inside a form action (controller with route)? [resolved]
Replies: 39
Views: 1564

Re: Help with the adaptation of a tool in php for phpbb extension

All nice and dandy it is in the current URL, but if it is not in your form action URL you will not be able to request it. So you either have to append it to your form action's URL or add a hidden input field with the current topic identifier as a value. Then upon submission you can request it with ...
by caiocald
Thu Dec 20, 2018 5:01 am
Forum: Extension Writers Discussion
Topic: How to Capturing the topic_id variable inside a form action (controller with route)? [resolved]
Replies: 39
Views: 1564

Re: Help with the adaptation of a tool in php for phpbb extension

definitely does not work.

I enabled the php include in ACP panel security and it still failed.

Code: Select all

<!-- PHP -->echo "$_GET['t']";<!-- ENDPHP -->
It's ... Finishing this extension is going to be a fight ...
by caiocald
Thu Dec 20, 2018 3:54 am
Forum: Extension Writers Discussion
Topic: How to Capturing the topic_id variable inside a form action (controller with route)? [resolved]
Replies: 39
Views: 1564

Re: Help with the adaptation of a tool in php for phpbb extension

i try:

Code: Select all

<input type="hidden" name="topic_id" value="<?= echo"$_GET['t']";?>">
but no... :(
by caiocald
Thu Dec 20, 2018 3:25 am
Forum: Extension Writers Discussion
Topic: How to Capturing the topic_id variable inside a form action (controller with route)? [resolved]
Replies: 39
Views: 1564

Re: Help with the adaptation of a tool in php for phpbb extension

how would I specify the value of the imput?

Code: Select all

<input type="hidden" name="topic_id" value="">
thankssssssssssssssssssssssssssssssss
by caiocald
Thu Dec 20, 2018 3:21 am
Forum: Extension Writers Discussion
Topic: How to Capturing the topic_id variable inside a form action (controller with route)? [resolved]
Replies: 39
Views: 1564

Re: Help with the adaptation of a tool in php for phpbb extension

When the user clicks the submit form button Show me this in your github, likely you'll need to add the topic id into the form itself with a hidden input, then you'll be able to pull the data with a request var. OMG THATS THE PONIT! I'll try and tell you link for my github https://github.com/caiocal...
by caiocald
Thu Dec 20, 2018 2:20 am
Forum: Extension Writers Discussion
Topic: How to Capturing the topic_id variable inside a form action (controller with route)? [resolved]
Replies: 39
Views: 1564

Re: Help with the adaptation of a tool in php for phpbb extension

When are you calling formulariopontuacao()?
When the user clicks the submit form button
Also try: $this->request->variable('t', '');

Code: Select all

$topic_id = $this->request->variable('t', '');
return ''
by caiocald
Thu Dec 20, 2018 1:58 am
Forum: Extension Writers Discussion
Topic: How to Capturing the topic_id variable inside a form action (controller with route)? [resolved]
Replies: 39
Views: 1564

Re: Help with the adaptation of a tool in php for phpbb extension

Toxyy wrote:
Thu Dec 20, 2018 1:29 am
caiocald wrote:
Thu Dec 20, 2018 1:12 am

Code: Select all

 $topic_id = $this->request->variable('topic_id',0);
Try t instead of topic_id

Code: Select all

$topic_id = $this->request->variable('t',0);
return 0
by caiocald
Thu Dec 20, 2018 1:12 am
Forum: Extension Writers Discussion
Topic: How to Capturing the topic_id variable inside a form action (controller with route)? [resolved]
Replies: 39
Views: 1564

Re: Help with the adaptation of a tool in php for phpbb extension

Once again, I do not know your project, nor do I (or anyone else probably) have the time to dig into it for you. And there are a lot of extensions out there, some of which are likely to do something similar to what you're after. You will have to look for yourself through the Customisation Database ...

Go to advanced search