vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How? View ALL attachments - like this website (https://vborg.vbsupport.ru/showthread.php?t=165985)

GridTrader 12-23-2007 07:27 PM

How? View ALL attachments - like this website
 
1 Attachment(s)
Hi look at this web site. It is using VBulletin.
http://www.forexfactory.com/showthread.php?t=10378

Take notice on the top right near the page index there is a box with a number and a paper clip listing how many attachments in this thread. How can I do this , or where do I get this feature?

First sample picture shows the clickable link and paperclip (Box on right hand side reading: 1891)

Second picture shows the new window that lists all the attachments.

Thanks

Alfa1 12-24-2007 03:29 PM

Extremely interesting! If this can be done, then this should be possible for a whole site as well. The possibilities are huge!

GridTrader 12-24-2007 06:41 PM

I now believe it's just a matter of modifying the template. Maybe someone here can show us what to do.

Thanks in advance who can help.
Jon

Adam21 12-25-2007 07:14 AM

It can be done i think.Try putting this code

Code:

<img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" border="0" /><a href="#" onclick="attachments($thread[threadid]); return false"> <phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase> </a>
in your Showthread template.Should be directly after the pagenav conditionals.:rolleyes:

SEOvB 12-25-2007 07:40 AM

That will do it!

Adam21 12-28-2007 06:01 AM

Quote:

Originally Posted by FRDS (Post 1408773)
That will do it!

It works?:D

Jollyware 08-30-2010 12:42 PM

Sorry for hijacking, but can this be done for vB4 ?


All times are GMT. The time now is 01:37 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.01447 seconds
  • Memory Usage 1,719KB
  • 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)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete