Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 24 Oct 2018, 09:28
sapgaurav sapgaurav is offline
 
Join Date: Apr 2009
Want to edit new post php file

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
Reply With Quote
  #2  
Old 24 Oct 2018, 20:21
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
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...efilled-editor
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer

GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:04.

Layout Options | Width: Wide Color: