php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#218479 - 06/10/02 10:25 AM Login box + moved moderator list on Main index
Gardener Offline
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[/]


Attachments
49383-ubbthreads.txt (79 downloads)



Edited by Gardener (06/10/02 10:26 AM)
_________________________
/Gardener | Complete list of my mods

Top
#218480 - 06/10/02 10:32 AM Re: Login box + moved moderator list on Main index [Re: c0bra]
MTO Offline
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".
_________________________
Mateo Byler
CruceDeCaminos.com

Top
#218481 - 06/10/02 11:46 AM Re: Login box + moved moderator list on Main index [Re: D_Wolfwood]
AllenAyres Offline

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
_________________________
- Allen wavey
- What Drives You?

Top
#218482 - 06/10/02 12:05 PM Re: Login box + moved moderator list on Main index [Re: SurfMinister]
WrĊith Offline
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="" />

Top
#218483 - 06/10/02 02:54 PM Re: Login box + moved moderator list on Main index [Re: SurfMinister]
Gardener Offline
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.
_________________________
/Gardener | Complete list of my mods

Top
#218484 - 06/10/02 03:18 PM Re: Login box + moved moderator list on Main index [Re: D_Wolfwood]
Gardener Offline
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[/]


Attachments
49493-ubbthreads.txt (80 downloads)

_________________________
/Gardener | Complete list of my mods

Top
#218485 - 06/10/02 03:31 PM Re: Login box + moved moderator list on Main index [Re: c0bra]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Hi,<br /><br />Your txt file in the attachment is corrupted <img src="/forum/images/icons/frown.gif" alt="" /><br /><br />Ian
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#218486 - 06/10/02 03:38 PM Re: Login box + moved moderator list on Main index [Re: Gorlum]
Gardener Offline
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.


Attachments
49499-ubbthreads.txt (177 downloads)

_________________________
/Gardener | Complete list of my mods

Top
#218487 - 06/10/02 03:48 PM Re: Login box + moved moderator list on Main index [Re: c0bra]
Ian_W Offline

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 wink at the moment - but expanding all the time....)

Top
#218488 - 06/10/02 03:59 PM Re: Login box + moved moderator list on Main index [Re: Gorlum]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
It's not my fault MSIE does it wrong. Why not just use "Save as"?
_________________________
/Gardener | Complete list of my mods

Top
#218489 - 06/10/02 04:11 PM Re: Login box + moved moderator list on Main index [Re: c0bra]
Ian_W Offline

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/02 04:43 PM)
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#218490 - 06/10/02 04:28 PM Re: Login box + moved moderator list on Main index [Re: Gorlum]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
Sorry about that, I'll try to name files better in the future and include a better comment on what the attachment actually is.
_________________________
/Gardener | Complete list of my mods

Top
#218491 - 06/10/02 08:03 PM Template also include board image hack [Re: c0bra]
Gardener Offline
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[/]


Attachments
49561-boardimage.txt (52 downloads)

_________________________
/Gardener | Complete list of my mods

Top
#218492 - 06/10/02 10:23 PM Re: Login box + moved moderator list on Main index [Re: Gorlum]
AllenAyres Offline

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="" />
_________________________
- Allen wavey
- What Drives You?

Top
#218493 - 06/10/02 10:25 PM Re: Template also include board image hack [Re: c0bra]
AllenAyres Offline

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="" />
_________________________
- Allen wavey
- What Drives You?

Top
#218494 - 06/11/02 09:04 AM Re: Template also include board image hack [Re: SurfMinister]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
Sounds great, it would be nice to have a link or screenshot to see how it is used.
_________________________
/Gardener | Complete list of my mods

Top
#218495 - 06/11/02 09:59 AM Re: Template also include board image hack [Re: c0bra]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Thank you. <br /> <br />Ian. <br /> <br />


Edited by canvey (06/11/02 10:02 AM)
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#218496 - 06/11/02 01:31 PM Re: Login box + moved moderator list on Main index [Re: c0bra]
Rio Offline
Junior Member

Registered: 05/29/01
Posts: 39
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.

Top
#218497 - 06/11/02 01:55 PM Re: Login box + moved moderator list on Main index [Re: twille]
Gardener Offline
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?
_________________________
/Gardener | Complete list of my mods

Top
#218498 - 06/11/02 02:14 PM Re: Login box + moved moderator list on Main index [Re: c0bra]
PhotoPost Offline
Hacker

Registered: 02/03/02
Posts: 989
Nice. I did remove the extra <br /> on the end to make it evenly spaced.
_________________________
[]http://www.danasoft.com/vipersig.jpg[/]
Viper Alley - http://www.viperalley.com
Extreme Fitness - http://www.extremefitness.com[/b]

Top
Page 1 of 2 1 2 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks