vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [Release] Page Nav. Blocks (https://vborg.vbsupport.ru/showthread.php?t=83554)

SaintDog 06-03-2002 10:00 PM

[Release] Page Nav. Blocks
 
Author: TubeDogg (Modified By: SaintDog)

Description: This will teach you how to change the basic page navigation (ie: 1, 2, 3) to that of block navigation using CSS with a few template modifications (preview below).

Preview:
https://vborg.vbsupport.ru/

Rezet 06-24-2002 08:18 AM

cool...nice i was looking for this

corsacrazy 06-24-2002 11:38 AM

nice one ....its hard to click the individual numbers.... so the blocks really do make navigation easy'er cheers

bokmade 06-24-2002 12:00 PM

Thanks ^ - *

N9ne 06-28-2002 07:30 PM

how do I space them out like here? they're stuck together on mine...

SaintDog 06-28-2002 07:36 PM

The ones used here followed that exact tutorial, unless you maybe modified something, they should come out the same way :).

- SaintDog

MalaK_3araby 06-28-2002 07:43 PM

Excellent.
Installed.

crocket 06-28-2002 09:55 PM

I get no spaces too between the blocks :(

crocket 06-28-2002 10:06 PM

ahh did it :D

N9ne Revert the templates back to original, then leave pagenav alone and just replace the text in the others, replace the text only, not spaces, be careful ;)

imported_Mike Gaidin 06-29-2002 03:01 PM

I will install this one today. Great stuff!

imported_wot-Mike 06-29-2002 06:00 PM

Well, I like this one, but it could be more complete if it included the "Last Thread Next Thread" and the "Go to first post" above and below each thread on the right

Kars10 06-29-2002 09:23 PM

me too! What can the mistake be, if i get no spaces??

element 06-29-2002 09:31 PM

Woah, really cool. I'll be installing this on my board when I register my licence...

Boofo 06-30-2002 05:01 AM

I had the same problem. When you replcae each of them in the templates, make sure you put the spaces in them at the beginning on the ones that need them just like they are in the original templates. Just do a view original on each one and you should see a space at the beginning of some of them. If you play with it long enough, you can get it spaced. :)


Quote:

Originally posted by globalwin
I get no spaces too between the blocks :(

erdem 06-30-2002 05:05 AM

allright great modification ... tnx sd ...
here is the bug fixes and spaces for this modification ..

Edit: Please use attachments for ease of updating the original modification.

erdem 06-30-2002 05:16 AM

allright new modifications @ the attachment
greetz
:p

SaintDog 06-30-2002 05:40 AM

Thanks - attachment updated :)

Floris 06-30-2002 07:54 AM

Try adding   as a space.

The instructions do say to copy from the beginning of the line, due to the space. Maybe you didn't do that.

I have applied this to my site and it works great! Looks very good.

Kars10 06-30-2002 08:46 AM

Thanx Erdem!!
With your new modifications it works like a charm! :p

erdem 07-06-2002 06:48 AM

Quote:

Originally posted by Kars10
Thanx Erdem!!
With your new modifications it works like a charm! :p

np ...
will look to others ... when i have time ;)
greetz

TrueVenture 07-06-2002 04:05 PM

excellent work saintdog, you truly are the top dawg ;) hehe

tV

sphinx 07-07-2002 10:17 AM

yep that sorted it out many thanks

Jean147 07-07-2002 03:52 PM

Hi all, first of all, a real great site. Fantastic Design and lots of Information :)

The question I have is, where do I have to put in the Template?. In all templates I have?

SaintDog 07-07-2002 03:56 PM

All you do is simply edit the templates described in the tutorial and make it so that the templates listed look as they do in the tutorial.

Jean147 07-07-2002 04:08 PM

yeah got it. what a pain :o :o :o

Jean147 07-07-2002 05:02 PM

Keep the excellent work. Great Hack :)

imported_Niloc 07-07-2002 05:17 PM

Thanks Im going to install this right now!

Pady 07-08-2002 05:31 AM

this is installed nicely on my board - thanx

TrAsTiOn 07-10-2002 07:19 PM

