Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: punchy - kesäkuu 11, 2019, 02:11:55 IP

Otsikko: Old Icons from Deleted Mod
Kirjoitti: punchy - kesäkuu 11, 2019, 02:11:55 IP
Ok guys whilst i'm on a roll sorting out the snags from my forum Can anyone take a look at this

I have 2 icons just above my smileys that was from an old mod that i deleted and it didn't take the old icon away, so i re installed it and uninstalled but now i have 2 icons  :( :o

Does anyone know where i can remove these please.

Thanks so much Guys i really mean it

Gerry
Otsikko: Re: Old Icons from Deleted Mod
Kirjoitti: lurkalot - kesäkuu 11, 2019, 05:38:42 IP
What was the mod?
Otsikko: Re: Old Icons from Deleted Mod
Kirjoitti: punchy - kesäkuu 11, 2019, 06:02:28 IP
Lainaus käyttäjältä: lurkalot - kesäkuu 11, 2019, 05:38:42 IP
What was the mod?

Groupdocs Annotation

It wasn't being used so i uninstalled it, but these images are still there?
Otsikko: Re: Old Icons from Deleted Mod
Kirjoitti: Sir Osis of Liver - kesäkuu 11, 2019, 06:38:53 IP
Didn't uninstall cleanly.  Look in Post.template.php for any of this -



             echo '
                <script type="text/javascript"><!-- // -->
                    setTimeout(function(){
                         var messageBox = document.getElementById("bbcBox_message");
                         var image = document.createElement("div");
                         image.setAttribute("id", "groupdocsAnt")
                         image.innerHTML = \'<img onClick="insertAnt();" width="23" height="22" align="bottom" title="GroupDocs Annotation" alt="GroupDocs Annotation" src="/themes/default/images/bbc/annotation.gif" style="cursor: pointer; background-image: url("/themes/default/images/bbc/bbc_bg.gif");">\'
                         messageBox.appendChild(image);
                    }, 3000);
                     function insertAnt() {
                        var alertTitle = "' . $txt["alertTitle"] . '";
                        var short = "' . $txt["short"] . '";
                        var long = "' . $txt["long"] . '";
                        var ans=prompt(alertTitle,\'\');
                        if(ans.length<50) { alert(short); return false; }
                        if(ans.length>70) { alert(long); return false; }
                         // all good continue
                         var cmsName = \'SMF-Annotation\'
                         var cmsVersion = \'1.0\'
                         var iframe = \'[html]<iframe src="http://apps.groupdocs.com/document-annotation/embed/\'+ans+\'?&referer=\'+cmsName+\'/\'+cmsVersion+\'" frameborder="0" width="600" height="400"> If you can see this text, your browser does not support iframes. Please enable iframe support in your browser or use the latest version of any popular web browser such as Mozilla Firefox or Google Chrome. For more help, please check our documentation Wiki: http://groupdocs.com/docs/display/annotation/GroupDocs+Annotation+Integration+with+3rd+Party+Platforms</iframe>[/html]\';
                         textArea = document.getElementById("message");
                         textArea.value = textArea.value + iframe;
                     }
                </script>';
         


Otsikko: Re: Old Icons from Deleted Mod
Kirjoitti: punchy - kesäkuu 11, 2019, 08:10:29 IP
Thank you Sir

That did the trick

Thanks so much  ;) :)