vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - AustraliaBound.org ModalBox Nag Screen (https://vborg.vbsupport.ru/showthread.php?t=238904)

archet1337 03-23-2010 07:09 PM

Quote:

Originally Posted by TimberFloorAu (Post 2008912)
Had you read the first line of the mod:

I did not read the first line, sorry. My post was not an attack on your mod, but I felt the need to share that I'm not a fan of popups, or anything else that intrude on my web browsing. I'm sure it's a brilliant mod for those who want this.


Quote:

Originally Posted by TimberFloorAu (Post 2008912)
Plus you havent downloaded it ?? Bizarre mate, perhaps you could have looked at the code, which we have provided everything.. and customised it to suit a particular need.

Like I said above, I'm sure the coding is excellent and the mod is working fine, I just don't have the need to download something I won't use. If you were offended by my post, I apologize. It was not my intention.

Quote:

Originally Posted by TimberFloorAu (Post 2008912)
I am sure you could find a use for this, just need to think outside the box.

You will be the first to know when/if I do :)

TimberFloorAu 03-23-2010 08:01 PM

cannot reply: bad request :(
Video Version
cannot post the code on here so have added to our forum: http://www.australiabound.org/forum/...tml#post179219

TimberFloorAu 03-24-2010 12:37 AM

See if this works now.

I have coded this now ( slightly differently on our forum ) But feel free to use this code change for adding dynamic videos using Modal.

This is a follow up to our Nag Screen.

Here is another example: FOR FRESH USERS ( you still need to upload content and colorbox folders !!!!! )

This MODALS a youtube link video dynamically on your Page

Open forumhome template

add this above </head>
Code:

<!--jquery modal-->
<link type="text/css" media="screen" rel="stylesheet" href="colorbox/colorbox.css" />
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
        <script type="text/javascript" src="colorbox/jquery.colorbox.js"></script>
<script type="text/javascript">
            $(document).ready(function(){
                //Examples of how to assign the ColorBox event to elements
                $("a[rel='example1']").colorbox();
                $("a[rel='example2']").colorbox({transition:"fade"});
                $("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
                $("a[rel='example4']").colorbox({slideshow:true});
                $(".example5").colorbox();
                $(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});
                $(".example7").colorbox({width:"80%", height:"80%", iframe:true});
                $(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"});
                $(".example9").colorbox({
                    onOpen:function(){ alert('onOpen: colorbox is about to open'); },
                    onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
                    onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
                    onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
                    onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
                });
               
                //Example of preserving a JavaScript event for inline calls.
                $("#click").click(function(){
                    $('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
                    return false;
                });
            });
        </script>
<!--jquery modal-->

Add this at bottom of footer
Code:

<!--Modal Box-->
<p><a class='example6' href="http://www.youtube.com/v/8k__7q3jRw8" title="vBulletin 4 - How to make a fixed style">vBulletin Tutorial</a></p>       
<!--Modal Box End-->

Click Vbulletin tuorial link bottom left

This link could be anywhere , navbar etc etc
Could be coded to add ajax inline , rather than iframe.

Whatever, but you cannot knock the fact this makes good sense, and looks wicked.

Anyhoo.. I cant spark peoples imaginations, I suppose they need to do that themselves.

---------- Post added at 06:58 AM ----- British Expats Australia----- Previous post was at 06:50 AM ----------

We will be adopting this system for tutorials and other link screens in main menu over the coming weeks. Currently link just below header, for weather widget

TimberFloorAu 03-24-2010 06:39 AM

If anyone shows the slightest bit of interest in this lol.

We actually use this for multitude of uses. New use is Menu items and widgets

If you venture onto our site, open the sidebar menu
Look at Expat Info Links

basilrath 03-24-2010 06:51 AM

arrrrrrrrrrrrrrr now we are talking .......... the uses are somewat much more uesable ........

Tagged and nice one

12xbl 03-24-2010 10:24 AM

Superb !!! Tagged for future use.

x

DJPushpu 03-24-2010 02:16 PM

1 Attachment(s)
check attachment
my Register button is not showing
plz help:(

TimberFloorAu 03-24-2010 06:49 PM

Check the path to your button in ajax.html

find this code:

Code:

background:url(http://www.xxxxxyyyyyzzzz.com/forum/content/images/button.png) no-repeat 0px 0px;        }a.button:hover {        color:#333333;        background:url(http://www.xxxxxyyyyyzzzz.com/forum/content/images/button.png)
Check the path is correct :)
If you are running the VB Syuite, I suggest renaming the content folder to content2 ( in this download package for this hack ) then upload via ftp. Or if you have already uploaded, just rename it via ftp to content2

Then in the code from ajax.html
change content to content2

And also in the footer code in the readme, change:

<p><a class='registerModal' href="content/ajax.html" title="Register for Free">Register</a></p>
to
<p><a class='registerModal' href="content2/ajax.html" title="Register for Free">Register</a></p>

STe

Da-Vinci 03-25-2010 04:13 AM

Downloaded, tagged, rated and nominated, but this comment I don't agree with.

Quote:

This is a free hack, and I for one think VB should instigate a system of you download ---- you click install system. If you dont click install you should PAY !
Only reason is, I havn't got it installed on my forum, so why should I mark it as installed.

I mark all the modifications I use as installed, so I can quickly find the original post if need be.

I get what your saying by the way, it must be frustrating to release something then have a load of people take and not even say thanks, by clicking install, but that's just the way it is.

This sounds like a great mod and rest assured if I find a use for it, I'll mark it installed.

Keep up the good work.

Regards

TimberFloorAu 03-25-2010 07:57 AM

I do see what you are saying. And we obviously check out who downloads what and try and see where.. obviously for assistance issues.

I can honestly say we like others on here spend 33% of our time often assisting members with unrelated code we have released.

I am surprised at the uptake on this.

If anyone doubts its functionality...

Nip on my site ( no registration required )

Pop into the right hand sidebar, and click one or two of the menu links .

We have a megaerie of code in there, mainly colorbox stuff...
We have different windows that open and close and keep our users on OUR site.

Many gadgets widgets and iframes all unobtrusive and loaded on the fly.

Anyhoo.. if people dont even install it... bugger them lol.


All times are GMT. The time now is 05:21 PM.

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.01027 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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