The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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 ![]() |
#2
|
||||
|
||||
![]()
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?
|
#3
|
|||
|
|||
![]()
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 |
#4
|
||||
|
||||
![]()
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. |
#5
|
|||
|
|||
![]()
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 Quote:
|
#6
|
||||
|
||||
![]()
I don't see why you can't just modify that template (as I said above) to make it bold and red:
HTML Code:
<if condition="$show['threadtitle']"><em><span style="color:red; text-weight: bold;">$thread[threadtitle]</span></em></if> |
#7
|
|||
|
|||
![]()
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 ? 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> something like this ? Code:
<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> |
#8
|
||||
|
||||
![]()
The template is threadbit_deleted.
Code:
<em>$thread[threadtitle]</em> Code:
<span style="color:red; text-weight: bold;">$thread[threadtitle]</span> |
#9
|
|||
|
|||
![]()
holy chips this is what i was looking for
incredible the things you guys know pffff thnx a 1000 times |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|