SEO-Board: Free, Fast and Search Engine Optimization Friendly Forum Script
»User: »Password:   Remember Me? 
SEO-Board Forum Software Community / General / Support / Question regarding two problems!
Posted:  22 Aug 2007 07:11
Two part question should be pretty easy.
I like my board and wanted to add a couple features i am sure a little code could change.

1.  i need to show the ip address even when it is just a regular logged in user. not for a guest still. (admin can only see ip addresses right now)

2. when guests enter, the can look at the boards (thats fine) but i do not want guests looking at my members profiles. (currently downloaded the newest version SEO-Board 1.1.0RC3).  guests can still look at members profiles.

Any help would be great.  Thanks for a great board.
Posted:  23 Aug 2007 16:55
1. In vtopic.php instead of the 2nd instance of this code:
Code:

$user_ip = null;

Place this one:
Code:

$user_ip = '  '.$lang['ip'].': '.get_view_ip_link($author_ip);


2. At the top of member.php place sth like:
Code:


if ($user_id == 0)
  die("Guests are not allowed to view the member pages");

__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
Posted:  23 Aug 2007 18:36
Great it worked almost perfect!  Ok, now the guest's (non-members) can see my members ip address.  Was there something missing from the code to make sure people have to sign up before getting all the extra's like seeing an ip address.  Thanks for your help.

One more question.  I was wondering if there is a piece of code where my members can send each other private messages and have like an in box where they can check the private messages. Or i can send out mass messages as well like that.  Also, if possible could there be a message notification next to the message? [example: welcome member! (3) ~ where the (3) represents how many messages are in your in-box.]  I have noticed that on a couple other boards i tried before and thought it would really propel this one to the next level.  TIA
Posted:  23 Aug 2007 20:28
I consider IP addresses as private info, which should be seen by the admin/mods.

I haven't needed PMs/notifications, and I haven't coded any.
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
Posted:  23 Aug 2007 20:43
Alright last question and i will leave you alone.  I was wondering if i can make the username {$user_name} (after they sign in) be a link to their my preferences page?  Cant find where to change it at. Its kinda like the admin preferences {$admin_panel_link} type thing.

Thanks again, and i am loving this script btw.  Thanks!!!!
Posted:  24 Aug 2007 17:34
Edit the skin/mainmembernavigation.htm template.
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com