The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
when a thread gets "soft-deleted" i would like to keep title of the thread stay visible for all user groups. at the moment the normal users only see the name of the thread starter and the delete-reason-message. ...but not the original thread title anymore. the admins see it though. i've checked the user group settings but could not find any setting for this. anyone have an idea? (im on vB 3.7) thanks ![]() |
#2
|
|||
|
|||
![]()
I think you'd have to edit the "postbit_deleted" template and insert the parts you want to display (which you can probably find in the "postbit" template). For instance:
Code:
. . <if condition="$show['managepost']"><div class="smallfont" style="float:$stylevar[right]"><a href="postings.php?$session[sessionurl]do=managepost&p=$post[postid]">$vbphrase[manage]</a></div></if> <if condition="$show['profile']"><a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a><else />$post[musername]</if> <if condition="$post['title']">($post[title])</if> </td> </tr> <tr> <td class="alt1"> . . I added the part in red, which adds the title after the user name. |
#3
|
|||
|
|||
![]()
ok, thanks very much. ill try this.
|
#4
|
|||
|
|||
![]()
I'm sorry - I just realized that your comment says "thread" and not "post" - the above shows the title for deleted posts. (I guess that explains why I wasn't able to see deleted post titles like you described, even as an admin).
--------------- Added [DATE]1258656075[/DATE] at [TIME]1258656075[/TIME] --------------- ...but that just makes it easier. In the "threadbit_deleted" template, delete these parts (the parts in red): Code:
$thread[typeprefix] $thread[prefix_rich] <if condition="$show['threadtitle']"><em>$thread[threadtitle]</em></if> </div> <div class="smallfont"> Sorry about that. ![]() |
#5
|
|||
|
|||
![]()
ah, great. it works. thanks again
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|