![]() |
That line needs to go in global.php above the code you added for this hack :)
|
Dar! Ok, works beautifully now. You rule!
|
NTLDR, i made small add-on for hack (template modification), wich make threads with new post bold and threads without no. May be someone likes it:
in template forumhome_latestthreadbit find: HTML Code:
<a href="showthread.php?$session[sessionurl]threadid=$thread[threadid]" title="$thread[preview]"><strong>$thread[title]</strong></a> HTML Code:
<if condition="$show['firstnew']"><a href="showthread.php?$session[sessionurl]threadid=$thread[threadid]" title="$thread[preview]"><strong>$thread[title]</strong></a><else /><a href="showthread.php?$session[sessionurl]threadid=$thread[threadid]" title="$thread[preview]">$thread[title]</a></if> Good Luck |
HTML Code:
<if condition="$thread['sticky'] == 1">image code here</if> |
thanks, i was thinking it`s gonna be easy ;)
|
Brilliant hack.. but how do I make it only choose the threads from one certain forum.. and not the others?
|
NTLDR : Does this do anything to server load?
|
Adds one query to forumhome, so you shouldn't notice any decrease in performance.
|
Hi there again,
I just figured out, that the hack doesn't display closed threads :( Would be useful, if it would do this, because from time to time I post new threads and afterwards close them at once. Those posts should be visible there too .. don't you think so? Any idea, how to fix that? Thanks in advance! Best regards... Goyko |
Remove the section that looks like AND open <> 1 in the code you have added.
|
All times are GMT. The time now is 01:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|