Author |
Topic  |
lcs78816
Junior Member
 
195 Posts |
Posted - 03 December 2000 : 18:57:07
|
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 :) |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 03 December 2000 : 19:02:00
|
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> |
 |
|
lcs78816
Junior Member
 
195 Posts |
Posted - 03 December 2000 : 19:23:35
|
<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) & ")"
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 03 December 2000 : 19:29:02
|
Just redownload the file, I have fixed it.
<font color=blue>'Resistance is futile'</font id=blue> |
 |
|
wedont
Junior Member
 
Canada
344 Posts |
Posted - 03 December 2000 : 20:52:48
|
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
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 03 December 2000 : 21:16:16
|
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> |
 |
|
wedont
Junior Member
 
Canada
344 Posts |
Posted - 03 December 2000 : 21:16:29
|
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 |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 03 December 2000 : 21:20:52
|
Yes why?
<font color=blue>'Resistance is futile'</font id=blue> |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 03 December 2000 : 21:28:07
|
one is for the image link, the other for the text link.
<font color=blue>'Resistance is futile'</font id=blue> |
 |
|
wedont
Junior Member
 
Canada
344 Posts |
Posted - 03 December 2000 : 23:08:00
|
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 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 03 December 2000 : 23:20:00
|
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> |
 |
|
wedont
Junior Member
 
Canada
344 Posts |
Posted - 03 December 2000 : 23:31:26
|
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,
|
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 03 December 2000 : 23:40:43
|
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> |
 |
|
lcs78816
Junior Member
 
195 Posts |
Posted - 04 December 2000 : 01:32:59
|
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 ?" |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 04 December 2000 : 04:06:57
|
I don't have a "next ?" in my code
<font color=blue>'Resistance is futile'</font id=blue> |
 |
|
Topic  |
|