Bungie.net Community
This topic has moved here: Subject: Script Central> Top of Page; Game Page; Friendly Bnet; Bungie An...
  • Subject: Script Central> Top of Page; Game Page; Friendly Bnet; Bungie An...
Subject: Script Central> Top of Page; Game Page; Friendly Bnet; Bungie An...

Posted by: Rob Vokes
Posted by: Wolverfrog
Alternate Footer Links

This is an excellent add-on to the Footer removal script released long ago. : D


??

Oh, it's not that Footer, it's the one with the Privacy Statement stuff.

  • 05.26.2009 3:19 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Posted by: Wolverfrog
Oh, it's not that Footer, it's the one with the Privacy Statement stuff.

I know that. With the main footer removed, and the small one now containing useful/helpful links, the bottom of every page for me will be awesome! : )

  • 05.26.2009 3:39 PM PDT
  • gamertag: [none]
  • user homepage:

"II Mwc II" is my current Xbox Live account, get me there.
"He'll kill us! SNAP off our ARMS and USE them as maracas!"

Some of the things in here are awesome.
Great updates.

  • 05.27.2009 12:07 AM PDT

AV=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif
BG=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif

Oh man, I'm sick, I feel so tired right now.

Can't work on scripts that much today. Good thing it's all brainstormed out, so I know what to do.

Ugh, I forget how much being sick actually sucks, until I get sick.

  • 05.27.2009 9:08 AM PDT

Hope you get better. :)
Posted by: Iggyhopper
Oh man, I'm sick, I feel so tired right now.

Can't work on scripts that much today. Good thing it's all brainstormed out, so I know what to do.

Ugh, I forget how much being sick actually sucks, until I get sick.

  • 05.27.2009 3:46 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Is there a script where you can change the posts to your time zone?

: )

  • 05.27.2009 4:00 PM PDT

Does anyone even read these?

Posted by: Iggyhopper
Oh man, I'm sick, I feel so tired right now.

Can't work on scripts that much today. Good thing it's all brainstormed out, so I know what to do.

Ugh, I forget how much being sick actually sucks, until I get sick.
Hope you get better mate, hang in there, don't die on us.

Also the multi-quote script I downloaded from Robby only appears for the first post of every page. Does anyone else have this problem?

  • 05.28.2009 12:20 AM PDT

#101111011110111100001# is a '7'.
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
Greasemonkey Scripts
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
Posted by: Alec9224
Indeed. I haven't had XBL for a long time, but I still come on her everyday.

Posted by: BadBall3r47
Also the multi-quote script I downloaded from Robby only appears for the first post of every page. Does anyone else have this problem?
Yeah. : (

I'll try fixing it today.

  • 05.28.2009 3:58 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Posted by: robby118
I'll try fixing it today.

I think all of your scripts start out with problem(s) or issues, and then they always end up being useful and well-put in the end. ; )

  • 05.28.2009 4:29 AM PDT

OK, so I may not know how to write scripts, but I've become familiar enough with VB to actually make something useful. Go easy on me, I'm still only a beginner at all of this.

link gone (screenshot).


- When you type, the character counter goes down
--- If it hits 0, it turns red and asks if you want to insert a new section into the textbox (all it is is a few blank lines with "new section added by program").
--- Once you go back under 10,000, the counter returns to its normal state. If you go over the limit again, it asks you to insert another section (and so on...)

- Typing a character disallowed by Bungie.net's posting system will bring up a message box telling you an invalid character is in the post.

- Formatting buttons at the bottom do the obvious. When you hit one, it inserts the opening tag. Hit it again and it inserts the end tag.

- The dialog box checkbox at the end lets you click any of the formatting buttons so a dialog box appears, and you can insert whatever type of text you want according to the button.
--- eg. check the checkbox, hit quote button, dialog box appears, type in string of characters, hit OK, string gets inserted along with both opening and closing quote tags at either end.

- Clear button clears the textbox

- Copy to clipboard needs no explaining

- If you type a post in the textbox, you can save it as a .txt file by clicking file > "save post as .txt file".
--- Opening a post works much the same way.

