vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   New Posts Tab (https://vborg.vbsupport.ru/showthread.php?t=302090)

ForceHSS 09-10-2013 04:14 AM

New Posts Tab
 
1 Attachment(s)
search.php?{sessionurl}do=getnew&contenttype=vBFor um_Post
How do I make an extra new posts tab so it shows at the bottom of each post the one that's at the top tab

RickyH 09-10-2013 10:22 AM

Can you link us to your site? Not having the correct link to your site won't help us give you the code and where to place it.

ForceHSS 09-10-2013 11:46 AM

The code is in the same place as any other forum. Look at any forum running 4.2.1 and on any topic below the quick reply box you will see the same as the screenshot i posted if you think a link is needed i will post but as all forum software is the same i dont think its needed

Spangle 09-10-2013 11:24 PM

Daft question, but have you tried duplicating the code at the bottom of the template ?

ForceHSS 09-10-2013 11:37 PM

Yes i have tried a few things

ozzy47 09-10-2013 11:50 PM

Maybe described what you have tried, so people don't post things you have already failed at while trying.

ForceHSS 09-11-2013 03:14 PM

I took the code from new posts and put it same place « Previous Thread Next Thread » is but it messed the coding up for the quick reply box

tbworld 09-11-2013 09:14 PM

Sorry, took me awhile to understand the post -- I am getting old I guess :)
So if I understand corretly you are just wanting to add "New Post" link to the "div class=navlinks" on showthread template.

My initial thinking is that you were running into a DOM situation, so I decided to try it myself. Unfortunately, I did not have any problems, but be very careful about html comments in this area. Post the code you are inserting and I will take a look.

Or maybe I have the whole question wrong?

ForceHSS 09-11-2013 09:38 PM

Ok if you look at this forum see the New Posts tab at the top I am wanting to make a copy of that and put it to the left of ? Previous Thread | Next Thread ? just under Post Reply were you see it here above quick reply box

tbworld 09-11-2013 09:55 PM

Try this... I did not work out the CSS, since I figured you could handle it.

Code:

    <!-- next / previous links -->
    <div class="navlinks">
            <a class="my_newpost"  href="{vb:raw $vboptions.vbforum_url}search.php?{vb:raw session.sessionurl}&amp;do=getnew&amp;contenttype=vBForum_Post">New Posts</a>

If you need help with the CSS just yell :)

Hope this helps.


All times are GMT. The time now is 02:14 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.00956 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_code_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