vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   hello i need a vb hack (https://vborg.vbsupport.ru/showthread.php?t=73023)

ericgtr 12-19-2004 06:21 PM

Hmm.. are you sure there are more than 9 attachments? I checked it against the stats and it matched up as it should.

DataVampire 12-19-2004 07:32 PM

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

ericgtr 12-19-2004 07:39 PM

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.

DataVampire 12-19-2004 07:43 PM

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

ericgtr 12-19-2004 08:18 PM

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>

lasto 12-19-2004 08:45 PM

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

ericgtr 12-19-2004 09:09 PM

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]

lasto 12-20-2004 04:21 PM

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]

ericgtr 12-20-2004 04:48 PM

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.

lasto 12-20-2004 04:55 PM

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 :)


All times are GMT. The time now is 06:50 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.01254 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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