Welcome to Geeklog, Anonymous Saturday, July 19 2025 @ 01:48 pm EDT
Geeklog Forums
Can't post new article, and login form suggestion?
Status: offline
Forum User
Full Member
Registered: 01/28/04
Posts: 240
I'm working on a redesign right now. You can see the work in progress at http://www.antisource.info, log in with guest/guest.
My primary issue is that while testing out the new install, if I create a new block, I get an error message that I don't have permission (even if I'm logged in as admin).
The second issue is more of a design dilemma - I have a logon bar in my header, and what I would like to do is have this bar change with the user's account menu when they are logged in. What's a good way to accomplish this?
I'm rewriting this whole template from scratch, boy is that a lot of work!
My primary issue is that while testing out the new install, if I create a new block, I get an error message that I don't have permission (even if I'm logged in as admin).
The second issue is more of a design dilemma - I have a logon bar in my header, and what I would like to do is have this bar change with the user's account menu when they are logged in. What's a good way to accomplish this?
I'm rewriting this whole template from scratch, boy is that a lot of work!
15
18
Quote
Status: Banned
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Quote by RickW:
The second issue is more of a design dilemma - I have a logon bar in my header, and what I would like to do is have this bar change with the user's account menu when they are logged in. What's a good way to accomplish this?
if your logon bar is in your header.thtml, you could put in some PHP to handle the display of that bar. a simple if / else checking $_USER['uid'].The second issue is more of a design dilemma - I have a logon bar in my header, and what I would like to do is have this bar change with the user's account menu when they are logged in. What's a good way to accomplish this?
I don't have an answer for your 1st question though.. sorry
14
16
Quote
Status: offline
Forum User
Full Member
Registered: 01/28/04
Posts: 240
Quote by machinari:
I don't have an answer for your 1st question though.. sorry
Quote by RickW:
The second issue is more of a design dilemma - I have a logon bar in my header, and what I would like to do is have this bar change with the user's account menu when they are logged in. What's a good way to accomplish this?
if your logon bar is in your header.thtml, you could put in some PHP to handle the display of that bar. a simple if / else checking $_USER['uid'].The second issue is more of a design dilemma - I have a logon bar in my header, and what I would like to do is have this bar change with the user's account menu when they are logged in. What's a good way to accomplish this?
I don't have an answer for your 1st question though.. sorry
Where's the routine for the default user's logon block? Could I just call that function and change the formatting in a template file?
17
17
Quote
Status: offline
Forum User
Full Member
Registered: 10/01/03
Posts: 231
Where's the routine for the default user's logon block? Could I just call that function and change the formatting in a template file?
Yes, just call COM_showBlock( user_block, $help='', $title='User Functions' ); from your header.thtml file then change the template file like you said.
14
15
Quote
Status: Banned
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
nifty

16
19
Quote
I tried that and it didn't work. I just put in:
Is that wrong?
Text Formatted Code
<?php COM_showBlock( user_block, $help='', $title='User Functions' ); ?>Is that wrong?
18
16
Quote
Status: offline
Forum User
Full Member
Registered: 10/01/03
Posts: 231
Try this:
Text Formatted Code
<?php echo COM_showBlock( user_block, $help='', $title='User Functions' ); ?>
15
17
Quote
Hmm... I just tried to post a test article, and it worked this time. I wonder if I was having an issue with IE caching or cookies at work...
14
15
Quote
All times are EDT. The time is now 01:48 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content