MyBB Community Forums

Full Version: How to find where code is?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(I am a novice)

In the template postbit, for example, we have "{$post['usertitle']}", which would lead me to assume that to edit user titles, I need to locate post_usertitle, but Search/Replace gives no results for templates with that name. Same thing for {$ignore_bit}, {$deleted_bit}, {$post['user_details']}, etc.

So if I wanted to edit one of those things, how should I go about locating it?
this may help you https://community.mybb.com/thread-214420.html

If you need a custom theme, I can create one just for you. Feel free to get in touch, and we can chat about what you're looking for!

Regards
Xferno
(2023-12-16, 02:39 PM)ArtemidaForum Wrote: [ -> ](I am a novice)

In the template postbit, for example, we have "{$post['usertitle']}", which would lead me to assume that to edit user titles, I need to locate post_usertitle, but Search/Replace gives no results for templates with that name. Same thing for {$ignore_bit}, {$deleted_bit}, {$post['user_details']}, etc.

So if I wanted to edit one of those things, how should I go about locating it?

you can two way search variables in your theme :
1. open your theme xnml with advanced editors like notepad++  and search for it.
2. go to you database and in mybb_templates  templates search in template field