TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,030
  • Total Topics: 21,334
  • Online today: 519
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 149
  • Total: 149

User Block Edit

Started by smurfyforum, April 18, 2010, 02:13:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pvcblue

Sorry if this has been asked, or if this is in the wrong place, I have done a search and could not find anything on it, maybe I was using the wrong search terms?

What I want to do is edit out some of the items (highlighted in yellow in the image) in the menu of the "User" block. Is it possible and what files do I need to do this in?

TinyPortal 1.0 beta 5-1 
SMF 1.1.11

"Smurfs, Smurfs, and More Smurfs!"

Renegd98

I hope that you understand that those are seen by the admin and not by the normal users unless you have set their access to have the ability to do what one of those menu entries allows.

pvcblue

Quote from: Renegd98 on April 18, 2010, 02:46:34 AM
I hope that you understand that those are seen by the admin and not by the normal users unless you have set their access to have the ability to do what one of those menu entries allows.

Yes I am aware of that, I just personally find it unecessary when I can access them from the "ADMIN" center itself. It is a quirk of mine. So I would like to "//" them out of whatever file they are in.


"Smurfs, Smurfs, and More Smurfs!"

Xarcell

The best thing to do is create another block with just the features you want for it. There are similar available in block snippets, but none for SMF 2.0.

pvcblue

Quote from: Xarcell on April 18, 2010, 04:02:48 AM
The best thing to do is create another block with just the features you want for it. There are similar available in block snippets, but none for SMF 2.0.

As I cannot code that well, i would just like to edit the area where this code is found. I looked in the Block Snippets and there is nothing there like this block. :(

"Smurfs, Smurfs, and More Smurfs!"

bloc

Check out TPsubs.template.php in Themes/default/ (or create a copy inside a new theme) and find the function TPortal_userbox().

That function does all of the links, so if you wish you can just remove the entries you don't need.

pvcblue

#6
Quote from: Bloc on April 18, 2010, 11:22:16 AM
Check out TPsubs.template.php in Themes/default/ (or create a copy inside a new theme) and find the function TPortal_userbox().

That function does all of the links, so if you wish you can just remove the entries you don't need.

AWESOME!! That worked great Bloc!! THANK YOU SO MUCH!!  I was even able to move the avatar to the top of the box! :D :D

"Smurfs, Smurfs, and More Smurfs!"

This website is proudly hosted on Crocweb Cloud Website Hosting.