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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-2004, 11:46 PM
DataVampire DataVampire is offline
 
Join Date: Mar 2004
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default hello i need a vb hack

hello this applys to all vbcoders im in need of a few vb hack's

the images ss1 and ss2 and ss4 are the same hack....

(1.) i need these hacks to be able to list only the user's uploaded Attachments
so when a user looks at the users profile there would be the button to be clicked on and any one of any of the members on my site can look at all the users files. i would like this hack to be a pop up in a java script that will list all the users files in example image ss4
in image ss2 when a user Post New Thread or any thing else like reply ect the members can click on the image called viewmyfiles and the same thing happens a pop up window pop's up and it would look some thing like in image ss4


the image is ss3

(2.) In this hack i would like to be able to show all members the total amount of uploaded files on the forum in the stats area like in image ss3....

well i hope any one can do these hacks for me as i really need these hacks very bad please add me to msn messenger ps2_xbox@hotmail.com


thanks very much i would like to be able to get these hacks soon and i would pay for these hacks as well
Attached Images
File Type: jpg ss3.JPG (33.1 KB, 0 views)
File Type: jpg ss2.JPG (38.6 KB, 0 views)
File Type: jpg ss1.JPG (33.9 KB, 0 views)
File Type: jpg ss4.JPG (24.9 KB, 0 views)
Reply With Quote
  #2  
Old 12-18-2004, 01:40 AM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got your PM and I will take a look at doing this for you as time permits, I need some of it for myself anyway.
Reply With Quote
  #3  
Old 12-18-2004, 06:32 AM
DataVampire DataVampire is offline
 
Join Date: Mar 2004
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there any other members that can help on this hack ? please help
Reply With Quote
  #4  
Old 12-18-2004, 02:37 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am working on the first screenshot you posted, I almost have it complete but the query for attachment views today is proving to be a little tough. I will work on it some more on Sunday though. The other stuff should be pretty easy using the existing file browser mod and making a couple of tweaks, I don't know about all the popup windows though, it may be more than I want take on personally but I will make it work within the normal windows.

Also, if nobody else completes it before I do I will post it all up for anyone who wants it.
Reply With Quote
  #5  
Old 12-18-2004, 10:58 PM
DataVampire DataVampire is offline
 
Join Date: Mar 2004
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well thanks if u cant do the pop up window the if you can make a template for it.. but make sure the hack works on user id and all i want the hack to be able to on list the uploads (Attachments) that the users have upload to the server (my server)
Reply With Quote
  #6  
Old 12-18-2004, 11:09 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's just about complete, I just need to be sure that my query for the "Total downloads today" is correct. It will also incorporate an existing file attachment mod, no point in reinventing it since it already exists. Once I get his buy off I will release it in the beta section and bump this post, I have all the instructions ready to go.
Reply With Quote
  #7  
Old 12-18-2004, 11:16 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow nice one m8 will keep eye out for this
Reply With Quote
  #8  
Old 12-18-2004, 11:37 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, I can't release this until I get this query right. What it's supposed to do is grab how many times a file has been downloaded in the last 24 hours. If any of you guru's can help with this that would be great. As it is, I have nothing to compare it with but I can tell that it's parsing out the wrong numbers because it's declining as the day goes on.

Code:
$todays_views = $DB_site->query_first('
SELECT COUNT(*) AS count
FROM ' . TABLE_PREFIX . 'attachment
WHERE dateline >= "' . strtotime("-1day") . '"
');
$newhits = number_format($todays_views ['count']);
Reply With Quote
  #9  
Old 12-19-2004, 04:14 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I have done about all I can with this mod so I will release what I have and if anyone else wants to finish it up, feel free. Special thanks goes to x3n0 for his gallery mod.

In order of screenshots posted, here's how they are addressed:

SS3:
This is setup only for Total files on server, it is in it's own collapsable table. I am not able to come up with the right query for adding a time table to the attachmentviews table to get a result of the last 24 hours. Special thanks to x3n0 for pointing me in the right direction but it's too far over my head.

SS2 and SS1:
This is done with the help of x3n0's mod https://vborg.vbsupport.ru/showthrea...ht=gallery.php and is covered in the istructions.txt file.

SS4:
This can be done using CarCdr's Attachment Browser mod.
Attached Files
File Type: txt instructions.txt (3.9 KB, 18 views)
Reply With Quote
  #10  
Old 12-19-2004, 05:26 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installs fine that m8 but it dont give list of how much the attachments uses.
Installed all 3 hacks all work fine - except on forumhome in the box all it says is

Total files on the server: 9
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 08:31 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.05245 seconds
  • Memory Usage 2,283KB
  • Queries Executed 12 (?)
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_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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
  • (5)postbit_attachment
  • (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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete