Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
liqiud
Regular
Regular



Joined: Nov 05, 2006
Posts: 53

PostPosted: Wed Nov 22, 2006 7:07 am Reply with quote

I've been looking through the userinfo block, and I have a question. I only want it to display some of the information, not all of it. Is that controlled in the userinfoblock.php file? I've looked through it, and I'm not sure what lines to remove.

I want to remove the Membership section, people online section, online now section, page views section, and hits section. Basically everything below the Private Messages section.

Any help would be greatly appreciated, since I'm basically learning PHP as I go.

Thanks.
 
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Wed Nov 22, 2006 8:22 am Reply with quote

you mean the user info block in ravennuke ?
 
View user's profile Send private message
liqiud







PostPosted: Wed Nov 22, 2006 8:29 am Reply with quote

Yes. I upgraded it to the same version here from a post here. Can't remember the version #, but i'm sure i can dig it up if need be. I've activated it, so you guys could look at it. The website is [ Only registered users can see links on this board! Get registered or login! ] The block is in the lower right corner.
 
hitwalker







PostPosted: Wed Nov 22, 2006 8:37 am Reply with quote

ok here you go...
should be ok...
its a basic strip of the code..
just publish it to view by registered....

open up the user info block and look up lines....
Code:


$content .= "<img src=\"images/blocks/email-r.gif\" height=\"10\" width=\"14\" /> "._BUNREAD.": <b>".intval($newpms)."</b><br />\n";
    $content .= "<img src=\"images/blocks/email-g.gif\" height=\"10\" width=\"14\" /> "._BREAD.": <b>".intval($oldpms)."</b><br />\n<hr />\n";


End with }

So it looks like :

Code:
$content .= "<img src=\"images/blocks/email-r.gif\" height=\"10\" width=\"14\" /> "._BUNREAD.": <b>".intval($newpms)."</b><br />\n";

    $content .= "<img src=\"images/blocks/email-g.gif\" height=\"10\" width=\"14\" /> "._BREAD.": <b>".intval($oldpms)."</b><br />\n<hr />\n";

}



then everything below that you can delete.
 
liqiud







PostPosted: Wed Nov 22, 2006 9:06 am Reply with quote

Sweet...that did it. I just remarked it all in case i ever change my mind. Thanks.
 
hitwalker







PostPosted: Wed Nov 22, 2006 10:17 am Reply with quote

that will do to.. Wink
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©