Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Required to login... why...?
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] Required to login... why...?
PostPosted: 06/10/2007 8:36 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 7:54 AM
Location: Birmingham, UK.
greatbrE.gif
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  banana
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: Required to login... why...?
PostPosted: 06/11/2007 2:02 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:54 AM
Location: St Pete, FL
peace.gif
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)

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Required to login... why...?
PostPosted: 06/11/2007 1:48 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 7:54 AM
Location: Birmingham, UK.
greatbrE.gif
Excellent! Thanks for correcting errors Nightrider!  headbang  No way could I have figured that out  Applause
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: Required to login... why...?
PostPosted: 06/11/2007 4:45 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:54 AM
Location: St Pete, FL
peace.gif
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???

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Required to login... why...?
PostPosted: 06/11/2007 4:55 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 7:54 AM
Location: Birmingham, UK.
greatbrE.gif
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  Crying or Very sad
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: Required to login... why...?
PostPosted: 06/11/2007 5:30 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:54 AM
Location: St Pete, FL
peace.gif
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

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Required to login... why...?
PostPosted: 06/11/2007 5:45 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 7:54 AM
Location: Birmingham, UK.
greatbrE.gif
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  banana
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: Required to login... why...?
PostPosted: 06/11/2007 10:45 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:54 AM
Location: St Pete, FL
peace.gif
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
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Required to login... why...?
PostPosted: 06/12/2007 1:32 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 7:54 AM
Location: Birmingham, UK.
greatbrE.gif
Ok, sounds good  banana
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: Required to login... why...?
PostPosted: 06/12/2007 1:57 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 2:54 AM
Location: St Pete, FL
peace.gif
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...

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0681s (PHP: 77% - SQL: 23%) - SQL queries: 58 - GZIP disabled - Debug on