Jump to the post that solved this thread.
Solved: 5 Years, 5 Months, 3 Weeks ago [How To?] disable post author in a topic
#1
Solved: 5 Years, 5 Months, 3 Weeks ago
Hello,

I have made 2 topics, one called Rules and one called Howto enter forum.

On both topics I want to disable the post author option so that is showing who had made this topic. Only I want this by this 2 topics and not on all topics. So how can I fix to disable author options on this two topics??

Thanks everyone!!
Reply
#2
Solved: 5 Years, 5 Months, 3 Weeks ago
Hi
Be aware that this tutorial isn't tested!
Go to phpmyadmin and click on your forum database in left, then find mybb_threads table and click on it
Then remove the username row (not all) of your specific thread (tap edit button)
This may work for you!
Good luck
Reply
#3
Solved: 5 Years, 5 Months, 3 Weeks ago
(2016-01-18, 02:22 PM)Alizke Wrote: Hi
Be aware that this tutorial isn't tested!
Go to phpmyadmin and click on your forum database in left, then find mybb_threads table and click on it
Then remove the username row (not all) of your specific thread (tap edit button)
This may work for you!
Good luck

Thanks but the username is still showing on the top of the topic, thats what I mean not in the forum self or on last post its the author at the topic self on top
Reply
#4
Solved: 5 Years, 5 Months, 3 Weeks ago
There is really nobody with a sollution???
Reply
#5
Solved: 5 Years, 5 Months, 3 Weeks ago
you have to install template conditionals plugin & use required conditionals in the templates
Reply
#6
Solved: 5 Years, 5 Months, 3 Weeks ago
(2016-01-24, 05:05 PM).m. Wrote: you have to install template conditionals plugin & use required conditionals in the templates


I have installed already this plugin for other thinks, so I have this plugin. But how or wich code can I use to delete on one topic the author??

Thanks
Reply
#7
Solved: 5 Years, 5 Months, 3 Weeks ago
<if !in_array($thread['tid'], array(1,2,3)) then>{$thread['profilelink']}</if>
Of course change 1,2,3 to proper IDs.
Reply
#8
Solved: 5 Years, 5 Months, 3 Weeks ago
(2016-01-24, 07:54 PM)Destroy666 Wrote:
<if !in_array($thread['tid'], array(1,2,3)) then>{$thread['profilelink']}</if>
Of course change 1,2,3 to proper IDs.

Thanks but now where to put the code Wink
Reply
#9
Solved: 5 Years, 5 Months, 3 Weeks ago
^ forumdisplay_thread template consists of {$thread['profilelink']}
you can use suggested code there (replace existing code with conditional)

if you also want to remove author name on actual topics then
you can use similar condition for {$post['profilelink']} in the postbit templates
Reply
#10
Solved: 5 Years, 5 Months, 3 Weeks ago
(2016-01-27, 10:33 AM).m. Wrote: ^  forumdisplay_thread template consists of   {$thread['profilelink']}
you can use suggested code there (replace existing code with conditional)

if you also want to remove author name on actual topics then
you can use similar condition for {$post['profilelink']} in the postbit templates

Thanks allot, but if I use the code this will happend to all the threads or posts?? And I want it by one post only
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)