// IE fadein/fadeout is disabled // On IE6, when clear type is enabled, you MUST set a background color on // the element being tweaked. This is totally impractical. If you dont do this // the fonts look terrible/unreadable // // On IE7, they "fixed" the bug, but they did it by disable font smoothing so // once again, the results are terrible. Fix is to just don't do this on IE this.br_AgentContains_cache_ = {}; if (this.br_IsIE()) { this.startupDelay = 50; this.ieMode = true; } else { this.startupDelay = 0; this.ieMode = false; }
this.CL_RESULTDIV = "resultDiv_gsnb"; this.CL_RESULTDIV_BOLD = "resultDiv_gsnb resultDivBold_gsnb"; // FF on win/mac has an interesting issue as well. As soon as opacity hits // 100%, the font size seems to change by a pixel or so for many fonts. // net result: visible jiggle. The "fix" is to never let ffwin/mac hit 100%... this.linkContainerClass = this.CL_RESULTDIV; if (this.br_IsNav() && (this.br_IsWin() || this.br_IsMac()) ) { if (this.br_IsMac()) { this.linkContainerClass = this.CL_RESULTDIV_BOLD; } this.shortOpacityMode = true; } else { this.shortOpacityMode = false; }
// build handlers for mousein/mouseout watchers // on this.resultsBox if ( !this.verticalMode ) { this.resultsBox.onmouseover = this.methodClosure(this, GSnewsBar.prototype.setMouseIn, [null]); this.resultsBox.onmouseout = this.methodClosure(this, GSnewsBar.prototype.setMouseOut, [null]); if (this.currentResultRoot) { this.currentResultRoot.onmouseover = this.methodClosure(this, GSnewsBar.prototype.setMouseIn, [null]); this.currentResultRoot.onmouseout = this.methodClosure(this, GSnewsBar.prototype.setMouseOut, [null]); } }
// ie does not like this mode, so defer load on IE if (this.ieMode || this.startupDelay != 0) { var bootCompleteClosure = this.methodClosure(this, GSnewsBar.prototype.bootComplete, [null]); setTimeout(bootCompleteClosure, this.startupDelay); } else { this.bootComplete(); } }
GSnewsBar.prototype.bootComplete = function() { // if we have an auto execute list, then start it up if (this.autoExecuteMode) { this.cycleTimeClosure = this.methodClosure(this, GSnewsBar.prototype.cycleTimeout, [null]);
// if there is only a single item in the execute list, then // disable autoExecuteMode... if ( this.executeList.length == 1 || this.cycleTime == GSnewsBar.CYCLE_TIME_MANUAL ) { this.switchToListItem(0); } else { this.cycleTimeout(); } } }
// cycle time for selecting a news set GSnewsBar.CYCLE_TIME_EXTRA_SHORT = 3000; GSnewsBar.CYCLE_TIME_SHORT = 10000; GSnewsBar.CYCLE_TIME_MEDIUM = 15000; GSnewsBar.CYCLE_TIME_LONG = 30000; GSnewsBar.CYCLE_TIME_MANUAL = 3000000;
// set defaults that are changable via options this.resultSetSize = GSearch.SMALL_RESULTSET; this.ST_TITLE = "In the news"; this.resultsBoxClass = this.CL_RESULTSBOX_EXPANDED; this.verticalMode = true;
// option.resultStyle if (opt_options.resultStyle) { if (opt_options.resultStyle == GSnewsBar.RESULT_STYLE_EXPANDED) { this.resultsBoxClass = this.CL_RESULTSBOX_EXPANDED; } else if (opt_options.resultStyle == GSnewsBar.RESULT_STYLE_COMPRESSED) { this.resultsBoxClass = this.CL_RESULTSBOX_COMPRESSED; } }
if (opt_options.linkTarget) { this.linkTarget = opt_options.linkTarget; }
// if currentResult is specified AND we are in horizontal mode, // then pick it up. if (opt_options.currentResult && !this.verticalMode) { this.currentResultRoot = opt_options.currentResult; this.removeChildren(this.currentResultRoot); }
if (opt_options.title) { this.ST_TITLE = opt_options.title; }
// the auto execute list contains // a cycleTime value, a cycleMode value, and an array // of searchExpressions if (opt_options.autoExecuteList) {
// if specified and valid, then use it, otherwise // use default set above if (opt_options.autoExecuteList.cycleTime) { var cycleTime = opt_options.autoExecuteList.cycleTime; if (cycleTime == GSnewsBar.CYCLE_TIME_EXTRA_SHORT || cycleTime == GSnewsBar.CYCLE_TIME_SHORT || cycleTime == GSnewsBar.CYCLE_TIME_MEDIUM || cycleTime == GSnewsBar.CYCLE_TIME_LONG || cycleTime == GSnewsBar.CYCLE_TIME_MANUAL ) { this.cycleTime = cycleTime; } }
// in vertical mode, cycleTime says how long // between new searches. In horizontal mode, // it's how long to keep a result up if (!this.verticalMode) { switch (this.cycleTime) { case GSnewsBar.CYCLE_TIME_EXTRA_SHORT: case GSnewsBar.CYCLE_TIME_SHORT: this.cycleTime = GSnewsBar.THREE_SECONDS; break;
case GSnewsBar.CYCLE_TIME_MEDIUM: case GSnewsBar.CYCLE_TIME_MANUAL: this.cycleTime = GSnewsBar.FIVE_SECONDS; break;
case GSnewsBar.CYCLE_TIME_LONG: this.cycleTime = GSnewsBar.TEN_SECONDS; break; } if (this.ieMode) { // since we are not fading in/out, lengthen the cycleTime by 1s this.cycleTime += GSnewsBar.ONE_SECOND; } }
if (opt_options.autoExecuteList.cycleMode) { var cycleMode = opt_options.autoExecuteList.cycleMode; if (cycleMode == GSnewsBar.CYCLE_MODE_RANDOM || cycleMode == GSnewsBar.CYCLE_MODE_LINEAR) { this.cycleMode = cycleMode; } }
// now grab the list... if (opt_options.autoExecuteList.executeList && opt_options.autoExecuteList.executeList.length > 0 ) { // grab from the list for (var i=0; i < opt_options.autoExecuteList.executeList.length; i++) { this.executeList.push( this.newListItem(opt_options.autoExecuteList.executeList[i])); } this.autoExecuteMode = true; this.currentIndex = 0; if (opt_options.autoExecuteList.statusRoot) { this.statusRoot = opt_options.autoExecuteList.statusRoot; } } }
// horizontal mode MUST use autoExecute... if (!this.verticalMode && this.autoExecuteMode == false) { this.autoExecuteMode = true; this.currentIndex = 0; this.cycleTime = GSnewsBar.THREE_SECONDS; this.executeList.push(this.newListItem(GSnewsBar.DEFAULT_QUERY)); } }
GSnewsBar.prototype.searchComplete = function(fromListItem) { var ns; var cacheResults = false; var currentListItem = null; if (fromListItem) { currentListItem = this.executeList[this.currentIndex]; if (currentListItem.cacheCount == 0) { cacheResults = true; currentListItem.results = new Array(); } ns = this.ns; } else { ns = this.nsBypass; } if ( ns.results && ns.results.length > 0) { this.cssSetClass(this.barBox, this.getBarBoxClass(true)); this.removeChildren(this.resultsBox);
if (!this.verticalMode) { // for horizontal mode, nuke the old results // and reset currentResultIndex this.results = new Array(); this.currentResult = 0; }
// iterate over the results and capture the .html node // and append into the resultBox, OR just capture so that // we can fade it in/out for (var i = 0; i < ns.results.length; i++) { // if we are listItem based search, then cache results if (cacheResults) { currentListItem.cacheCount = 1; currentListItem.results.push(GSnewsBar.cloneObject(ns.results[i])); // reset error count based on sucessful search currentListItem.errorCount = 0; }
var res = ns.results[i]; if (this.verticalMode) { var resultDiv = this.createDiv(null, this.CL_RESULTDIV); var node = res.html.cloneNode(true); this.resultsBox.appendChild(resultDiv); resultDiv.appendChild(node); } else { this.results[i] = res; } }
// start the fadein, fadeout sequence if (!this.verticalMode) { this.linkContainer = this.createDiv(null, this.linkContainerClass); this.resultsBox.appendChild(this.linkContainer); this.link = document.createElement("a"); this.link.target = this.linkTarget; this.snippet = this.createSpan(" ", this.CL_SNIPPET); this.setHorizontalResultContent( this.results[this.currentResult]); this.setOpacity(this.linkContainer, 0); this.linkContainer.appendChild(this.snippet); this.linkContainer.appendChild(this.link); this.fadeOpacity = 0; this.fadeIn(); } } else { // no results, mark the container as empty this.cssSetClass(this.barBox, this.getBarBoxClass(true)); // retry another search expression if ( this.executeList.length == 1 || this.cycleTime == GSnewsBar.CYCLE_TIME_MANUAL ) { if (this.retries > 2) {
// we failed the default query. Don't let this get caught // in a failure loop if (this.testForDefaultQuery()) { // stop the timers... this.clearCycleTimer(); this.clearFadeTimer();
// clear the status area if (this.statusRoot) { this.removeChildren(this.statusRoot); } return; } else { this.resetAutoExecuteListItems([GSnewsBar.DEFAULT_QUERY]); this.retries = 0; } } else { this.retries++; } this.switchToListItem(0); } else {
// this really means that this is a list item based search // that should have worked and if it had worked would have // produced results that we cache. in this case though, we // got no results so mark this, and if we get too many on // this term, throw away the search term if (cacheResults) { currentListItem.errorCount++; // if we are getting excessive errors from this entry // then reset the list without this entry if (ns.completionStatus == 200) { currentListItem.errorCount = GSnewsBar.MAX_ERROR_COUNT + 1; } if (currentListItem.errorCount > GSnewsBar.MAX_ERROR_COUNT) { var newList = new Array(); for (var i=0; i if (this.executeList[i].errorCount <= GSnewsBar.MAX_ERROR_COUNT) { newList.push(this.executeList[i].query); } } if (newList.length == 0) { newList.push(GSnewsBar.DEFAULT_QUERY); } this.resetAutoExecuteListItems(newList); } } this.cycleTimeout(); } } }
GSnewsBar.prototype.setHorizontalResultContent = function(result) { var url = result.unescapedUrl; var linkString = result.titleNoFormatting; var snippet = result.publisher + " - "; this.link.href = url; this.link.innerHTML = linkString; this.snippet.innerHTML = snippet;
if (this.currentResultContainer) { this.removeChildren(this.currentResultContainer); var div = this.createDiv(null, this.CL_RESULTDIV); var node = result.html.cloneNode(true); div.appendChild(node); this.currentResultContainer.appendChild(div); } }
GSnewsBar.prototype.fadeIn = function() { if (this.ieMode) { // IE is very broken on the fade in/out // it ends up failing miserably on IE6 with cleartype on (well documented) // and on IE7, ends up turning off font-smoothing. So, on IE we do not // do the fade effect. this.fadeTimer = setTimeout(this.fadeOutCallback, this.cycleTime); } else { this.fadeOpacity = Math.min(this.fadeOpacity + this.fadeIncrement / this.fadeTime, 1); var fadeOpacity = this.fadeOpacity;
// this trick prevents shifting on firefox/windows if (fadeOpacity >= 1 && this.shortOpacityMode) { fadeOpacity = 0.9999999; } this.setOpacity(this.linkContainer, fadeOpacity); if (this.fadeOpacity < 1) { this.fadeTimer = setTimeout(this.fadeInCallback, this.fadeIncrement); } else { this.fadeTimer = setTimeout(this.fadeOutCallback, this.cycleTime); } } }
// if this is from a static query term, then just return if (i == -1) { return false; } // reset selcted class of previous item // note, first time through this sets // node 0 if (this.executeList[this.currentIndex].node) { this.cssSetClass(this.executeList[this.currentIndex].node, this.CL_STATUSITEM);
} this.currentIndex = i; if (this.executeList[this.currentIndex].node) { this.cssSetClass(this.executeList[this.currentIndex].node, this.CL_STATUSITEM_SELECTED);
} var queryTerm = this.executeList[this.currentIndex].query; var cacheResults = false; var currentListItem = null; currentListItem = this.executeList[this.currentIndex];
// if the listItem has no cached results, OR if // we have used the cached results several times // already, initiate a real search if (currentListItem.cacheCount == 0 || currentListItem.cacheCount > this.cacheLifetime ) { currentListItem.cacheCount = 0; this.executeInternal(this.executeList[this.currentIndex].query); } else {
// we have cached results and they are within the programmed // life time so use them. e.g., fake a search currentListItem.cacheCount++; this.ns.results = new Array(); for (var ri=0; ri < currentListItem.results.length; ri++) { this.ns.results.push(currentListItem.results[ri]); } this.searchComplete(true); } return false; }
if ( this.executeList.length > 0) { for (var i=0; i < this.executeList.length; i++ ) { var listItem = this.executeList[i]; var displayTerm = listItem.query; var cl; if (this.verticalMode) { cl = this.createClickLink(displayTerm, null, this.CL_STATUSITEM);
if (this.ieMode) { /* // on ie6, if the container doesn't have a background color // and cleartype is enabled, the text looks terrible // do not fade on ie6... // We tried limiting this to IE7, but that was a disaster // as well. IE7 seems to disable font-smoothing when you do this // making the newsbar look terrible. Fix is to just not do the // fade effect on IE at all if (navigator.userAgent.indexOf("MSIE 7") != -1) { var normalized = Math.round(opacity * 100); element.style.filter = "alpha(opacity=" + normalized + ");"; } */ return; } else { element.style.opacity = opacity; } }
/** * Blogger B2 has a problem in its html/javascript widget * where it will throw away link tags. This is how the * wizards used to load their css. This piece of code does * its best to work around this problem and will try to * reload missing css */ GSnewsBar.checkAndFixBloggerCSS = function(){
if ( window._uds_nbw_donotrepair ) { return; } // same for all solutions var gsearchCssPattern = /http:\/\/www\.google\.com\/uds\/css\/gsearch\.css/; var gsearchCss = "http://www.google.com/uds/css/gsearch.css";
// adjust for each solution... var selfWizardPattern = /file=uds\.js.*?&source=uds-nbw/; var selfNewModePattern = /gsnewsbar.js\?mode=new/; var selfCss = "http://www.google.com/uds/solutions/newsbar/gsnewsbar.css";
var loadCss = function(css) { document.write(''); }
var windowRef = window.location.href; var inBlogger = false; if (windowRef && windowRef != "" && windowRef.match(/http:\/\/.*?\.blogspot\.com/)) { inBlogger = true; } if (!inBlogger) { return; }
// ok, so we are in blogger // now, look to see if we are running from our own // wizard code var selfNewMode = false; var selfWizard = false; var scripts = document.getElementsByTagName("script"); if (scripts && scripts.length > 0) { for (var i=0; i < scripts.length; i++) { var src = scripts[i].src; if (src.match(selfWizardPattern)) { selfWizard = true; } if (src.match(selfNewModePattern)) { selfNewMode = true; } } } if (!selfWizard) { return; } if (selfNewMode) { return; }
// ok, we are running in our own wizard, in blogger // now, we need to make sure our CSS is loaded, only // we can't really know for sure, because the css tag // is next. So, what we do is look for gsearch.css (or // the global that says gsearch.css was missing because // another wizard already had to fix things up var gsearchCssMissing = true; var selfCssMissing = true; if ( !window._uds_wizards_gsearchCssMissing ) { // no other wizard discovered gsearch.css missing // so either no one else has run, or its not missing // look for gsearch.css. If its missing, load it and // load ourselves. If its found, assume ours is there as well var links = document.getElementsByTagName("link"); if (links && links.length > 0) { for (var i=0; i < links.length; i++) { if (links[i].href.match(gsearchCssPattern) ) { gsearchCssMissing = false; break; } } } if (gsearchCssMissing) { window._uds_wizards_gsearchCssMissing = true; loadCss(gsearchCss); loadCss(selfCss); } } else { // if someone else marked gsearch.css missing, then we should assume // that we are missing too and self load loadCss(selfCss); } } GSnewsBar.checkAndFixBloggerCSS();
GSnewsBar.cloneObject = function(obj) { var res = new Object(); for (var prop in obj) { switch(typeof(obj[prop])) { case "object": if (typeof(obj[prop].nodeType) == "undefined" || typeof(obj[prop].cloneNode) == "undefined") { res[prop] = GSnewsBar.cloneObject(obj[prop]); } else { try { res[prop] = obj[prop].cloneNode(true); } catch (e) { res[prop] = GSnewsBar.cloneObject(obj[prop]); } } break; default: res[prop] = obj[prop]; break; } } return res; }
Details for Ahmad Dark Property Value Name Ahmad Dark Description Dark Template for Fireboard forums. Its based originally on one of the default templates of FB
Installation Instructions:
Download the file and extract itUse JoomlaXplorer or FTP to upload the files to : http://yoursite/components/com_fireboard/template/ahmad_darkGo to the backend and open Fireboard ConfigurationIn the frontend tab , Set the template and image set to ahmad_dark
Filename ahmad_dark.zip
Filesize 219.06 KB
Filetype zip (Mime Type: application/zip)
Advisories and Vulnerabilities (215 entries)These searches locate vulnerable servers. These searches are often generated from various security advisory posts, and in many cases are product or version-specific.Error Messages (68 entries)Really retarded error messages that say WAY too much!Files containing juicy info (230 entries)No usernames or passwords, but interesting stuff none the less.Files containing passwords (135 entries)PASSWORDS, for the LOVE OF GOD!!! Google found PASSWORDS!Files containing usernames (15 entries)These files contain usernames, but no passwords... Still, google finding usernames on a web site..Footholds (21 entries)Examples of queries that can help a hacker gain a foothold into a web serverPages containing login portals (232 entries)These are login pages for various services. Consider them the front door of a website's more sensitive functions.Pages containing network or vulnerability data (59 entries)These pages contain such things as firewall logs, honeypot logs, network information, IDS logs... all sorts of fun stuff!Sensitive Directories (61 entries)Google's collection of web sites sharing sensitive directories. The files contained in here will vary from sesitive to uber-secret!Sensitive Online Shopping Info (9 entries)Examples of queries that can reveal online shopping info like customer data, suppliers, orders, creditcard numbers, credit card info, etcVarious Online Devices (201 entries)This category contains things like printers, video cameras, and all sorts of cool things found on the web with Google.Vulnerable Files (57 entries)HUNDREDS of vulnerable files that Google can find on websites...Vulnerable Servers (48 entries)These searches reveal servers with specific vulnerabilities. These are found in a different way than the searches found in the "Vulnerable Files" section.Web Server Detection (72 entries)These links demonstrate Google's awesome ability to profile web servers..
see this thread in the forum: http://forum.joomla.org/index.php/topic,36326.msg201327.html#msg201327and here: http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,498/Itemid,35/ "This modules allows for publishing content items or articles in areas other than mainBody(). Choose if you want to display a single item, all items from a category, all items from a section, or a number of content items/categories/sections specified by a comma separated list of ids. Simply enter the content item ID in the module's parameters field, assign a position to the module, and publish it. You can copy the module and assign a different name, position and contentitem id to the copy. Also includeds a "Read more" link option. With the "merge items" option you can merge multiple content items (/categories/sections) into one document for print and pdf. It will also create a table of contents for merged items (if you want to)." Note: I managed to delete my own copies of the module an had to restore from a not to recent backup. Shouldn't be a problem, but means this is currently an untested version (2007/07/11). (Tested and it works fine (2007/18/07) )
fireboard component dark theme (has red, yellow, etc too) from
Dark template set is ready! It has 4 color combinations (Blue, Red, Yellow and Green)You can download our on file directory.All image source and fonts included and you can modify icon set for your language.Installation Instructions:1. Download the file and extract it2. Use JoomlaXplorer or FTP to upload the files to : http://yoursite/components/com_fireboard/template/ 3. Go to the backend and open Fireboard Configuration 4. In the frontend tab , Set the template and image set to your template name(dark_blue,dark_green,dark_yellow,dark_red,) Demo: http://demo.bestofjoomla.com
PMS enhanced module and component installation docs
(still figuring out the CB special integration)
PMS Enhanced moduleInstallation/Configuration (english) Installation:install mod_pmsnotify_v1.0.2.zip as usualConfiguration:– in the Backend under 'Modules -> Site Modules -> PMS Notify'– if notification-text for unread PMs is already displayed by your login-module, you can hide itfor this module– user-settings can be checked in the PMS enhanced backend
PMS Enhanced ComponentInstallation/Update (english) Upgrade of version 1.3.3. or earlier:!!!ATTENTION!!!In case of data loss or errors in my script I don't take any responsibility. Please make a BACKUP ofyour files and tables!1. copy the file upgrade_to_version2.php to your Mambo/Joomla root directory and open it in yourbrowser2. at first it will create a backup of the old tables3. second you must uninstall the old component manually4. at point 3 of the script you must install the new component manually5. at the last point the old tables will be migrated to the new tables and the old ones will be deleted6. after successfull update delete the file upgrade_to_version2.phpUpdate from version 2.0.x:!!!ATTENTION!!!In case of data loss or errors in my script I don't take any responsibility. Please make a BACKUP ofyour files and tables!1. copy the file update_2.0.x_to_2.0.4.php to your Mambo/Joomla root directory and open it in yourbrowser2. copy the new files (excluding config.pms.php) to your server and override all old onesInstallation:1. install com_pms_enhanced_v2.0.4.zip as usual2. to use notification about new PMs, you must install the module mod_pmsnotify (moreinformations in the readme_module.pdf)Settings:– in the Backend under 'Components -> PMS enhanced -> Config'– settings for the module mod_pmsnotify will only be visible, if it is intalled, tooNotifications:– the files config.pms.php, dagdfgneroir302948sdajfsarzutqewewlsfehrueqrhrhe.php and the folderpmscenter must be writeable– does allready work with Joomla! PMS- Center from Joomlascripts.de– if linked from other components use the following parameters:– id=xx (xx=userID of the recipient of the new PM)– title=xxx (xxx=subject of the new PM)– SQL-query for unread PMs (for use with another module):"SELECT count(id) FROM #__pms WHERE recip_id=$my_id AND readstate%2=0AND inbox=1"
How to configure CB with a PMS Contributed by Nick A. Wednesday, 13 September 2006 Last Updated Wednesday, 13 September 2006 Step 1. Install and configure your (CB compatible) PMS component (e.g., UDDEIM) Step 2. Goto CB Plugin Managemen backend and make sure the PMS MyPMS and Pro plugin (or another extra plugin has been installed and) is published (public) and the correct PMS Component Type is selected from the plugin parameter list Step 3. Goto CB Tab Management and make sure the Quick Message Tab is published
This 3 steps above should integrate the CB Component with your PMS (CB compatible) component. You can also configure various CB Login module parameters to work with your PMS component.