Author |
Topic  |
|
too ninja
Starting Member
Thailand
28 Posts |
Posted - 10 December 2001 : 09:26:16
|
Sir, Is it possible to make the Snitz open on the new page or new window when opening the topic so after finishing on that topic I just close it and the main forum still there and I can go to the next topic quicker. Thanks
Edited by - too ninja on 10 December 2001 09:28:06 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 10 December 2001 : 09:31:43
|
in the forum.asp file, on or about line #365 find this line:
<font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><a href="topic.asp?<%= ArchiveLink %>TOPIC_ID=<% =Topic_ID %>"><% =ChkString(left(rs("T_SUBJECT"), 50),"display") %></a> </font>
change it to look like this: (code in RED is the new code)
<font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><a href="topic.asp?<%= ArchiveLink %>TOPIC_ID=<% =Topic_ID %>" target="_blank"><% =ChkString(left(rs("T_SUBJECT"), 50),"display") %></a> </font> |
 |
|
too ninja
Starting Member
Thailand
28 Posts |
Posted - 10 December 2001 : 10:59:56
|
Many thanks I'll try. by the way my friend just told me the trick just hold the shift key while clicking the topic it will open the new window also.How the fool I am but your way is just the thing that I need. Best Regards,
|
 |
|
too ninja
Starting Member
Thailand
28 Posts |
Posted - 10 December 2001 : 11:15:37
|
May I ask 2 more question 1.This one I aifact already ask at http://forum.snitz.com/forum/topic.asp?TOPIC_ID=18675 but seem to be that my english is not so good so nobody understand and I don't have the answer yet. Now I try to explain again. I would like to have the topic ID (like the above will show 18675)show up along with the folder icon in front of the topic is it possible? 2.Why I could not search the topic by using my user name ? It's show couldn't be found some thing like that. Best Regards,
|
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 10 December 2001 : 13:30:39
|
quote:
May I ask 2 more question 1.This one I aifact already ask at http://forum.snitz.com/forum/topic.asp?TOPIC_ID=18675 but seem to be that my english is not so good so nobody understand and I don't have the answer yet. Now I try to explain again. I would like to have the topic ID (like the above will show 18675)show up along with the folder icon in front of the topic is it possible?
I had read that topic but didn't understand either. Here's what you do:
Open forum.asp and look for the following code:
<td align="center" bgcolor="<% =strHeadCellColor %>"><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">Topic</font></b></td> Add the following code above it:
<td align="center" bgcolor="<% =strHeadCellColor %>"><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">Topic Number</font></b></td>
Then look for this code:
<td colspan="7" bgcolor="<% =strForumCellColor %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b>No Topics Found</b></font></td> Change the 7 to 8
Last but not least, look for this code:
elseif rs("T_LAST_POST") > Session(strCookieURL & "last_here_date") then Response.Write "<img src=""icons/icon_folder_new_locked.gif"" height=15 width=15 border=0 hspace=0 alt=""Topic Locked"">" else Response.Write "<img src=""icons/icon_folder_locked.gif"" height=15 width=15 border=0 hspace=0 alt=""Topic Locked"">" end if end if %></a></td> Add the following code right below it:
<td valign="center" align="left"> <font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><% =Topic_ID %> </font> </td>
Now you'll have the topic number (Topic_ID) show after the folder icon and before the topic name. If you want the topic ID clickable too, just look at the code for the topic name and you should be able to figure it out.
quote:
2.Why I could not search the topic by using my user name ? It's show couldn't be found some thing like that.
I'm not sure what you mean with this.. could you explain what you want to do and how you're trying to do it?
Roland
- here to help when possible -
 http://www.frutzle.com |
 |
|
too ninja
Starting Member
Thailand
28 Posts |
Posted - 10 December 2001 : 17:30:18
|
Thanks again for your answer and sorry with my poor english. The second question I mean like this ,I want to find where are my topics that I already post here so I search by typing my username too ninja but the result after searching is showup some topics but with out my topics at all so I search again by using "Match exact phrase" and this time it's show "No Matches Found" so it's mean that the search function couldn't search for the topics by using the username ?
|
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 10 December 2001 : 17:43:01
|
You can just put a space in the Search For box, and then put your Username in the Search By Member box.
You can also view your profile and it will show the last 10 active topics you have posted in. |
 |
|
too ninja
Starting Member
Thailand
28 Posts |
Posted - 10 December 2001 : 19:52:05
|
Thanks a million. That's exacly what I need. 
|
 |
