Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Hide quote (or other table) for guest ?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Manx
Starting Member

2 Posts

Posted - 05 July 2006 :  09:34:20  Show Profile  Reply with Quote
Hello everybody,

I seek/search to hide quote (or other table) in the post for the guest.
There is a solution, a MOD ?

Thanks.

Manx

<moved to="MOD Add-On Forum (W/O Code)" by="Shaggy" /><

The force is with me ; )

Edited by - Shaggy on 06 July 2006 12:31:37

ILLHILL
Junior Member

Netherlands
341 Posts

Posted - 06 July 2006 :  15:28:14  Show Profile  Reply with Quote
You should find out where the Quote table is displayed in which file exactly, then
add:

if mlev = 0 then
response.write "please register and/or log in"
end if

if mlev > 0 then

display the quote code part

That should do the trick

Greets, Dominic
<

CLPPR.com - All The News Only Seconds Away
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 07 July 2006 :  05:22:28  Show Profile  Reply with Quote
Easiest way to do it would be to move the parsing of the [quote] tags to the extraTags function and use a check on mlev to determine whether or not to display the quote. Alternatively, you can use the same method to do as Ill' suggested and display a custom message instead of the quote.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Manx
Starting Member

2 Posts

Posted - 08 July 2006 :  06:05:51  Show Profile  Reply with Quote
Thanks.
I thought of doing that.

@+<

The force is with me ; )

Edited by - Manx on 08 July 2006 06:07:19
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 10 July 2006 :  06:06:23  Show Profile  Reply with Quote
Note, though, that any quotes you have in existing posts before you make this change will still be displayed to guests as they were parsed when the record was created in the database.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07