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)
-   -   [Addon]Download Credit System with uCash (https://vborg.vbsupport.ru/showthread.php?t=79000)

akanevsky 05-08-2005 12:22 PM

Then change the point value per download in Death's hack settings...

Deaths 05-08-2005 03:49 PM

This addon uses the same settings as the origional hack, so you can just edit the settings ;)

MixMakers 05-08-2005 06:32 PM

Thanks for the info..I'll try it later on today.

Also, a user brought this to my attention on my forums. You can cheat the system by right clicking the link and saving the target. Anyway to prevent this?

edit- Also, I'm not exactly sure how to do this:

Add a credit_sysapplied setting into this hack's setting group. This is a plain text field. In it, input forum IDs of the forums you want this add-on to work in.

edit 2 - AHHH..tried it and it didn't work again. Same result, points didn't get deducted nor did points get added to the person who attatched the file. I left all the edited files the same except for attatchment.php. I changed it back to what the originall install file says and the deduction works.

akanevsky 05-09-2005 12:25 AM

Quote:

Also, a user brought this to my attention on my forums. You can cheat the system by right clicking the link and saving the target. Anyway to prevent this?
This makes absolutely no sense to me. When "saving the target", you are still running the script.

Quote:

edit- Also, I'm not exactly sure how to do this:
admincp/options.php?do=addsetting

Deaths 05-09-2005 06:47 AM

Right click, save as shouldn't work at all, because you'll just save attachment.php to your PC oO

twin 05-09-2005 12:03 PM

great hack! I got one more question - how to add an option to u shop dropdown menu. I would like to add 'file datebase' option which would redirect to a forum which contains a file datebase that is using this hack.

Deaths 05-09-2005 03:35 PM

Try editing the navbar template.

If you don't know how to do that, just reply, and I'll post some instructions.

twin 05-09-2005 06:28 PM

sorry, I dont know how :) please post some instructions.

Deaths 05-10-2005 07:14 AM

Ok, login to your admincp.
In the navigation menu on your left, scroll down and look for "Styles & Templates".
Click the little arrow next to it, and click "Style Manager".
Next to the skin you will want to edit, there should be a little dropdown with the text "All Style Options".
Pull it down, and click "edit templates" (you might need to scroll up).
Now find the "Navigation / Breadcrumb Templates".
Double click it, or click the "Expand / Collapse" button.
Open up the "navbar" template, and scroll down aaall the way.
Somewhere around there, find
HTML Code:

<!-- shop menu -->
Now find:
HTML Code:

<tr><td class="vbmenu_option"><a href="ushop.php?do=userhistory">History</a></td></tr>
And bellow add:
HTML Code:

<tr><td class="vbmenu_option"><a href="YOUR_LINK_TO_FILE_DB_FILE">Files Database</a></td></tr>
Thats it!
Change the text from YOUR_LINK_TO_FILE_DB_FILE to the actual link, and if you wish you can change Files Database to something else aswell.

lebanon 05-11-2005 12:30 PM

hello ,
Ive installed this hack along with previous hack first then now i want to see it live
ofcourse it should be turned on as specified
so when i go to admincp/options.php?do=options&dogroup=creditsystem
actually i only see a blank
**Download Credit System
**save - reset
The above two lines are all i get !
I rechecked steps and all are done fine as i saw , what could possibly be wrong or less ?


All times are GMT. The time now is 11:54 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.01195 seconds
  • Memory Usage 1,739KB
  • 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_html_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