![]() |
Replace char in thread title (class_dm_threadpost)
Hi,
i want to replace single characters from thread titles in specific forums only. i've added a small piece of code Code:
how to get the forumid in class_dm_thread_post? Any idea? cheers |
The forumid would be contained in:
PHP Code:
|
I need do same
How this work exactly? Can any1 Help me? I want remove - and _ on specific forums... |
The OP has edited the file class_dm_threadpost.php and inserted the code in bold into the function verify_title() where shown (it still looks like it's around line 110). But you also need to use $this->info['forum']['forumid'] instead of $foruminfo['forumid'], so maybe like this:
Code:
function verify_title(&$title) Of course you'd replace 1, 2, 3 with the list of one or more forum ids where you want those characters removed. |
All times are GMT. The time now is 01:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|