Back to vBulletin 3.0 Add-Ons

[Addon]Download Credit System with uCash
Mod Version: 1.00, by Deaths

This modification is in the archives.
vB Version: 3.0.7 Rating: (0 vote - 0 average) Installs: 32
Released: 29 Mar 2005 Last Update: 05 Apr 2005 Downloads: 23
Not Supported  

Requested by some people, so here it is!
Basicly the name says it, its an addon for tnguy3n's hack "Download Credit System".

There was a small typo in the install file, if you downloaded before 4-5-2005, please redownload, and redo the edits to attachment.php and newattachment.php!
The install file contains all the info you need.

Stats:
  • 0 Queries executed
  • 4 File edits.
  • 1 template edit.

Enjoy!

Download Credit System may be found here: http://www.vbulletin.org/forum/showthread.php?goto=newpost&t=78953

An addon to this addon can be found here: HACK MODIFICATION - "PAY" POINTS IN SPECIFIC FORUMS INSTEAD OF PLAIN SUBTRACTION

Spoiler (click to open)


HACK MODIFICATION - "PAY" POINTS IN SPECIFIC FORUMS INSTEAD OF PLAIN SUBTRACTION

-------------------------------------------
1. Do what it says http://www.vbulletin.org/forum/showpost.php?p=650259&postcount=39.
-------------------------------------------

-------------------------------------------
In showthread.php, find:
-------------------------------------------

PHP Code:
$show['viewpost'] = iif(can_moderate($thread['forumid']), truefalse);
$show['managepost'] = iif(can_moderate($thread['forumid'], 'candeleteposts') OR can_moderate($thread['forumid'], 'canremoveposts'), truefalse); 
-------------------------------------------
Add after:
-------------------------------------------

PHP Code:
$show['creditrequired'] = iif(in_array($thread['forumid'], explode(",",$vboptions['credit_sysapplied'])), 1, -1); 
-------------------------------------------
In showpost.php, find:
-------------------------------------------

PHP Code:
$post['postcount'] = $postcount
-------------------------------------------
Add after:
-------------------------------------------

PHP Code:
$show['creditrequired'] = iif(in_array($threadinfo['forumid'], explode(",",$vboptions['credit_sysapplied'])), 1, -1); 
-------------------------------------------
In postbit & postbit_legacy templates, find:
-------------------------------------------

PHP Code:
<if condition="$show['thumbnailattachment'] OR $show['attachments'] OR $show['imageattachment']"
-------------------------------------------
Add after:
-------------------------------------------

PHP Code:
<if condition="$show[creditrequired]==1 AND $vboptions[credit_mode]==1">
<
div align="center" style="font-size: 8pt">
<
b><br /><br />NoteBy downloading attachments from this forumyou automatically pay $vboptions[credit_costpoints to the attachment owner.</b>
</
div>
</if> 
-------------------------------------------
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.
-------------------------------------------

Done!

Close

Download

This modification is archived and cannot be downloaded.

Supporters / CoAuthors

  • Dark Visor
  • Deaths

Similar Mods

New Posting Features Download Credit System Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024