Site stats removal link

Hello is there a way that i can remove the link in the home page under members. I would like to remove that members link in the site stats. Is this possable?

 

I would like to add a different link instead of the default link

 

thanks

lucky

Quote · 28 Oct 2008

If you want to hide only the members link in stats box you can try this, not sure if this is what you are referring to but it sounds like it.

Open /inc/db_cached/SiteStat.inc


Find:
'all'=>array('capt'=>'Members', 'query'=>'SELECT COUNT(`ID`) FROM `Profiles` WHERE `Status` = \'Active\' AND (`Couple`=\'0\' OR `Couple`>`ID`)', 'link'=>'browse.php', 'icon'=>'mbs.gif'),

Change to:
//'all'=>array('capt'=>'Members', 'query'=>'SELECT COUNT(`ID`) FROM `Profiles` WHERE `Status` = \'Active\' AND (`Couple`=\'0\' OR `Couple`>`ID`)', 'link'=>'browse.php', 'icon'=>'mbs.gif'),


Basically just adding // in front of it.

You can do the same for others.

You may have to chmod/permission the file /inc/db_cached/SiteStat.inc to 644. It is set to 666 during installation which is writeable. If you leave it at 666 your changes will come back. Change to 644 permission and it can't write the changes you made back.

You may have to close out your browser and/or clear your cache to verify changes.

gameutopia

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 28 Oct 2008

hello gameutopia yes your on the right track but now the "members" is gone. right now my site says 8 Members and when i did what you said to do it removes "members" is there away just to remove the link. You know when someone clicks on "members" it goes to a members page. What i would like to do is remove the link but keep the word "members" in the site stats

 

thanks

lucky

Quote · 29 Oct 2008

Hello doese anyone know how to do this

Quote · 30 Oct 2008

Change the original:

'all'=>array('capt'=>'Members', 'query'=>'SELECT COUNT(`ID`) FROM `Profiles` WHERE `Status` = \'Active\' AND (`Couple`=\'0\' OR `Couple`>`ID`)', 'link'=>'browse.php', 'icon'=>'mbs.gif'),


To this:

'all'=>array('capt'=>'Members', 'query'=>'SELECT COUNT(`ID`) FROM `Profiles` WHERE `Status` = \'Active\' AND (`Couple`=\'0\' OR `Couple`>`ID`)', 'icon'=>'mbs.gif'),

It will still say the # of members and say members, but no link anymore. Just plain old text that says members. You are basically just removing the link referrence.

Guess I miss understood you. I thought you wanted to remove the whole referrence to it. Same thing possible chmod/permission the file 644 so it doesn't change itself back.

gameutopia

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 30 Oct 2008

 

Change the original:

'all'=>array('capt'=>'Members', 'query'=>'SELECT COUNT(`ID`) FROM `Profiles` WHERE `Status` = \'Active\' AND (`Couple`=\'0\' OR `Couple`>`ID`)', 'link'=>'browse.php', 'icon'=>'mbs.gif'),


To this:

'all'=>array('capt'=>'Members', 'query'=>'SELECT COUNT(`ID`) FROM `Profiles` WHERE `Status` = \'Active\' AND (`Couple`=\'0\' OR `Couple`>`ID`)', 'icon'=>'mbs.gif'),

It will still say the # of members and say members, but no link anymore. Just plain old text that says members. You are basically just removing the link referrence.

Guess I miss understood you. I thought you wanted to remove the whole referrence to it. Same thing possible chmod/permission the file 644 so it doesn't change itself back.

gameutopia

 

Hello i tried what you had said but its not working the link is still there. I had cleared my cache and still the link is still there do you have any idea why this isnt working

 

lucky

 

Quote · 31 Oct 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.