k
i have inserted all of the code that is needed then when i get into the headinclude stuff that needs to be inserted where do u put it?
do u put it right under:
Code:

}
.thtcolor {
        COLOR: {#4b4d5e};

thanx fer any help

Trust 07-11-2002 10:55 AM

Wow this looks great...Very much thx..:)

Kai Bo 07-11-2002 11:46 AM

Can i know what problem i got?

Trust 07-11-2002 01:09 PM

You writed something wrong...or you doens't copy it right...it's an error with the script...

*^*Blue^Dan*^* 07-11-2002 01:20 PM

thanks

cool

Kai Bo 07-11-2002 01:20 PM

Code:

########################################################
####    Page Navigation Blocks
####    By: TubeDogg modified by erdem
####    For: vBulletin Version 2.x.x
####    Downloaded From: vBulletinTemplates.com
########################################################

This template modification will change your current page navigation to a blocked
page navigation (such as that used at vBulletinTemplates). To make this work
you need to change the current coding in each template, to the below coding:
allright great modification ... tnx sd ...
here is the bug fixes and spaces for this modification ..

new modification list :
(copy from the line beginning... cause i put spaces to fit ur needs )

~ pagenav:
<!--Pages ($totalpages): --><b>$firstlink $prevlink $pagenav $nextlink $lastlink</b>

~ pagenav_curpage:
 <span cl***="pagenumstatic">$curpage</span>

~ pagenav_firstlink:
<span cl***="pagenum"><a href="$address&pagenumber=$curpage">?/a></span>

~ pagenav_lastlink:
<span cl***="pagenum"><a href="$address&pagenumber=$curpage">?/a></span>

~ pagenav_nextlink:
<span cl***="pagenum"><a href="$address&pagenumber=$nextpage">?/a></span>

~ pagenav_pagelink:
 <span cl***="pagenum"><a href="$address&pagenumber=$curpage">$curpage</a></span>

~ pagenav_prevlink:
<span cl***="pagenum"><a href="$address&pagenumber=$prevpage">?/a></span>


Now, after you have modified the above templates, you will need to add the below to your
"headinclude" template
(for making boxes color to board compatible new headinclude modification)


.pagenumstatic {
        color: #000000;
        background-color: {secondaltcolor};
        border-color: #000000;
        border-style: solid;
        border-width: 1px;
        margin: 0px;
        padding: 0px;
        padding-left: 4px;
        padding-right: 4px;
        padding-top: 1px;
        padding-bottom: 1px;
        width: 1em;
        text-decoration: none;
}
.pagenum A:link, .pagenum A:visited, .pagenum A:active {
        color: #000088;
        background-color: {categorybackcolor};
        border-color: #000000;
        border-style: solid;
        border-width: 1px;
        margin: 0px;
        padding: 0px;
        padding-left: 4px;
        padding-right: 4px;
        padding-top: 1px;
        padding-bottom: 1px;
        width: 1em;
        text-decoration: none;
}
.pagenum A:hover {
        color: #000000;
        background-color: {secondaltcolor};
        text-decoration: none;
        border-color: #000000;
        border-style: solid;
        border-width: 1px;
        margin: 0px;
        padding: 0px;
        padding-left: 4px;
        padding-right: 4px;
        padding-top: 1px;
        padding-bottom: 1px;
        width: 1em;
        text-decoration: none;
}
.cat A:link, .cat A:visited, .cat A:active {
        color: {linkcolor};
                text-decoration: none;
}
.cat A:hover {
        color: {hovercolor};
        text-decoration: underline;
}


thats all ...
greetz!
erdem

this is i download from here...
i dont know why have some "?/a>" inside...
i guess this is my problem. and i am using Chi Windows.

B2S 07-11-2002 01:40 PM

cool...nice i was looking for this

Kai Bo 07-12-2002 06:00 AM

b4 i use winXP to read it have "?" inside...
this time i use win98 .. Display " "

Andrew Tatum 07-12-2002 09:19 PM

Hey people, I'm pretty new here, and I just installed this hack and am having a problem here. For some reason, there is a gray area near my buttons. If anyone can help me out, please let me know. Thank you:

Example:

http://www.finheaven.com/boardvb2/sh...=&pagenumber=3

noelmd2001 07-14-2002 05:54 AM

i posted this plea for help in the template mod support, but was not able to get any response. hope it's okay if i post it here...

i followed the instrcutions very carefully.

i got the page navigation blocks working for several days, then when i was putting in some hacks, i finally found that my page nav blocks are not what they should appear to be.

i don't have any idea what happened. i edited the templates again and again, checking each time, and still the same results.

guys, do you have any idea where the problem might be?

this is how my page blocks look like.... (see attached)

thank you. though the page navigation is working, i of course want it to work really well (as in vbt). adance thanks guys...

this forum really rocks!

SaintDog 07-14-2002 06:15 AM

The background you have there is not free for use, stealing images from vBT is no way to get any support (in fact, it is a great way to be banned from the community and website alltogether).

:rolleyes:

noelmd2001 07-14-2002 11:28 AM

Quote:

Originally posted by SaintDog
The background you have there is not free for use, stealing images from vBT is no way to get any support (in fact, it is a great way to be banned from the community and website alltogether).

:rolleyes:

sorry..but i realized that early enough after i posted this plea...

i apologize again... i just tested the background with the hope of putting a similar one myself...

i changed the background and textareas to this (see attachment)...

again my apologies if i caused confusion and hurt...

this site really rocks and would not do anything to lose this privelege...


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.01243 seconds
  • Memory Usage 1,808KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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