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

Nova 2 and Existing MODs

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

Wolf Mon Feb 06, 2012 11:18 pm

Nova 2 and Existing MODs

Greets,

I have a few extra mods in Nova and needed to find out how to put them in 2. The first is we had it set, thanks to Demonicpagan, to add a stardate to the posts. I went to put it in but dreamweaver threw a syntax error. The Nova 1 code is:

Code: Select all
$subject = $data['mission'] ." - SD ". $this->settings->get_setting('sim_year') . date("m.d "). $data['title'];


and I inserted it into the new write.php as:

Code: Select all
$subject = $data['mission'] ." - SD ". $data['title'] $this->settings->get_setting('sim_year') . date("m.d "). lang('email_subject_saved_post');


The other thing I have done is put the awards within the bio. Would that still work?

http://ucfsim.wolf-hosting.net/index.php/personnel/character/1

Posts: 167


Demonicpagan Sat Feb 11, 2012 6:51 pm

Re: Nova 2 and Existing MODs

There is a bit of a typo in your code

Change:
Code: Select all
$subject = $data['mission'] ." - SD ". $data['title'] $this->settings->get_setting('sim_year') . date("m.d "). lang('email_subject_saved_post');


To:
Code: Select all
$subject = $data['mission'] ." - SD ". $data['title'] . $this->settings->get_setting('sim_year') . date("m.d "). lang('email_subject_saved_post');


I am curious as to why the lang('email_subject_saved_post'). Most of my MODs that I wrote have very little to be changed to work from Nova 1 to Nova 2 and at this point in time have all been updated to work with Nova 2. Would need some more information as to any errors/improper results you are encountering.
Dustin Shea
Nova Dev Sim for Mod Devlopement - http://nova.stelth2000inc.com
GitHub Repos - http://www.github.com/demonicpagan
User avatar

Posts: 144


Wolf Sun Feb 12, 2012 12:32 am

Re: Nova 2 and Existing MODs

I fixed it, "m.d" needed to be 'm.d.'

As to the lang, that is just what was with the new code. I started on this before you got your new updates out :)

The one thing I am still stuck on is getting the awards to appear in the bio, any ideas how I might be able to do that?

Posts: 167


Demonicpagan Sun Feb 12, 2012 4:45 am

Re: Nova 2 and Existing MODs

I'll look into this once I add some awards into my Nova site. You know where I can grab all of UCIP's awards?
Dustin Shea
Nova Dev Sim for Mod Devlopement - http://nova.stelth2000inc.com
GitHub Repos - http://www.github.com/demonicpagan
User avatar

Posts: 144


Wolf Sun Feb 12, 2012 7:59 am

Re: Nova 2 and Existing MODs

they are all up on trek ops and in the UCIP main site, ucip.org/trek and ucip.org or I think all are in the wiki, treki.wolf-hosting.net, under awards.

Posts: 167


Demonicpagan Sun Feb 12, 2012 4:04 pm

Re: Nova 2 and Existing MODs

Found them. I'll add and see what I can come up with. As it stands, Nova 2 places awards on User Info page under the awards tab. Are you wanting to move this tab?
Dustin Shea
Nova Dev Sim for Mod Devlopement - http://nova.stelth2000inc.com
GitHub Repos - http://www.github.com/demonicpagan
User avatar

Posts: 144


Wolf Fri Feb 17, 2012 4:13 pm

Re: Nova 2 and Existing MODs

not the tab, no. go look at ucfsim.wolf-hosting.net and the bios there.

I am wanting to have the awards in the bio below the rank.

Posts: 167


Demonicpagan Fri Feb 17, 2012 5:09 pm

Re: Nova 2 and Existing MODs

Ok, I see what you are referring to now. I'll have that modification done. It will be simple.
Dustin Shea
Nova Dev Sim for Mod Devlopement - http://nova.stelth2000inc.com
GitHub Repos - http://www.github.com/demonicpagan
User avatar

Posts: 144


mooeypoo Sat Feb 18, 2012 1:18 am

Re: Nova 2 and Existing MODs

I only now noticed you guys were discussing this -- I just finished moving my old "mod" about this to nova2.

It shows awards near the char info. If you want to change placement, though, I made sure to make php comments on the view files, so you can pluck out the 'awards' array view and put it wherever else you want in the view page.

https://github.com/mooeypoo/Nova2-Mod--Crew-Bio-Page

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

Posts: 247


malik378 Mon Jan 20, 2014 1:02 am

Re: Nova 2 and Existing MODs

Found them. I'll add and see what I can come up with. As it stands, Nova 2 places awards on User Info page under the awards tab. Are you wanting to move this tab?
ccna online test ccna online test
pass4sure uk pass4sure uk
test king test king
leather bomber jacket women leather bomber jacket women

Posts: 2



Return to Nova MODs

Who is online

Users browsing this forum: No registered users and 1 guest

cron