vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   "Top" Link on Categorys (https://vborg.vbsupport.ru/showthread.php?t=106491)

Xplorer4x4 01-26-2006 10:00 PM

"Top" Link on Categorys
 
I wanted a way to scroll to the top of my forums quickly if say I am at the bottom of my forums index. So I added a the simple top link to the left of each categorey name.

Nothing fancy but it gets the job done.

In forumhome_forumbit_level1_nopost find

PHP Code:

<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]
        <if 
condition="$show['forumdescription']">$forum[description


And before, add:
PHP Code:

<a style="float:$stylevar[left]href="#top" onclick="self.scrollTo(0, 0); return false;">Top</a><a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumbit_$forumid')"></a

Please be sure to click https://vborg.vbsupport.ru/

NOTE: I will add a text file in a few. :)

CrazyShooter 01-27-2006 08:21 PM

Demo?

AshokForums.com 01-27-2006 08:23 PM

Yeh screenshot please :)

SHANE-D-PAIN 01-27-2006 08:29 PM

It just adds a link to send you to the top of the page.

You could add it anywhere you wanted really.

XtremeOffroad 01-27-2006 10:22 PM

You might want to remove [/PHP] tags from the text file.

Clicks install.

Snake 01-28-2006 12:23 PM

I wanna have a screeny. :p

Mastar 01-28-2006 03:09 PM

Here is the S.S.

Xplorer4x4 01-28-2006 05:38 PM

Thanks Mastar. :) It's simply but it makes life a little easier. :)

PennylessZ28 01-28-2006 05:39 PM

Good idea

HaYLaZ 02-11-2006 07:54 AM

nice work with my style:D


All times are GMT. The time now is 04:46 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,729KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete