 | [Solved] Required to login... why...? |  |
Posted: 06/10/2007 8:36 AM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 7:54 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
When not logged in and I go here http://www.djpassions.com/music.php and click on Paul_p’s mix from the Top Mixes section I’m asked to login which it shouldn’t be doing because in ACP > Music Online > Categories > Music Categories Control > House / Progressive > Category Permissions I have View Level: set to ALL same for the other music category’s too.
I'd like it so visitors can go straight to the djs mix pages without having to login just to listen to the mix/see the tracklisting etc  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Required to login... why...? |  |
Posted: 06/11/2007 2:02 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:54 AM
Location: St Pete, FL
|

|
|
|
|
 |
This looks like it was a copy and paste error on the MOD author's part. He was using the same code for uploading songs for the page for determining whether a member could view the page or not. This is what I had to do to fix the flaw:
OPEN
music_page.php
FIND
| Code:
|
|
$music_user_access = music_user_access($cat_id, $thiscat, 0, 1, 0, 0, 0, 0); // UPLOAD
|
REPLACE WITH
| Code:
|
|
$music_user_access = music_user_access($cat_id, $thiscat, 1, 0, 0, 0, 0, 0); // View
|
FIND
| Code:
|
|
if ($music_user_access['upload'] == 0)
|
REPLACE WITH
| Code:
|
|
if ($music_user_access['view'] == 0)
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Required to login... why...? |  |
Posted: 06/11/2007 1:48 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 7:54 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
Excellent! Thanks for correcting errors Nightrider! No way could I have figured that out  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Required to login... why...? |  |
Posted: 06/11/2007 4:45 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:54 AM
Location: St Pete, FL
|

|
|
|
|
 |
This MOD actually had a lot of mistakes in it. I wonder if the MOD author is answering support questions on everything that we've uncovered so far???
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Required to login... why...? |  |
Posted: 06/11/2007 4:55 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 7:54 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
Most likely not because the author hasn't updated the mod... his websites down too... proberly been down for a while no doubt
Btw going off-topic a little I was speaking to a guy a work who works with coding etc and said until php 5 is used on more servers id proberly be better of just using a fake upload progress bar… its not accurate but at least it the meter will just go back and forth until the upload is complete and the user will know that’s its uploading and when its complete… no idea how id even do a fake one though. Guy could proberly get time at work to make one for me but he doesn’t work with phpbb so I doubt he’d be able to manage to integrate into phpbb music upload mod though  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Required to login... why...? |  |
Posted: 06/11/2007 5:30 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:54 AM
Location: St Pete, FL
|

|
|
|
|
 |
A fake upload bar would just be an animated grahic that makes it appear that something is happening. Since it wouldn't be tied to the actual progress, all you would have to do is display the image. There would be no need to add any other code to the actual underlying functionality...
Here are a page of fake progress bars that you could display:
Activity Indicators
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Required to login... why...? |  |
Posted: 06/11/2007 5:45 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 7:54 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
Kewl. I like the blue one (By Man Army) with Loading content in it which is the blue one. Obviously it'd be better if Loading content said Uploading content instead though  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Required to login... why...? |  |
Posted: 06/11/2007 10:45 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:54 AM
Location: St Pete, FL
|

|
|
|
|
 |
You could use the blue one By Simon Claret and then use your own text. You could say anything that you wanted by doing so...
Uploading Content
 |
|
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Required to login... why...? |  |
Posted: 06/12/2007 1:32 AM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 7:54 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
Ok, sounds good  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Required to login... why...? |  |
Posted: 06/12/2007 1:57 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:54 AM
Location: St Pete, FL
|

|
|
|
|
 |
The trick will be to display this fake progress bar after you start the upload. Since the upload process never leaves the form, I'm not sure how to display this after pressing the Upload button...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|