- Forums combo box on the side lets you insert a named hyperlink in bulletin board code for any of the forums according to what is written in the box.



Now for the complicated stuff.

- Predefined posts lets you make your own hyperlinks, add them to the combo box with whatever name you want, then you can insert them into the textbox, delete them, or save all of them as a text file and reload them back in any other day as long as you have the file that's saved.

- Predefined posts work much in the same way as the links, except you can save a post from the textbox, name it, and put it into the combo box and insert it into the textbox.



- Known problems

--- Using enter to make a new line takes two characters away from the character count (I have no idea how to fix this at the moment).
--- Opening predefined posts which have a post inside it that has multiple lines (ie. used the enter key) will not load properly (trying to fix somehow).
--- Haven't added all characters which are "OK" to post yet.

--- Maximum amount of predefined posts/links is limited to 100 items in a two-dimensional array (for now).




I know it's pretty useless, but maybe you can use it to create posts while the site is down, or maybe someone can get some ideas out of it for something else....

You can download it link gone and tell me how bad I am at programming. Or you can view the code for it link gone (just to show what's in it).

Enjoy.

: )

[Edited on 05.29.2009 12:46 AM PDT]

  • 05.28.2009 8:43 AM PDT

AV=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif
BG=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif

Posted by: dazarobbo
tell me how bad I am at programming
Bad programming, but GREAT WORK!

lol, It's good, and looks clean too. Nice GUI.

If input.Contains("a") Then
ElseIf input.Contains("b") Then
ElseIf input.Contains("c") Then
ElseIf input.Contains("d") Then
ElseIf input.Contains("e") Then

bad.

