#218479 - 06/10/0210:25 AMLogin box + moved moderator list on Main index
Gardener
Addict
Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
Description: Attached is a new version of the ubbthreads.tmpl where there is a login box at the top of the page. As an added bonus the moderator column is removed and the moderator list is shown below the forum description. <br /> <br />Screenshot: []http://www.theyard.org/images/login-moderator-template.png[/]
#218480 - 06/10/0210:32 AMRe: Login box + moved moderator list on Main index
[Re: c0bra]
MTO
Addict
Registered: 01/31/00
Posts: 1524
Loc: Burgos, Spain.
To be more intuitive for newbies, in that log-in box I would place [:"green"]{$ubbt_lang['NEW_USER']} [/] ("New user"). I know its already above, but I think the placement would be much more intuitive in the login box.<br /><br />Ideally we would have a language text for "Not registered? Click here".
#218481 - 06/10/0211:46 AMRe: Login box + moved moderator list on Main index
[Re: D_Wolfwood]
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25580
Loc: Texas
To be even more intuitive, you might associate it with the ubbt_unregisterednav.tmpl instead <img src="/forum/images/icons/smile.gif" alt="" /> Those logged in wouldn't have to see it then.<br /><br />Good work tho, I like the moderator's placement
#218482 - 06/10/0212:05 PMRe: Login box + moved moderator list on Main index
[Re: SurfMinister]
WrĊith
Enthusiast
Registered: 01/31/02
Posts: 310
Loc: California, USA
<blockquote><font class="small">Writes AllenAyres:</font><hr> I like the moderator's placement <hr /></blockquote>I do as well and I plan on using this template as a guide for modifying mine to remove the moderators column and place the moderator list beneath the forum description. I think that will help to "unclutter" the main index (or Command Centre as it's called on my board). <img src="/forum/images/icons/laugh.gif" alt="" />
#218483 - 06/10/0202:54 PMRe: Login box + moved moderator list on Main index
[Re: SurfMinister]
Gardener
Addict
Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
Actually, the login box is not shown for users that are logged in. The reason that it isn't in ubbt_unregisterednav.tmpl is that it wouldn't show correctly on my board because of some background images I have. Also, this way it only shows up on the forum list, which I think is enough.<br /><br />The code for the login box is separated though, so it would be easy to put it in unregisterednav instead. Although, it would be a good idea to remove the check to see if the user is logged in since it won't be necessary any more.<br /><br />Yeah, I really like the placement of the moderators, but I think it was someone else here that gave me the idea. Would be good with a new language text for it also, so that it says "Moderators" instead. But I didn't feel like making the template needing a change to another file as well.
#218484 - 06/10/0203:18 PMRe: Login box + moved moderator list on Main index
[Re: D_Wolfwood]
Gardener
Addict
Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
That's a good idea, so I've added the info text from the login page after the heading.<br /><br />The new template is attached, below is a screenshot:<br />[]http://www.theyard.org/images/login-moderator-template.png[/]
#218486 - 06/10/0203:38 PMRe: Login box + moved moderator list on Main index
[Re: Gorlum]
Gardener
Addict
Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
Strange, it works for me when I view it and I just made a copy from my template file. It was in DOS mode though for some reason, not sure if templates should be that or not. Seems that some are and some aren't even when looking at files I haven't altered.<br /><br />Here is a new version which is in unix format, hopefully it will work better.
#218487 - 06/10/0203:48 PMRe: Login box + moved moderator list on Main index
[Re: c0bra]
Ian_W
Veteran
Registered: 02/22/02
Posts: 2575
Loc: England
I've just clicked - it is trying to display your txt file, which is of course a php file as a regular html page.<br /><br />If I view the source of the page, then I am fine. Might be easier to uplaod as a zip file containing the template with the correct suffix.<br /><br />Regards,<br /><br />Ian
_________________________ Fans Focus - Focusing on Fans of Sport
(Okay - mainly football (the British variety at the moment - but expanding all the time....)
#218489 - 06/10/0204:11 PMRe: Login box + moved moderator list on Main index
[Re: c0bra]
Ian_W
Veteran
Registered: 02/22/02
Posts: 2575
Loc: England
I did not right click because you had named the file a .txt so naturally I assumed that it contained a txt file. I would associate a txt file for a hack or template with a list of directions to implement it - I would not assume that it was a .tmpl file in disguise. <br /> <br />Ian. <br /> <br />
Edited by canvey (06/10/0204:43 PM)
_________________________ Fans Focus - Focusing on Fans of Sport
(Okay - mainly football (the British variety at the moment - but expanding all the time....)
#218491 - 06/10/0208:03 PMTemplate also include board image hack
[Re: c0bra]
Gardener
Addict
Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
I was about to see if my board image hack needed any updates for 6.0 final when I saw that I had actually included it by accident in this template. So there is actually one more hack as well.<br /><br />Description: This hack allows you to have different pictures next to the board & description on the main index page. The image is inserted to the left of the forum description, even though it can be placed anywhere on the row of that forum if you want. It is just a matter of placing the "{$forumimage}" where the picture should go.<br /><br />You can have a different image for every board, you just have to name them after the boards Keyword. This board would have an image called "templates.gif".<br />If no image for the forum exists a default image "board.gif" is inserted instead, if it exists. This way you can have the same image for all boards if you want to, as well. If you want a jpeg or png image as the default image you will have to change the "board.gif" name below.<br /><br />If you want it to be a background image instead you could use the variable {$fimage} instead and place it in the background attribute of the table where you want it to show up. <br /><br />Download: Just save the ubbthreads.txt in the original post of this thread and rename it to ubbthreads.tmpl and put it in the templates directory.<br />Or if you don't want the login box and moved moderator list, just download the attached file which includes all instructions on how to add it yourself.<br /><br />Screenshot:<br />[]http://www.theyard.org/images/boardimage.png[/]
#218492 - 06/10/0210:23 PMRe: Login box + moved moderator list on Main index
[Re: Gorlum]
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25580
Loc: Texas
when you pull up a file like that in IE it tries to render the output... just do a "view source" on it and the code/html is plainly visible <img src="/forum/images/icons/smile.gif" alt="" />
#218493 - 06/10/0210:25 PMRe: Template also include board image hack
[Re: c0bra]
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25580
Loc: Texas
I like this one, I've seen some very nice work done with this and placing the images in the background <img src="/forum/images/icons/smile.gif" alt="" />
I just installed this on my board but now I can't access post from the past 24 hours here is what I get when I click any of these links<br /><br /><br />View recent messages <br />Past 24 hours <br />Past 48 hours <br />Past 7 days <br /><br />We cannot proceed. <br /> <br />No matches. <br /><br />Please use your back button to return to the previous page.
#218497 - 06/11/0201:55 PMRe: Login box + moved moderator list on Main index
[Re: twille]
Gardener
Addict
Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
That's strange, I haven't even touched that bit, but I'll have a look at it.<br /><br />Are you sure it worked before? And it's not on a test board where there hasn't been any new messages recently?