If you are seeing this message, it is possible the page did not load properly. Please hit reload/refresh on your browser.
If you still see this message, you probably do not have a browser that supports web standards, although its content is accessible to any browser or Internet device.

Cool Tips & Tricks Cool Tips & Tricks

Help Communities:
Help Forums Bug Base
<< Prev Topic | Next Topic >>
Cool Tips & Tricks ::: Javascripts and Java ::: Quick reply question
New Topic    Add Reply
Topic: Quick reply question  (?)  Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend
StephanieWare

Registered User
ezSupporter
Posts: 26
Posted: 11/30/05 3:37 pm    
Quick reply question
I have the codes installed on a couple of my gold boards, and it's working fine.

However I really only want it on just one or 2 forums only. Not every forum.

Can this be done?
I've notice when I change themes if a forum doesn't have the quick reply code added to the add reply URL, then when the changes are made the forum gets a error msg when loading up. Which I don't like to see.


  reply to this message

Te1emachus

Registered User
Posts: 876
Posted: 11/30/05 4:13 pm    
Re: Quick reply question
One alternative which won't throw an error would be to change:
 if ( document.location.href.indexOf(".showMessage") != -1 ) {

To something more like:
 if ( document.location.href.indexOf(".showMessage") != -1 && ( ezForum == "frm9" || ezForum == "frm11" ) ) {


  reply to this message

Nutrocker

ezboard Moderator
ezSupporter
Posts: 16603
Posted: 11/30/05 4:13 pm    
Re: Quick reply question
The only way I know would be to use the forum specific script in conjunction with the quick reply script, but I don't want to guess how the code would look.

The quick reply code for the add reply image must exist if you don't want to see any errors on the board.


  reply to this message

StephanieWare

Registered User
ezSupporter
Posts: 25
Posted: 12/1/05 3:40 pm    
Re: Quick reply question
Thanks for the info. :)


  reply to this message

Nutrocker

ezboard Moderator
ezSupporter
Posts: 16607
Posted: 12/1/05 3:45 pm    
Re: Quick reply question
Tel, could you throw a short FAQ for the forum specific addition and I will gladly add it to the QR FAQ Topic :) Cheers.


  reply to this message

Te1emachus

Registered User
Posts: 888
Posted: 12/3/05 3:25 pm    
Re: Quick reply question
I'll get it posted tomorrow, I'm just on for a few moments between chores and hungover naps today.


  reply to this message

Nutrocker

ezboard Moderator
ezSupporter
Posts: 16626
Posted: 12/3/05 3:28 pm    
Re: Quick reply question
Cheers :)


  reply to this message

Scott Bull

Registered User
ezSupporter
Posts: 49
Posted: 12/7/05 11:40 am    
Re: Quick reply question
I have a question about the Quick Reply too, if you post a normal reply, and you select to see the emoticon list, it opens it up in a new window, but if you do it from a QR, it opens it up in the same window, how do I change it to activate in a new window, (I can't see this conflicting with the "open non-ezboard sites in new window" code).

And cheers for your help earlier Te1emachus.


  reply to this message

chrish18

Registered User
ezSupporter
Posts: 2295
Posted: 12/7/05 12:28 pm    
Re: Quick reply question
The quick reply by default is set to open the emoticon list in a new window
 
eListLink.target = "_blank";


  reply to this message

Te1emachus

Registered User
Posts: 902
Posted: 12/7/05 12:34 pm    
Re: Quick reply question
It's the new window code Scott, since that link is on the same hostname, it redirects it back to _self.


  reply to this message

chrish18

Registered User
ezSupporter
Posts: 2297
Posted: 12/7/05 12:42 pm    
Re: Quick reply question
Just remove the else condition then
 
<script type="text/javascript">
function redirect()
{
  for (k = 0; k < document.links.length; k++) {
    if (document.links[k].href.toLowerCase().indexOf("javascript") == -1) {
      if (document.links[k].hostname != self.location.hostname) {
        document.links[k].target = "_blank"
        } else { 
document.links[k].target = "_self"
}
} } } </script>


  reply to this message

Scott Bull

Registered User
ezSupporter
Posts: 53
Posted: 12/7/05 7:20 pm    
Re: Quick reply question
Sorted, respect due, (though I thought I relocated it to the footer, meh, I'll check that out myself later).

Cheers.


  reply to this message

Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend

New Topic    Add Reply

jump to:
Topic Control Image::: Topic Commands
<< Prev Topic | Next Topic >>

Icon Legend

reply button:::Reply to Post Button   edit button:::Edit Post Button  delete button:::Delete Post Button (Moderator Only)

subscribe/unsubscribe to thread button:::Subscribe to Thread Button   email to friend button:::Email to Friend Button  



- Cool Tips & Tricks - Javascripts and Java -

Communitiesezboard Help Communities:

Help Forums Help Forums Bug Base Bug Base





Powered By ezboard® Ver. 7.32
Copyright ©1999-2007 ezboard, Inc.