vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Firefox plug in for your forum? (https://vborg.vbsupport.ru/showthread.php?t=77393)

Code Monkey 01-05-2006 06:10 PM

I am able to get the menu part of the extension to work real good. But clicking does nothing. So I am still trying to figure out what I missed.

EDIT: Got it. You have to make sure you replace every single instance of "trtf" in every single file with your new extension short name.

EricaJoy 01-06-2006 01:06 AM

So I googled XUL Editor and chanced upon and extension thats for making extensions! Looks promising so far, check it out:

http://ted.mielczarek.org/code/mozilla/extensiondev/

dakuda 01-06-2006 03:09 AM

Quote:

Originally Posted by JumpD
Might be easier for folks if you attached the one you saved into a zip.

That was pretty much my only hurdle. Once I knew to change extensions it went like clockwork.

Code Monkey 01-06-2006 07:44 AM

Aparently it's evil to talk about this in the lounge. :D

If your going to use the above template to make a link extension for your vb forum, I altered one of the js functions a bit. In chrome>content>common.js add this function. Make sure you change it to your site url and forum root.
Code:

function tsg_open_vb(event, fid)
{
        if (event && event.button != 0)
        {
                getBrowser().addTab("http://yoursite.com/forumhome/forumdisplay.php?f="+fid);
        } else {
                loadURI("http://yoursite.com/forumhome/forumdisplay.php?f="+fid);
        }
}

Then you can just tsg_open_vb(event, '5') using the forum id instead of puting the whole url for every link. Smaller is better with js.

Now someone move this thing before it explodes.

EricaJoy 01-06-2006 07:13 PM

i finished mine! wheeeee!

Lizard King 01-06-2006 08:07 PM

Quote:

Originally Posted by princessfrozen
i finished mine! wheeeee!

can we see a demo :)

Code Monkey 01-06-2006 09:55 PM

<a href="http://joystickrequired.com/ff_extensions/jsr_extension.html" target="_blank">Mine is working</a>.

dethfire 01-06-2006 11:27 PM

well I must be retarded, every time I install my edited one it says it's an invaild package

Code Monkey 01-07-2006 03:56 AM

FYI. That install.js file that comes with that above code is legacy and not needed for Firefox. Firefox handles the install now. It may be needed if you wish to install in another mozila based app, or it may not. Not needed for FF though.

EricaJoy 01-07-2006 06:34 AM

Quote:

Originally Posted by dethfire
well I must be retarded, every time I install my edited one it says it's an invaild package

mine was giving me an error with the install file for the longest. turns out i zipped it wrong. whats the exact error it gives you?


All times are GMT. The time now is 07:05 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01151 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete