Quote:
Originally Posted by exel
For the dev icon, you can probably do something like..
threadbit_display again.
if ($thread['postuserid'] == 1) {
$thread[threadiconpath] = "images/misc/DEVICON.PNG";
}
^ Confirmed it works just fine.
--------------- Added [DATE]1373488952[/DATE] at [TIME]1373488952[/TIME] ---------------
As for your forumhome edit request, there's no hook before the calling of lastpostby
So you might look into: https://vborg.vbsupport.ru/showthrea...ighlight=color
As that adds a hook before it, all you'd have to do is edit the php code.
|
The thread icon:
It's working perfectly when I make a thread, thank you so much for that. But I also want it to change on ANY thread that I post on (really just to notify that I have posted on said thread)
The forumhome recoloring:
Now that I have a hook, what would my code be? I tried running this:
Code:
if ($thread['postuserid'] == 1) {$thread['lastposter'] = '<span style="color: #0099FF;">' . $thread['lastposter'] . '</span>';}
The product itself works its adding HTML mark up but I want it to be a blue color not my HTML mark up and I only want it to work for USER ID = 1, I'm trying to mess with the PHP I will try and reply before you do if I find anything that will work.