vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Display Enhancements - Adds Thread Date/Time Started to lists of Threads (https://vborg.vbsupport.ru/showthread.php?t=182263)

SaPh[i]R 06-12-2008 09:37 AM

Thanks

verino 06-12-2008 09:50 AM

Quote:

Originally Posted by Boofo (Post 1547481)
The best one is the one I did for my site, but that one will work, too.

Quote:

Originally Posted by KURTZ (Post 1547486)
but you haven't released it here ... :( ops now i remember and i know why ... :D

I don't get it :confused:

Any link to boofo's mod about this ?

maxicep 06-12-2008 09:55 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=182117" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=182117</a>

This mod perfect, and working same as your mod which made with file edits.

RogerPf 06-13-2008 09:25 AM

To those who have installed it. I am glad you got the benefit. Many thanks for reporting back.

To those who moaned and voted 1 star.

Well what can I say. You certainly know how to make someone feel welcome NOT. If you want to get on with people in a collaborative environment, I suggest that a more supportive approach would pay dividends.

BTW there is a security aspect of MODs (to any system) that the user has to do by hand. IMO a small mod of a few lines that an implementer can inspect is much more secure than an "automatic" 100k patch.


Quote:

Originally Posted by Boofo (Post 1547435)
You can do this as a product with no file edits.

No, honestly you are wrong, Boofo, maybe you could do this as a product with no file edits but I can not. Again, might I suggest that a more supportive tone might have encouraged me to try and find out how, but after your response why should I, or anyone else for that matter, bother.

Have a nice day.

Boofo 06-13-2008 09:48 AM

That was meant to be informative and nothing else. It was not a slam of any kind. You really need to learn not to take everything said to you as some sort of criticism if you want to get on with people.

Zachariah 07-03-2008 03:29 PM

Ya I did one back in 05.13.07

JamesC70 07-12-2008 11:54 PM

I like this mod, as it shows what time of day polls were started..... really handy if you're looking at thread listings just a couple of minutes before polls end.

The users, however, seem to either love it or hate it, so I ended up making it optional.

==== How to make this optional ====

1. Install the product as instructed.
2. In AdminCP, go to User Profile Fields -> Add New User Profile Field.
3. Select "Single-Selection Menu" from the dropdown, and click Continue.
4. Populate the fields on the following screen as follows:

Title: Display Start Dates on Forum Listings
Description: This setting controls whether the starting date of a thread is displayed after the user who started the thread, in forum listings and on Today's Posts.
Options: Yes (on the first line), No (on the second line)
Set Default: Yes, but no first blank option
Display Order: Whatever you like, this just affects where this option is in relation to other options on the users' Edit Options screen. I set this as 10 initially, then adjust later on the "User Profile Field Manager" screen.
Field Required: Yes, Always
Field Editable by Users: Yes
Set the last 3 options to no, and set Optional Input's radio button to no.
Display Page: This affects which grouping our on/off setting appears in on the Edit Options screen. I put this in Login/Privacy since that's at the top of the screen when the users go there, but it could also logically go under Date/Time.

5. Click Save. On the next screen, note the field number assigned to your new field. For my forum, it's field 11, but could be different for yours.
6. Go to Styles and Templates -> Search in Templates, and locate the Threadbit that you edited when you installed the product.
7. Add these two conditionals just before the code you added during installation:
<if condition="$show['member']">
<if condition="$bbuserinfo['field11'] == 'Yes'">
Where ['field11'] appears, substitute the field number from step 5 above.
8. After the code you added during installation, add two more closing "if" statements. Now your installed code should look like this (including the code we just added in steps 6 and 7):

_self')">$thread[postusername]</if></span>
<if condition="$show['member']">
<if condition="$bbuserinfo['field11'] == 'Yes'">
<span class="time"><i>&nbsp;on $thread[firstpostdate]<if condition="!$show['detailedtime']"> at $thread[firstposttime]</if></i></span></if></if>

9. Save your changes.

Note that the feature is off by default, and the users will have to turn it on if they want it. I've made a screenshot and posted it with instructions for the user, showing them how to turn it on and what they're actually doing. The screenshot is attached here so that you can see what your users would see if you make these changes.


All times are GMT. The time now is 11:59 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.01230 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_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
  • (7)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