How to add username in part of the theme How to add username in part of the theme
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

How to add username in part of the theme

Started by MisterX, March 21, 2007, 06:14:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MisterX

Hello,

I've made a custom theme for a site. There is one thing which I would like to do at this point which is to put some text on the page that says "Hello *username*" or something generic like that.

Where can I get this information so that I can stuff it in my template?

I searched yesterday and the day before but didn't find anything like what I am looking for.


Joachim Müller


MisterX

That didn't do anything for me. How does this file get included because I suspect that the code inside is not running.

MisterX

Well I scratched around and the only way I could get something remotely close to what I needed was to...

Go to  Config --> Album List View --> The content of the main page

Inside that text box area I put in:

anycontent/breadcrumb/catlist/alblist/random,2/lastup,2

Which shows my anycontent on the index page just before all the albums and just after the menu.

Close enough for me but would have preferred to put it inside my template somehow so that I can place it exactly where I want it.