Again I have 2 more questions is there away to enable the WWW inside the members profile and set our own default website for all new members?
I rather someone show me a simple method in the changing of templates rather then using any plugin.
Open ./member.php
Find around line 1537
$website = '';
Replace with
$website = '<a href=\"http://www.mybb.com/\" target=\"_blank\">http://www.mybb.com/</a>';
Open ./showthread.php
Find around line 964
if($thread['firstpost'] == $post['pid'] && $thread['visible'] == 0)
{
$post['visible'] = 0;
}
Replace with
if($thread['firstpost'] == $post['pid'] && $thread['visible'] == 0)
{
$post['visible'] = 0;
}
if($post['website'])
{
$post['website'] = htmlspecialchars_uni($memprofile['website']);
}
else
{
$post['website'] = 'http://www.mybb.com/';
}
Replace http://www.mybb.com/ to your custom default homepage.
you can also just do this in templates so you don't change your core files... replace the template variable with your website url variable... easy peasy.
Edit:
look in your postbit template category.
also note this way forces your url for ALL users...
which is not what you want specifically.. but it's an option.
I know... lol.. your way does exactly what he wants
(2013-03-13, 09:01 PM)JordanMussi Wrote: [ -> ]Open ./member.php
Find around line 1537
$website = '';
Replace with
$website = '<a href=\"http://www.mybb.com/\" target=\"_blank\">http://www.mybb.com/</a>';
Open ./showthread.php
Find around line 964
if($thread['firstpost'] == $post['pid'] && $thread['visible'] == 0)
{
$post['visible'] = 0;
}
Replace with
if($thread['firstpost'] == $post['pid'] && $thread['visible'] == 0)
{
$post['visible'] = 0;
}
if($post['website'])
{
$post['website'] = htmlspecialchars_uni($memprofile['website']);
}
else
{
$post['website'] = 'http://www.mybb.com/';
}
Replace http://www.mybb.com/ to your custom default homepage.
It worked, thank you so much.