vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - MySpace/YouTube/Google Video Addon (best yet) (https://vborg.vbsupport.ru/showthread.php?t=133235)

Mr Chad 12-09-2006 03:03 PM

no, vb SEO works fine for me

TCattitude 12-09-2006 06:00 PM

Quote:

Originally Posted by Mr Chad (Post 1134108)
if i put it there will it work in both normal and WYSIWYG mode? or does it need to be in both places?

I put the changes in both places.
Working without problems in wysiwyg and normal editor.

cobradude 12-10-2006 06:44 PM

What are you guys using to edit the js script? As others have noted, as soon as I edit the script it falls over and I get an error on the page and the buttons don't work. Back out the changes and things are back to normal....

Mr Chad 12-11-2006 12:12 AM

try new code

BigJimTheLug 12-11-2006 04:58 AM

Quote:

Originally Posted by Mr Chad (Post 1136061)
try new code


new code...?

can you be more precise and expand on this?
thanks:)

francohungary 12-11-2006 08:12 AM

Anyone still having problems with this? I'd really like to get this to work - looks like a great feature but the video icon does nothing when clicked (using IE 6 browser - default security). The rest of my buttons work fine.

cobradude 12-11-2006 02:02 PM

I am having problems still. As soon as I edit the script it no longer works. I get an error on the page that indicates the vb_text_editor is not defined. I'm using wordpad to edit the file and wondering if somehow it is corrupting it?

Mr Chad 12-14-2006 01:58 AM

ok if that JS code doesnt work for you use this (this one is the basic one):

Code:

                /**
                * Insert Video Link
                */
                this.createvideolink = function(e, url)
                {
                        var my_colors=prompt("MySpace or YouTube or Google video URL","");
                        if ((my_colors=="") || (my_colors==null))
                        {
                                  alert("Please Enter The Full URL!");
                        }
                        else
                        {
                                if (my_colors.match("www.youtube.com"))
                                {
                                        var col_array=my_colors.split("?v=");
                                        var part_num=1;
                                        return this.insert_text("[youtube]" + col_array[part_num] + "[/youtube]");
                                }
                                else if (my_colors.match("myspace.com"))
                                {
                                        if (my_colors.match("videoID="))
                                        {
                                                var col_array=my_colors.split("videoID=");
                                        }
                                        else
                                        {
                                                var col_array=my_colors.split("videoid=");
                                        }
                                        var part_num=1;
                                        return this.insert_text("[myspace]" + col_array[part_num] + "[/myspace]");
                                }
                                else if (my_colors.match("video.google.com"))
                                {
                                        var col_array=my_colors.split("docid=");
                                        var part_num=1;
                                        return this.insert_text("[googlevideo]" + col_array[part_num] + "[/googlevideo]");
                                }
                                else
                                {
                                          alert("Please Enter The Full URL!");
                                }
                        }
                };

add that code above these two spots:
Code:

/**
* Insert Link
*/

Code:

        /**
        * Insert Image
        *
        * @param        event        Event object
        * @param        string        (Optional) Image URL
        *
        * @return        boolean
        */


paypal 12-15-2006 03:00 AM

is there a way to add an rss feed to the forum, revver.com has an affiliate program allowing rss feed to website, maybe this is possible for Forum aswell ... thankyou

awaiting response

Arjan 12-15-2006 07:23 AM

Quote:

Originally Posted by MARKETPROFITS (Post 1135168)
I'm guess it is a vbseo problem...

man...!?!?!!

Nope, works fine for the wysiwyg editor with VBSEO latest RC on my site.
But if your buttons stop working you probably have this error message in the statusbar. Open it to find out what is wrong.

And yes, when something is wrong with the JS then all buttons stop working at once, since the editor cannot be initialised.


All times are GMT. The time now is 08:20 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.01334 seconds
  • Memory Usage 1,752KB
  • 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
  • (3)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)pagenav_pagelinkrel
  • (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