Welcome, Guest. Please Login or Register.
October 01, 2024, 05:34:07 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  A sort of signature in your post...... « previous next »
Pages: [1] Reply Ignore Print
Author Topic: A sort of signature in your post......  (Read 607 times)
tauonline
Noobie
*
Posts: 11


I'm a llama!

WWW
A sort of signature in your post......
« on: February 17, 2004, 04:27:55 PM »
Reply with quote

YaBB SE Version: 1.5.5

Problem Description:
Hi! On my forun I always put the following at the end of my posts:
Gamer's Place
[url]www.gamers-place.co.uk[/url]


Is there anyway I can make it so that, that piece of code altomatically comes up directly under my posts? And I know about signatures they don't work correctly!
 Thanks.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:A sort of signature in your post......
« Reply #1 on: February 17, 2004, 07:19:53 PM »
Reply with quote

Why don't signatures work correctly?

-[Unknown]
Logged
tauonline
Noobie
*
Posts: 11


I'm a llama!

WWW
Re:A sort of signature in your post......
« Reply #2 on: February 17, 2004, 08:04:43 PM »
Reply with quote

Quote from: [Unknown] on February 17, 2004, 07:19:53 PM
Why don't signatures work correctly?

-[Unknown]

I didn't mean it in that sense. What I mean is that if I use a signature to do this then the text wouldn't be right by the post it'd be about 6 lines down with a horizontal rule seperating it. I'm just wondering if you can automatically modify a certain file so that you can do what I want?
Logged
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:A sort of signature in your post......
« Reply #3 on: February 17, 2004, 11:40:07 PM »
Reply with quote

Quote from: tauonline on February 17, 2004, 08:04:43 PM
What I mean is that if I use a signature to do this then the text wouldn't be right by the post it'd be about 6 lines down with a horizontal rule seperating it. I'm just wondering if you can automatically modify a certain file so that you can do what I want?

If you're prepared to hardcode your 'sort of signature' into the board:

Search Display.php for:

                                <hr width="100%" size="1" class="windowbg3" />
                                ' . $message . '


And replace with:

                                 <hr width="100%" size="1" class="windowbg3" />
                                 ' . $message;

                                 if ($muserID == 'your id')
                                 {
                                    echo '<p>Gamer\'s Place<br /><a href="http://www.gamers-place.co.uk/" target="_blank">www.gamers-place.co.uk</a></p>';
                                 }

                                 echo '


Where 'your id' is your id (obviously!).

NB Earlier post deleted because I never should have posted code without code tags.
« Last Edit: February 18, 2004, 12:06:14 AM by Peter Duggan » Logged

Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:A sort of signature in your post......
« Reply #4 on: February 18, 2004, 12:12:54 AM »
Reply with quote

PS I know this affects your whole site, but should that be Gamer's singular or Gamers' plural? ???
Logged

tauonline
Noobie
*
Posts: 11


I'm a llama!

WWW
Re:A sort of signature in your post......
« Reply #5 on: February 18, 2004, 06:16:50 PM »
Reply with quote

Quote from: Peter Duggan on February 17, 2004, 11:40:07 PM
Quote from: tauonline on February 17, 2004, 08:04:43 PM
What I mean is that if I use a signature to do this then the text wouldn't be right by the post it'd be about 6 lines down with a horizontal rule seperating it. I'm just wondering if you can automatically modify a certain file so that you can do what I want?

If you're prepared to hardcode your 'sort of signature' into the board:

Search Display.php for:

                                <hr width="100%" size="1" class="windowbg3" />
                                ' . $message . '


And replace with:

                                 <hr width="100%" size="1" class="windowbg3" />
                                 ' . $message;

                                 if ($muserID == 'your id')
                                 {
                                    echo '<p>Gamer\'s Place<br /><a href="http://www.gamers-place.co.uk/" target="_blank">www.gamers-place.co.uk</a></p>';
                                 }

                                 echo '


Where 'your id' is your id (obviously!).

NB Earlier post deleted because I never should have posted code without code tags.

Thanks! And I know this is a stupid question but by ID does that mean display name or username? (Sorry I'm a newbie!:-))
Logged
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:A sort of signature in your post......
« Reply #6 on: February 18, 2004, 06:27:49 PM »
Reply with quote

Quote from: tauonline on February 18, 2004, 06:16:50 PM
Thanks!

:)

QuoteAnd I know this is a stupid question but by ID does that mean display name or username? (Sorry I'm a newbie!:-))

Neither! ;)

It's the same as your ID_MEMBER, which is probably '1' if it's your board, but you can check that easily if you have phpMyAdmin.
Logged

tauonline
Noobie
*
Posts: 11


I'm a llama!

WWW
Re:A sort of signature in your post......
« Reply #7 on: February 18, 2004, 07:00:32 PM »
Reply with quote

Awesome that works! Thanks soooo much for all your help! YaBB SE is much better than my old forum provider!
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  A sort of signature in your post...... « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.094 seconds with 20 queries.