Quote:
Originally Posted by findingpeace
Well, I finally figured out the subforum thing. Requires code edits, as there aren't any hooks nearby. Open up /includes/functions.php
Find:
Code:
$threadinfo = array(
Add in your avatar variables like below (be careful with commas!)
Code:
$threadinfo = array(
'title' => $lastpostinfo['lastthread'],
'threadid' => $lastpostinfo['lastthreadid'],
'avatardateline' => $lastpostinfo['avatardateline'],
'hascustomavatar' => $lastpostinfo['hascustomavatar']
Then you can simply call these variables in a forumhome plugin like so:
$lp_dateline = $lastpostinfo['avatardateline'];
$lp_userid = $lastpostinfo['userid'];
$hascustomavatar = $lastpostinfo['hascustomavatar'];
You can even do this without the forumhome plugin just by getting the variables from template. (Still need the query plugin, of course).
Best of luck!
|
I have been thinking about picking up this app and installing it but I have been a bit concerned to get it and load it based on it requiring source code edits to work correctly. Findingpeace have you considered making the required posts and updating the source code posted on this thread? From what I have seen elsewhere on other non supported mods you don't have to take over sustaining ownership but you could make an incremental improvement. I hope you consider making tha changes and reposting the files... Thanks