View unanswered posts | View active topics It is currently Wed May 22, 2013 7:31 am



Reply to topic  [ 157 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 11  Next
New Skin for 1.24 
Author Message

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post 
thomasjohansen wrote:
Version 1.24.1 (ubuntu) Victor peterson livecd

windows 7 Firefox 3.6.3


Axis IP M3014 1280x800



Tried both with and without user auth and with plain and hash and none.


classic skin works fine.


The monitors not showing seems to be due to the zmBandwidth cookie not being set; I've made a change to fallback to the way low and medium bandwidth modes are working in the even that the cookie is not set. Working in FF for Windows and Linux and IE8 for Windows.


Fri Apr 23, 2010 2:34 pm
Profile WWW

Joined: Tue Oct 14, 2008 6:59 pm
Posts: 184
Post download
Is it there a download link to share it with us?

regards


Sat Apr 24, 2010 8:24 am
Profile

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post 
What I recommend doing is using git so that you can stay with the latest changes - from the first post of this topic:
Quote:
I am working on a new skin for 1.24. Instead of manually taring up the skin every time I make changes, I am going to use git. So, if you want to try out the skin, you'll need to change into your zm/skins/ directory and checkout my git repo which can be accessed at git://github.com/kylejohnson/zm_newskin.git.

Remember that this is still a work in progress so there will be bugs, missing features, etc. Please give FEEDBACK.


Sat Apr 24, 2010 1:53 pm
Profile WWW

Joined: Tue Oct 14, 2008 6:59 pm
Posts: 184
Post 
great ! I'll try tonight. thanks.

T.


Sat Apr 24, 2010 3:21 pm
Profile

Joined: Wed May 05, 2010 9:04 am
Posts: 5
Post 
I have my zoneminder configured as a virtual host mounted on /zoneminder and it seems like all the links to

* Cameras
* Events
* Timeline
* Admin.
* Options
* System

are pointing out of the virtual host mount point.


Relevant Apache config:

<Directory "/var/www/zoneminder/cgi-bin">
...
</Directory>

Alias /zoneminder "/var/www/zoneminder/htdocs"

<Directory "/var/www/zoneminder/htdocs">
...
</Directory>


Wed May 05, 2010 10:20 am
Profile

Joined: Wed May 05, 2010 9:04 am
Posts: 5
Post 
Is it mentioned anywhere that the skin directory has to be named "new" for it to work? I got a lot of error messages about "File does not exist: /var/www/zoneminder/htdocs/skins/new" when the directory was called "zm_newskin".


About the virtual host issue, I get a lot of
"File does not exist: /var/www/localhost/htdocs/skins, referer: http://oberg.homedns.org/zoneminder/index.php" when using the new skin. I think that there probably are some references to skin files that should be changed to. I'll try to figure these out and post a patch or something (should be 6 of them).


Wed May 05, 2010 10:36 am
Profile

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post 
oberg: Indeed the directory name does have to be 'new'. I named my git repo 'zm_newskin' without realizing that this would require another manual step (mv zm_newskin new).

As for the broken links, a lot of the paths are coded like '/skins/new/' instead of 'skins/new/'. This should be an easy enough fix and I should be able to commit something today.

I will also look into renaming my repo (or the paths) to make this easier.


Wed May 05, 2010 12:57 pm
Profile WWW

Joined: Wed May 05, 2010 3:10 pm
Posts: 18
Post 
Hi,
when i try to add new monitor in the admin section i recive this error :
"
Fatal error: Call to undefined function getTableAutoInc() in /usr/share/zoneminder/skins/new/views/monitor.php on line 51
"


Wed May 05, 2010 3:12 pm
Profile

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post 
lookathome wrote:
Hi,
when i try to add new monitor in the admin section i recive this error :
"
Fatal error: Call to undefined function getTableAutoInc() in /usr/share/zoneminder/skins/new/views/monitor.php on line 51
"


I just pushed out a new commit. Check it out.


Wed May 05, 2010 3:33 pm
Profile WWW

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post 
Pushed out another commit that should fix a lot of the path issues. Let me know.


Wed May 05, 2010 4:01 pm
Profile WWW

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post 
kylejohnson wrote:
Pushed out another commit that should fix a lot of the path issues. Let me know.


That commit broke the paths for the files for the lightboxes... Pushed out another commit to fix that.


Wed May 05, 2010 5:09 pm
Profile WWW

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post Quick update
Just to keep you all informed on some of the recent updates:

1: I wasn't able to get zms working on my system for viewing events (even with the default skin), so I am directly streaming the recorded jpg files from the disk. The downside of this is the possibly large preload time. The upside of this is very fine-tuned control over playback functions (to the frame). Still being worked on, but functional.
2: Substituted most / all popups with lightboxes, such as for the live view, and viewing of events.
3: Easy "export" button when viewing an event. Click "export" button, file is generated in background, and then made available to you. Can be done while video is playing back.
4: Grouped monitors and events together (respectively) for easier navigation from one to the next

And those are the major ones that I can remember for now.
Check out the git repo (ask if you need help) and give me some feedback!


Wed May 05, 2010 10:17 pm
Profile WWW

Joined: Wed May 05, 2010 3:10 pm
Posts: 18
Post 
lookathome wrote:
Hi,
when i try to add new monitor in the admin section i recive this error :
"
Fatal error: Call to undefined function getTableAutoInc() in /usr/share/zoneminder/skins/new/views/monitor.php on line 51
"


I did like this :
git clone git://github.com/kylejohnson/zm_newskin.git

copy/pasted into zoneminder skin
renamed zm_newskin folder in new

same problem....

great skin in anycase!


Thu May 06, 2010 3:19 pm
Profile

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post 
lookathome wrote:
lookathome wrote:
Hi,
when i try to add new monitor in the admin section i recive this error :
"
Fatal error: Call to undefined function getTableAutoInc() in /usr/share/zoneminder/skins/new/views/monitor.php on line 51
"


I did like this :
git clone git://github.com/kylejohnson/zm_newskin.git

copy/pasted into zoneminder skin
renamed zm_newskin folder in new

same problem....

great skin in anycase!


Shouldn't be happening... Are you navigating to the correct skin by going to http://you.zm.host/?skin=new ?
Try deleting the entire new skin directory before cloning it again, just to be safe.


Thu May 06, 2010 3:53 pm
Profile WWW

Joined: Thu May 06, 2010 8:26 pm
Posts: 1
Post Menus
I have installed the new skin. I can bring it up in the web browser, but when I click on any of the menus all I receive is the page 'It Works'.


Thu May 06, 2010 8:29 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 157 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 11  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group