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/Code)
 Mark topics that you've posted in
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 6

lcs78816
Junior Member

195 Posts

Posted - 03 December 2000 :  18:57:07  Show Profile
I am trying to add bookmark.asp to config.asp
so I won't lost this file when changing strTablePrefix value

how do I change that in bookmark.asp is the next step I am trying to learn :)
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 03 December 2000 :  19:02:00  Show Profile  Visit HuwR's Homepage
I'm not sure I follow, are you trying to bookmark multiple forums from one place ?

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

lcs78816
Junior Member

195 Posts

Posted - 03 December 2000 :  19:23:35  Show Profile
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I'm not sure I follow, are you trying to bookmark multiple forums from one place ?

<font color=blue>'Resistance is futile'</font id=blue>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

It seems impossible to use one bookmark for multiple forums, what I am trying to do is changing the "FORUM_" in ur bookmark.asp to & strTablePrefix & "BOOKMARK." something like that, and then I'll work from there to see if multiple forums can use single bookmark.mdb

Anyone know how do I covert the following line to included in strTablePrefix?
I am still learning to implement the strTablePrefix into the following lines: strSql = strSql & "FROM" & strTablePrefix & (ANIME_CATEGORY INNER JOIN ANIME_FORUM ON ANIME_CATEGORY.Cat_ID = ANIME_FORUM.CAT_ID) INNER JOIN (ANIME_MEMBERS INNER JOIN (ANIME_BOOKMARKS INNER JOIN ANIME_TOPICS ON ANIME_BOOKMARKS.B_TopicID = ANIME_TOPICS.Topic_ID) ON ANIME_MEMBERS.Member_id = ANIME_TOPICS.T_AUTHOR) ON ANIME_FORUM.Forum_ID = ANIME_TOPICS.Forum_id "
strSql = strSql & "WHERE (ANIME_BOOKMARKS.B_MEMBERID=" & getmemberID(strDBNTUserName) & ")"




Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 03 December 2000 :  19:29:02  Show Profile  Visit HuwR's Homepage
Just redownload the file, I have fixed it.

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 03 December 2000 :  20:52:48  Show Profile
Thanks HuwR,
Great Mod, Question : The bookmark link only shows in the bottom of the page, where should I put the link so it appears also in the option at the top (reply to,send topic... etc)?

Wedont



Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 03 December 2000 :  21:16:16  Show Profile  Visit HuwR's Homepage
if you look in topic.asp, there is a funcion called <font color=red>PostingOptions() </font id=red>
insert the bookmark link in here, it should then appear top and bottom.

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 03 December 2000 :  21:16:29  Show Profile
Thanks HuwR,
Great Mod, Question:
The bookmark link shows at the bottom of my page with :reply to, send to..., How can I display it also with the options(reply to, send to...) at the top ?

Can It be included in that table of options ?
and if yes, how ?

PS: In your post whith the script in red:
<a href="bookmark.asp?mode=add&id=<%=Request.querystring("Topic_ID")%>"><img border="0" src="icon_bookmark.gif" border=0></a> <a href="bookmark.asp?mode=add&id=<%=Request.querystring("Topic_ID")%>">Bookmark This Topic</a></font>

Is'nt the same querystring requested twice ?

wedont
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 03 December 2000 :  21:20:52  Show Profile  Visit HuwR's Homepage
Yes why?

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 03 December 2000 :  21:28:07  Show Profile  Visit HuwR's Homepage
one is for the image link, the other for the text link.

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 03 December 2000 :  23:08:00  Show Profile
Sorry for those redundant posts,
I was getting an error message each time, kind of 'your message was not delivered to any server'...

wedont

Edited by - wedont on 03 December 2000 23:12:19
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 03 December 2000 :  23:20:00  Show Profile
You can refer to this post for that:
http://forum.snitz.com/forum/link.asp?TOPIC_ID=2457

<center><font color=green>*----*----*----*----*----*----*----*----*
<font size=2>"If you're headed in the wrong direction,
God allows U-turns."</font id=size2>
*----*----*----*----*----*----*----*----*</font id=green></center>
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 03 December 2000 :  23:31:26  Show Profile
Thanks HuwR,
I tried CallPosting Option() and added the line after it!!! (mistake, lost the other options)
Now I found Sub Posting Options but cant figure where to put the line ?

wedont,


Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 03 December 2000 :  23:40:43  Show Profile
I put mine after the last 'end if'.
<pre id=code><font face=courier size=2 id=code><% end if %>
<font color=red> <a href="bookmark.asp?mode=add&id=<% =Request.QueryString("TOPIC_ID")%>"><img src="icon_bookmark.gif" height="15" width="18" border="0"></a> <a href="bookmark.asp?mode=add&id=<% =Request.QueryString("TOPIC_ID")%>">Bookmark This Topic</a>
</font></font id=red>
<%
end sub</font id=code></pre id=code>

<center><font color=green>*----*----*----*----*----*----*----*----*
<font size=2>"If you're headed in the wrong direction,
God allows U-turns."</font id=size2>
*----*----*----*----*----*----*----*----*</font id=green></center>
Go to Top of Page

lcs78816
Junior Member

195 Posts

Posted - 04 December 2000 :  01:32:59  Show Profile
Thanks HuWR
Now I learn how the sql string works now
and also noted the following need to be fixed:
Line 142 Col 31
<font color=red>"next ?</font id=red>
it's missing an " tag
should be "next ?"
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 04 December 2000 :  04:06:57  Show Profile  Visit HuwR's Homepage
I don't have a "next ?" in my code

<font color=blue>'Resistance is futile'</font id=blue>
Go to Top of Page
Page: of 6 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.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07