Quote:
Originally Posted by Noonster
On my site I used my own code it makes it so it shows words on the lines that seperate to make it look nicer...
Code here
Code:
1. Create Phrases:
Type: Global
Varname: delim_sticky
Text: Sticky Threads
Type: Global
Varname: delim_normal
Text: Normal Threads
2. Find this in FORUMDISPLAY:
<if condition="$show['threads']">
<!-- show threads -->
<if condition="$show['stickies']">
$threadbits_sticky
and replace with this:
<if condition="$show['threads']">
<!-- show threads -->
<if condition="$show['stickies']">
<tr>
<td class="thead" width="100%" colspan=7><strong>$vbphrase[delim_sticky]</strong></td>
</tr>
$threadbits_sticky
<if condition="$threadbits">
<tr>
<td class="thead" width="100%" colspan=7><strong>$vbphrase[delim_normal]</strong></td>
</tr>
</if>
Screenshot
Maybe you could intregate that into your hack so others can enjoy it as a plugin?? I was going to just post the code up in the other section as dont know how to create a plugin however you can use it if you wish
Daz
|
Hi Daz,
Thanks for your code: I like it very much that you can use words on the lines. I have another question regarding splitting threads in the threadoverview :
I use sticky threads also for displaying ads on my forum. They are normal sticky threads, and have an advertisement as content. What I would like to know is this : how can I split those advertisements-threads from the regular sticky threads into a separate area, just like you did with sticky threads and regular threads in your picture?
I would like to achieve something like this:
-----------------------------------------------------------------------
Sticky Threads
[ ] [ ] Sticky: Spamming On This Board !!!
-------- Noonster
-----------------------------------------------------------------------
Advertisement Threads
[ ] [ ] Advertisement: New Madonna Single Out Now
-------- Advertisement
[ ] [ ] Advertisement: New Madonna Album Out Now
-------- Advertisement
-----------------------------------------------------------------------
Normal Threads
[ ] [ ] Update: New Style Created
-------- Noonster
-----------------------------------------------------------------------
Is this possible to achieve? Preferable with a Plugin.