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
 Search Terms MOD
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

leatherlips
Senior Member

USA
1838 Posts

Posted - 09 May 2008 :  21:56:56  Show Profile  Visit leatherlips's Homepage
I installed this MOD called Search Terms.

On my pop up page (after clicking the binoculars icon) the subject appears twice now. It also appears twice if I click the print friendly icon. Here is the code that I think is the cause. What could be wrong with it?


Response.Write " <p align=""left""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """><b>"

if Request.QueryString("SearchTerms") <> "" then
Response.Write SearchHiLite(formatStr(chkString(rs4("T_SUBJECT"),"display")))
else
Response.Write formatStr(chkString(rs4("T_SUBJECT"),"display"))
end if

Response.Write "</b></font></p>" & vbNewline


You can view my search page to see what I am talking about. Just search for a term such as music and you get some results. Click the binoculars icon to bring up the pop up page. You'll notice the subject appears twice.<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 09 May 2008 21:59:15

phy1729
Average Member

USA
589 Posts

Posted - 09 May 2008 :  22:09:43  Show Profile
That's not it please post a txt copy of the file.<
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 09 May 2008 :  22:14:09  Show Profile  Visit leatherlips's Homepage
Here it is.<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

phy1729
Average Member

USA
589 Posts

Posted - 09 May 2008 :  23:29:01  Show Profile
Delete the red add the green

      Response.Write "</b></font></p>" & vbNewline

'#### End Search Terms MOD - Edit #2 for pop_printer_friendly.asp  ####'
'#### Search Terms MOD NOTE: Response.Write was added to the line below  ####'

Response.Write      "    <p align=""left""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """><b>" & chkString(rs4("T_SUBJECT"),"display") & "</b></font></p>" & vbNewline & _
Response.Write      "    <p align=""left""><b>Printed from:</b> " & strForumTitle & "<br />" & vbNewline & _
      "    <b>Topic URL:</b> <a href=""" & strForumURL & "topic.asp?TOPIC_ID=" & Topic_ID & """ target=""_blank"">" & strForumURL & "topic.asp?TOPIC_ID=" & Topic_ID & "</a><br />" & vbNewline & _
      "    <b>Printed on:</b> " & ChkDate(DateToStr(Now()),"",false) & "</p>" & vbNewline & _
      "    <p align=""left""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """><b>Topic: </b></font><br />" & vbNewline & _
      "    <hr></p></div align=""center""></center>" & vbNewline & _
      "    <p align=""left""><b>Topic author:</b> " & chkString(rs4("M_NAME"),"display") & "</br>" & vbNewline & _
      "    <b>Subject:</b> " & chkString(rs4("T_SUBJECT"),"display") & "<br />" & vbNewline & _
      "    <b>Posted on:</b> " & ChkDate(rs4("T_DATE"), " " ,true) & "<br />" & vbNewline
<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 10 May 2008 :  04:45:56  Show Profile
Looking at the way the pop_up displays from the double subject etc,
Print Page | Close Window

Chuck's Next Album

Chuck's Next Album

Printed from: Mangione Magic Forum
Topic URL: http://www.domain.com/ forum /topic.asp?TOPIC_ID=731
Printed on: May 10 2008

Topic:
--------------------------------------------------------------------------------
Topic author: Leatherlips
blah, blah etc.



I would have thought the subject should have appeared next to the Topic: (singularly)

Print Page | Close Window

Printed from: Mangione Magic Forum
Topic URL: http://www.domain.com/ forum /topic.asp?TOPIC_ID=731
Printed on: May 10 2008

Topic: Chuck's Next Album
--------------------------------------------------------------------------------
Topic author: Leatherlips
blah, blah etc


Regards andy



<

Edited by - Andy Humm on 10 May 2008 04:47:34
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 10 May 2008 :  08:20:33  Show Profile  Visit leatherlips's Homepage
phy1729, thank you! That was the answer! <

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 10 May 2008 :  13:08:12  Show Profile
Is there a way to get the topic title moved down instead of being on top.



Printed from: Music Forum
Topic URL: http://www.domain.com /forum/topic.asp?TOPIC_ID=778
Printed on: May 10 2008

Topic: Tarrytown Music Hall
--------------------------------------------------------------------------------
Topic author: Lotsoftalk


<
Go to Top of Page

phy1729
Average Member

USA
589 Posts

Posted - 10 May 2008 :  13:18:39  Show Profile
Take out

'#### Search Terms MOD NOTE: & _  was removed from the line above  ####'
'#### Begin Search Terms MOD - Edit #2 for pop_printer_friendly.asp ####'

      Response.Write "    <p align=""left""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """><b>"

         if Request.QueryString("SearchTerms") <> "" then
            Response.Write SearchHiLite(formatStr(chkString(rs4("T_SUBJECT"),"display")))
         else
            Response.Write formatStr(chkString(rs4("T_SUBJECT"),"display"))
         end if

      Response.Write "</b></font></p>" & vbNewline

'#### End Search Terms MOD - Edit #2 for pop_printer_friendly.asp  ####'
'#### Search Terms MOD NOTE: Response.Write was added to the line below  ####'

and stick it just under that add green delete red

Response.Write      "    <p align=""left""><b>Printed from:</b> " & strForumTitle & "<br />" & vbNewline & _
      "    <b>Topic URL:</b> <a href=""" & strForumURL & "topic.asp?TOPIC_ID=" & Topic_ID & """ target=""_blank"">" & strForumURL & "topic.asp?TOPIC_ID=" & Topic_ID & "</a><br />" & vbNewline & _
      "    <b>Printed on:</b> " & ChkDate(DateToStr(Now()),"",false) & "</p>" & vbNewline & _
      "    <p align=""left""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """><b>Topic: </b></font><br />" & vbNewline & _
      "    <hr></p></div align=""center""></center>" & vbNewline & _
      "    <p align=""left""><b>Topic author:</b> " & chkString(rs4("M_NAME"),"display") & "</br>" & vbNewline & _
      "    <b>Subject:</b> " & chkString(rs4("T_SUBJECT"),"display") & "<br />" & vbNewline & _ 
'#### Search Terms MOD NOTE: & _  was removed from the line above  ####'
'#### Begin Search Terms MOD - Edit #2 for pop_printer_friendly.asp ####'

      Response.Write "    <p align=""left""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """><b>"

         if Request.QueryString("SearchTerms") <> "" then
            Response.Write SearchHiLite(formatStr(chkString(rs4("T_SUBJECT"),"display")))
         else
            Response.Write formatStr(chkString(rs4("T_SUBJECT"),"display"))
         end if

      Response.Write "</b></font></p>" & vbNewline

'#### End Search Terms MOD - Edit #2 for pop_printer_friendly.asp  ####'
'#### Search Terms MOD NOTE: Response.Write was added to the line below  ####'
Response.Write      "<br />" & vbNewline & _
      "    <b>Posted on:</b> " & ChkDate(rs4("T_DATE"), " " ,true) & "<br />" & vbNewline

Edit: Made it easier to follow<

Edited by - phy1729 on 10 May 2008 13:20:15
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 12 May 2008 :  04:11:39  Show Profile
phy1729 thank you,.,<
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07