vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - [AJAX] SmnLikQuick v2.0 - Advanced Announcements Block (https://vborg.vbsupport.ru/showthread.php?t=172773)

douffle 06-24-2008 06:31 PM

I got it installed now and I have just one more problem, (I hope).

I added two announcements but I am not getting the tabs. Just two links with the announcements auto-rotating below the links. The rotation is very fast as well.

I don't see anything in the settings that looks like it would determine if I had links or tabs.

Any thoughts?

Thanks

BeerLuver 06-24-2008 06:45 PM

King Kovifor... by any chance, did your update/fixes include the vbAdvanced CMS issue I & some others were experiencing with the loading announcements issue?

bobster65 06-24-2008 06:47 PM

Quote:

Originally Posted by douffle (Post 1557969)
I got it installed now and I have just one more problem, (I hope).

I added two announcements but I am not getting the tabs. Just two links with the announcements auto-rotating below the links. The rotation is very fast as well.

I don't see anything in the settings that looks like it would determine if I had links or tabs.

Any thoughts?

Thanks

In the FORUM HOME Template, make sure your PATHS (IN RED) are set correctly.. You can put the FULL URL to the file(s) and that should solve the problem.

Code:

================================
Template: FORUMHOME
================================
FIND:
--------------------------------
<head>
--------------------------------
ADD BELOW:
--------------------------------
<!-- SmnLikQuick -->
<link rel="stylesheet" type="text/css" href="/clientscript/smnlikquick_css.css" />
<script type="text/javascript" src="/clientscript/smnlikquick_ajax.js">
/***********************************************
* Ajax Tabs Content script- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- / SmnLikQuick -->


douffle 06-24-2008 07:06 PM

Thanks Bobster65, I missed the begining forward slash in the path. The tabs are there now.

One final question though. The announcements are still auto-rotating back and forth. How do you set it up so that it only changes if you click the tabs?

Thanks again.

bobster65 06-24-2008 07:12 PM

Quote:

Originally Posted by douffle (Post 1558006)
Thanks Bobster65, I missed the begining forward slash in the path. The tabs are there now.

One final question though. The announcements are still auto-rotating back and forth. How do you set it up so that it only changes if you click the tabs?

Thanks again.

Cool Beans ..

To modify the auto rotation, edit the "smnlikquick" template and look for this code towards the bottom of it..

Code:

<script type="text/javascript">

var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)

</script>

Change the mytabs.init(5000) to mytabs.init() the 5000 is in microseconds, so it was set to rotate every 5 seconds... setting it to () removes the rotation completely and makes it so that you have to click on a tab.

King Kovifor 06-24-2008 07:13 PM

Quote:

Originally Posted by BeerLuver (Post 1557986)
King Kovifor... by any chance, did your update/fixes include the vbAdvanced CMS issue I & some others were experiencing with the loading announcements issue?

I haven't messed with the CMPS module, I think it was a direct modification of one of Bobster's so I will send it to him to check out.

Quote:

Originally Posted by douffle (Post 1558006)
Thanks Bobster65, I missed the begining forward slash in the path. The tabs are there now.

One final question though. The announcements are still auto-rotating back and forth. How do you set it up so that it only changes if you click the tabs?

Thanks again.

Support for that being an option in the ACP is planned, so that will be in the next major version most likely. But it is somewhere in the template. Maybe Bobster knows the exact spot.

douffle 06-24-2008 11:46 PM

Interesting! What I find is that when you first enter the home page it auto-rotates between the anouncements. If I click on one of the tabs then it stops auto-rotating and does not change unless you click a different tab. If I refresh the page, then it starts to auto-rotate between the anouncements again until I click on one of the tabs again. Weird!

bobster65 06-25-2008 11:54 AM

Quote:

Originally Posted by douffle (Post 1558159)
Interesting! What I find is that when you first enter the home page it auto-rotates between the anouncements. If I click on one of the tabs then it stops auto-rotating and does not change unless you click a different tab. If I refresh the page, then it starts to auto-rotate between the anouncements again until I click on one of the tabs again. Weird!

That's not weird, its how auto rotation is supposed to be if initialized. Auto rotation stops as soon as you click on a tab. If you refresh, you are invoking the original state, which is to auto rotate until a tab is clicked on. I posted above how to initialize without auto rotation.

Once Bree gets back online, I am going to have her change the default install to NOT rotate and add the ability to set the auto rotate time in the ACP.

douffle 06-25-2008 02:32 PM

It seemed weird to me at the time but I wasn't aware that it was supposed to do that. :)

Setting the default as non-rotating seems to me to be the best way to go. The reason I say this is because in between rotations it clears the box (table), and displays the "loading" animation, which is fine in and of itself, but I find that because the box shrinks in height when the animation begins and grows in height when it displays the next announcement, the forums listing is jumping up and down on the page. If I scroll down trying to look at all of the forums, I find it very distracting as the list jumps up and down on the page.

I am not trying to knock the mod. It is a great mod and it is what I have wanted for some time now, but I am simply trying to point out what I think might improve it. If it is not auto-rotating, the forum list will not jump up and down.

DjEddie 06-26-2008 08:51 AM

Quote:

Originally Posted by douffle (Post 1558651)
It seemed weird to me at the time but I wasn't aware that it was supposed to do that. :)

Setting the default as non-rotating seems to me to be the best way to go. The reason I say this is because in between rotations it clears the box (table), and displays the "loading" animation, which is fine in and of itself, but I find that because the box shrinks in height when the animation begins and grows in height when it displays the next announcement, the forums listing is jumping up and down on the page. If I scroll down trying to look at all of the forums, I find it very distracting as the list jumps up and down on the page.

I am not trying to knock the mod. It is a great mod and it is what I have wanted for some time now, but I am simply trying to point out what I think might improve it. If it is not auto-rotating, the forum list will not jump up and down.

As said in previous post, you can change the height of the box so it stays the same size when loading another tab.

https://vborg.vbsupport.ru/showpost....&postcount=202 <--- check that post for the coding and template :)




Question:

Is it possible to include something where you can call the Last topics made in a certain forum to show in the tabs and update itself when a new topic is made in that forum?

Thanks :)


All times are GMT. The time now is 02:30 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.01375 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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