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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Private Message Link on topics .asp
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 28 March 2007 :  07:08:38  Show Profile
This is a really nice addition

I am not seeing the link in the topic, just the replies.??

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 28 March 2007 :  16:44:31  Show Profile  Visit MaD2ko0l's Homepage
the reason i told u to put them 2 lines in (Reply_MemberPM = 1 and strPMStatus = 1) was because u dont have the same pm mod as me...Click Here and downlaod the lastest pm mod...it will work fine then without the other mods that u have posted

http://www.gamingcrypt.co.uk/wwwroot/topic.asp?whichpage=1&TOPIC_ID=1#7 look here and u will see that it works fine with the code i used which doesnt have Reply_MemberPM = 1 and strPMStatus = 1 because these shoudl have already be defined by admin and the user.

so the fact that it dont work with your code tell me that u may have the old pm mod or u havnt installed it correctly

© 1999-2010 MaD2ko0l
Go to Top of Page

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 30 March 2007 :  08:59:18  Show Profile
I seem to have an annoying little problem..



I have spaced out the PM me link, location and online status in the author box to make it look a bit tidier but I still have no PM link nor spacings in the author box for the original topic. It seems to work for the replies but not the original topic. Do I have to edit another file to enable the PM link to work in the author box on the original topic??
I also seem to have a small problem with the message box size being different (smaller) in the original topic than the reply.
any help appreciated

topic.txt

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 30 March 2007 :  09:02:02  Show Profile
It's in the GetFirst sub at the end of topic.asp.


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

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 30 March 2007 :  09:46:39  Show Profile
Thanks Shaggy

I have the spacings sorted and now the PM link.. but its not pulling the name to put into the send to box

ie. /privatesend.asp?method=Topic&mname= instead of /privatesend.asp?method=Topic&mname=David M

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 30 March 2007 :  09:59:07  Show Profile
You need to change the names of the variables you're using to use the topic variables, not the ones for replies.


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

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 30 March 2007 :  10:24:46  Show Profile
Thanks Shaggy

thats all sorted and working

just one further Q if I may... how do I increase the size of the displayed message box on the original topic?? ie to match the reply message box size.. as far as I am aware it was ok before adding this code but I havent changed anything else.. well I don't think so...

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 30 March 2007 :  10:30:05  Show Profile  Visit MaD2ko0l's Homepage
quote:
Originally posted by thermal_seeker

just one further Q if I may... how do I increase the size of the displayed message box on the original topic?? ie to match the reply message box size.. as far as I am aware it was ok before adding this code but I havent changed anything else.. well I don't think so...



i dont understand what u mean...can we have alink to your asite ith the problem please?
as far as i am aware it shouldnt mess any visual looks apart from the link being added

© 1999-2010 MaD2ko0l
Go to Top of Page

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 30 March 2007 :  10:38:35  Show Profile
ok I think I understand what is happening....

when creating a new topic post.asp is being used.. as the author box is now deeper (has more lines) the message box for post.asp needs to have more displayed lines too.. regardless if only one line is written...

http://kazzys-cavies-community.co.uk/Forum/topic.asp?TOPIC_ID=1760

use test/test

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 30 March 2007 :  11:12:06  Show Profile
It's nothing to do with the ASP, it's the generated HTML that's causing that; you have many, many errors in there. It looks like the extra opening font tag before the topic is what's causing your problem. You'll find that on line 1115.


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

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 30 March 2007 :  11:28:12  Show Profile
hmmmmm if I have many errors Shaggy, how should I best sort them?? being a non-coder??

line 1115 of post.asp is red

Response.Write "<tr>" & vbNewLine & _
"<td bgColor=""" & strPopUpTableColor & """> </td>" & vbNewLine & _ "<td bgColor=""" & strPopUpTableColor & """ valign=""center"">" & vbNewLine & _

how can I change it to help my problem??

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 30 March 2007 :  11:49:53  Show Profile
Why are you editing post.asp when your problem's in topic.asp? Run your pages through a HTML validator, that'll show you all the errors.


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

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 30 March 2007 :  12:01:25  Show Profile
.. because I thought that was where the problem originated...

line 1115 of topic.asp is..

if IsPoll = 1 then

and hence I don't understand why that is causing the problem..

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 30 March 2007 :  12:12:43  Show Profile  Visit MaD2ko0l's Homepage
find line 995 which should be


			"                <td bgcolor=""" & strForumFirstCellColor & """ width=""" & strTopicWidthRight & """"


and replace it with


			"                <td bgcolor=""" & strForumFirstCellColor & """ height=""100%"" width=""" & strTopicWidthRight & """"


i added the part in red...try this..it may do the trick

© 1999-2010 MaD2ko0l
Go to Top of Page

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 30 March 2007 :  12:27:09  Show Profile
that sure has done the trick

Thanks very much

Dave

No good at coding, but I can plough a field !!
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07