I have a site that is running PHPBB forum software. When a moderator selects a post for approval, there is an HTML page that launches with the message "Are you sure you want to approve this post?". The page then requires the moderator to confirm the action by clicking a Yes button.

This is the HTML code that prompts the moderator to click the Yes button:

<fieldset class="submit-buttons">
  <input type="submit" name="confirm" value="{YES_VALUE}" class="button1" />  
  <input type="submit" name="cancel" value="{L_NO}" class="button2" />

I'd like to bypass this requirement, where automatically the {YES_VALUE} is passed, as if the moderator clicked the YES button, thereby eliminating the need for the moderator to actually click anything.

Is there a way I can modify the HTML code above to accomplish this?

4 Years
Discussion Span
Last Post by techman41973

the button code is useless
either the form target, or phpbb configuration itself, needs to be altered

Edited by almostbob


I don't want the popup to show. I'd love to modify the php, the issue is that I'm struggling to find the line of code that calls the HTML template file with this button prompt

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.