Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Changing place of TopPosters???
ntuyelik
New
How can I put Top Posters section over the tags section on side panel?
0
Comments
im not sure of the proper way to re-arrange it but i was able to devise a workaround
add this on default.php at line 70
$Sender->AddModule($TopPostersModule);//add code below after this line //array_keys($Sender->Assets['Panel']); //list of modules processed before Top Posters $i = 0; foreach($Sender->Assets['Panel'] as $k => $val){ //'string' gotten from the array_keys if($k == 'TagModule') break; $i++; } $last['TopPostersModule'] = array_pop($Sender->Assets['Panel']); array_splice($Sender->Assets['Panel'],$i,0,$last);
code picks up the index position of the TagModule and uses it in array_splice -- inserting the "pop-ed" Top Poster Array value