PDA

View Full Version : Want to edit new post php file


sapgaurav
10-24-2018, 06:28 AM
Hello

I want to edit new post php file ( Create New Topic ) php file

http://www.xyz.com/new-content/20

Its example url which php file i want to edit

What exactly i want

1. In Create New Topic there are 2 fields

Title and Text

2. I want predefined content in both fields

3. We want to pass custom title and custom text in both field.

5. We have placement papers pages, sometimes when user open any placement paper then that paper do not exists on our site. in php we knew what placement paper he was searching which is not exists.

So when paper do not found then we create a custom button and form ( post method ) where we will pass paper name in form

When anyone click on that button then user will go to create new topic page here http://www.xyz.com/new-content/20

Now here we want to receive title and text via php post method and put in title and text

I want to do it. so i need to know which php code is use to display new content page

noypiscripter
10-24-2018, 05:21 PM
vBulletin doesn't directly use PHP to render content. It uses templates. Editing vBulletin templates is not recommended as it may result to template merge conflicts that you have to resolve whenever you perform an upgrade.

There's an easier way to pre-populate the title and text fields without modifying templates or PHP files. Check it out at:

https://vbmods.rocks/forum/vbulletin-5-modifications/vbulletin-5-products-and-extensions/530-prefilled-editor