[BETA] phpRivals mod 2.0.1

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
Locked
User avatar
Draketornado
Registered User
Posts: 29
Joined: Wed Dec 09, 2009 8:29 pm

Re: [BETA] phpRivals mod 2.0.0

Post by Draketornado »

If i do that, i get an error message: (I have debug + debug extra enabled in config.php)

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_upload.php on line 286: file_exists(): open_basedir restriction in effect. File(./.././../images/rivals/platformlogo/) is not within the allowed path(s): ([ROOT]/:/tmp/)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/rivals/acp_rivals_add_platform.php on line 66: chmod(): No such file or directory
It looks like i have to modify my php config to get open_basedir restrictions to work with your mod?

Thanks

Kindly regards

Draketornado

User avatar
Soshen
Registered User
Posts: 500
Joined: Wed Sep 23, 2009 10:03 am

Re: [BETA] phpRivals mod 2.0.0

Post by Soshen »

well not
i've told you to remove some fix to the url that maybe can get a wrong image localization but now the phpbb image class do not work.

you can confirm me that if you upload a group logo (i mean the group of phpBB native sistem, the user group) in acp page, it works?
My dev board: http://www.nipponart.org
Safe GamerTag HOME - Official Topic Index HOME - phpRivals MOD DISCUSSION

User avatar
Soshen
Registered User
Posts: 500
Joined: Wed Sep 23, 2009 10:03 am

Re: [BETA] phpRivals mod 2.0.0

Post by Soshen »

I think that the best solution is if you can provide me a temp ftp account for forum/include/acp/rivals
folder only and a test admin account.

With this i can work with your site directly.
My dev board: http://www.nipponart.org
Safe GamerTag HOME - Official Topic Index HOME - phpRivals MOD DISCUSSION

User avatar
Draketornado
Registered User
Posts: 29
Joined: Wed Dec 09, 2009 8:29 pm

Re: [BETA] phpRivals mod 2.0.0

Post by Draketornado »

Hi Soshen

I just tryed to change the Group Logo for my group Bots....works fine....but i have no function to upload an image there, just link from outside or use a Gallery Avatar.

I just made an FTP Account for rivals folder....sending you the accountdata per PN.

But what exactly functions of an admin do you need to act on my forum? i will create an Adminaccount, but you must tell me what exactly you need.

Thanks


Kindly regards


Draketornado

User avatar
Soshen
Registered User
Posts: 500
Joined: Wed Sep 23, 2009 10:03 am

Re: [BETA] phpRivals mod 2.0.0

Post by Soshen »

i need access to my mod and the group management.
In test board allow remote image uploading please for avatar user / group.
My dev board: http://www.nipponart.org
Safe GamerTag HOME - Official Topic Index HOME - phpRivals MOD DISCUSSION

User avatar
Draketornado
Registered User
Posts: 29
Joined: Wed Dec 09, 2009 8:29 pm

Re: [BETA] phpRivals mod 2.0.0

Post by Draketornado »

You have Post


Draketornado

User avatar
Soshen
Registered User
Posts: 500
Joined: Wed Sep 23, 2009 10:03 am

Re: [BETA] phpRivals mod 2.0.0

Post by Soshen »

this evening i will start the checking.
My dev board: http://www.nipponart.org
Safe GamerTag HOME - Official Topic Index HOME - phpRivals MOD DISCUSSION

User avatar
Draketornado
Registered User
Posts: 29
Joined: Wed Dec 09, 2009 8:29 pm

Re: [BETA] phpRivals mod 2.0.0

Post by Draketornado »

Ok...this night i reinstalled my complete forum on another domain, just trying again without any mods installed before installing yours....the result is the same!

I just installed phpbb3 and portalxl premod. After that i installed your mod. I can upload pictures everywhere, and i can upload games, attachements, everything without any problem. i can even upload group images.....just rivals mod don't work for me.

Are ther any php configs which are required for your mod? Maybe something with open_basedir, php running as cgi or fast-cgi....safe mode.....anything? Or maybe your mod requires some additions like imagemagick or ...i don't know....

I suppose i'm not a noob....but with my little knowings i'm on my end now....

