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)

LLent 05-16-2012 05:02 PM

Quote:

Originally Posted by borbole (Post 2329659)


Hello,

Do you mean the installation instructions? They are at the mod description in the very first post.

yes thats what i meant got it and thanks

Athena1984 05-17-2012 12:33 AM

This works great. I first downloaded the one page here and realized I needed more. Initially I thought it was not translating the html well but, it was my error. It's really easy to use and I'm glad I got the pro version! Keep up the good work please. :)

borbole 05-17-2012 09:30 PM

Quote:

Originally Posted by LLent (Post 2329943)
yes thats what i meant got it and thanks

You are welcome.


Quote:

Originally Posted by Athena1984 (Post 2330043)
This works great. I first downloaded the one page here and realized I needed more. Initially I thought it was not translating the html well but, it was my error. It's really easy to use and I'm glad I got the pro version! Keep up the good work please. :)

Thank you for your feedback Athena1984. I really appreciate it :)

Athena1984 05-18-2012 12:22 AM

No problem. :)

Disco_Stu 05-26-2012 02:05 AM

This is a great mod and I am marking as installed. It works fine with 4.2

The only issue I had was having the new pages use the same width and border graphics as my existing pages.

To solve this I replaced the header info on the custompages section of my templates with the header info from my forum page and it worked out ok with the exception that the new tabs do not stay highlighted but the forum one does. I'm sure that's due to my using the forum header code so I need to figure that one out.

Anyway, super mod!!

Disco_Stu 05-26-2012 04:25 AM

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 05-26-2012 06:46 PM

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.

Hawk7173 05-27-2012 08:25 PM

I installed this, but it messed up one of the other tabs that I had.... when I removed the product, the tab that it messed up went blank...... How do I re-add the name of the tab that went blank?

Disco_Stu 05-27-2012 11:01 PM

If you're on 4.2 then you should be able to do this using the Navigation Manager

Hawk7173 05-27-2012 11:16 PM

Running 4.1.3


All times are GMT. The time now is 06:29 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.01173 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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