I have applied this mod for our forum and it appears to be working fine, except for two things...
Now, we are using build 1.2.12, which technically this does not support. I went ahead and edited install_mod.php to include the version and then updated the dtabase, no prob.
Then I went ahead and began editing the files per the read me.
This was okay up until in steps 19, 20, and 21 where it askes you to edit line 36 in profile.php, because in this version of punbb the lines have already been edited to something else (and I am unsure how to figure out what to do without sitting down and studying it, ...something not for tonite!)
Sooo... so I went ahead and tested it without that last edit, and everything seems to work great..., excepting that if the guest goes into a post they do see the Poster's ident as a clickable link ...which just so happens to let them into to view that individual's profile ;^(
Bummer.
So I am wondering if I need to figure out that last code edit in "profile.php", ..if that is the 'trick' to the last access point? Seems it would be. Maybe I can figure it out tomorrow. If someone here sees this and figures out the correct edit for that sooner (and I am not guaranteeing I can do it tomorrow, if ever LOL...) sure would apreciate it.
Really Nice Mod otherwise, atis. ty
Cheers,
TwoHawks
Edited Later: Just to let you kow, I did edit the entry by adding the line
if ($pun_user['g_read_board'] != '0') $permitted = 1;
else if ($pun_user['g_view_users'] != '0') $permitted = 1; <<<this one added here
else if ($action == 'change_pass' && isset($_GET['key'])) $permitted = 1;
else if ($action == 'activate_account' && isset($_GET['key'])) $permitted = 1;
else $permitted = 0;
...and I really think this ought to work... don't understand why it doesn't?? Guest user still accesses the user's profile instead of the 'alternate message'. What am I missing?
TwoHawks
Love is the Function
No Form is the Tool