vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Copying "Forumjump" template from the bottom to the top of a page (https://vborg.vbsupport.ru/showthread.php?t=196708)

imprezion 11-19-2008 05:01 PM

Copying "Forumjump" template from the bottom to the top of a page
 
hi there,

I just did the "Forumjump" template copied to top of the webpage, but

The "Forumjump" at the Top, only shows the "Site Area" section, The one at the Bottom of the page, shows both the "Site Area" and "Forums" sections, especially the "Forums" section displayes all the links to main forums and subforums.

This is the Forumjump I copied from the "Forumjump" template. It seems like missing the "Forums" section, but if so, how could the "Forumjump" template @ the bottom of the page can display both the "Site Area" and "Forums" sections??

anyone can help? is there may be another template I need to copy as well as the "Forumjump" together?


Quote:

<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<form action="forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="daysprune" value="$daysprune" />
<strong>$vbphrase[forum_jump]</strong><br />
<select name="f" onchange="this.form.submit();">
<optgroup label="$vbphrase[site_areas]">
<option value="cp" $frmjmpsel[usercp]>$vbphrase[user_control_panel]</option>
<option value="pm" $frmjmpsel[pm]>$vbphrase[private_messages]</option>
<option value="subs" $frmjmpsel[subs]>$vbphrase[subscriptions]</option>
<option value="wol" $frmjmpsel[wol]>$vbphrase[whos_online]</option>
<option value="search" $frmjmpsel[search]>$vbphrase[search_forums]</option>
<option value="home" $frmjmpsel[home]>$vbphrase[forums_home]</option>
</optgroup>
<if condition="$jumpforumbits">
<optgroup label="$vbphrase[forums]">
$jumpforumbits
</optgroup>
</if>
</select>$gobutton
</form>
</div>

Seven Skins 11-19-2008 08:01 PM

Use "$forumjump" instead of copying the template.

.

imprezion 11-19-2008 08:38 PM

Quote:

Originally Posted by Seven Skins (Post 1668867)
Use "$forumjump" instead of copying the template.

.

should i put <td> $forumjump </td> to make it works? seems like it doesn't work after I put it on the style-template.

Seven Skins 11-19-2008 09:35 PM

If you are trying to put $forumjump on top of forumdispay template you can put it without any tags.

But if you trying to put this on other pages then you will need to edit Showtread.php and functions.php. (I Think). For that someone else can help you.

.

imprezion 11-19-2008 09:45 PM

Quote:

Originally Posted by Seven Skins (Post 1668928)
If you are trying to put $forumjump on top of forumdispay template you can put it without any tags.

But if you trying to put this on other pages then you will need to edit Showtread.php and functions.php. (I Think). For that someone else can help you.


.

I just want to put it under "header" of the "Common Templates"


All times are GMT. The time now is 06:03 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.01109 seconds
  • Memory Usage 1,721KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete