The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Seperating important & stick threads from the rest
Hi all, i think the subject pritty much explains what i'm after, but i'll go into some detail.
How would I go about setting up the thread display to seperate the Important and Sticky from the rest of the thread listing? I'm talking about some physical divide on the page so that people can tell the diffrence between announcements and things that need to be noted (like rules for a specific forum). if no one can help then i'll look into doing it myself. thanx |
#2
|
||||
|
||||
Well for seperating announcments, without hacking, would easy enough;
Open up the forumdisplay_threadslist template, find: Quote:
Code:
<tr valign="top"> <td colspan="10"><img src="{ imagesfolder}/clear.gif" alt="" width="1" height="1" /></td> </tr> |
#3
|
||||
|
||||
You star, that's just what I needed
Quote:
But i fear it's a bit more complex than that (everything is OK in theory, but never in pratice |
#4
|
||||
|
||||
Actually it's rather easy, since i've just done it
Open up forumdisplay.php and find: PHP Code:
PHP Code:
Quote:
Code:
<tr valign="top"> <td colspan="10"><img src="{imagesfolder}/clear.gif" alt="" width="1" height="1" /></td> </tr> |
#5
|
||||
|
||||
You are a star, you saved me a lot of faffing about (i'm sure i would have found the answer, but i'm too lazy )
you should release this officially as a tweak thanking ye kindly good sir. |
#6
|
||||
|
||||
Hehe, it's no problem at all.
I may release it |
#7
|
||||
|
||||
other question...if i want it look like below:
stick thread<==this is title all stick threads here thread starter replies views thread list here how to do that?thankz |
#8
|
||||
|
||||
I think I understand you, let me try it in a few minutes.
|
#9
|
||||
|
||||
Wouldn't the announcement seperator be better at the very bottom of the forumdisplay_announcement template? Otherwise as it is, if there are no announcements, the seperator is still shown, this way it's only shown if there is an announcement present..
|
#10
|
||||
|
||||
this hack works well if you have some stickies on your forum (as shown in the attachment on my forum) but if you don't have any, it don't work (i.e. you have an announcement that you want seperated off.)
I did see another template edit on this forum to give the announcements there own feel, i might do this, but would prefer to keep it as it where, but with the line showing up (i hope you understood all that?) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|