[Beta] Signature into frame

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [Beta] Signature into frame

Post by stokerpiller »

kber wrote:
stokerpiller wrote:Actually there is no need to use frames. An ordinary border is better.

This is what I use at my Board:

Code: Select all

<!-- IF postrow.SIGNATURE -->
						<div style="height: 100px; overflow: hidden; border-top: 1px solid #999999;"><span class="postbody">{postrow.SIGNATURE}</span></div>
					<!-- ENDIF -->
It shows a border over the signature and the signature is only 100px in heigt.
If You want it to be scrollable just replace overflow: hidden; with overflow: auto;
Then there will be a scrollbar.

If You want borders all around the signature then replace: border-top: with border:
That should validate just fine.
But you should did it in all forum>s theme . my mod is just one edit in one file , ;)
That is correct kber.
1 edit per installed template.
But I guess that You can use it to make Your mod valid? Then it would only be one edit.
I am done with phpBB
User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Signature into frame

Post by kber »

i will :) thanks for your note :mrgreen:
Hello All
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [Beta] Signature into frame

Post by stokerpiller »

kber wrote:i will :) thanks for your note :mrgreen:
You are welcome ;)
I am done with phpBB
User avatar
*Capmaster*
Registered User
Posts: 159
Joined: Tue Mar 20, 2007 5:00 pm
Location: Albuquerque, NM
Contact:

Re: [Beta] Signature into frame

Post by *Capmaster* »

kber wrote:
bosss wrote:Demo board or some like that " works fine " and download " much more better
demo and download in same link
I'm confused. Your demo board has this posted by you:
kber wrote:You will not see it here . i dont install it in this style
http://phpbbegypt.com/phpBB3/viewtopic.php?p=216#p216

So there's no way to see a demo of the mod?
User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Signature into frame

Post by kber »

*Capmaster* wrote:
kber wrote:
bosss wrote:Demo board or some like that " works fine " and download " much more better
demo and download in same link
I'm confused. Your demo board has this posted by you:
kber wrote:You will not see it here . i dont install it in this style
http://phpbbegypt.com/phpBB3/viewtopic.php?p=216#p216

So there's no way to see a demo of the mod?
Image
Hello All
drankur
Registered User
Posts: 271
Joined: Sat Dec 22, 2007 4:16 am

Re: [Beta] Signature into frame

Post by drankur »

stokerpiller wrote:Actually there is no need to use frames. An ordinary border is better.

This is what I use at my Board:

Code: Select all

<!-- IF postrow.SIGNATURE -->
						<div style="height: 100px; overflow: hidden; border-top: 1px solid #999999;"><span class="postbody">{postrow.SIGNATURE}</span></div>
					<!-- ENDIF -->
It shows a border over the signature and the signature is only 100px in heigt.
If You want it to be scrollable just replace overflow: hidden; with overflow: auto;
Then there will be a scrollbar.

If You want borders all around the signature then replace: border-top: with border:
That should validate just fine.
can u tell me which file to edit ??
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [Beta] Signature into frame

Post by stokerpiller »

You find the code to edit in viewtopic_body.html
I am done with phpBB
danielnguyen
Registered User
Posts: 287
Joined: Thu Jan 24, 2008 11:44 am
Location: Vietnam
Contact:

Re: [Beta] Signature into frame

Post by danielnguyen »

No updated needed at this time?
My forum, for just teen only with many happy things
Cộng Đồng Teen Online - Cộng Đồng Teen Việt - Teen Việt Nam
Hội Ngộ - Giao Lưu - Học Hỏi - Giải Trí - Kết Bạn
http://www.congdongteenonline.net
User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Signature into frame

Post by kber »

danielnguyen wrote:No updated needed at this time?
no ...
Hello All
User avatar
*Capmaster*
Registered User
Posts: 159
Joined: Tue Mar 20, 2007 5:00 pm
Location: Albuquerque, NM
Contact:

Re: [Beta] Signature into frame

Post by *Capmaster* »

kber wrote:demo and download in same link
No. The mod isn't installed in the style on the download board. There's no way to see a demo that I could find.
kber on download board wrote:You will not see it here . i dont install it in this style
But thanks for the screen grab above :D
User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Signature into frame

Post by kber »

that is because it is not working with prosilver based styles :arrow:
Hello All
User avatar
BizimPencere
Registered User
Posts: 396
Joined: Sat Aug 25, 2007 8:31 pm

Re: [Beta] Signature into frame

Post by BizimPencere »

This mod is not xhtml compatible...

for xhtml replace

Code: Select all

				$user_sig =' <fieldset><legend>'.$user->lang['SIGNATURE'].' </legend><span class="postbody">'.$row ['user_sig'].'</span></fieldset>';
and from viewtopic.htrml delete SIGNATUR

<span class="postbody"> SIGNATURE CODE </span>

Bold code delete

<span class="postbody"> and </span>
www.phpbbturkiye.net | Turkish phpBB3 support and development
User avatar
zenrei
Registered User
Posts: 172
Joined: Fri Oct 06, 2006 1:34 pm

Re: [Beta] Signature into frame

Post by zenrei »

drankur wrote:
stokerpiller wrote:Actually there is no need to use frames. An ordinary border is better.

This is what I use at my Board:

Code: Select all

<!-- IF postrow.SIGNATURE -->
						<div style="height: 100px; overflow: hidden; border-top: 1px solid #999999;"><span class="postbody">{postrow.SIGNATURE}</span></div>
					<!-- ENDIF -->
It shows a border over the signature and the signature is only 100px in heigt.
If You want it to be scrollable just replace overflow: hidden; with overflow: auto;
Then there will be a scrollbar.

If You want borders all around the signature then replace: border-top: with border:
That should validate just fine.
can u tell me which file to edit ??
I added a frame around my signature via the .css code (I have prosilver templates, so this mod wouldn't work for me)

Image

I just used a simple line frame, but you can use whatever you want, dotted, dashed, solid, double, groove, ridge, inset, outset...

I went into the admin console, selected styles > themes > edit

looked for the /* Post signature */ area and did my edits there.

for my border, I just replaced the border and padding entries with:

Code: Select all

padding: .1cm;
and
border: 1px solid #CCCCCC;  (this is the color my theme was already using for the top border line, so I just kept it)
Locked

Return to “[3.0.x] MODs in Development”