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)
 Moderator under Discussion
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Riccardo
New Member

86 Posts

Posted - 25 November 2005 :  10:42:05  Show Profile  Reply with Quote
Hi all.
I'm trying to do that:


I succed in deleting and reformatting the "main" table without that cells..but i cannot put the code that permit to see the moderator under the Topic as in the pic.
I find difficul to manage the code :
if (strShowModerators = "1") or (mlev = 4 or mlev = 3) then
Response.Write " <td id=""bordino"" class=""bordo"" bgcolor=""" & strForumCellColor & """ align=""center"" valign=""middle""><font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """ size=""" & strFooterFontSize & """><span class=""spnMessageText"">" & listForumModerators(ForumID) & "</span></font></td>" & vbNewline
end if


and always i get error like.. expected "end" expected "if" ..unexpected "next"..
is there some one that could help me doing that??
thanks<

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)


Edited by - Riccardo on 25 November 2005 10:42:27

Roger Fredriksson
Average Member

Sweden
556 Posts

Posted - 25 November 2005 :  10:50:36  Show Profile  Visit Roger Fredriksson's Homepage  Reply with Quote
Is the Response ... on one single row? If not you need to use & vbNewLine & _ in the end of the rows. From what I can see on your site you seem to know much more than that but even the sun has it spots.<

rf/www.avgifter.com
Go to Top of Page

Nertz
Junior Member

Canada
341 Posts

Posted - 25 November 2005 :  10:57:35  Show Profile  Reply with Quote
Probably need to delete the "<td ...>" and "</td>" tags in the response.write, since you are already trying to put it in an existing. May need a "<br />" before "<font...>" tag to get it on the next line.

cheers,
Nat<

Sadly, most Family Court Judges wrongfully reward opportunistic gold diggers
that use our children unjustly as "instruments" of power.


www.fathers-4-justice-canada.ca
Go to Top of Page

Riccardo
New Member

86 Posts

Posted - 25 November 2005 :  10:59:46  Show Profile  Reply with Quote
It's not so simple 'cause i've never worked with the "if" inside a <td> </td> tag..
my purpose is to insert the above code (with the right modifications) in the row created for the discussion under the discussion..but the code is that..and i don't know what to CUT, what to MANTAIN, and how to work with..<

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)


Edited by - Riccardo on 25 November 2005 11:00:24
Go to Top of Page

Riccardo
New Member

86 Posts

Posted - 25 November 2005 :  11:02:57  Show Profile  Reply with Quote
quote:
Originally posted by Nertz

Probably need to delete the "<td ...>" and "</td>" tags in the response.write, since you are already trying to put it in an existing. May need a "<br />" before "<font...>" tag to get it on the next line.

cheers,
Nat



Yes i know that <td></td> must be cutted away..but the problem is another..the problem is to insert the "if" "end if" in that row.
I also try to put a simple string like: ciao. and infact i see "ciao" always in that row..but we are not talking of a string but of a procedure..<

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)

Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 25 November 2005 :  11:13:18  Show Profile  Reply with Quote
The problem may be elsewhere in the file, can you post a link to a *.txt copy of it?

<

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

Riccardo
New Member

86 Posts

Posted - 25 November 2005 :  12:06:35  Show Profile  Reply with Quote
Sure!
http://www.peperonciniamoci.it/default.txt

this is the file..could you do what I need? thank you<

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)


Edited by - Riccardo on 25 November 2005 12:08:55
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 25 November 2005 :  20:31:31  Show Profile  Reply with Quote
Riccardo,

So what you are after is like what I have just thrown together on at: VN Commodore Support Forum

Just a couple of quick edits in your default.asp file to get it working.
<

Cheers,

David Greening
Go to Top of Page

Riccardo
New Member

86 Posts

Posted - 27 November 2005 :  09:04:27  Show Profile  Reply with Quote
Sorry,
where's the code?
could you paste here the right code?

P.S only the code to put moderator in that row. Deleting columns isn't a problem for me.<

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)


Edited by - Riccardo on 27 November 2005 09:07:23
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 27 November 2005 :  13:07:31  Show Profile  Reply with Quote
I have edited the default.txt that you posted and it is in that which I have placed here: Riccardo default.asp

Go through it and compare against your default.asp or replace your default.asp (after backing up your current one) with it. I have removed the column in it for the old default.asp.<

Cheers,

David Greening
Go to Top of Page

Riccardo
New Member

86 Posts

Posted - 27 November 2005 :  13:43:26  Show Profile  Reply with Quote
Thanks for removing also the columns..I'm goin' to test it..
thank you very much<

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)

Go to Top of Page

Riccardo
New Member

86 Posts

Posted - 27 November 2005 :  13:46:55  Show Profile  Reply with Quote
It works!
I tought you removed the colums by reformatting the table..not a problem for me.thank you!<

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)

Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 27 November 2005 :  20:01:42  Show Profile  Reply with Quote
No problems... Glad it is working for you...<

Cheers,

David Greening
Go to Top of Page

Riccardo
New Member

86 Posts

Posted - 28 November 2005 :  03:48:01  Show Profile  Reply with Quote
Tested.
if you want you can see here:
http://www.peperonciniamoci.it/forum/default.asp<

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)

Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 28 November 2005 :  04:26:46  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
Hm... I'd like this also, could you please go through the steps for me Classicmotorcycling? =) (or line numbers in Riccardo's file if that's easier)
This would be a great way to make the forum more "slim" =)
<

/Tribaliztic
- www.gotlandrace.se -
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.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07