UniUploader & UniAdmin

Support and feedback for UniUploader
UniUploader requires microsoft .net runtimes!

UniUploader & UniAdmin

Postby Anaxent » Sat Sep 02, 2006 7:15 am

As of now UU or UA will not work for dragonflycms as of the cookie restrictions put in place with in Dragonflycms. I know I could get UA to work with the site with out to much hassel as UU will only be getting data from the site rather than trying to post data to the site. So what we need is to find a c# coder that would be willing to take on the task of recoding UniUploader to allow cookie and session handling once we have UniUploader working in this fassion we will be in rockin.
Last edited by Anaxent on Sun Dec 24, 2006 12:29 am, edited 1 time in total.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

UniUploader & UniAdmin

Postby MattM » Sat Sep 02, 2006 5:37 pm

cookie handling is session handling i believe:

the cookie stores the session id?

I can dust off the Visual studio if you need me to.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

UniUploader & UniAdmin

Postby Anaxent » Sat Sep 02, 2006 10:43 pm

i would love if you could Matt. As of now im jet getting 403 errors when trying to upload via UU but also looking into the source of UU I saw a cookie container that was built in the forms.cs file.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

UniUploader & UniAdmin

Postby MattM » Sun Sep 03, 2006 4:50 pm

right, i havent tested the cookie container stuff yet, i gotta implement it correctly
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

UniUploader & UniAdmin

Postby Anaxent » Fri Sep 08, 2006 3:29 am

Hey Matt if you need me to set you up awith a test site to test the cookies settings pls let me know ill get one ready in no time.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

UniUploader & UniAdmin

Postby Anaxent » Sun Sep 10, 2006 6:36 am

Well I think I have stumbled onto something that may get us by for now with UU and posting to DF. With in the cmsinit.inc file I found the function that checks to see if the user has cookies enabled or not so I added a new line to it that would allow the user agent of UU to bypass the check.

cmsinit.inc
search for
Code: Select all
/******************************************************************************
  Check if the <form> POST is comming from this server
*******************************************************************************/
if (!is_user() && $_SERVER['REQUEST_METHOD'] == 'POST' && empty($CPG_SESS['user']['uri'])) 
    {
        if (
PHPVERS >= 43) {
            
trigger_error('<pre>'.print_r($CPG_SESStrue).'</pre>'E_USER_WARNING);
        }
    
cpg_error('Please enable cookies to post on this site. If you feel that you have reached this message in error please go back to the preceding page and post again');
    } 


We will be changing all that code to
Code: Select all
/******************************************************************************
  Check if the <form> POST is comming from this server
*******************************************************************************/
if (!substr($_SERVER['HTTP_USER_AGENT'], 011 ) == 'UniUploader' 
{
    if (!
is_user() && $_SERVER['REQUEST_METHOD'] == 'POST' && empty($CPG_SESS['user']['uri'])) 
    {
        if (
PHPVERS >= 43) {
            
trigger_error('<pre>'.print_r($CPG_SESStrue).'</pre>'E_USER_WARNING);
        }
    
cpg_error('Please enable cookies to post on this site. If you feel that you have reached this message in error please go back to the preceding page and post again');
    }


Unfortanatlly im at work when I stumbled accross this so I have not been able to fully test untill I get home. So all that try this out please post yor results.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

UniUploader & UniAdmin

Postby MattM » Wed Sep 20, 2006 8:59 pm

2.5.0 will support cookies
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA


Return to UniUploader

Who is online

Users browsing this forum: No registered users and 1 guest

cron