Can't download

This mod, makes it posible to assign PRIVATE permissions to guest users
guest users can therby have different permissions than REG users
guest users may even have MODERATOR permissions inside a forum - if one should wish

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Postby Niels on Fri 21. Nov, 2003 23:18

Other users have reported it to be working, if you are not able to "re-dowload" it, it could be a proxy matter on your side - I can't help with that.

try not use proxy if posible, or/and try again later - your proxy server will eventually time out :D
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Southern Man on Fri 21. Nov, 2003 23:37

Niels wrote:Other users have reported it to be working, if you are not able to "re-download" it, it could be a proxy matter on your side - I can't help with that.

try not use proxy if possible, or/and try again later - your proxy server will eventually time out :D


Sorry, I must not have made myself clear. I can download it fine with no problems. (6 times) I just can't get it to open with winzip or winace. Both of these programs tell me that the .zip file I am getting is not a valid archive. It tells me the file is damaged. I have gotten 4 other files from you today with no problem in getting them or opening them. This one just won't open properly.

Maybe you could try to open it yourself and see if you can get it to open properly.

Sorry to be such a pain. :?

If all else fails, would you please e-mail the MOD instructions (the text - not the .zip file) to me via my e-mail address listed here with my registration on your forums.

P Pabst
Southern Man
Poster
Poster
 
Posts: 11
Joined: Thu 30. Jan, 2003 22:47
Location: South Eastern, US

Postby Niels on Sat 22. Nov, 2003 00:18

all zip files have been "currupted" privious today, including the "guest_permission_1.0.1em.zip" the problem was you was reciving a empty file, witch winzip or other programs could not understand.

this problem with the files IS fixed, and the full sized files can be downloaded once again.

How-ever some users (or there ISP) uses proxy servers, witch cache the files - if a currupted file is cached on sutch proxy server, it will simply give you the same currupted file, even if I have changed it :( - after some time the proxy will once again download the "true" file here from mods.db9.dk - but it is a matter of the proxy settings how offen this is done.

This also explains why you only have the problem on this file, since this file have been cached while currupted, while oter files haven't been cached while they was currupted.

Anyway I will email the file to you
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Southern Man on Sat 22. Nov, 2003 01:18

I got the e-mail and the file in it was fine.

Thank you very much for your patience and you help Niels.
Southern Man
Poster
Poster
 
Posts: 11
Joined: Thu 30. Jan, 2003 22:47
Location: South Eastern, US

Postby Southern Man on Sat 22. Nov, 2003 05:06

Me again Niels...... :?

I know you have a lot more important things to think about BUT, I thought I would bring this to your attention.

On my PHPBB 2.0.6 Forums I only have 2 MODs installed.

1) Last Visit MOD
2) Guest permission MOD

I am getting the following error message on the forum when I click on the profile information of any user.

Fatal error: Call to undefined function: make_hours() in /usr/local/psa/home/vhosts/fafriends.com/httpdocs/forums/includes/usercp_viewprofile.php on line 180


I have gone back and rewritten both mods 2 times with the same result. Either I made the same error twice or there is a conflict in the code.

I have tracked down the lines that I suspect are the problem in the Last Visit MOD. They are listed below. I can remove the Guest Permission MOD and everything works just fine. Only when I try to use the two MODs together I get the problem.

Lines of MOD code in the usercp_viewprofile.php file
Code: Select all
// Start add - Last visit MOD
        'L_LOGON' => $lang['Last_logon'],
        'LAST_LOGON' => ($userdata['user_level'] == ADMIN || (!$board_config['hidde_last_logon'] && $profiledata['user_allow_viewonline'])) ? (($profiledata['user_lastlogon'])? create_date($board_config['default_dateformat'], $profiledata['user_lastlogon'], $board_config['board_timezone']):$lang['Never_last_logon']):$lang['Hidde_last_logon'],

        'L_TOTAL_ONLINE_TIME' => $lang['Total_online_time'],


        'TOTAL_ONLINE_TIME' => make_hours($profiledata['user_totaltime']),


        'L_LAST_ONLINE_TIME' => $lang['Last_online_time'],


        'LAST_ONLINE_TIME' => make_hours($profiledata
    ['user_session_time']-$profiledata['user_lastlogon']),


        'L_NUMBER_OF_VISIT' => $lang['Number_of_visit'],
        'NUMBER_OF_VISIT' => ($profiledata['user_totallogon']>0) ? $profiledata['user_totallogon']: $lang['None'],
        'L_NUMBER_OF_PAGES' => $lang['Number_of_pages'],
        'NUMBER_OF_PAGES' => ($profiledata['user_totalpages']) ? $profiledata['user_totalpages']: $lang['None'],
// End add - Last visit MOD


My guess is that the problem is somewhere in here or what is pointing to it from the Includes/Auth.php file from the Guest Permissions MOD. I could be wrong. I am really as dumb as a rock when it comes to understanding PHP code.

I really do not use the function that I am not able to get to. My users do not care much about either. I just thought you would be interested in the conflict for your own purposes.

If you want to look at the forum: www.fafriends.com/forums

Best Regards,

P Pabst
Why is it that whenever I have a 50/50 chance, I'm wrong 80% of the time?
Southern Man
Poster
Poster
 
Posts: 11
Joined: Thu 30. Jan, 2003 22:47
Location: South Eastern, US

Postby Niels on Sun 23. Nov, 2003 21:35

You seam to be missing to modify the file
includes/functions.php, witch should be altered by last visit mod

// Start add - Last visit MOD
function make_hours($base_time)
.
..
.
.
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Southern Man on Sun 23. Nov, 2003 23:58

Thanks Niels,

You were exactly right. I had the file perfectly modded but for some reason I didn't get the modded file up to the server. :?

I told you I was as dumb as a rock..... :roll:

Thanks again.

PP
Why is it that whenever I have a 50/50 chance, I'm wrong 80% of the time?
Southern Man
Poster
Poster
 
Posts: 11
Joined: Thu 30. Jan, 2003 22:47
Location: South Eastern, US

Previous

Return to Guest permission [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 0 guests

cron