PHP Classes

How to use this srcipt with SMF

Recommend this page to a friend!

      Thesaurus tooltip  >  All threads  >  How to use this srcipt with SMF  >  (Un) Subscribe thread alerts  
Subject:How to use this srcipt with SMF
Summary:Intergating with SMF forum script
Messages:6
Author:Le Ngoc
Date:2007-01-23 02:11:22
Update:2007-01-23 14:24:51
 

  1. How to use this srcipt with SMF   Reply   Report abuse  
Picture of Le Ngoc Le Ngoc - 2007-01-23 02:11:22
Hi,

Today i found your scripts and it is interested me much.
I had download and tested it with sucessfully. It great !

I also have a forum running by SMF (www.simplemachine.org) and just want to use this script in. I also had tried to put this in index.template.php of my theme but it not working.

Could you help me and show how to intergate this script in SMF ?

Best regrads,
Le Minh Ngoc


  2. Re: How to use this srcipt with SMF   Reply   Report abuse  
Picture of Dmitry Sheiko Dmitry Sheiko - 2007-01-23 07:00:53 - In reply to message 1 from Le Ngoc
Show me error messages and I'll try to help you

By the way, I also have an addon for PHPBB lastest messages list based on Thesaurus http://www.cmsdevelopment.com/download/new_topics_anywhere.zip

  3. Re: How to use this srcipt with SMF   Reply   Report abuse  
Picture of Le Ngoc Le Ngoc - 2007-01-23 07:37:00 - In reply to message 2 from Dmitry Sheiko
Thank you for your fast reply of my problem.

It was not show any err but it was not display the popup infomation.
I was put the code in file index.template.php of the theme that i used.
(maybe my theme use layer ??)

anyway, i will setup an sample then give you the info and hope you will help me for this.

please email me at n3452323[at]yahoo.com with your email address so i can give you the info of url, ftp, pass

One again thank you.
Le Minh Ngoc

  4. Re: How to use this srcipt with SMF   Reply   Report abuse  
Picture of Dmitry Sheiko Dmitry Sheiko - 2007-01-23 08:03:05 - In reply to message 3 from Le Ngoc
You need to put

<script src = "yahoo.js" ></script>
<script src = "connection-min.js" ></script>
</head>
<style>
.instant_message { padding: 5px; font-size: 12px; font-family: Arial; visibility: hidden; position: absolute; width: 240px; border: outset 2px #FFFFFF; background: #D4D0C8; z-index: 25000; }
.instant_message a { width: 240px; font-weight: bold; color: black; text-decoration: none; cursor: default}
.instant_message a:hover {color: #ffffff; background: #0A246A}
.instant_message .hr { width: 100%; font-size: 1px; height: 1px; line-height: 1px; background: #808080; border-bottom: solid 1px #ffffff; margin: 2px}
A.thesaurus { color: black; text-decoration: none; border-bottom: 1px dotted black; cursor: pointer; }
</style>
<body>
<script src = "thesaurus.js" ></script>


in the HTML of your theme, where specified URLs of all JS-files (for example: <script src = "http://cmsdevelopment.com/thesaurus/thesaurus.js" ></script>)

  5. Re: How to use this srcipt with SMF   Reply   Report abuse  
Picture of Le Ngoc Le Ngoc - 2007-01-23 08:50:15 - In reply to message 2 from Dmitry Sheiko
I had put the code as your demo file and here the show :
_http://yohosting.net/demo1/index.php?topic=1.0
The key i used to test is "SMF", "New Post" like :

SMF;Acquisition is the collection phase of assets for a CMS. Assets can be text files, images, audio or video files, or animations including Flash files. They can be XML documents coming from other servers, like RSS news feeds and Web Services. <br /><br />During acquisition all assets need to be tagged and then stored in the data repository (in the database or file system or both). Digital Rights Management (DRM) establishes the licensing requirements for all assets. Modern assets may be accompanied by Metadata with authorship, terms of use, etc. A sophisticated CMS helps to manage this metadata.;
New Posts;Aggregation describes the collection of assets in the first phase of a Content Management System. <br /><br />Aggregation also describes the receiving (or consuming) of RSS or RDF feeds (news feeds or data feeds) by a CMS. <br /><br />The producer of the feeds is called a syndicator.;

I can see the sign (underline) but it not show the description of the key words. Some place when the mouse moveover it display the popup (wiht out description and some place it did not pop up at all (in the post view)

here the file that i put the code in
_http://yohosting.net/demo1/index.template.zip

Please help me to use your code in this case.
Best regards
Le Minh Ngoc

  6. Re: How to use this srcipt with SMF   Reply   Report abuse  
Picture of Dmitry Sheiko Dmitry Sheiko - 2007-01-23 14:24:51 - In reply to message 5 from Le Ngoc
These troubles were becouse of STRICT XHTML, I've changed to HTML and now it is all right