vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Last Attachment in Forum bit, i need some help (https://vborg.vbsupport.ru/showthread.php?t=178127)

almosmm 05-04-2008 08:54 PM

Last Attachment in Forum bit, i need some help
 
1 Attachment(s)
hi everyone

first of all. im working on my first hack and i have a weird problem,
the hack must get the last 5 attachments in each forum, and shows its thumbnails at the bottom of each forum.

to see the problem
upload the product i attached
and edit the template "forumhome_forumbit_level2_post"
and add this at the end of the template
Code:

$colors_attach
you must have some attachments in the forums to see what i mean,

well. you will see the attachments's thumbnails, but the thing is. if we have like 4 forums.
the 2nd and 3rd and 4rth forums, will show the 1st forum's thumbnails :S
what i want is, every forum, must shows its attachments only.

and guys anyone will fix this thing, you can take it and put it in the mods forum ^^


thank you.

SEOvB 05-04-2008 08:58 PM

have you tried using the forumdisplay template rather then forumhome_forumbit_level2_post template?

almosmm 05-05-2008 10:30 AM

oh well. i need to show the thumbnails at the forumhome page, under each forum bit.

and i guess if i put the hack into forumdisplay template. it will not be in the forumhome page, right ?

thank you.

GameWizard 05-05-2008 10:36 AM

Quote:

Originally Posted by almosmm (Post 1509113)
and i guess if i put the hack into forumdisplay template. it will not be in the forumhome page, right ?

That's correct, as those are two separate templates.

almosmm 05-05-2008 10:41 AM

right, so we are back to
Quote:

forumhome_forumbit_level2_post template
.
still waiting for anyone who got the answer for this thing

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

anyone ? please ? i hope someone can help me with this problem.

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

still waiting......

almosmm 05-06-2008 04:04 PM

1 Attachment(s)
guys it's working but i still have the same problem here.

everyforum, shows its attachments at the lower forum's place
like : the 2nd forum gets its attachments and 1st forum's attachments :S

almosmm 05-08-2008 07:19 PM

1 Attachment(s)
anyone please ?

and here's the code for the plugin. if you want to add it into the file :
functions_forumlist.php
at ling 351

i hope someone comes up with the solution

almosmm 05-12-2008 05:19 PM

come on guys. i need some help here.

Thank You


All times are GMT. The time now is 09:12 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.01064 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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