View Full Version : soft deleted threads txt
gbox master
07-26-2009, 02:12 PM
when a thread is soft deleted the txt of the thread shows like this :
bla bla bla bla bla bla
what i would like is that this txt shows in another color and bold like this
bla bla bla bla bla bla
so is there a way to alter the code ?
is the code for this located in threadbit ?
would be nice if some one knows how to do this :D
Lynne
07-26-2009, 02:19 PM
What page/where is it you are talking about seeing the thread text - in showthread after you hit the View Post link? In the User CP > Moderator area? Where?
gbox master
07-26-2009, 04:44 PM
its here
like if you soft delete this thread
then when you look at this forum (Programming Discussions) you see the soft deleted threads
and the tx of those is like i say
and this txt i want to change
What page/where is it you are talking about seeing the thread text - in showthread after you hit the View Post link? In the User CP > Moderator area? Where?
Lynne
07-26-2009, 07:37 PM
So you are talking about the thread title of a soft deleted thread on the forumdisplay.php page? An image would have really helped here. (When you say "txt [sic] of the thread", I thought you meant the post text which is why I was confused.)
You need to modify the template for that particular threadbit. To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.
gbox master
07-26-2009, 08:23 PM
i thought this was about php code change in some template
anyway here are the pictures the white ones i want to change in bold red
like the yellow ones are bold they are used for new postings
for the new postings i had to alter some of the script in threadbit normally they only show bold
now with some change in the code they also have another color
so thats why i was wondering if its possible to have the softdeleted postings who show only as bla bla bla bla bla bla by changing some of the code to have them show like bla bla bla bla bla bla
So you are talking about the thread title of a soft deleted thread on the forumdisplay.php page? An image would have really helped here. (When you say "txt [sic] of the thread", I thought you meant the post text which is why I was confused.)
You need to modify the template for that particular threadbit. To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.
Lynne
07-26-2009, 08:33 PM
I don't see why you can't just modify that template (as I said above) to make it bold and red:
<if condition="$show['threadtitle']"><em><span style="color:red; text-weight: bold;">$thread[threadtitle]</span></em></if>
gbox master
07-27-2009, 10:52 PM
ok got it and i think i found the template now
its the threadbit template
only the code you say that i should change is not in it
however i found the code for the deleted threads i think
and i want the deleted threads to be red and bold
so should i edit this code ?
<if condition="$show['deletedthread']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/trashcan_small.gif" alt="<phrase 1="$thread[deletedcount]">$vbphrase[x_deleted_posts]</phrase>" /> </if>
if yes what should i put in this code to make the deleted threads bold and red
something like this ?
<if condition="$show['deletedthread']"> <span style="color:red; text-weight: bold;">$thread[threadtitle]</span> <img class="inlineimg" src="$stylevar[imgdir_misc]/trashcan_small.gif" alt="<phrase 1="$thread[deletedcount]">$vbphrase[x_deleted_posts]</phrase>" /> </if>
I don't see why you can't just modify that template (as I said above) to make it bold and red:
<if condition="$show['threadtitle']"><em><span style="color:red; text-weight: bold;">$thread[threadtitle]</span></em></if>
Link14716
07-28-2009, 12:59 AM
The template is threadbit_deleted.
<em>$thread[threadtitle]</em> is what you are looking to change to
<span style="color:red; text-weight: bold;">$thread[threadtitle]</span>
gbox master
07-28-2009, 06:55 PM
holy chips this is what i was looking for
incredible the things you guys know pffff
thnx a 1000 times
The template is threadbit_deleted.
<em>$thread[threadtitle]</em> is what you are looking to change to
<span style="color:red; text-weight: bold;">$thread[threadtitle]</span>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.