|
too ninja
Starting Member
Thailand
28 Posts |
Posted - 10 December 2001 : 20:03:52
|
Sorry sir! may I ask 2 more question? 1.When I edit my topic above I see the info. "Edited by - too ninja on 10 December 2001 09:28:06" how can I have this feature in my forum or what MOD you using. 2.Is it possible that after I post or reply the topic I would like to go back to the topic straight away not waiting for the message (something like bypass the announce ment method) unless there is the problem on it.Can we do that? Beat Regards,
|
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 11 December 2001 : 05:16:36
|
quote:
Sorry sir! may I ask 2 more question?
You already have. Now I'll answer them 
quote:
1.When I edit my topic above I see the info. "Edited by - too ninja on 10 December 2001 09:28:06" how can I have this feature in my forum or what MOD you using.
This is standard in version 3.3.03 (don't know about earlier versions). Go into the admin options > feature configuration and look for the radio buttons that belong with "Edited By on Date". Turn that on and you'll have the same thing working on your own forums: each edited post will get a message that it has been edited and when and who edited it (except for when an admin edits a post).
quote:
2.Is it possible that after I post or reply the topic I would like to go back to the topic straight away not waiting for the message (something like bypass the announce ment method) unless there is the problem on it.Can we do that?
I'm sure it can be done, but it's been put there for the simple reason that you'll get to see a confirmation that your message has successfully been posted.
After looking at the codes of post_info.asp I don't think you can take out the "success message" after a post without a lot of rewriting of the codes. What you can do is change the amount of time the page stays visible before it refreshes (goes back to where you came from). Do a search for <meta http-equiv=""Refresh"" content=""2; URL=" & Request.Form("refer") & """> and change the value 2 to whatever you want (higher value = longer wait).
Hope this helps.
Roland |
 |
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 11 December 2001 : 06:28:18
|
When you post a reply or a topic. After the success message, counts are updated for the posts/topics and then page refreshes back to the topic/post. If you do not want the message to appear you can comment out the statement displaying the message.
The message display and counts are handled in a sub starting around line 1389 to 1488 in post_info.asp
sub Go_Result(str_err_Msg, boolOk)
 www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
 |
|
too ninja
Starting Member
Thailand
28 Posts |
Posted - 11 December 2001 : 07:39:42
|
Thanks a lot everybody I hope from yours answers will keep me busy for awhile before I can think about the next questions. Best Regards,
|
 |
|
too ninja
Starting Member
Thailand
28 Posts |
Posted - 11 December 2001 : 09:58:22
|
I'm back and everythings working perfect. So this time I come with 3 questions I hope you're not hate me yet. 1.How big of the database file size that Snitz can handle. 2.Refer to the Topic-ID how about if I would like to have the number for each answer or reply to thr topic? 3.Rather than using the hypertext to show up the picture in the topic how about let the user upload (with the limited file size) from their own PC? Best Regards,
|
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 11 December 2001 : 11:42:33
|
quote:
I'm back and everythings working perfect.
Glad to hear you got it working.
quote:
So this time I come with 3 questions I hope you're not hate me yet.
These are support forums. It'd be kinda weird if we'd hate those that ask questions 
quote:
1.How big of the database file size that Snitz can handle.
I don't think there's a limit to the database size Snitz can handle. The question should be how big an Access database can be before you should concider switching to an SQL database. Don't have the answer to that though.
quote:
2.Refer to the Topic-ID how about if I would like to have the number for each answer or reply to thr topic?
I don't know how that would be done as I don't believe replies are separately numbered for each topic. They get a number depending on the total amount of replies. Maybe someone else knows how to do this?
quote:
3.Rather than using the hypertext to show up the picture in the topic how about let the user upload (with the limited file size) from their own PC?
Have you tried looking in the MOD Add-on Forum (W/ Code) and MOD Add-on Forum (W/O Code) forums? Maybe someone has already made a MOD for that, or someone might be working on it.
Roland |
 |
|
too ninja
Starting Member
Thailand
28 Posts |
Posted - 11 December 2001 : 22:10:16
|
Thanks for you help I'll try on that. Best Regards,
|
 |
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 11 December 2001 : 22:42:47
|
quote: 1.How big of the database file size that Snitz can handle.
There is no limit set on the database size. There might be some performance issues, but those are addressed continuously in the development forums and are resolved to improve the performance. quote: 2.Refer to the Topic-ID how about if I would like to have the number for each answer or reply to thr topic?
Each reply is stored in FORUM_REPLY table with the corresponding Topic ID. You can run a query and retreive replies and reply id for a specific Topic ID from the reply table.
quote: 3.Rather than using the hypertext to show up the picture in the topic how about let the user upload (with the limited file size) from their own PC?
Some work is being done by members on this direction. But that is not part of the base code. Some Mods are available/ being developed which allow or will allow uploading of pictures/images to the server and thiose can be linked from wu=ithin the topics/replies.
 www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
 |
|
|
Topic  |
|