Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Show Link To Thread in WOL (users viewing inline attachments) Details »»
Show Link To Thread in WOL (users viewing inline attachments)
Version: 1.2, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 07-21-2015 Last Update: 07-21-2015 Installs: 22
Uses Plugins
Translations  
No support by the author.

If you allow inline attachments on your forum, you may have noticed that users viewing threads with such attachments are reported in "Who's Online" as simply "Viewing Attachment."

This simple add-on will display a link to the thread which contains the attachment:



Update: version 1.1
  • Bug whereby no valid postid could be found is fixed.

Update: version 1.2
  • User action now shows "Viewing Thread" instead of "Viewing Attachment."

To Install:

Download and extract the attached .zip file.

In AdminCP go to Plugins & Products -> Manage Products -> Add/Import Product.

Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.

Click "Import"

There are no settings to configure, once you import it, the add-on is active.

Support for this product can be found here:

Download Now

File Type: zip MarkFL - Show Link To Thread in WOL v1.2.zip (2.5 KB, 66 views)

Screenshots

File Type: png attachthread.png (27.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-22-2015, 12:53 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, installed.
Works fine in vb4.2.0pl4 and its very useful.

Thank you Mark

EDIT:
I get errors, not all time.
HTML Code:
Database error in vBulletin 4.2.0:
Invalid SQL:
    SELECT post.*
   FROM post AS post
   WHERE postid =;
 
MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 3
Error Number  : 1064
Request Date  : Wednesday, July 22nd 2015 @ 06:40:19 PM
Error Date    : Wednesday, July 22nd 2015 @ 06:40:19 PM
Script        : http://xxxxxxxxx/online.php?order=asc&sort=username&pp=20&page=1
Referrer      :
IP Address    : 
Username      : Stratis
Classname     : vB_Database
MySQL Version : 5.5.43-MariaDB
Some times in refresh, i had 10 errors so far.
Reply With Quote
Благодарность от:
MarkFL
  #3  
Old 07-22-2015, 03:40 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: version 1.1
  • Bug whereby no valid postid could be found is fixed.

Stratis, please let me know if the update resolves the MySQL error.
Reply With Quote
  #4  
Old 07-22-2015, 05:15 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I am testing, but what about thread id, this error came before your update.
SELECT thread.*
FROM thread AS thread
WHERE threadid =;

I don't know if it fixes this to?
Reply With Quote
  #5  
Old 07-22-2015, 05:20 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should, unless you have posts without threadids.
Reply With Quote
  #6  
Old 07-22-2015, 06:23 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: version 1.2
  • User action now shows "Viewing Thread" instead of "Viewing Attachment."
Reply With Quote
  #7  
Old 07-23-2015, 05:49 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First no problem with errors yet after the update to v1.1

Installed to v1.2 I will see what about "Viewing Attachment.", and test it several times.

EDIT: v1.2 tested, all works fine so far.
Thank you for goodies
Reply With Quote
Благодарность от:
MarkFL
  #8  
Old 07-23-2015, 05:57 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 Stratis View Post
First no problem with errors yet after the update to v1.1

Installed to v1.2 I will see what about "Viewing Attachment.", and test it several times.
Thanks for the feedback...it is greatly appreciated. :up:
Reply With Quote
  #9  
Old 09-12-2015, 01:29 PM
hazem_aliraqi's Avatar
hazem_aliraqi hazem_aliraqi is offline
 
Join Date: Oct 2010
Location: iraq
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent its work fine
Reply With Quote
Благодарность от:
MarkFL
  #10  
Old 11-12-2015, 01:57 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mark i have noticed today when i hover the link that some member is "viewing inline image attachment"

its shows code if exists,
PHP Code:
[CENTER]link of image attachment [/CENTER
Its not a big deal, but i thought you better know.
Reply With Quote
Reply


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 05:10 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.04982 seconds
  • Memory Usage 2,334KB
  • Queries Executed 24 (?)
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)bbcode_html
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)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_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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete