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)
-   -   Forum Display Enhancements - Tabs Add System for vBulletin 4 (sstab advanced) (https://vborg.vbsupport.ru/showthread.php?t=233629)

RK1gaming 01-30-2010 03:44 PM

So I used this

<a href='javascript:void(0)' onclick='window.open("http://www.rk1gaming.net/ChatRoom/ChatRoom_fixed.html","","height=407,width=650,stat us=1")



So the tab works and fires up the external pop up with no issues but it also fires up another page with this link http://www.rk1gaming.net/forum/href= which gets a 404 error

so I fixed the 404 by dropping the <a href= but it still wants to fire up another tab at least its the forum page again so not to bad ...

I just want it to fire up the chat pop up and not another forum url

Fusion2 01-30-2010 04:26 PM

Quote:

Originally Posted by dieKetzer (Post 1970320)
yes, this functionality is included in 2.03, although i have been experiencing an issue with multiple tabs being selected on occasion when using url_parameter. if your links dont use parameters (seo friendly/rewrite links) use url instead. i think certain links will always use parameters, but i have no cms to test with.

so try:
use an absolute url (http://blahblah/page.php?action=blah). relative urls will fail.
select 'url_parameter'
leave 'this_script' blank.

I tried this, and it still shows the "Featured Articles" sublinks, not the sublinks i created.

I disabled home, blogs, forum and still nothing. I disabled sublinks from homepage and still nothing. I tried every combination i could use and nothing seems to work at getting sublinks to show, or tabs to get highlighted.

Simply put, I created several tabs that link to CMS sections. When the user clicks on these tabs it loads that CMS section without error. But, it does not display the sublinks that i created and associated to those tabs. These sublinks are url's that point to CMS sub-sections.

For example, I have a tab called "Travel" which points to my CMS Section called "Travel". I also have several sublinks called "Florida Travel", "Travel Companions" etc. Each of these sublinks points to a CMS sub-section under the Travel Section.

The two problems are that the Tab doesnt highlight when clicked on. And the sublinks dont show at all. All that shows was the default CMS Home sublinks.

Rob F 01-30-2010 11:33 PM

Quote:

Originally Posted by WNYorker (Post 1970198)
i can't find a tab system that will highlight "Arcade" for my arcade page. Why is this so hard to do? Vbulletin should have this stuff by default.

This tab system does work for highlighting the arcade tab.

Quote:

Originally Posted by dieKetzer (Post 1970318)
although not chiselled in stone, generally this_script is is the same as the script file name, so maybe try 'arcade'

Good guess, and it worked for me when I installed the 2.0.2 version of this mod the other day to run with the ibProArcade.

URL - arcade.php
THIS_SCRIPT - arcade
Target - _self

Works brilliantly, and now with 2.0.3 I can link a tab direct to a particular article with correct tab staying highlighted! Thanks Jhnnyf :D

dieKetzer 01-31-2010 12:52 PM

good work!
you have _blank set, and that makes it launch the extra window.
i also changed the url a little and this worked perfectly:
'javascript:void(0)' onclick='window.open("http://www.rk1gaming.net/ChatRoom/ChatRoom_fixed.html","","height=407,width=650,stat us=1")

jhonnyf will be pleased as punch to see this worked!
Quote:

Originally Posted by RK1gaming (Post 1970584)
So I used this

<a href='javascript:void(0)' onclick='window.open("http://www.rk1gaming.net/ChatRoom/ChatRoom_fixed.html","","height=407,width=650,stat us=1")



So the tab works and fires up the external pop up with no issues but it also fires up another page with this link http://www.rk1gaming.net/forum/href= which gets a 404 error

so I fixed the 404 by dropping the <a href= but it still wants to fire up another tab at least its the forum page again so not to bad ...

I just want it to fire up the chat pop up and not another forum url


dieKetzer 01-31-2010 12:57 PM

can you post a link formatted in the manner youre talking about? i dont even know what a cms link looks like. is it affected by vb's friendly url options?
Quote:

Originally Posted by Fusion2 (Post 1970615)
I tried this, and it still shows the "Featured Articles" sublinks, not the sublinks i created.

I disabled home, blogs, forum and still nothing. I disabled sublinks from homepage and still nothing. I tried every combination i could use and nothing seems to work at getting sublinks to show, or tabs to get highlighted.

Simply put, I created several tabs that link to CMS sections. When the user clicks on these tabs it loads that CMS section without error. But, it does not display the sublinks that i created and associated to those tabs. These sublinks are url's that point to CMS sub-sections.

For example, I have a tab called "Travel" which points to my CMS Section called "Travel". I also have several sublinks called "Florida Travel", "Travel Companions" etc. Each of these sublinks points to a CMS sub-section under the Travel Section.

The two problems are that the Tab doesnt highlight when clicked on. And the sublinks dont show at all. All that shows was the default CMS Home sublinks.


dieKetzer 01-31-2010 12:59 PM

thanks for letting us know it works. ill add it to post #3
Quote:

Originally Posted by Rob F (Post 1970882)
This tab system does work for highlighting the arcade tab.


Good guess, and it worked for me when I installed the 2.0.2 version of this mod the other day to run with the ibProArcade.

URL - arcade.php
THIS_SCRIPT - arcade
Target - _self

Works brilliantly, and now with 2.0.3 I can link a tab direct to a particular article with correct tab staying highlighted! Thanks Jhnnyf :D


dieKetzer 01-31-2010 02:54 PM

i have updated post #3 with a quickstart guide for this mod.

RK1gaming 02-01-2010 05:54 AM

Quote:

Originally Posted by dieKetzer (Post 1971225)
good work!
you have _blank set, and that makes it launch the extra window.
i also changed the url a little and this worked perfectly:
'javascript:void(0)' onclick='window.open("http://www.rk1gaming.net/ChatRoom/ChatRoom_fixed.html","","height=407,width=650,stat us=1")

jhonnyf will be pleased as punch to see this worked!

Yea doh .. set it to self and it worked .. i thought i did test self but maybe not -- thanks for your help and patience

Jhonnyf 02-01-2010 02:53 PM

Quote:

Originally Posted by dieKetzer (Post 1971225)
good work!
you have _blank set, and that makes it launch the extra window.
i also changed the url a little and this worked perfectly:
'javascript:void(0)' onclick='window.open("http://www.rk1gaming.net/ChatRoom/ChatRoom_fixed.html","","height=407,width=650,stat us=1")

jhonnyf will be pleased as punch to see this worked!

nice trick, It's the same process to Inject SQL

And thank you to all for this MOTM for February 2010 :)
https://vborg.vbsupport.ru/showthread.php?t=234672

SnitchSeeker 02-01-2010 08:35 PM

I voted for you Johnny. Thanks! Much more useful than the mod thats currently in the lead. ( no offense to him. ) you deserve to win.

I look forward to your next update with sub-forum and thread support! :)


All times are GMT. The time now is 07:24 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.01892 seconds
  • Memory Usage 1,756KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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