vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Adding the latest threads block as a separate page. (https://vborg.vbsupport.ru/showthread.php?t=325255)

Nocturnal222 06-24-2017 02:29 AM

This is exactly what I needed, and more than I had hoped for! Thank you very much!

MarkFL 06-24-2017 02:42 AM

Quote:

Originally Posted by Nocturnal222 (Post 2587741)
This is exactly what I needed, and more than I had hoped for! Thank you very much!

Glad to help! :)

MarkFL 06-25-2017 02:42 AM

1 Attachment(s)
In my haste, I neglected to include the thread prefixes and icons in the threadbit template. I have attached the updated .XML file, and there's no need to update the .PHP file as it already included the code to grab those. :)

Sorry for the inconvenience.

CAG CheechDogg 06-26-2017 09:52 PM

Mark ... there is one little glitch I found in the styling ...

When there is a smaller avatar especially the height ...the date stamp floats all the way to the left below the avatar ...


This is the change I made to give a little more style to the "rmulauncher_threadbit" template ....

Code:


<div style="padding: 5px; height:45px; border-bottom: dotted 1px #CCCCCC;">
        <div style="float: left; margin-right: 75px; width: 40px;">
                <img src="{vb:raw recent_thread.avatar}" style="max-height: 40px; margin-left: 25px;" />
        </div>
        <a style="font-weight: bold;" href="{vb:raw recent_thread.thread_url}">{vb:raw recent_thread.title}</a>
        <div>
                {vb:rawphrase posted_by} <a href="{vb:link member, {vb:raw recent_thread}, null, 'postuserid', 'postusername'}" class="username understate">{vb:raw recent_thread.postmusername}</a> ({vb:raw recent_thread.replycount} {vb:rawphrase replies})
        </div>
        <div style="float: right; margin-left:100 px; margin-top:-15px;">{vb:raw recent_thread.timestamp} in <a href="{vb:raw recent_thread.forum_url}">{vb:raw recent_thread.forumtitle}</a></div>
</div>


MarkFL 06-26-2017 10:00 PM

I actually intended to add more features/styling to the page, but the OP seemed happy, so I left it as is. :)

CAG CheechDogg 06-27-2017 04:03 AM

Add more ... add more ... add more !!!! https://vborg.vbsupport.ru/external/2017/06/1.gif


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.01013 seconds
  • Memory Usage 1,728KB
  • 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)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
  • (6)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