Just change the "clear.gif" reference to the image you want to use. You must change the height and width settings to the height and width of the new image though. If you do not know what that is, just remove it. You would then use a line simular to the following:
If you want to know how to do this, follow these instructions.
[high]Note:[/high] Do this only after you have successfully installed this hack.
Make a directory under your {imagesfolder} directory called "divider" or whatever you want to call it and put all your images that you wish to pull from in there. Name them "1.gif", "2.gif", etc...
Edit your "phpinclude" template and add the following to the bottom of it:
[high]Note:[/high] Modify the "divider" to be the name of the directory you created under {imagesfolder}.
[high]Note:[/high] Change the (1,6) to 1,the number of images in your "divider" directory). If you 25 images in your divider directory, it would says (1,25);
Save the "phpinclude" template.
edit your "forumdisplay_sepsai" template.
Replace the default values from the hack in this template with the following:
[high]Note:[/high] Change the bgcolor="#000000" to any color you like. You can type in a 6-digit hex code (if you know it) or just replace the "#000000" with "black" or "red" or whatever.
If you use this hack please click the INSTALL button - thank you!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Does this hack actually work? I would like to try it on 2.3.3 board but I don't want to start installation if it doesn work. How serious is this issue and is this hack still supported? Cheers.
Ok thanks for the reply assassingod - this looks like a great hack
I'm assuming you are pretty much stuck on fixing this move problem? Any ideas? I'm more than happy to try and help you fix it... in fact I'm playing around with it at the moment, so any advice on what you've tried already would be helpful.
if(!$addedRow and $stickyids and $thread[sticky] == 0 and $addedRow = true){
Can you explain what it's testing $addedRow for? I know it's not the key to fixing this, but I just wanted to check my knowledge of the existing hack. Cheers.
I'm really confused now. Having assumed this hack wasn't going to work due to the 'moving thread' issue it appears to work fine on my 2.3.3 board... how is that possible?! lol
I'm really confused now. Having assumed this hack wasn't going to work due to the 'moving thread' issue it appears to work fine on my 2.3.3 board... how is that possible?! lol
Isn't it a little confusing though? I thought there was meant to be a bug when you moved threads but I can't seem to recreate it. I'm too nervous to put this on my live site in case it reappears...
Well i'm not sure to be honest. Maybe 2.3.2+ versions have the code changed a little, i have no idea. I will test out on a 2.3.4 board and see what happens.
Here as an interesting variation of the Moved problem. Initially, after installing it, it put Moved's in the separated section.
Now, if the Moved is one below the current post, it puts the current post into another separated section. Of course, since the Moved can't "move" back up towards the top, it is only a problem until another post becomes the current one. This was after I installed Xenon's multiple announcement hack. https://vborg.vbsupport.ru/showthrea...threadid=40604
Hopefully this provides some insight to solving the problem.
PHP Code:
$announcementbit="";
$announcements=$DB_site->query("SELECT announcementid,startdate,title,user.username,user.userid,user.usertitle,user.customtitle
FROM announcement
LEFT JOIN user
ON user.userid=announcement.userid
WHERE startdate<=$datenow AND enddate>=$datenow AND $forumlist ORDER BY startdate DESC");
eval("\$announcementbit .= \"".gettemplate('forumdisplay_announcement_header')."\";"); // Header for all announcements - Alexia Smith
while($announcement=$DB_site->fetch_array($announcements)) {
if ($foruminfo[allowratings]) {
$thread[rating]='clear.gif';
eval("\$threadrating = \"".gettemplate('forumdisplaybit_threadrate')."\";");
$backcolor = '{secondaltcolor}';
$bgclass = "alt2";
} else {
unset($threadrating);
$backcolor = '{firstaltcolor}';
$bgclass = "alt1";
}
if ($announcement[customtitle]==2) {
$announcement[usertitle] = htmlspecialchars($announcement[usertitle]);
}
$announcement[postdate]=vbdate($dateformat,$announcement[startdate]);
ok im having troubles with this hack. I know it works because i used it on my other version but now I have 2.3.7 and i dont get any errors its just that nothing happens like i look at the forum display and no separation.