Quote:
03-23-03 at 07:46 PM Alchemyst said this in Post #16
Is there a way too intergrate this with the Styles in Postbit hack. So that mods who have a scheme that is non-selectable it shows up as the default?
|
OK. I have this working on my board, but I think part of it is working because I have the postcounter hack installed (the one by Bira and Freddie)
Here's the code you need to modify: (Please understand queries before you try to do this. I am writing the instructions this way to enable you to use it with other hacks.)
Find:
Code:
style.title as styletitle
Add After:
Code:
,style.userselect as userselect
Find:
Code:
if (!$getperms['cangetattachment']) {
$viewattachedimages=0;
}
Add After:
Code:
if (!$post[userselect]) {
$post[styletitle]="Default";
$post[styleid]=1;
}
Find:
Code:
style.title as styletitle
Add After:
Code:
,style.userselect as userselect
Find:
Code:
$post[postcount] = ++$postcount;
Add After:
Code:
if (!$post[userselect]) {
$post[styletitle]="Default";
$post[styleid]=1;
}
I am serious though. If you don't understand what the queries mean, then don't try this hack. Email me and send me your showthread.php and I will do it for you instead.
Amy