vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Files List v3.01 (https://vborg.vbsupport.ru/showthread.php?t=64734)

Pitman 06-21-2004 11:59 PM

Quote:

Originally Posted by Pitman
I have modified the templates a bit and I was wondering if there was anyway to limit the attatchments to only get them from one forum? The forumid that I would like to pull them from is "26" if anyone can help me it would be greatly appreciated. :)

I have attached a screen shot of what I have right now, I would like to remove the "Forum:" box if at all possible ;)

Anybody gonna help me out with that? :(

bhutz 06-22-2004 06:41 AM

Quote:

Originally Posted by Pitman
Anybody gonna help me out with that? :(

From what I am guessing to remove the forum box you would have to edit something in the 'attachment_view_bits' template as this is what I understand determines the layout of your output. Post 'attachment_view_bits' template here maybe? No gurantees I will be able to do it but worth a shot.

Also I think I would need to some how limit the attachments where the attachments are coming from, any ideas anyone?

Pitman 06-22-2004 03:01 PM

Well, I can get it to only display the attachments from a certain forum, but it doesn't count right. It will only take out the ones that's not in that forum and display what it has left out of the number that was already pulled. I can't seem to get the counting to work with a specific forum :(

bhutz 06-22-2004 05:01 PM

Quote:

Originally Posted by Pitman
Well, I can get it to only display the attachments from a certain forum, but it doesn't count right. It will only take out the ones that's not in that forum and display what it has left out of the number that was already pulled. I can't seem to get the counting to work with a specific forum :(

What did you do to get it to only show certain files from a certain forum? Have you made it so you can select multiple forums?

Pitman 06-22-2004 05:06 PM

You can block what it displays, but the numbering and all will be messed up the way that I did it, it counts how many attatchments it's going to display first and splits up the pages by that count. I can't figure out how to make it only count from a specific forum, mainly because the attachments doesn't store what forum they are from and I don't know much about PHP and SQL and stuff.

DWard 06-23-2004 04:32 AM

I will look into it

Mijae 06-23-2004 08:55 PM

Anyone want to help me?

bhutz 06-23-2004 08:56 PM

try user.username

Vivi Ornitier 06-24-2004 05:15 AM

is it possible to sort the attachments by date? lik the most recent tot he oldest and vice versa?

DWard 06-24-2004 07:53 AM

Yes, it's not on the current version, but will be on the next.


All times are GMT. The time now is 03:00 PM.

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.01412 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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