Comments by Mithrandir on scripts

17 comments

Comment on:
vBulletin - Show full links

Apr 23, 2008

Ah, i understand your problem now.

No, the script can't change these links - it's goal is (copied from description above):

If both parts of description (splitted by "...") are part of the url, the truncated description will be replaced by the url.
- so mainly links in postings will be changed.

I don't know how to change these links, because there is no dependency between text and url. But is this problem really critical? You can find these infos in hybrid mode and thread title is shown in title bar.

Comment on:
vBulletin - Show full links

Apr 21, 2008

Hi jxh2154,

in "my" forum i cannot find a thread with long and truncated title. Do you have a link for me?

Comment on:
vB New Topics

Apr 12, 2008

Hello gollum,

i think the new version will work at my computer too. Thank you!

Because i don't need the form to change the values i'm still using the old version.

I added one line at:

    function(e) {
      if (e && e.target) e.preventDefault();
      else window.event.returnValue = false;
      
      if (useTimeout) { // add a delay before/between opening tabs
    function(e) {
      if (maxlnks==0) this.style.display = 'none';
      if (e && e.target) e.preventDefault();
      else window.event.returnValue = false;
      if (useTimeout) {

So the button will vanish on click-action (but maxlnks must be ==0).

Comment on:
vBulletin - Show Postnumber

Apr 1, 2008

On http://forum.wintricks.it/ they are using a old version of vBulletin (3.0.17), therefore the script doesn't find this variable:

var c_seekpostid ='id=\"postcount';    // zweiter Suchstring

I don't know how to change the script, that it will work on all (old and new) vBulletins, sorry.

Comment on:
softWrapper

Mar 28, 2008

The script isn't really important. You can see it's "power" on the test site (link above). Just enter some text in the last textarea. Without the script you won't get a linefeed.

Comment on:
showMoreExtensions

Mar 28, 2008

Thanks for reporting. Please try new version (1.03).

Comment on:
showMoreExtensions

Mar 15, 2008

Version 1.02 should fix this problem.

Comment on:
showMoreExtensions

Mar 11, 2008

You can edit the searchplugin: have a look in profile/searchplugins and try instructions above, beginning with "Solution for searchplugin".

You can find a different approach on:
http://userscripts.org/scripts/show/23710

Comment on:
vB New Topics

Mar 3, 2008

Hi gollum,

i just tried the new version, but unfortunately i got a security error in line 41.

Comment on:
Tin Foil Hat

Jan 15, 2008

@norz: Try

if (match) {
// replace href with real url:
 link.href = match[1];
// replace text with real url:
 link.firstChild.nodeValue = match[1];
}

Comment on:
Endless vBulletin Forum Pages

Dec 11, 2007

@bobielawlintine: only a dirty solution from me. Change the value 2.5

document.documentElement.scrollTop) < (2.5 * window.innerHeight)))

into 4.5 or anything higher.

Thank you! Your solution is very smooth.

ad "delete": I meant the script (it's gone now) on my webspace.

ad "firefox-browser.de": Do we know each other? What's your name on the forum (PN me there, if you want to)?

Sorry, the changes at the end are changed ;)

You have to append URLr at the the right side of the href, or you grab the script at http://www.ardiman.de/assets/files/firefox/ebay...

@Thorben: I'll delete it, if you demand it.

If you want to use the internal ebay function, change the script like this.

At the beginning add the two last lines:

var userid, anchor, rcvdURL, rcvdString, leftURL, leftString;
var URLr = "";
var tool = "ebay";

Then in the next section (only part for german ebay is shown, other ebay-sites must be changed similar - URLr is always the same):

switch (document.domain) {
    case "feedback.ebay.de":
        if (tool == "ebay") {
        	rcvdURL = "http://feedback.ebay.de/ws/eBayISAPI.dll?ViewFeedback2&ftab=FeedbackAsSeller&userid=";
        	leftURL = "http://feedback.ebay.de/ws/eBayISAPI.dll?ViewFeedback2&ftab=FeedbackAsBuyer&userid=";
        	URLr = "&iid=-1&de=off&items=25&interval=365&which=negative";
        } else
        	{
          rcvdURL = "http://toolhaus.org/cgi-bin/negs-de?Dirn=Erhaltene&User=";
          leftURL = "http://toolhaus.org/cgi-bin/negs-de?Dirn=Abgegebene&User=";
        }
        rcvdString = "Erh. Beschw.";
        leftString = "Abg. Beschw."; 
        break;

At the end:

li.innerHTML = '' + rcvdString + '';

and:
li.innerHTML = '' + leftString + '';

To switch between ebay and toolhaus.org just change this line:

tool = "ebay";

Comment on:
Tin Foil Hat

May 9, 2007

Nice script! I changed this line:
if (match) {
link.title = match[1];
}

into

if (match) {
link.href = match[1];
}

now the link itself is "fixed".

Comment on:
vBulletin - Show Postnumber

May 9, 2007

@all: Sorry, i couldn't login since there were problems in the userdatabase of userscripts.org.

@Herr Sin: Ja, das will ich hier auch noch einmal kommentieren: SEO-Plugins sind für das Skript leider Gift.

@hoovernj: Strange. Please try it on http://www.vbulletin.com/forum/ - you should see the "post-tags".