+ Reply to Thread (include dating software, release, and patch number!)
Page 1 of 3 1 2 ... LastLast
Results 1 to 10 of 25

Thread: Rate photos deactivated, but showing

  1. #1
    elusuario's Avatar
    Join Date
    Sep 2006
    Posts
    173

    Question Rate photos deactivated, but showing

    Hi.

    I unchecked the rate photos checkbox from the global settings section at the admin panel, but the rate radio buttons still appear and work when you are viewing the profile photos of a member.

    I unchecked the rate profiles checkbox from the global settings section at the admin panel too (and anything else I might be forgetting at this moment that was about rating things)

    Why are the radio buttons for rating photos still there??? Help please.

    Take care.
    Using modified Dolphin 5.6.0002 hosted at shared server

  2. #2
    C2S_Struggling's Avatar
    Join Date
    Jul 2006
    Posts
    106

    Default

    Thank you all your post and helping me to make the wise choice of not upgrading! 5.5 is solid working fine! Orca and all...
    <--Adult Content-->
    Caved in to BooneX 5.5.0000

  3. #3
    elusuario's Avatar
    Join Date
    Sep 2006
    Posts
    173

    Unhappy

    Hi, anybody have a comment or solution about this rate photo issue??? please help.

    In my first post at this thread, when I wrote "rate photos checkbox", I mean that I unchecked the "Enable photos votes" checkbox at the Admin panel -> global settings -> profiles; and when I wrote "rate profiles checkbox", I mean that I unchecked the "Enable profile votes" checkbox at the same location.

    Also, I noticed that, althought I unchecked "Enable SpeedDating" checkbox at Admin panel -> global settings -> SpeedDating ("Allow members to create events" checkbox is also unchecked), there is a link to speed dating appearing at the member menu, if you click it you get a page with no content, but why is the link appearing?? it shouldn't.
    Last edited by elusuario; 03-08-2007 at 12:45 PM.
    Using modified Dolphin 5.6.0002 hosted at shared server

  4. #4
    C2S_Struggling's Avatar
    Join Date
    Jul 2006
    Posts
    106

    Default

    I am not sure if this will help but before I loaded the speed module the link in fact was there and did the same thing, display an empty page. You have updated to 5.6xx in 5.5 these issues are just not there on my configuration and host, but as I am finding out: i.e. I have loaded this product on three differant servers nation wide to test and all three presented a varity of issues NOT ONE loaded the same yet I used the install to the tee, go figure.

    You said: I unchecked the "Enable photos votes" checkbox at the Admin panel etc..."

    I did that to just now and it worked as advertised in 5.5. I am guessing but I would have to say it has got to be your setup in 5.6xx do a compare on the file structures of both and see what changed, get a copy of ExamDiffPro or something similar as I have learned a lot from just doing that. I AM NOT AN EXPERT AT ANY OF THIS CRAP! With that said I am learning to by fire!

    Quote Originally Posted by elusuario
    SpeedDating ("Allow members to create events" checkbox is also unchecked), there is a link to speed dating appearing at the member menu, if you click it you get a page with no content, but why is the link appearing?? it shouldn't.
    Last edited by C2S_Struggling; 03-08-2007 at 02:44 PM.
    <--Adult Content-->
    Caved in to BooneX 5.5.0000

  5. #5
    elusuario's Avatar
    Join Date
    Sep 2006
    Posts
    173

    Unhappy

    At admin panel -> membership levels I took out the rate photo action, but it can still be done, it seems that nothing affects this feature :S

    rate.php is also still active

    When you use rate.php it did get the rating you input but the next page showed is a server internal error:
    -----------
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    The script did not produce correct headers. It must at least print out a Content-Type header, like so:
    Content-Type: text/html

    The header the script produced was:
    ?showme
    -----------

    Another bug it seems, any idea about this, I think it might be from the following line at rate.php (just a guess, help please):

    header('Location:' . $_SERVER['PHP_SELF'] . (isset($_REQUEST['showme'])) ? '?showme=' . $_REQUEST['showme'] : '');
    Last edited by elusuario; 03-09-2007 at 10:32 AM.
    Using modified Dolphin 5.6.0002 hosted at shared server

  6. #6
    C2S_Struggling's Avatar
    Join Date
    Jul 2006
    Posts
    106

    Default Rate

    This change occured in 5.6 and is not in 5.5, not sure but I agree it appears to be this line of code, have you requested help from expertz on BooneX. I would just as an FYI and see if they respond.....

    Quote Originally Posted by elusuario
    header('Location:' . $_SERVER['PHP_SELF'] . (isset($_REQUEST['showme'])) ? '?showme=' . $_REQUEST['showme'] : '');
    I have attached the original rate.php in zip format use a compare program and look at the changes you may find the error is more places
    Attached Files
    Last edited by C2S_Struggling; 03-09-2007 at 10:57 AM. Reason: Added file
    <--Adult Content-->
    Caved in to BooneX 5.5.0000

  7. #7
    elusuario's Avatar
    Join Date
    Sep 2006
    Posts
    173

    Default

    Hi, I just posted 2 threads at expertzzz.com about these rate issues.

    I compared your rate.php with mine, and it is totally different, I see yours don't even have the line I'm suggesting is causing the internal server error and yours have a group of lines that seems to check if photos votes are enable or not, the lines are the following:

    if ( !$votes_pic )
    RatePhotoNA();.

    The other file that seems responsible for the rate radio buttons appearing at the photos gallery is: "profilePhotos.php" (this one don't even exist in the 5.5 version)
    Using modified Dolphin 5.6.0002 hosted at shared server

  8. #8
    C2S_Struggling's Avatar
    Join Date
    Jul 2006
    Posts
    106

    Default

    Good ole troubleshooting! This is another reason I am sticking with 5.5. They changed too much and have too many oop's I forgot to fix it crap.




    I wonder if you can add the 5.5 code to your 5.6 rate code to do checking? I am not sure but it seems logical that you could modify the 5.6 with the 5.5 and end up with the desired results, little tweaking maybe????? You may have your first design mod!!!!!!!!
    <--Adult Content-->
    Caved in to BooneX 5.5.0000

  9. #9
    elusuario's Avatar
    Join Date
    Sep 2006
    Posts
    173

    Default

    Ok, to fix the server internal error

    At rate.php:

    Replace:

    header('Location:' . $_SERVER['PHP_SELF'] . (isset($_REQUEST['showme'])) ? '?showme=' . $_REQUEST['showme'] : '');

    With:

    header('Location:' . $_SERVER['PHP_SELF'] . '?showme=' . (isset($_REQUEST['showme'])) ? $_REQUEST['showme'] : '');

    I could use some help with the other stuff.
    Using modified Dolphin 5.6.0002 hosted at shared server

  10. #10
    elusuario's Avatar
    Join Date
    Sep 2006
    Posts
    173

    Default

    I tried to place an "if" statement for the part that builds the content of the page at rate.php using the variable from inc/params.inc.php $votes_pic which I identified to be the one that changes when you check or uncheck the "Enable photo votes" checkbox.

    Basically I stated that if this variable was on (value= 1) the content should be displayed, if the variable was off (value= 0) the content shouldn't be displayed. It didn't worked, for some reason it was acting like if the variable was always off, no matter what you set it to.

    I can say that the code I wrote is correct because I tested it replacing the variable $votes_pic with the variable $votes which is the one for setting the rating profiles configuration (Enable profile votes checkbox at admin panel -> global settings -> profiles). With the variable "$votes" it recognized the setting and acted as expected.

    I don't understand why is this happening?? why if I write the code with the variable $votes_pic it doesn't function correctly??? The principle is the same as when I used the other variable, they are even in the same configuration file (inc/params.inc.php).

    This is breaking my head... I will appreciate a lot to hear from someone with an idea about this
    Using modified Dolphin 5.6.0002 hosted at shared server

+ Reply to Thread (include dating software, release, and patch number!)
Page 1 of 3 1 2 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Add "Send this Profile to a friend" in Rate Photos.
    By Prometheus in forum Free Mod Exchange
    Replies: 1
    Last Post: 06-05-2007, 02:24 AM
  2. Rate my pic
    By wishmaster in forum Dolphin General Discussion v5.3 to v5.6.5
    Replies: 1
    Last Post: 03-27-2007, 11:35 AM
  3. The whole world can see and rate photos????
    By C2S_Struggling in forum Bugs aeDating v4.1.4
    Replies: 2
    Last Post: 10-18-2006, 02:00 PM
  4. Rate Photos not available now
    By Smoge in forum Bugs aeDating v4.0.2
    Replies: 0
    Last Post: 10-22-2005, 01:04 AM
  5. Rate Photos
    By Herman in forum Wishlist
    Replies: 2
    Last Post: 03-31-2005, 07:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts