vB New Topics

By gollum Last update Mar 4, 2008 — Installed 477 times.

Post doesn't exist

Archived Comments (locked)

in
Subscribe to Archived Comments 18 posts, 6 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
C4rter User

Hi fuxxi,

I made a simple Version for this function for cinefacts. If you still want it, contact me in Cinefacts or look into my thread on cinefacts. Nickname on cinefacts is the same.

 
fuxxi User

Thank You, ill hope the problem is easy to fix !

 
gollum Script's Author

Sorry fuxxi, I noticed that the settings checkbox showed up on http://forum.cinefacts.de/schnaeppchen_und_haen... and didn't investigate any further. I should have checked, - as you say - unless the code finds links with href containing /showthread.php\?goto=newpost/ the button will not display.

I'll have to investigate to see if I can get around this.

That still leaves the problem of sub-fora header pages like http://forum.cinefacts.de/die_haendler_die_schn... don't know what I can do about those.

Too tired tonight to think clearly, and will be busy for the next few days, but I'll have a look when I can get to it.

 
fuxxi User

HI gollum,

sure i add it.. but the structure is different from normal vbulletins

Normal vbb forum structure is like:

http://forum.x.de/forumdisplay.php?f=xx

but on forum.cinefacts.de its like:

http://forum.cinefacts.de/die_haendler_die_schn...
http://forum.cinefacts.de/schnaeppchen_und_haen...

no more forumdisplay.php in the links and it no longer displays the open new topics link

maybe you want to register and check it out? Please :)

 
gollum Script's Author

Hi fuxxi, have you added http://forum.cinefacts.de/* as an include?

Not being a member, I'm unable to test for the appearance/functioning of the "Open new posts" button.

 
fuxxi User

Hi again,

could/would you update the script for sites like:

http://forum.cinefacts.de/

?

Would be great ! :D

 
Mithrandir Scriptwright

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).

 
fuxxi User

Thank You, working perfect now !

 
gollum Script's Author

@fuxxi - thanks for finding the bug AND my dopey test logic - fixed (i hope!!)

@Mithrandir - thinking that it's probably the globalStorage option that's causing the security issues for you - new version uses just GM_set/get

Thanks for finding the bugs.

 
Mithrandir Scriptwright

Hi gollum,

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

 
fuxxi User

yes, about the first part, you are right, its supposed it to do, im referring to the 2nd part ;)

but i found the bug i think.. if i set max open threads to 15 for example and there are 4 unread threads, then it will open the 4 threads and 11 empty tabs.. if i set max threads to 10 it will open the 4 unreaded threads and 6 empty tabs.. if i set to maxthread to 0 its the same as with maxthread 10.

 
gollum Script's Author
There is a bug somewhere i think.. when i click the "open x new posts" button it opens the unreaded postings in new background tabs...

Ahhh, unless I missed your meaning, that's what it's supposed to do.
...but besides that it opens a various number of empty tabs.. using Firefefox 3.0b4 latest Nightly.

Sorry about that, can't check FF 3 without trashing my FF2 ... if someone could help in debugging in FF3?? much appreciated!
 
fuxxi User

There is a bug somewhere i think.. when i click the "open x new posts" button it opens the unreaded postings in new background tabs, but besides that it opens a various number of empty tabs.. using Firefefox 3.0b4 latest Nightly.

 
gollum Script's Author
@Dink, (sorry for being so long) I gather you don't like using Ctrl-click on links to force new tabs.

I'll play with that as soon as I get these updates finalized.

 
Dink Scriptwright

whenever i view any vbulletin forums I like for all links to open in new tabs...but I do not want to have firefox set up that way...I like my firefox setting to open links in the current tab...so the script that I would like to see would be "vBulletin Open All Links In New Tabs"
Hope I explained myself there. Thanks!!!

 
gollum Script's Author

@Dink, I think I'm a bit confused with what you're asking - it probably makes sense to everyone else (I'm a bit thick today ;-] ) did I understand you correctly? When viewing a vB TAB any clicked link MUST open in the current tab?

 
Dink Scriptwright

When I view forums that are running vbulletin software I like to always open in a new tab...could you possibly write another script for that purpose...as in firefox I like to have links open in the same tab by default.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel