MediaFrontPage - Web interface with widget type architecture to control multiple apps - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: MediaFrontPage - Web interface with widget type architecture to control multiple apps (/showthread.php?tid=83304) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
|
- DejaVu - 2011-06-09 Install Windows 7 version of Uniform server (codenames Orion). Copy all MFP's files to the web root folder usually htdocs or www. Load the default-new-config.php file in Notepad and edit the settings to reflect your setup and save it as config.php. Open XBMC and minimise it (to enable JSON Queries). Then load http://localhost in your web browser and MFP should load. - DejaVu - 2011-06-09 I've been looking into editting the Config.php file directly on the server and found this. It seems to work perfectly. I'm just trying to find a way to add it to MFP now. Perhaps a new widget with Links that open into a Module box like IMDB does from the Search widget to it... Save this file as a PHP file and load it from your server. Code: <?php - gugahoi - 2011-06-09 DejaVu Wrote:I've been looking into editting the Config.php file directly on the server and found this. That's kind of the idea I had, but I don't think it should be a widget. What we should do, in my opinion, is have it open in the first run and then automatically rename to config.php so that it's one more step the user can do straight from the browser. What do you reckon? - DejaVu - 2011-06-09 Been playing with making things look right/better - Tell me what you think. Login - Server Check - Looks the same even if it fails (Sizes do not shift about etc). - gugahoi - 2011-06-09 DejaVu Wrote:Been playing with making things look right/better - I like it! Perfect MFP styling. - DejaVu - 2011-06-09 gugahoi Wrote:That's kind of the idea I had, but I don't think it should be a widget. What we should do, in my opinion, is have it open in the first run and then automatically rename to config.php so that it's one more step the user can do straight from the browser. What do you reckon? Yeah, open in a iframe under the the server check when it passes - make it look nice as per above! Top idea. Click Save and it redirects to index.php - Lunatixz - 2011-06-09 DejaVu Wrote:Install Windows 7 version of Uniform server (codenames Orion). thanks for the info... - DejaVu - 2011-06-09 I have made a mock-up, that does not actually work with redirecting etc. It's a fixed page at the moment, but I think you'll get the idea... If the server check passes, the bottom part appears automatically. It can be a hidden DIV perhaps that appears once the settings are verified. So far, the one I have, does let me save the file, but only to the filename it originally is at the moment (default-config.php). If you think these can be used, give me a shout and I'll post them. At the moment, using the widget.css to style these did not work so they are hard coded. But I think that will be fine seeing as it's the original colors. - SleepyP - 2011-06-09 I just noticed my NZBMatrix RSS feeds are no longer working. RSS feeds from other sites are loading in the RSS widget just fine, but with NZB Matrix I get errors like: Code: Warning: DOMDocument::load(): Document is empty in http://rss.nzbmatrix.com/rss.php?subcat=41, line: 1 in /var/www/html/mfp/widgets/wRSS.php on line 142 Warning: DOMDocument::load(): Start tag expected, '<' not found in http://rss.nzbmatrix.com/rss.php?subcat=41, line: 1 in /var/www/html/mfp/widgets/wRSS.php on line 142 Need to determine if this problem is on my end or if NZBMatrix changed. - Nick8888 - 2011-06-09 SleepyP Wrote:I just noticed my NZBMatrix RSS feeds are no longer working. RSS feeds from other sites are loading in the RSS widget just fine, but with NZB Matrix I get errors like: I am getting a similar issue with couchpotato at the moment I think. If you go to that address (http://rss.nzbmatrix.com/rss.php?subcat=41) it loads a blank page rather than an rss feed. Not sure whether its broken or they have changed it. EDIT: http://nzbmatrix.com/forums.php?action=viewtopic&topicid=37341&page=1 http://nzbmatrix.info/ - DejaVu - 2011-06-09 http://www.nzbmatrix.info = NZBMatrix RSS: Offline I've been trying with no luck to get the authentication working. If I put nothing, it says "Bad Credentials. Try Again". If I put the details in my config.php, it reloads the login.php with no errors? I think a redirect is busted. I also noticed that there are some variable name changes going on depending on what version you use. I have $AUTH_ON (set to true), $AUTH_USER and $AUTH_PASS. Any clues? Perhaps this bit in the index.php?? Code: <?php Is an 'else' or 'else if' statement not required here? Remember, I'm a coding Mong!! - gugahoi - 2011-06-09 DejaVu Wrote:I've been trying with no luck to get the authentication working. If I put nothing, it says "Bad Credentials. Try Again". If you put nothing, what's the point of having authentication? It will probably fail if username and pass are empty. There are no variable name changes from what I see. Just download mikie's repo and use it without modifying the code. It should work. There might be a couple of things I would change but he is still developing it so it can still change. Having said that, Authentication should be working tho. Quote:Is an 'else' or 'else if' statement not required here? Remember, I'm a coding Mong!! No 'else' required. The else case is the rest of the page. Care to post how you styled servercheck and login pages? Or are you still working on them? - DejaVu - 2011-06-09 gugahoi Wrote:If you put nothing, what's the point of having authentication? It will probably fail if username and pass are empty.Putting the wrong information and nothing, it does fail. If I put the correct information, the Login page just reloads again. I shall try redownloading it from his Repo gugahoi Wrote:There are no variable name changes from what I see. Just download mikie's repo and use it without modifying the code. It should work.The varialbe '$authsecured' in auth.php is defined in the config.php. I thought it have been changed to '$AUTH_ON'. I will try and redownload it. gugahoi Wrote:Care to post how you styled servercheck and login pages? Or are you still working on them?Only to get it working correctly, I will post the entire thing once it's working. - niietzshe - 2011-06-09 CoinTos Wrote:My solution, let the server decide. Thank you for pointing me to this, it solved a lot of issues. My main problem has been my router I think though and the solution seems to be a telnet command: natloopback I haven't tried it yet, but that seems to be the thing stopping me from getting a few things working. I'll report back later when I have had a play with it. - DejaVu - 2011-06-09 I sussed I was being a bit thick with the secure business. Apologise! Here's the skinned version of the login files I have made. I also changed the challenge page to load inside the widget too instead of the bland white page it throws you to. login.php Code: <html> auth.php Code: <html> |