Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #51  
Old 03-09-2018, 11:22 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reminds me of the latest threads mod we had on 3.6! I loved that. Very simple and just displayed threads. Some people placed it in the header and some in the footer. Everyone used to love that mod!

--------------- Added [DATE]1520601793[/DATE] at [TIME]1520601793[/TIME] ---------------

Quote:
Originally Posted by MarkFL View Post
Okay, one more update (likely the last, unless more features are requested), which includes the option to display the block at the top (like it's always been) or at the bottom, directly above the footer. Also, I added 2 StyleVars to control the color and font of the forum/thread links.
Very kind of you Mark!
Reply With Quote
2 благодарности(ей) от:
CAG CheechDogg, MarkFL
  #52  
Old 03-09-2018, 05:33 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another update...haha...this time I removed the potential issue caused by editing the phrases pertaining to the column headings. Now if you edit those phrases, you will no longer need to re-select the desired columns and save the settings.
Attached Files
File Type: xml product-markflrecentpostsblock.xml (22.2 KB, 8 views)
Reply With Quote
Благодарность от:
CAG CheechDogg
  #53  
Old 03-11-2018, 10:38 PM
scottkoz20 scottkoz20 is offline
 
Join Date: Dec 2015
Location: Lewiston, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey Mark -

I got this error tonight

Fatal error: Maximum execution time of 30 seconds exceeded in /home/scfadmin/public_html/includes/class_bootstrap.php(430) : eval()'d code on line 189

as soon as I disable your mod, no issues




this was only on the FORUMHOME as this is the only spot where the mod was tied to
Reply With Quote
  #54  
Old 03-11-2018, 11:11 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you're getting that error because of a query retrieving a couple dozen posts, I would say you still have some server issues going on, especially given that this error presumably just started showing up after you've been running the product for several days.

In other news, I have a HUGE update to this product coming soon.
Reply With Quote
  #55  
Old 03-12-2018, 04:45 PM
scottkoz20 scottkoz20 is offline
 
Join Date: Dec 2015
Location: Lewiston, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what does not make sense to me is that when I re-enable this, its almost like a buffer is cleared and the mods starts to work again on my site

looking forward to the next update
Reply With Quote
  #56  
Old 03-13-2018, 03:12 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've published the update at the following sites:

MHB - Recent Posts Block

TAZ - Recent Posts Block
Reply With Quote
  #57  
Old 03-13-2018, 04:47 AM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
I've published the update at the following sites:

MHB - Recent Posts Block

TAZ - Recent Posts Block

Well that sucks .. oh well ...

At least make the images showing what the mods look like ... you require people to register to even view that ...
Reply With Quote
  #58  
Old 03-13-2018, 05:14 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CAG CheechDogg View Post
Well that sucks .. oh well ...

At least make the images showing what the mods look like ... you require people to register to even view that ...
Aren't you a member at TAZ? I thought everyone who has posted in this thread was a member at one or both of the two sites.

I'll publish it here:

Overview:

This product is designed to allow you to display links to the most recent posts. You can choose from which forums the posts are selected, with user permissions being respected, that is, if a user does not have permission to view the posts in a selected forum, then links to those posts will not be displayed for that user. You can select in which styles the block will be displayed as well.



Product Settings
Enable Product? - This allows you to enable/disable the product.

Default/Minimum Rows - When a page containing the Recent Posts Block is initially loaded, this will determine the number of data rows that will be shown in the table. It will also serve as the minimum data rows to which the table can be resized by the user. The block may be manually resized by dragging the lower right corner of the block, or by clicking the header bar to toggle between maximum and minimum height.

Number Of Posts - This determines the maximum number of posts a user will see in the block. Unless a positive value is entered either here or in "Hours Limit," this product will be effectively disabled.

Hours Limit - This will allow you to give a time limit on how long ago, in hours, a post was made in order to be displayed. Unless a positive value is entered either here or in "Number Of Posts," this product will be effectively disabled.

Maximum Characters In Forum Titles - This allows you to set the maximum number of characters that will be displayed in forum titles, so you can keep the column from taking up too much room. For any forum title that gets truncated, the full name will be shown in the mouseover tooltip (which will also include the forum description).

Maximum Characters In Thread Titles - This allows you to set the maximum number of characters that will be displayed in thread titles, so you can keep the column from taking up too much room. For any thread title that gets truncated, the full name will be shown in the mouseover tooltip (which will also include a preview of the post content).

Table Columns - This allows you to select which options post/thread information you wish to serve as columns in the table. Your choices are (with the corresponding phrase name in parentheses):
  • Thread Timestamp (markfl_rpb_threadstarted) - The date/time the thread was started.
  • Thread Author (markfl_rpb_threadauthor) - The username of the thread starter (OP).
  • Replies/Views (markfl_rpb_replies) - The number of replies and views for the thread.
  • Posters (markfl_rpb_postercount) - The number of users who have posted in the thread.
  • Rating (markfl_rpb_rating) - The overall rating given to the thread by your users.
  • Post Author (markfl_rpb_postauthor) - The user who posted the post to which the link points.
  • Post Timestamp (markfl_rpb_posttime) - The date/time the post was submitted.
  • Forum (markfl_rpb_forum) - The forum in which the thread resides.

All usernames are shown in usergroup HTML markup, and link to profile pages. The column "Thread/Post Link" (markfl_rpb_threadlink) is not optional, as it shows a link to the post. If a user has not read that post, then the link will be bold, otherwise it will have a normal font weight.

Prefixes/Icons - This allows you to select which icons to display before the thread titles and whether to include thread prefixes. Your choices include:
  • Sticky (markfl_rpb_sticky) - Will display the sticky thread icon, or the super sticky icon if you have my "Additional Thread Tools" product installed.
  • Poll (markfl_rpb_poll) - Will display the poll icon for threads that incude a poll.
  • Icon (markfl_rpb_icon) - Will display the thread icon chosen by the thread author.
  • Prefix (markfl_rpb_prefix) - Will display the thread prefix if one has been assigned.

Active Styles - This will display all installed styles and allow you to select on which you wish for the product to be active. Unless at least one style is selected, this product will be effectively disabled.

Active Forums - This will allow you to select from which forums the posts will be selected from the database. Child forums are included in all forums selected.

Tags Whose Content Is Hidden In Thread Previews - When a user hovers over a thread title, a preview of the post content is shown, and this allows for you to decide which BBCodes will have their content hidden in the preview. It will be replaced with the text in the phrase markfl_rpb_hiddencontent within parentheses, which by default is "Hidden Content."

Additional Scripts - By default, this product displays on the home page ("index" script), but if you wish to add scripts on which the block will be displayed, you may enter the comma-delimited list of such scripts. If you wish for the block to appear on all pages then enter an asterisk (*).

Excluded Scripts - If you have entered an asterisk in the "Additional Scripts" setting, you may choose to exclude particular scripts here, by entering them in a comma-delimited list.

Show Block To Guests? - This allows you to decide whether to display the block to guests (those not registered and logged on).

Block Placement - This allows you to decide whether you want the block to be shown directly below the navbar/breadcrumbs or directly above the footer.
Phrases



StyleVars



Compatibility:

Tested and working on vB 4.2.5 and may work on earlier 4.x versions of vBulletin.

Backup/Warning:

This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  1. Download and extract the attached .zip file.
  2. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  3. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  4. Click "Import".
  5. You MUST enable the product in the settings before it will function.
  6. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.

Attached Images
File Type: jpg markfl_rpb_acp.jpg (53.9 KB, 0 views)
File Type: jpg markfl_rpb_block.jpg (35.5 KB, 0 views)
File Type: jpg markfl_rpb_phrases.jpg (82.6 KB, 0 views)
File Type: jpg markfl_rpb_stylevars.jpg (23.4 KB, 0 views)
Attached Files
File Type: zip MarkFL - Recent Posts Block v1.0.zip (10.4 KB, 14 views)
Reply With Quote
2 благодарности(ей) от:
Kane@airrifle, Stratis
  #59  
Old 03-13-2018, 06:09 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many other things sucks...

Thanks Mark for another time, where ever you go i am with you... thanks for the effort you give to us every time.
You are a goodwill person.

And a few more thanks, thanks for other people that have forgotten to give you.
Have a nice day.
Reply With Quote
2 благодарности(ей) от:
MarkFL, scottkoz20
  #60  
Old 03-13-2018, 06:23 AM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Aren't you a member at TAZ? I thought everyone who has posted in this thread was a member at one or both of the two sites.
Yes I am ... sorry if I came off as rude ... should of used a better choice of words for my suggestion
Reply With Quote
2 благодарности(ей) от:
MarkFL, Stratis
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08464 seconds
  • Memory Usage 2,324KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (9)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete