The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
View All Attachments in Thread Details »» | |||||||||||||||||||||||||
This hack is simple and pretty easy to install.
What's it do? Ya' know that little paperclip icon you see next to thread links containing attachments? Well, this hack makes that icon clickable. Clicking on it will give you the normal thread view and page navigation and all that, except you'll only see the posts with attachments in them. I find this particularly useful if you have a few threads where, say, members post their pictures. It's nice to cut through a lot of the comments and get straight to the files. What's it involve? 7 code changes in 2 files. No template work of any sort. Got a demo? Surely: Demo...yay. The attached instructions.txt file will walk you through things. Enjoy; and let me know if you find any bugs, as I haven't tested this on any board but my own yet. Show Your Support
|
Comments |
#12
|
|||
|
|||
I can't seem to install this. Does it works with 2.2.5 ? Cos i can't seem to find that line to replace with. This is installed in this forums though, and it's running 2.2.5. And oh, i tried installing leaving the last bit out. Everything is fine but when i clicked on the paperclip it displays the whole thread itself, not just the attachments.
Please help. Thanks alot. PHP Code:
|
#13
|
||||
|
||||
I had the same Problem only when i have installed FireFlys Number of Hacks Hack, without this hack it does work but with it the hole thread is displayed not only the messages with attachments, pleas help
|
#14
|
||||
|
||||
Well, look at FireFly's hack and see if it changes that line. If it does, follow the modified instructions accordingly.
|
#15
|
||||
|
||||
i do follow FireFlys instructions, but your $attachment_clause has no effect.
This are FireFlys line: PHP Code:
PHP Code:
|
#16
|
||||
|
||||
You're talking about different things. First, you were talking about another block of code, and now this one. Which is the problem? I don't see what it is you're saying.
|
#17
|
||||
|
||||
sorry TWT for my bad explaining.
Wath I mean is, wenn i install Fireflys Hack the above namde blocks are effekted by changes of both Hacks, but wenn i do Fireflys instructions and then yours (and the $attachment_clouse behinde the post.visibile) it doesn't work it alway shows up the complet Thread nut only the attachment messages, i tried to do it by my self but it doesn't work. Sorry also for my bad english i don't often speak or write in english (i'am german ) I hope you know an answer |
#18
|
||||
|
||||
Can you give me the link to FireFly's hack?
|
#19
|
||||
|
||||
In your instructions you said to replace this line of code:
Code:
$pagenav = getpagenav($totalposts,"showthread.php?s=$session[sessionhash]&threadid=$threadid&perpage=$perpage"); Code:
if ($view == 'attachments') { $attachment_querystring = '&view=attachments'; } else { $attachment_querystring = ''; } $pagenav = getpagenav($totalposts,"showthread.php?s=$session[sessionhash]&threadid=$threadid&perpage=$perpage$attachment_querystring"); Code:
$pagenav = getpagenav($totalposts,"showthread.php?s=$session[sessionhash]&threadid=$threadid&perpage=$perpage&display=$display".iif(isset($highlight), "&highlight=$highlight", "")); Code:
$pagenav = getpagenav($totalposts,"showthread.php?s=$session[sessionhash]&threadid=$threadid&perpage=$perpage&display=$display".iif(isset($highlight), "&highlight=$highlight", "$attachment_querystring")); |
#20
|
||||
|
||||
here ist the Link to Firefly's hack: https://vborg.vbsupport.ru/showthrea...threadid=33811
THX for help |
#21
|
||||
|
||||
No, I don't think so. I'm not sure, but I think this ought to work, though:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|