//Pseudo
function ContainsAny(String s, String search)
{

foreach (Char c in search) //or for (search[I])
{
if ( s.Contains(c) // or string-type ) return true; //or the character itself.
}
return false;
}


Or


Byte b = GetByteFromChar(enteredChar);
if (b > 0 && b < 127 && b != 3)
//not real byte-char codes, but it's a whole lot faster.


Linky
It might help you with your "Contains" problem thar.

[Edited on 05.28.2009 9:15 AM PDT]

  • 05.28.2009 9:00 AM PDT

"Once Bungie takes over the world, The Marty Army will take over Bungie and then we'll really have some fun."
-Marty O'Donnell

"Condemnant quod non intellegunt."

Make Bungie.net More Enjoyable: Read & Follow

Hey, that's awesome daza! I'd suggest that you don't have a million if statements for checking to see if the character is bad - just convert it to a DWORD (not sure what the equivalent is in VB) and just check the ranges.

Great work man! It's not only nice to see someone go into programming, but the GUI is very clean and effective.

Oh, and when I select text and click on a text formatting button, it should put tags around my selection like the Posting Tools script.

  • 05.28.2009 10:57 AM PDT

Posted by: dazarobbo

o_0

  • 05.28.2009 12:33 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Posted by: dazarobbo
Hey, good job Daza. For a newcomer to scripting and programming, you did pretty good.

I'm nowhere near to being a decent/good programmer, nor do I know the basics of JS or html coding. : /

  • 05.28.2009 12:53 PM PDT

#101111011110111100001# is a '7'.
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
Greasemonkey Scripts
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
Posted by: Alec9224
Indeed. I haven't had XBL for a long time, but I still come on her everyday.

Posted by: Rob Vokes
nor do I know the basics of JS or html coding. : /
Html is pretty easy to pick up. Once you have the basics of it down, CSS will come in no time. Javascript, on the other hand, leaves me confused.

So anyway, I tried to fix the script again yet nothing seems to work. On one computer, I experience the issue everyone seems to be having; but on the other, it works fine. Perhaps one of the more experienced could take a look. Pretty please?

  • 05.28.2009 2:25 PM PDT

Thats Right I Was Banned For Watching The Webcams Too Much!Combat Arms - X647"He who'd walk a mile just to hold an empty hand, knows what it means to be a wealthy man."
Skin This Place Alive...

@ dazarobbo

Holy crap, im loving this...i can write posts, tutorials and guides for my groups without needing notepad and going all nuts when i forget to close a tag :D

great work.


I cant wait for the final release so i can put it into full use !!

  • 05.28.2009 2:34 PM PDT
  • gamertag: [none]
  • user homepage:

ANNIE ARE YOU OKAY

ARE YOU OKAY

ANNIE

Does anyone know how to add someone to uStalk? I can't find the uStalker user ID

  • 05.28.2009 6:52 PM PDT

Posted by: OMFGitzn0tButer
Does anyone know how to add someone to uStalk? I can't find the uStalker user ID

Create an account here and go to "Setup." On this page you can add users you'd like to stalk. Use the people finder (or click on their gamertag on the forums) to find their UID (not memberID). It will be in the URL of their profile page (assuming you got there using one of those methods. Put the UID, their name, and the URL to their avatar in the boxes, and click "Stalk!"

Once you've set it up, click "Stalk" at the top of the page, and your UID will appear in the URL of that page. Put that number in the script's settings.

(I hope to make this more streamlined in the future)

[Edited on 05.28.2009 7:20 PM PDT]

  • 05.28.2009 7:09 PM PDT

I managed to fix most of it and threw in some other stuff too.


link expired (Screenshot)

link expired

link expired



- New stuff

--- The predefined posts now load and save properly
--- You can increase/decrease the font in the text box (because I didn't like what it was set at even though other people might want it as something else)
--- You can now highlight text in the the textbox and insert formatting around the selected text
--- You can now click (put your cursor) in wherever you want and insert formatting tags
--- Whenever you're asked for a hyperlink via a inputbox or you select text to make a URL out of it, you're prompted if it begins with "https://" then asked if you want it changed to "http://"
--- Same as above except if there is no "http://" at the beginning of a link, it will ask if you want to insert it (eg. google.com becomes http://google.com)
--- Missed a tag in your post? Hit the Check tags button and it will bring up a count of how many times all proper opening/closing tag appear throughout the post.
--- No more repeated "If txtInput.contains("a") then" etc...
------- Replaced with Case statement to check for decimal value of char

Case Chr(0) To Chr(127)
Case Chr(160) To Chr(255)

Credit to Iggy and CavX (the extended unicode FAQ) for the last part there!



phew!

[Edited on 05.29.2009 11:57 PM PDT]

  • 05.29.2009 2:44 AM PDT

"Once Bungie takes over the world, The Marty Army will take over Bungie and then we'll really have some fun."
-Marty O'Donnell

"Condemnant quod non intellegunt."

Make Bungie.net More Enjoyable: Read & Follow

Even better than the first version! Although the code link is broken - you might want to fix that.

  • 05.29.2009 10:51 AM PDT

AV=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif
BG=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif

V

[Edited on 05.29.2009 12:32 PM PDT]

  • 05.29.2009 12:08 PM PDT

"Once Bungie takes over the world, The Marty Army will take over Bungie and then we'll really have some fun."
-Marty O'Donnell

"Condemnant quod non intellegunt."

Make Bungie.net More Enjoyable: Read & Follow

Hey daza, you know what would be cool? Have the user enter their Bnet username, it will download your title bar rank, icon, etc and have a live preview of the post. Eh?

Might be a little hard, but I think VB comes with some sort of WebBrowser control.

  • 05.29.2009 12:28 PM PDT

AV=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif
BG=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif

I figured it out.

Alright, I just finished the javascript section for sending data when in threads.

TODO:
Finish the section to send data when in a forum.
Finish the section where it turns moderator posted threads orange.
Write a corresponding PHP script to deal with the data.

[Edited on 05.29.2009 2:03 PM PDT]

  • 05.29.2009 12:31 PM PDT
  • gamertag: [none]
  • user homepage:

“To say more would spoil be it’s overall its a game that needs to be played.” - Aristotle

Can somebody put these pinned topics back in a sidebar for me?

  • 05.29.2009 4:44 PM PDT

I'm so over all of this.

Posted by: Lord Snakie
Can somebody put these pinned topics back in a sidebar for me?


LOL. Change is good, Snakie. Continue moving on with the rest of us.

  • 05.29.2009 4:45 PM PDT