Hope you will find a solution for me....


Thanks

Kindly regards

Draketornado

User avatar
Draketornado
Registered User
Posts: 29
Joined: Wed Dec 09, 2009 8:29 pm

Re: [BETA] phpRivals mod 2.0.0

Post by Draketornado »

Maybe i have a better solution... I will send you an complete account, with full admin rights, as well as an ftp account of root of the forum. Then, i will install a new phpbb3 board, then your mod....it would be easier to find a fix to it if you have whole rights....just give me a chance to build it!

Thanks


Kindly regards


Draketornado

User avatar
Soshen
Registered User
Posts: 500
Joined: Wed Sep 23, 2009 10:03 am

Re: [BETA] phpRivals mod 2.0.0

Post by Soshen »

I've founded the problem!!!!

it's was a chmod permission error in phpbb_chmod

in some server like yours we get

for rivals: 420
for group: 6

and this thing do not appear in my hosting or localhost.

Can you tell me what os and config have in your server?


So this evening i provide the fix


if you want test i leave the correction in add a platform in your test site.

Thanks!
My dev board: http://www.nipponart.org
Safe GamerTag HOME - Official Topic Index HOME - phpRivals MOD DISCUSSION

User avatar
Draketornado
Registered User
Posts: 29
Joined: Wed Dec 09, 2009 8:29 pm

Re: [BETA] phpRivals mod 2.0.0

Post by Draketornado »

????

Wherever i try to upload a picture for a platform....i still get the same error. On which forum did you make the fix?

RBL Or Lanpartyfun ???

I have Debian linux on the server....if you want to know more, just say me exactly what you beed.

Thanks....

Kindly regards


Draketornado

User avatar
Draketornado
Registered User
Posts: 29
Joined: Wed Dec 09, 2009 8:29 pm

Re: [BETA] phpRivals mod 2.0.0

Post by Draketornado »

Ok....i see...

You changed this:

Code: Select all

$shalla	= "{$phpbb_root_path}images/rivals/platformlogo/";
				chmod($shalla . $pltf_logo_name, 0644);
with this:

Code: Select all

$shalla	= "{$phpbb_root_path}images/rivals/platformlogo/" . $pltf_logo_name;
				
				if (substr(decoct(fileperms($shalla)),2) != '0666')
				{
					chmod($shalla, 0644);
and you modified

Code: Select all

$foto->move_file($destination, true, false, 0644);
to

Code: Select all

$foto->move_file($destination, true, false, 6);
EDITED:

OK...it just works now :-) You are on the right way!!!
It doesn't show a correct error message when you don't use a picture with non 400X100 dimension....it just shows than :

Please use an image with the dimensions of 900x150px.

Thanks


Draketornado

User avatar
Draketornado
Registered User
Posts: 29
Joined: Wed Dec 09, 2009 8:29 pm

Re: [BETA] phpRivals mod 2.0.0

Post by Draketornado »

I'm on my way to create a whole german translation...half of work already done!
When finished, i will post it here, so you can integrate it to the mod.
I also will include the German Pictures for Buttons.

The Mod is realy realy good! Dont stop developping it....if you wish, i have some realy good ideas to add new functionality to the mod! But first...let it be fixed :-)

When trying arround, i have encountered some minor bugs....when trying again, i will report them if they happen again.


Thanks a lot

Kindly regards


Draketornado

User avatar
Soshen
Registered User
Posts: 500
Joined: Wed Sep 23, 2009 10:03 am

Re: [BETA] phpRivals mod 2.0.0

Post by Soshen »

i've working on a "plus" version too :D

http://rivalsplus.nipponart.org/
My dev board: http://www.nipponart.org
Safe GamerTag HOME - Official Topic Index HOME - phpRivals MOD DISCUSSION

User avatar
Draketornado
Registered User
Posts: 29
Joined: Wed Dec 09, 2009 8:29 pm

Re: [BETA] phpRivals mod 2.0.0

Post by Draketornado »

....and what about SACS ? i saw a video about it in youtube.....looks great!!!!

How far are you with the fix?


Kindly regards



Draketornado

Locked

Return to “[3.0.x] MODs in Development”