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: 126
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 156
  • Total: 156

User Block in TP Edit

Started by ruaduck, June 01, 2014, 12:06:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ruaduck

I am trying to update my User Block in TP.  I have removed Help, Calendar and a few other things from my main header menu.  I now want it to be available in the User Block  with all of these:

PM: 3
Show unread
Show replies
Show own posts
Show latest comments
Total Logged In:
0d 19h 10m
May 31, 2014, 04:52:10 PM
Write HTML article
Write BBC article
My articles
Upload file
Manage settings
Manage blocks
Manage articles
Manage Files

Any help would be greatly appreciated.

IchBin

You'll have to manually modify the code in the Themes/default/TPsubs.template.php file.
Look for the userbox function. I don't know the name off memory, but it should be pretty easy to find the user block by searching for similar names. You can add your code in with that function to make it appear as you want.

ZarPrime

Hello ruaduck,

Welcome to the TinyPortal support Site.

Actually, I am a little confused on your request.  All of the items you mention are already available in the standard TinyPortal User Block.  Well, that is, unless the things you want to add to the user block are the Calendar, Help, etc. that you mention you removed from your main menu.

Quote from: ruaduck on June 01, 2014, 12:06:11 AM
I am trying to update my User Block in TP.  I have removed Help, Calendar and a few other things from my main header menu.  I now want it to be available in the User Block  with all of these:

Is that what you mean?  If so, you would  be better off creating a separate TP menu block to add those links to rather than trying to add them to the User block.  There are two reasons for this.  First of all, the first time you upgrade your version of TintPortal to a new version, your edits will be gone.  Secondly, that is what the menu block is for.

If I am missing your point, could you please elaborate exactly what it is you are trying to do?  You also might want to Please read our Posting Guidelines, especially the part about the information we request when people ask for support.

ZarPrime

ZarPrime

Oh, sorry Ichbin, I didn't realize you were on and answering the question.

This website is proudly hosted on Crocweb Cloud Website Hosting.