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 - 5 sub-pages in the same format of the forum Style v 2.0 - omardealo (https://vborg.vbsupport.ru/showthread.php?t=234782)

Muggz562 02-03-2010 07:22 AM

Quote:

Originally Posted by omardealo (Post 1973685)
I tested the code and works well, make sure you put a code well

PHP Code:

<!----------- Sub-pages of the Forum Programming omardealo --------------->
<
vb:if condition="$vboptions[other_pages_page1_onoff]">
<
li><class="navtab" href="page.php?do=1">{vb:raw vboptions.other_pages_name1}</a></li>
</
vb:if>

<
vb:if condition="$vboptions[other_pages_page2_onoff]">
<
li><class="navtab" href="page.php?do=2">{vb:raw vboptions.other_pages_name2}</a></li>
</
vb:if>

<
vb:if condition="$vboptions[other_pages_page3_onoff]">
<
li><class="navtab" href="page.php?do=3">{vb:raw vboptions.other_pages_name3}</a></li>
</
vb:if>

<
vb:if condition="$vboptions[other_pages_page4_onoff]">
<
li><class="navtab" href="page.php?do=4">{vb:raw vboptions.other_pages_name4}</a></li>
</
vb:if>

<
vb:if condition="$vboptions[other_pages_page5_onoff]">
<
li><class="navtab" href="page.php?do=5">{vb:raw vboptions.other_pages_name5}</a></li>
</
vb:if>
<!----------- 
Sub-pages of the Forum Programming omardealo ---------------> 


This code went through but now it duplicated the tabs I had already made. They also dont highlight when clicked on.

omardealo 02-03-2010 07:45 AM

Quote:

Originally Posted by Muggz562 (Post 1973729)
This code went through but now it duplicated the tabs I had already made. They also dont highlight when clicked on.

Yes, in this code does not light tabs, But there is no duplicated in tabs
Do not forget to replace the product https://vborg.vbsupport.ru/attachmen...6&d=1265154677

Muggz562 02-03-2010 03:50 PM

Got it working! Big thanks, also got the tabs to highlight as well ;)

omardealo 02-03-2010 05:53 PM

Quote:

Originally Posted by Muggz562 (Post 1974022)
Got it working! Big thanks, also got the tabs to highlight as well ;)

Excellent Good luck, God willing,

Drago13 02-04-2010 12:11 AM

good job, I am gonna try this on my forums.. a question though, I noticed on your examples you have a scrolling marquee , which hack is that may I ask ? Thanks..

omardealo 02-04-2010 01:40 AM

1 Attachment(s)
Quote:

Originally Posted by Drago13 (Post 1974299)
good job, I am gonna try this on my forums.. a question though, I noticed on your examples you have a scrolling marquee , which hack is that may I ask ? Thanks..

sure u can ask me anything
if u mean this hack
https://vborg.vbsupport.ru/attachmen...1&d=1265254702

that's hack is "last thread (by date or by last post )on ur forum"

gyaronn 02-06-2010 11:40 AM

is there a way to put the pages name in the section bar and not the nav bar ?

omardealo 02-06-2010 01:20 PM

Quote:

Originally Posted by gyaronn (Post 1975977)
is there a way to put the pages name in the section bar and not the nav bar ?

sure
search in navbar

PHP Code:

{vb:raw template_hook.navbar_quick_links_menu_pos1}
{
vb:raw template_hook.navbar_quick_links_menu_pos2}
{
vb:raw template_hook.navbar_quick_links_menu_pos3

Place underneath

PHP Code:

<!----------- Sub-pages of the Forum Programming omardealo --------------->
<
vb:if condition="$vboptions[other_pages_page1_onoff]">
<
li><a target="_blank" href="page.php?do=1">{vb:raw vboptions.other_pages_name1}</a></li>
</
vb:if>

<
vb:if condition="$vboptions[other_pages_page2_onoff]">
<
li><a target="_blank" href="page.php?do=2">{vb:raw vboptions.other_pages_name2}</a></li>
</
vb:if>

<
vb:if condition="$vboptions[other_pages_page3_onoff]">
<
li><a target="_blank" href="page.php?do=3">{vb:raw vboptions.other_pages_name3}</a></li>
</
vb:if>

<
vb:if condition="$vboptions[other_pages_page4_onoff]">
<
li><a target="_blank" href="page.php?do=4">{vb:raw vboptions.other_pages_name4}</a></li>
</
vb:if>

<
vb:if condition="$vboptions[other_pages_page5_onoff]">
<
li><a target="_blank" href="page.php?do=5">{vb:raw vboptions.other_pages_name5}</a></li>
</
vb:if>
<!----------- 
Sub-pages of the Forum Programming omardealo ---------------> 

You will find links in the quick links

gyaronn 02-06-2010 03:47 PM

thanks for the info, and how can i edit it the pages for example size and color of the text and how can i add photos ? is it done by HTM code

omardealo 02-06-2010 04:05 PM

Quote:

Originally Posted by gyaronn (Post 1976090)
thanks for the info, and how can i edit it the pages for example size and color of the text and how can i add photos ? is it done by HTM code

yes , by html code


All times are GMT. The time now is 11:42 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.03299 seconds
  • Memory Usage 1,770KB
  • 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_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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