Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 12-19-2004, 06:21 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm.. are you sure there are more than 9 attachments? I checked it against the stats and it matched up as it should.
Reply With Quote
  #12  
Old 12-19-2004, 07:32 PM
DataVampire DataVampire is offline
 
Join Date: Mar 2004
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice work ill make some edit's to make it look like what i was really wanting to look like but there is a few other things that are missing the total downloads of the day in the forum home item
Reply With Quote
  #13  
Old 12-19-2004, 07:39 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DataVampire
nice work ill make some edit's to make it look like what i was really wanting to look like but there is a few other things that are missing the total downloads of the day in the forum home item
Correct, I can't get that part right, pleaes read my post above over again.
Reply With Quote
  #14  
Old 12-19-2004, 07:43 PM
DataVampire DataVampire is offline
 
Join Date: Mar 2004
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the gellary hack that u posted to work with the other hack dose not show any images for the attched files to the users name this is not what i was wanting i was hopeing for a template of its own

and this i dont want to show any thumbnails

PHP Code:
<div style="font-size:18pt">$userinfo[musername]<a href="gallery.php?userid=$post[userid]&pp=10&showthumbs=1" target="new"><img class="inlineimg" src="$stylevar[imgdir_button]/myfiles.gif" alt="<phrase 1="$post[username]">$vbphrase[gallery]</phrase>" border="0" /></a> </div
can this be removed from the gallary script you posted
Reply With Quote
  #15  
Old 12-19-2004, 08:18 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As long as the showthumbs=1 (not=0) par of this URL, it should display them, it does on my site.

<div style="font-size:18pt">$userinfo[musername]<a href="gallery.php?userid=$post[userid]&pp=10&showthumbs=1" target="new"><img class="inlineimg" src="$stylevar[imgdir_button]/gallery.gif" alt="<phrase 1="$post[username]">$vbphrase[gallery]</phrase>" border="0" /></a> </div>
Reply With Quote
  #16  
Old 12-19-2004, 08:45 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lo m8 yes there is only 9 on my board - but thats fine what i wanted to know though is that all is meant to be shown on index.php page - no other stats show

Total files on the server: 9
Reply With Quote
  #17  
Old 12-19-2004, 09:09 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lasto
lo m8 yes there is only 9 on my board - but thats fine what i wanted to know though is that all is meant to be shown on index.php page - no other stats show

Total files on the server: 9
That's right, he requested it that way but you can put this part in the existing stats box and remove the new one, it does seem a little much for one statement.

$vbphrase[server_attach_total]: $total_attach[count]
Reply With Quote
  #18  
Old 12-20-2004, 04:21 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it works fien this hack but one thing puzzles me - is it meant to show on forum home the space the attachements take up as for me it only shows total files

reason i ask is because of this querie in forumhome template

$vbphrase[server_attach_total]: $total_attach[count]

i presume the first one will be how much space they all take up and the second one how many attachments there actually is - if this is the case then ive done the hack but only the last one shows up which is $total_attach[count]
Reply With Quote
  #19  
Old 12-20-2004, 04:48 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is only supposed to show the total (count) of attachments you have stored. Anything following $vbphrase is being pulled from the phrases, which we added and is only meant to parse out the phrase "Total files on server". The $total_attach[count] is the variable called from the forumhome tempate to index.php, parsing out the query we've placed in the index.php. Hope this makes a little sense.
Reply With Quote
  #20  
Old 12-20-2004, 04:55 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there anychance though then it could pull out how much the attachments take up ?
I know its there in the other hack listed above - the attachement browser hack but how do i pull it from there so it goes in the same box as the total files ?

so it looks like this -

Total attachements on Server 9 : using 0.2meg or something along them lines
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 12:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04912 seconds
  • Memory Usage 2,280KB
  • Queries Executed 14 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete