Author |
Topic |
fashionhag
New Member
70 Posts |
Posted - 26 November 2003 : 22:39:10
|
ok sorry |
|
|
Horsepower
Starting Member
10 Posts |
Posted - 07 December 2003 : 00:12:47
|
I instaled this on my site, but I don't get the "New PM" icon on the front page?
Is there something I have to do to turn this on? Thanks |
Edited by - Horsepower on 07 December 2003 00:13:56 |
|
|
The Impact
Junior Member
Australia
398 Posts |
Posted - 07 December 2003 : 02:28:13
|
Have you made the changes to the default.asp file ?
IIRC you can choose which icon you want on the main page when a PM is received. |
|
|
Horsepower
Starting Member
10 Posts |
Posted - 07 December 2003 : 11:39:40
|
I changed everything it told me to change. And I don't have ANY icon http://www.nastyzbay.com/nothing.jpg |
Edited by - Horsepower on 07 December 2003 11:42:29 |
|
|
The Impact
Junior Member
Australia
398 Posts |
Posted - 07 December 2003 : 17:07:30
|
That's because it only appears when you have an unread PR.
Try sending yourself a test ! |
|
|
Horsepower
Starting Member
10 Posts |
Posted - 07 December 2003 : 19:48:17
|
Even when there's no new message, this one should still be up right? I've had messages, but I still get no icon. |
|
|
ateixeira
Starting Member
Brazil
13 Posts |
Posted - 08 December 2003 : 08:22:52
|
Ok, there goes problems again:
This is my Forum: www.proway.com.br/forum
you may log into it with user and password "test".
Go see http://www.proway.com.br/forum/topic.asp?TOPIC_ID=5
and notice that when I make a reply to a topic, I get an error. You can post there is you wanna test, I don't mind, forum isn't up yet. ;)
You can get a copy of my topic.asp here: www.proway.com.br/forum/topic.txt
The problem must have occured cuz I have modified a little the forum to show real names instead of Usernames....
Can you check it for me please? |
Alexandra Teixeira Macromedia certified Professional email@shampoo.art.br http://www.shampoo.art.br/ |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 08 December 2003 : 09:01:45
|
Alexandra,
Locate the following on lines 515-543:
rM_NAME = 0
rM_FIRSTNAME = 1
rM_LASTNAME = 2
rM_CITY = 3
rM_RECEIVE_EMAIL = 4
rM_AIM = 5
rM_ICQ = 6
rM_MSN = 7
rM_YAHOO = 8
rM_PM = 9
rM_TITLE = 10
rMEMBER_ID = 11
rM_HOMEPAGE = 12
rM_LEVEL = 13
rM_POSTS = 14
rM_COUNTRY = 15
rREPLY_ID = 16
rFORUM_ID = 17
rR_AUTHOR = 18
rTOPIC_ID = 19
rR_MESSAGE = 20
rR_LAST_EDIT = 21
rR_LAST_EDITBY = 22
rR_SIG = 23
rR_STATUS = 24
rR_DATE = 25
if CanShowSignature = 1 then
rM_SIG = 26
end if
Replace the above code with the following:
rM_NAME = 0
rM_RECEIVE_EMAIL = 1
rM_AIM = 2
rM_ICQ = 3
rM_MSN = 4
rM_YAHOO = 5
rM_PM = 6
rM_TITLE = 7
rMEMBER_ID = 8
rM_HOMEPAGE = 9
rM_LEVEL = 10
rM_POSTS = 11
rM_COUNTRY = 12
rREPLY_ID = 13
rFORUM_ID = 14
rR_AUTHOR = 15
rTOPIC_ID = 16
rR_MESSAGE = 17
rR_LAST_EDIT = 18
rR_LAST_EDITBY = 19
rR_SIG = 20
rR_STATUS = 21
rR_DATE = 22
if CanShowSignature = 1 then
rM_SIG = 23
end if
That should fix the error. |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
ateixeira
Starting Member
Brazil
13 Posts |
Posted - 08 December 2003 : 09:10:02
|
Can't do that, I need the First Name and Last name or it won't work...
I've changed the forum so it'll show real names of the users (special case for this forum) and I also show the city... is tehre a way to fix it without taking of Firstname, lastname and city?
|
Alexandra Teixeira Macromedia certified Professional email@shampoo.art.br http://www.shampoo.art.br/ |
Edited by - ateixeira on 08 December 2003 11:05:00 |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 08 December 2003 : 12:41:53
|
Alexandra, the changes I did was based upon your topic.asp. The query which fetchs the reply info dont fetch the values for firstname, lastname and city, but I missed that you wanted to use firstname and lastname instead for the membername .
Look for the following code on lines 312-319. Add the code marked red and it should then work as you want:
strSql = "SELECT M.M_NAME, M.M_FIRSTNAME, M.M_LASTNAME, M.M_CITY, M.M_RECEIVE_EMAIL, M.M_AIM, M.M_ICQ, M.M_MSN, M.M_YAHOO, M.M_PMRECEIVE" strSql = strSql & ", M.M_TITLE, M.MEMBER_ID, M.M_HOMEPAGE, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY" strSql = strSql & ", R.REPLY_ID, R.FORUM_ID, R.R_AUTHOR, R.TOPIC_ID, R.R_MESSAGE, R.R_LAST_EDIT" strSql = strSql & ", R.R_LAST_EDITBY, R.R_SIG, R.R_STATUS, R.R_DATE" if CanShowSignature = 1 then strSql = strSql & ", M.M_SIG" end if |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
ateixeira
Starting Member
Brazil
13 Posts |
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 08 December 2003 : 14:41:34
|
No problems, Alexandra, although you should probably post this in the Mod Implementation forum as this has nothing to do with the Private Messages mod.
The code for the statistics is in default.asp. Look for the following three lines, and see if you duplicate them.
if strShowStatistics = "1" then WriteStatistics end if |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
ateixeira
Starting Member
Brazil
13 Posts |
Posted - 08 December 2003 : 14:53:43
|
Sorry again and Thanks again. :)
Now it looks pretty cute!
I think I won't be posting again here for questions... I'm just a designer trying to implementing something she doens't understand. :)
But since it's working, I'll won't try to install anything else. ;)
Thanks again and again!
|
Alexandra Teixeira Macromedia certified Professional email@shampoo.art.br http://www.shampoo.art.br/ |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 08 December 2003 : 22:14:58
|
Alexandra, don't refrain from trying to customize your forum. That is the one of the best ways to learn the Snitz code. Just remember to always keep a backup of the file(s) before modifying them. And if you encounter an error, you will get help in the Mod Implementation forum from someone . |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
Doughnut
Starting Member
United Kingdom
40 Posts |
Posted - 11 December 2003 : 11:26:01
|
I finally got round to adding this update!
I tried it a while back but stuffed it all up, I guess I wasn't concentrating... Anyway I just wanted to say what a good update from the last version this is, top job
Robin. |
|
|
Topic |
|