Hide quote (or other table) for guest ?

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/62258?pagenum=1
05 November 2025, 10:13

Topic


Manx
Hide quote (or other table) for guest ?
05 July 2006, 09:34


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" /><

 

Replies ...


ILLHILL
06 July 2006, 15:28


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
<
Shaggy
07 July 2006, 05:22


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.
<
Manx
08 July 2006, 06:05


Thanks. I thought of doing that.
@+<
Shaggy
10 July 2006, 06:06


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.
<
© 2000-2021 Snitz™ Communications