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)
-   -   Major Additions - Custom Page (Lite Version) (https://vborg.vbsupport.ru/showthread.php?t=235359)

abaheforums 08-18-2012 07:58 AM

First ,Thanks for helping me adjust the header :)

Second ,when I select the custompgae the selection color goes to the homepage not this page
how to make it selected ???


is that reply is the answer ?
If yes,where to put this code ???


Many thanks

Quote:

Originally Posted by Disco_Stu (Post 2332952)
I may have found the problem. I think the tabs the mod creates are not being added into the tab collection that's checked in the navbar_tabs code to determine which tab should be marked as selected and highlighted:

Code:

    <vb:each from="tabs" value="tab" key="tabid">
          <li<vb:if condition="$selected == $tabid"> class="selected"</vb:if> id="{vb:raw tab.name}">



Disco_Stu 08-18-2012 01:30 PM

Check post #78

abaheforums 08-25-2012 09:33 AM

Quote:

Originally Posted by Disco_Stu (Post 2333218)
ok..here's a solution to getting the tabs for the new pages to stay selected when displaying the new page.. It's not pretty but it does work:

1)Use the mod to create your new pages

2)Display each page and copy the url in notepad or something because you need it in the following steps.

3) Disable this mod (don't uninstall it - just disable it). This will cause the tabs that the mod created to not show on the nav bar.

4) If you created more than 1 new page then for each page create a copy of custompages.php in your forum root. I named my cloned php files as custompages2.php, custompages3.php....

5) In each cloned php file change the script name in the THIS_SCRIPT entry. I changed mine to the name of the cloned file (custompages2, custompages3,....)

6) Now go to the Navigation Manager and for each new page you created add a new tab and put the new page URL's in the URL setting and put the corresponding script name from your clone php file in the script entry.

Now close your site and open it again to open of your existing pages. Then click on one of the new tabs and it should display your new page that you created with this mod and the tab should stay selected.

I'm not happy about having to clone files but it does solve the problem

I need to point out that if you do not change the script names in your cloned php files then the first tab for your new pages will always be marked as selected whenever you display any of the new pages. This is because all the tabs for the new pages will be set with the same script name.

I tried this solution and no result.
I have 4.1.11 version ,when disabled the product the tab didn't disappear ,it is still present and leads to a white page !!

Also,I don't have a navigation manager in 4.1.11

What shall I do ???

Disco_Stu 08-25-2012 10:34 AM

Sorry but I've only used this mod with 4.2 so I can't help you with the 4.1 issues. Maybe someone else that's used this mod with that version can help you out.

borbole 09-02-2012 07:38 PM

Quote:

Originally Posted by HCHQ (Post 2357314)
Any news? :)

Not yet. I Haven''t had much free time lately.

Nirjonadda 09-02-2012 07:52 PM

How to All member or guests Redirect to Custom Page ? when someone type to www.mysite.com Redirect to Custom Page !

Draffi 09-23-2012 07:50 PM

Looks like, that this mod is not fetching all HTML-Codes very well.

Example: <script> and <object>.

Uninstalled.

killerford 10-20-2012 11:31 PM

Does this work for 4.2? I'm looking to get some custom pages done for my gaming clan forum for such as Roster list, Tournament announcements ect ect..

borbole 10-21-2012 10:58 AM

Quote:

Originally Posted by killerford (Post 2374660)
Does this work for 4.2? I'm looking to get some custom pages done for my gaming clan forum for such as Roster list, Tournament announcements ect ect..

Only the premium version is compatible with the 4.2x versions as well.

HCHQ 11-15-2012 10:13 AM

Quote:

Originally Posted by borbole (Post 2362072)
Not yet. I Haven''t had much free time lately.

No problem :)


All times are GMT. The time now is 02:26 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.01311 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)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