Post by Chris on Feb 21, 2007 15:23:54 GMT -8
Updates:
|
Overview: In a nutshell, the new quoting system co-exists with (not replace) the standard Proboards quoting system. Enhancements include:
- Easily quote multiple posts before replying
- Quote parts of a post by simply highlighting what to quote
- Use any collected quote in any reply even those from other threads.
- Have frequently reusable quotes just a click away.
- All standard UBBC tags supported (code was created before youtube tag became standard so may not work with youtube)
see this tutorial(updated: 11-10-2011) for more information on usage
Preview:
Anubis Boards(forum deleted)- Happy The Fans
Code:
Installation :
Click this source link then copy the code and paste directly into your global footer. No editing necessary.
Additional Information: To use the collected quotes when writing a reply,PM or new thread look down where you normally see the Topic summary. There will be a link to view the quotes and then use them. If no topic summary exists such as when creating a new thread ,using quick reply or writing a PM then a dummy summary will be created.
FAQ:
- How do I change the color of the View Quotes link?
- How do I manually clear quotes if there's a problem?
Notes:
- The code was primarily written for Firefox 2.0 (and up) and Internet Explorer 5.0 (and up). The reason is both these browsers support a global storage mechanism which vastly increases the storage capacity compared to cookies. The code is written to fallback to using cookies if global storage is not present but limitations on the size and number of posts that can be quoted will exists.
Known Bugs:
Poll posts not supportedupdated(Thread Quotes:n) not properly updated if quotes added/removed from the results of a search pagefixedPosts returned from a search initiated from a thread or board search (the one that popups up instead of the one in the top menu) are not supported.updatedPosts containing [NOUBBC] tag are not correctly handled causing the ubbc tags to be parsed by Proboardsupdated
Troubleshooting:
- This code assumes some basic Proboards generated elements exists. If a script that runs before this code modifies any of the following elements then try placing that script below this one.
- The href of the clickable search icon at the top of every thread listing and search result should be present. Image to text conversions should be fine as long as the href remains untouched.
- The Topic cell (contains "Topic:" or "Announcement:") should be present. In the case of search results the topic should also be hyperlinked in order to correctly obtain the threadID.
- Codes that modify the miniprofile should leave the named anchor in-place.(e.g. <a name=1171234567>). In the case of version 4.5 both anchors (old-style:timestamp and new-style:incremented) should be present.
- The "utilities" cell at the bottom of each post should be present and contain the "Link to Post" hyperlink. Additionally if a code modifies something in the utility cell using innerHTML means then it must run before the quote code else the quote links will do nothing when clicked since the onclick event handler gets disassociated.
- If a topic summary is present but the wording has changed (no longer called "Topic Summary") then a dummy topic summary will be erroneously created.
- The href of the clickable search icon at the top of every thread listing and search result should be present. Image to text conversions should be fine as long as the href remains untouched.
- Codes that conflict with this oneNameAuthorReasonSolution
Facebook Style Like/Dislike System v1.0 ⓦ৹₪deⓡ loss of event handlers on multi-quote links The multiquote would need to run last since the facebook code uses innerHTML rather than DOM methods to add its links.Add message icons V1 CrAzY_J Unknown Make sure Add message icons V1 code is above this code in the global footer. - Codes that this code conflicts withNameAuthorReasonSolution
Facebook Style Like/Dislike System v1.0 ⓦ৹₪deⓡ Variable name conflict (var board) To correct that you can wrap the multiQuote code in a self-invoking function like so:<script type="text/javascript">
<!--
(function(){
MULTIQUOTE CODE MINUS THE SCRIPT TAGS AND HTML COMMENTS (<!-- AND -->) GOES HERE
})()
// -->
</script>[CB] Prevent double posting Peter "Topic Summary" changed to a link and renamed "View Topic Summary." Make sure [CB] Prevent double posting code is above this code in the global footer.
Note: this code does not support UBBC added by third party codes or the youtube UBBC which was added after the code was made and will no longer be updated since the upcoming Proboards V5 will have this feature built-in.