Important Notice: Effective immediately, all support will be handled through Discord. Read more about the changes coming to Anodyne's services.

[MOD] Nova2 Awards in Bio Pages

A place to show off (and others to download) completed MODs. Note: support for MODs is handled by third parties, not Anodyne Productions.

mooeypoo Sat Feb 18, 2012 1:16 am

[MOD] Nova2 Awards in Bio Pages

I had this modification for Nova1, and it was time to move it (and tweak!) for Nova2.

This allows you to add all character awards next to the character details in the bio page. It also pops up a popover with the reason for the award, and links to the award details.

I hope you enjoy it.

Demo: http://griffin.saturngirl.net/index.php ... haracter/3

The mod can be downloaded here: https://github.com/mooeypoo/Nova2-Mod--Crew-Bio-Page

~mooey
Find my Nova MODs: https://github.com/mooeypoo
User avatar

Posts: 247


mooeypoo Sat Feb 18, 2012 1:46 am

Re: [MOD] Nova2 Awards in Bio Pages

I just added support for the "Narrow Crew Bio Page" that Anodyne Xtras supplies. You can choose to use either the regular view or the narrow view (just rename the "-narrow.php" file to the original and upload).

Follow the README, it's all there :-)

Enjoy!
Find my Nova MODs: https://github.com/mooeypoo
User avatar

Posts: 247


LeiYong Sat Feb 18, 2012 2:13 am

Re: [MOD] Nova2 Awards in Bio Pages

GAK! PURE BRILLIANCE!

How did u arrange the awards so neatly?

Image
Image

Posts: 38


mooeypoo Sat Feb 18, 2012 11:06 am

Re: [MOD] Nova2 Awards in Bio Pages

Haha that's awesome :D Glad you like it.
Find my Nova MODs: https://github.com/mooeypoo
User avatar

Posts: 247


baritonejp Fri Feb 24, 2012 9:32 pm

Re: [MOD] Nova2 Awards in Bio Pages

LeiYong wrote:GAK! PURE BRILLIANCE!

How did u arrange the awards so neatly?



yes please ... and the img smaller

figured it out by adding
Code: Select all
'width' => 72
to the array under the
Code: Select all
/** CHAR AWARDS **/
section
Thank you for helping,
Jamey

Posts: 16


mooeypoo Fri Feb 24, 2012 10:51 pm

Re: [MOD] Nova2 Awards in Bio Pages

Yup, you can do that or add a class to the images (I think there's a class for small award images).

If it works, though, use that.
Find my Nova MODs: https://github.com/mooeypoo
User avatar

Posts: 247


Captain Timor Belar Sat Feb 25, 2012 5:16 am

Re: [MOD] Nova2 Awards in Bio Pages

Will this mod work with all your other mods without anything screwing up as in I currently have the selected colours for the edit characters and the manifest details mods

Posts: 33


baritonejp Tue Feb 28, 2012 9:49 am

Re: [MOD] Nova2 Awards in Bio Pages

I finally understood that you were talking about a CSS class ... so I took my before mentioned change out and changed the CSS class info using the following in structure.css around line 343

Code: Select all
.award-small {
     display: inline-block;
     max-width: 85px;
}


I have a really small award that doesn't need to be changed in size so that is why I used max-width.

I know this isn't big stuff to those who code... learning in progress ...
Thank you for helping,
Jamey

Posts: 16


Captain Timor Belar Sat Mar 03, 2012 6:51 am

Re: [MOD] Nova2 Awards in Bio Pages

Captain Timor Belar wrote:Will this mod work with all your other mods without anything screwing up as in I currently have the selected colours for the edit characters and the manifest details mods


Mooey, not sure if you missed my message about the awards mod, additionally would all your mods still work fine if I updated to Nova 2.0.3 as I dont wanna update to find the mods no longer work :p

Posts: 33


mooeypoo Sat Mar 03, 2012 10:41 am

Re: [MOD] Nova2 Awards in Bio Pages

Hey Timor,

The mod works with the other mods, just be careful when you're editing the controllers and make sure you copy/paste the functions into the controller file (and not just upload it!)

Also, yes, my mods would work on 2.0.3. You'll be updating the nova/ folder which doesn't touch the application/ folder where mods are located. I just upgraded yesterday, and so far met no problems.

If there *are* problems, please let me know asap so I can fix them ,but I don't anticipate anything major.

Hope that helps :)

~mooey
Find my Nova MODs: https://github.com/mooeypoo
User avatar

Posts: 247


LadyBird Fri Mar 23, 2012 10:27 pm

Re: [MOD] Nova2 Awards in Bio Pages

I found one. I installed it, worked good for the awards. But the character pictures were no longer clickable. I uninstalled the mod and the character images worked again. Is it something I'm doing, or something that can be fixed?
User avatar

Posts: 297


mooeypoo Fri Mar 23, 2012 10:43 pm

Re: [MOD] Nova2 Awards in Bio Pages

That's really weird, it doesn't touch the pictures. The only thing I can think of is the javascript portion. Can you makes sure you added that correctly?

Copy/paste the code you have?
Find my Nova MODs: https://github.com/mooeypoo
User avatar

Posts: 247


LadyBird Sat Mar 24, 2012 5:40 pm

Re: [MOD] Nova2 Awards in Bio Pages

I added everything like you said to. I added the javascript files just where you said to.
User avatar

Posts: 297


mooeypoo Sat Mar 24, 2012 6:13 pm

Re: [MOD] Nova2 Awards in Bio Pages

Try to add everything *other* than the js code (I think it's a 1 or 2 lines in the _js line, comment it out or delete it).

Can you tell me if it works without it? Might be conflicting code.
Find my Nova MODs: https://github.com/mooeypoo
User avatar

Posts: 247


LadyBird Mon Apr 02, 2012 4:28 pm

Re: [MOD] Nova2 Awards in Bio Pages

Found the problem. It was a simple fix. lol. My comp saved the file path on my computer instead of the one it needed to. That's why it goofed.
User avatar

Posts: 297


Next

Return to Nova MODs

Who is online

Users browsing this forum: No registered users and 3 guests