vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   New Posting Features - Quick Links in Postbit (no more boring scrolling!) (https://vborg.vbsupport.ru/showthread.php?t=156194)

AdeptusAstartes 08-24-2007 10:00 PM

Quick Links in Postbit (no more boring scrolling!)
 
What does this hack do?

let the picture talk:

Attachment 69035

it adds links to most used pages in your forum. like new posts, forum home etc.

Live Demo 1
Live Demo 2

its very simple, isn't it? but it comes in very handy if you are on a looooong page. it saves you time. no more boring scrollings!

so you liked it and want to install it. just read below:

we find in postbitlegacy:

PHP Code:

<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$stylevar[right]">
            &
nbsp


or in postbit:

PHP Code:

<td class="thead" $post[scrolltothis]>
        <
div class="normal" style="float:$stylevar[right]">
            &
nbsp

and add this after it:

PHP Code:

<a href="paste your forum url here"style="text-decoration: none">Forum</a> / <a href="paste your forum url here/search.php?do=getnew"style="text-decoration: none">New Posts</a

don't forget to add your own forum url in to the code, ;)

so if you did some template changes at past and know simple html codes, it is not so hard to figure it out how it works. but for those who don't have any idea about codes, i'll try to explain it:

you can add every link if you want, just have a look at the code we added. you can see there is a part that contains link and another part for the name of link. we call it hyperlink.

you can simply change the link and the name of it and add after the last link. (or you can decide the link order too.)

and for less code just use http://www.example.com/forum/ the part which is colored red. you don't need to use your complete url. ;)

please don't forget to mark as installed and show your support.
have fun.

HeRmAn'S 08-25-2007 03:24 PM

very nice hack :up: ++ site stilini ?ok başarılı buldum ..yolun a?ık olsun;)

Symmetrical? 08-25-2007 06:18 PM

nice ! thnx ..

wizardan 08-25-2007 08:24 PM

Nice:)

AdeptusAstartes 08-25-2007 09:01 PM

thank you

Quote:

Originally Posted by HeRmAn'S (Post 1325456)
very nice hack :up: ++ site stilini ?ok başarılı buldum ..yolun a?ık olsun;)

?ok tesekk?rler, ;)

Fungsten 08-29-2007 05:53 PM

I just noticed when I click on "New Posts" in the Navbar that PMs do not show up below the member name. Is anyone else getting this?

AdeptusAstartes 08-30-2007 07:26 PM

personally no, never heard such a thing before. this little modification should not make such weird things as long as you dont make something wrong. can you send me your forums link please? i will try to help you.

fishmaster 01-19-2008 07:12 PM

Excellent, great work!

blind-eddie 02-22-2008 12:30 AM

Very nice, this will come in handy for all the lazy members afraid to click buttons to find site items. Thanks...

prozac38 02-22-2008 02:04 PM

teşekk?rler... / Thanks :)


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