Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jul 2001
Posts: 23
Newbie
Newbie
Offline
Joined: Jul 2001
Posts: 23
I need to add a disclaimer signiture to all my users except administrators. I dont want this to replace peoples custom sigs, I just want it to follow on underneath their own sig.

Anyone have any ideas how I can do this. I tried editing the showthreaded.php and showflat.php

I added this piece of code after this:

if ($showsigs == "no") {
$Signature = "";
}


if ($PostStatus != 'Administrator')
$Signature=$Signature
.'
<br><br>--------------------<br>
This is where I will put the text for my standard sig
';


Oh I am running version: 6.3.2

Thanks

Laura

The Webmistress


The Webmistress
Sponsored Links
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
That looks like it should work, if you made that change exactly as you described. Are you saying it had no effect?

Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
To me, that code looks like it will only add the "disclaimer" if it is an admin making the post.

Joined: Jul 2001
Posts: 23
Newbie
Newbie
Offline
Joined: Jul 2001
Posts: 23
Really... that's strange.. Because I had this working on the previous version of threads and it worked fine, but as soon as I upgraded I pasted this back in to the files and it's doesn't work.

I never had the disclaimer in my posts because I am an admin, but the other users had the disclaimer.

Hmm... Back to the drawing board. I can’t think what would have changed in the new version to not make it work.

Thanks

Laura


The Webmistress
Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
Okay, != is not equal to, I miss that the first time, so that should work. The only thing I can think of is that language files were incorporated more in in 6.3. Perhaps the changes there effected this. I tried your snippit of code on my devboard and it didn't show up. I'm not much of a coder, but I don't see why this doesn't work. Perhaps defining it as a varible in the language file and calling that way will work better. I am swamped right now sending out our newsletter but if I get a chance and noone else has jumped on this, I will take a look at this over the weekend.

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, that sure looks correct to me.

Joined: Jul 2001
Posts: 23
Newbie
Newbie
Offline
Joined: Jul 2001
Posts: 23
Thanks. I'll have a play about with it myself too.

I'll let you know if I get anywhere with it.



The Webmistress

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)