vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - [OzzModz] First Post On All Pages Per Thread/Forum (https://vborg.vbsupport.ru/showthread.php?t=306348)

ozzy47 12-26-2013 11:00 PM

[OzzModz] First Post On All Pages Per Thread/Forum
 
Another mod brought to you by,
https://vborg.vbsupport.ru/external/2015/01/1.png

Here is a small modification you can use to the first post on all pages, per forum or by thread id.

It is a simple installation, just import the product XML, ozzmodz_firstpost_display

You can edit the options under the settings, [OzzModz] First Post Display Settings

Complete Feature List
  • Option to disable the mod completely.
  • Option to choose which forums, will show the first post on all pages.
  • Option to set which thread ID's, will show the first post on all pages.
  • Option to use the default postbit template, or use a custom one, which will allow you to add different styling to the elements.
  • Option to select which usergroups this mod will affect.
Frequently Asked Questions.

Q. Why do I need such a thing, you ask?

A. You may have a thread that has tens or hundreds of pages, and this will allow you to see the original post on all pages, much like you see here on vB.org in the modification threads.

Q. How do I use the custom template?

A. Note: Make sure you know what you are doing if you attempt this!
This may be a bit tricky for some users.

You can copy what ever template you are using, ( postbit or postbit_legacy ) into the template, ozzmodz_firstpost_display_postbit.
Now once you have done that, you can change the styling of the post, by adding css to the elements.
For example, if you want the first post to have a different background, when it is on any other page except for the first page, you can look for this in the template,
Code:

<div class="postbody">
and change it to this,
Code:

<div class="postbody" style="background: darkgrey;">
That will give the first post a dark grey background on any pages other than the first page.

-------------------------------------------------------------------------------------------

If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!
-------------------------------------------------------------------------------------------

* History (Changelog) *
-------------------------
v1.0.0 (December 27, 2013)
- Initial public release
v1.0.1 (December 28,2013)
Fixed a issue where you could only choose one forum, now you can choose multiple forums.
v1.1.0 (January 26,2014)
Fixed a issue where the custom option would not work in some instances.
v1.1.1 (October 14,2014)
Fixed a incorrect phrase in one of the settings.

ozzy47 12-27-2013 10:35 PM

Reserved.

megabink 12-28-2013 04:32 PM

Thanks for the mod Ozzy but one problem tho....it doesn't update the existing threads!
I used this mod https://vborg.vbsupport.ru/showthread.php?t=239282 first then i uninstalled it and installed your mod but now all my threads are standard it doesn't show the op first on all pages!
Please advice!

ozzy47 12-28-2013 05:24 PM

This will work on all threads, old and new, as long as you set up the options correctly.

ozzy47 12-28-2013 05:39 PM

v1.0.1 Available.
Fixed a issue where you could only choose one forum, now you can choose multiple forums.

megabink 12-28-2013 11:13 PM

Quote:

Originally Posted by ozzy47 (Post 2471002)
This will work on all threads, old and new, as long as you set up the options correctly.

Well my settings where correct...almost the same as the other mod i mentioned!
But i will try the updated version and will report back.

ozzy47 12-28-2013 11:29 PM

OK let me know how it goes.

megabink 12-28-2013 11:37 PM

Quote:

Originally Posted by ozzy47 (Post 2471054)
OK let me know how it goes.

Nope not working for me..even if i choose the multiple forums option or the forum id's and save it will not set the OP's first!
Anyway thanks bud.

ozzy47 12-28-2013 11:39 PM

Can you PM me a admin account so I can see what the issue may be on your site?

Alan_SP 12-29-2013 05:01 PM

Excellent mod and it's nice idea to include option for choosing which usergroups see first post on every page, so it doesn't creates problem with SEO. :up:


All times are GMT. The time now is 06:08 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.01578 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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